Initial Commit
This commit is contained in:
79
TomcatServer/PlutoServer/Authentication_Impl.cs
Normal file
79
TomcatServer/PlutoServer/Authentication_Impl.cs
Normal file
@@ -0,0 +1,79 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.261
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Pluto.Api {
|
||||
using System;
|
||||
using RemObjects.SDK;
|
||||
using RemObjects.SDK.Types;
|
||||
using RemObjects.SDK.Server;
|
||||
using RemObjects.SDK.Server.ClassFactories;
|
||||
using System.Configuration;
|
||||
|
||||
[RemObjects.SDK.Server.ClassFactories.StandardClassFactory()]
|
||||
[RemObjects.SDK.Server.Service(Name = "Authentication", InvokerClass = typeof(Authentication_Invoker), ActivatorClass = typeof(Authentication_Activator))]
|
||||
public class Authentication : RemObjects.SDK.Server.Service, IAuthentication {
|
||||
|
||||
private System.ComponentModel.Container components = null;
|
||||
public Authentication() :
|
||||
base() {
|
||||
this.InitializeComponent();
|
||||
}
|
||||
|
||||
private void InitializeComponent() {
|
||||
}
|
||||
|
||||
protected override void Dispose(bool aDisposing) {
|
||||
if(aDisposing) {
|
||||
if((this.components != null)) {
|
||||
this.components.Dispose();
|
||||
}
|
||||
}
|
||||
base.Dispose(aDisposing);
|
||||
}
|
||||
|
||||
public virtual UserInfo1 Login1(string apiKey, PracticeInfo1 practiceInfo, string userId, string password) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public virtual bool CreatePin1(string apiKey, PracticeInfo1 practiceInfo, string userId, string fourdigitpin)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public virtual UserInfo1 ValidatePin1(string apiKey, PracticeInfo1 practiceInfo, string userId, string pin)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public virtual bool PinIsSet1(string apiKey, PracticeInfo1 practiceInfo, string userId)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public virtual string GetAPIVersion()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
public virtual bool IsAPIOutOfDate()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
#region IAuthentication Members
|
||||
|
||||
|
||||
public PracticeInfo1[] GetPracticeList1(string apiKey) {
|
||||
return null;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
66
TomcatServer/PlutoServer/Billing_Impl.cs
Normal file
66
TomcatServer/PlutoServer/Billing_Impl.cs
Normal file
@@ -0,0 +1,66 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.269
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Pluto.Api
|
||||
{
|
||||
using System;
|
||||
using RemObjects.SDK;
|
||||
using RemObjects.SDK.Types;
|
||||
using RemObjects.SDK.Server;
|
||||
using RemObjects.SDK.Server.ClassFactories;
|
||||
|
||||
[RemObjects.SDK.Server.ClassFactories.StandardClassFactory()]
|
||||
[RemObjects.SDK.Server.Service(Name = "Billing", InvokerClass = typeof(Billing_Invoker), ActivatorClass = typeof(Billing_Activator))]
|
||||
public class Billing : RemObjects.SDK.Server.Service, IBilling
|
||||
{
|
||||
private System.ComponentModel.Container components = null;
|
||||
public Billing() :
|
||||
base()
|
||||
{
|
||||
this.InitializeComponent();
|
||||
}
|
||||
private void InitializeComponent()
|
||||
{
|
||||
}
|
||||
protected override void Dispose(bool aDisposing)
|
||||
{
|
||||
if (aDisposing)
|
||||
{
|
||||
if ((this.components != null))
|
||||
{
|
||||
this.components.Dispose();
|
||||
}
|
||||
}
|
||||
base.Dispose(aDisposing);
|
||||
}
|
||||
public virtual System.Xml.XmlNode LoadSuperBill(string apiKey, string Name)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
public virtual void SaveSuperBill(string apiKey, string Name, System.Xml.XmlNode Data)
|
||||
{
|
||||
}
|
||||
public virtual string[] GetListOfAvailableSuperBills(string apiKey)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
public virtual bool PostBilling(string apiKey, string User, BillingPost1 billingInfo)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
public virtual string GetNewUniqueBillID(string apiKey)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
public virtual void DeleteSuperbill(string apiKey, string Name)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
36
TomcatServer/PlutoServer/Installer.Designer.cs
generated
Normal file
36
TomcatServer/PlutoServer/Installer.Designer.cs
generated
Normal file
@@ -0,0 +1,36 @@
|
||||
namespace Pluto.Api
|
||||
{
|
||||
partial class Installer
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Component Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
components = new System.ComponentModel.Container();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
38
TomcatServer/PlutoServer/Installer.cs
Normal file
38
TomcatServer/PlutoServer/Installer.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Configuration.Install;
|
||||
using System.Linq;
|
||||
using System.ServiceProcess;
|
||||
|
||||
|
||||
namespace Pluto.Api
|
||||
{
|
||||
[RunInstaller(true)]
|
||||
public partial class Installer : System.Configuration.Install.Installer
|
||||
{
|
||||
public Installer()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
ServiceProcessInstaller serviceProcessInstaller = new ServiceProcessInstaller();
|
||||
ServiceInstaller serviceInstaller = new ServiceInstaller();
|
||||
|
||||
//# Service Account Information
|
||||
serviceProcessInstaller.Account = ServiceAccount.LocalSystem;
|
||||
serviceProcessInstaller.Username = null;
|
||||
serviceProcessInstaller.Password = null;
|
||||
|
||||
//# Service Information
|
||||
serviceInstaller.ServiceName = "PlutoServer";
|
||||
serviceInstaller.DisplayName = "McKesson Mobile Api Server";
|
||||
serviceInstaller.Description = "Manages data updates and retrieval for McKesson's PPS Mobile Solution";
|
||||
serviceInstaller.StartType = ServiceStartMode.Automatic;
|
||||
|
||||
// # Done
|
||||
this.Installers.Add(serviceProcessInstaller);
|
||||
this.Installers.Add(serviceInstaller);
|
||||
}
|
||||
}
|
||||
}
|
||||
96
TomcatServer/PlutoServer/MSLSpecific_Impl.cs
Normal file
96
TomcatServer/PlutoServer/MSLSpecific_Impl.cs
Normal file
@@ -0,0 +1,96 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.296
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Pluto.Api
|
||||
{
|
||||
using System;
|
||||
using RemObjects.SDK;
|
||||
using RemObjects.SDK.Types;
|
||||
using RemObjects.SDK.Server;
|
||||
using RemObjects.SDK.Server.ClassFactories;
|
||||
|
||||
[RemObjects.SDK.Server.ClassFactories.StandardClassFactory()]
|
||||
[RemObjects.SDK.Server.Service(Name = "MSLSpecific", InvokerClass = typeof(MSLSpecific_Invoker), ActivatorClass = typeof(MSLSpecific_Activator))]
|
||||
public class MSLSpecific : RemObjects.SDK.Server.Service, IMSLSpecific
|
||||
{
|
||||
private System.ComponentModel.Container components = null;
|
||||
public MSLSpecific() :
|
||||
base()
|
||||
{
|
||||
this.InitializeComponent();
|
||||
}
|
||||
private void InitializeComponent()
|
||||
{
|
||||
}
|
||||
protected override void Dispose(bool aDisposing)
|
||||
{
|
||||
if (aDisposing)
|
||||
{
|
||||
if ((this.components != null))
|
||||
{
|
||||
this.components.Dispose();
|
||||
}
|
||||
}
|
||||
base.Dispose(aDisposing);
|
||||
}
|
||||
public virtual bool ProductSetupCompleted(string SharedConnectionDataSource, string RegisteredName)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
public virtual bool PracticeNameChangeOccured(string SharedConnectionDataSource, string NewPracticeName, string DataBaseNameOrDataSetName)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
public virtual ApiKeyNPin MobileAboutDialogCalled(string SharedConnectionDataSource, string RegisteredName, string PracticeName, string DataBaseNameOrDataSetName)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
public virtual bool IsServerReachableFromTheInternet(string SharedConnectionDataSource)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
public virtual void UpdateServiceIfNeeded()
|
||||
{
|
||||
|
||||
}
|
||||
public virtual string GetHostSpecGUID()
|
||||
{
|
||||
return String.Empty;
|
||||
}
|
||||
public virtual int GetExternalPort()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
public virtual bool SetExternalPort(int Port)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
public virtual string GetExternalIP()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
public virtual string GetLocalIP()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
public virtual void GenerateApiKeysForPracticesInLoadedSharedCredentials()
|
||||
{
|
||||
|
||||
}
|
||||
public virtual bool AddSharedCredential(ApiKeyNCredential credential)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
public virtual ApiKeyNCredential[] GetLoadedCredentials()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
40
TomcatServer/PlutoServer/Medication_Impl.cs
Normal file
40
TomcatServer/PlutoServer/Medication_Impl.cs
Normal file
@@ -0,0 +1,40 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.530
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Pluto.Api {
|
||||
using System;
|
||||
using RemObjects.SDK;
|
||||
using RemObjects.SDK.Types;
|
||||
using RemObjects.SDK.Server;
|
||||
using RemObjects.SDK.Server.ClassFactories;
|
||||
|
||||
[RemObjects.SDK.Server.ClassFactories.StandardClassFactory()]
|
||||
[RemObjects.SDK.Server.Service(Name = "Medication", InvokerClass = typeof(Medication_Invoker), ActivatorClass = typeof(Medication_Activator))]
|
||||
public class Medication : RemObjects.SDK.Server.Service, IMedication {
|
||||
private System.ComponentModel.Container components = null;
|
||||
public Medication() :
|
||||
base() {
|
||||
this.InitializeComponent();
|
||||
}
|
||||
private void InitializeComponent() {
|
||||
}
|
||||
protected override void Dispose(bool aDisposing) {
|
||||
if(aDisposing) {
|
||||
if((this.components != null)) {
|
||||
this.components.Dispose();
|
||||
}
|
||||
}
|
||||
base.Dispose(aDisposing);
|
||||
}
|
||||
public virtual MedicationInfo1[] Search(string apiKey, string searchString) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
89
TomcatServer/PlutoServer/Patient_Impl.cs
Normal file
89
TomcatServer/PlutoServer/Patient_Impl.cs
Normal file
@@ -0,0 +1,89 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.530
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Pluto.Api {
|
||||
using System;
|
||||
using RemObjects.SDK;
|
||||
using RemObjects.SDK.Types;
|
||||
using RemObjects.SDK.Server;
|
||||
using RemObjects.SDK.Server.ClassFactories;
|
||||
|
||||
[RemObjects.SDK.Server.ClassFactories.StandardClassFactory()]
|
||||
[RemObjects.SDK.Server.Service(Name = "Patient", InvokerClass = typeof(Patient_Invoker), ActivatorClass = typeof(Patient_Activator))]
|
||||
public class Patient : RemObjects.SDK.Server.Service, IPatient {
|
||||
private System.ComponentModel.Container components = null;
|
||||
public Patient() :
|
||||
base() {
|
||||
this.InitializeComponent();
|
||||
}
|
||||
private void InitializeComponent() {
|
||||
}
|
||||
protected override void Dispose(bool aDisposing) {
|
||||
if(aDisposing) {
|
||||
if((this.components != null)) {
|
||||
this.components.Dispose();
|
||||
}
|
||||
}
|
||||
base.Dispose(aDisposing);
|
||||
}
|
||||
|
||||
#region IPatient Members
|
||||
|
||||
public virtual PrescribedMedicationInfo1[] GetMedications(string apiKey, int chartId) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public virtual AllergyInfo1[] GetAllergies(string apiKey, int chartId) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public virtual ProblemInfo1[] GetProblems(string apiKey, int chartId)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public virtual ChartInfo1 GetChart(string apiKey, int patientId, int chartId)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public virtual VitalSignInfo1[] GetVitalSigns(string apiKey, int patientId, int chartId)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public virtual void AddNote(string apiKey, int personId, int chartId, PatientNoteInfo1 patientNote)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public virtual PatientNoteInfo1[] GetNotes(string apiKey, int patientId, int chartId)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public virtual ProcedureInfo1[] GetProcedures(string apiKey, int chartId)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public virtual PatientDetail1 GetPatientDetail(string apiKey, string chartId)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public virtual string CreatePatient(string apiKey, PatientInfo1 basicPatientInfo)
|
||||
{
|
||||
return String.Empty;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
1511
TomcatServer/PlutoServer/PlutoApi.rodl
Normal file
1511
TomcatServer/PlutoServer/PlutoApi.rodl
Normal file
File diff suppressed because it is too large
Load Diff
34
TomcatServer/PlutoServer/PlutoApi_Events.cs
Normal file
34
TomcatServer/PlutoServer/PlutoApi_Events.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.296
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Pluto.Api {
|
||||
using System;
|
||||
using RemObjects.SDK;
|
||||
using RemObjects.SDK.Types;
|
||||
using RemObjects.SDK.Server;
|
||||
|
||||
[RemObjects.SDK.Server.EventSinkProxy(Name="MailboxEvents", EventSink=typeof(IMailboxEvents))]
|
||||
public class MailboxEvents_EventSinkProxy : RemObjects.SDK.Server.EventSinkProxy, IMailboxEvents {
|
||||
public MailboxEvents_EventSinkProxy(RemObjects.SDK.IMessage aMessage, RemObjects.SDK.Server.IServerEventChannel aServerEventChannel, RemObjects.SDK.Server.IEventTargets aEventTargets) :
|
||||
base(aMessage, aServerEventChannel, aEventTargets) {
|
||||
}
|
||||
protected override string @__GetInterfaceName() {
|
||||
return "MailboxEvents";
|
||||
}
|
||||
protected override System.Type @__GetEventSinkType() {
|
||||
return typeof(IMailboxEvents);
|
||||
}
|
||||
public virtual void OnMailboxItemsReady() {
|
||||
@__Message.InitializeEventMessage(@__ServerEventChannel, @__GetInterfaceName(), "OnMailboxItemsReady");
|
||||
@__Message.FinalizeMessage();
|
||||
@__ServerEventChannel.DispatchEvent(@__Message, @__GetEventSinkType(), @__EventTargets);
|
||||
}
|
||||
}
|
||||
}
|
||||
7319
TomcatServer/PlutoServer/PlutoApi_Intf.cs
Normal file
7319
TomcatServer/PlutoServer/PlutoApi_Intf.cs
Normal file
File diff suppressed because it is too large
Load Diff
924
TomcatServer/PlutoServer/PlutoApi_Invk.cs
Normal file
924
TomcatServer/PlutoServer/PlutoApi_Invk.cs
Normal file
@@ -0,0 +1,924 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.296
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Pluto.Api {
|
||||
using System;
|
||||
using RemObjects.SDK;
|
||||
using RemObjects.SDK.Types;
|
||||
using RemObjects.SDK.Server;
|
||||
|
||||
[RemObjects.SDK.Server.Invoker()]
|
||||
[System.Reflection.ObfuscationAttribute(Exclude=true)]
|
||||
public class Authentication_Invoker : RemObjects.SDK.Server.Invoker {
|
||||
public Authentication_Invoker() :
|
||||
base() {
|
||||
}
|
||||
public static void Invoke_Login1(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(2);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
PracticeInfo1 practiceInfo = ((PracticeInfo1)(@__Message.Read("practiceInfo", typeof(PracticeInfo1), RemObjects.SDK.StreamingFormat.Default)));
|
||||
string userId = @__Message.ReadAnsiString("userId");
|
||||
string password = @__Message.ReadAnsiString("password");
|
||||
@__ObjectDisposer.Add(practiceInfo);
|
||||
UserInfo1 userInfo;
|
||||
userInfo = ((IAuthentication)(@__Instance)).Login1(apiKey, practiceInfo, userId, password);
|
||||
@__ObjectDisposer.Add(userInfo);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Authentication", "Login1Response");
|
||||
@__Message.Write("userInfo", userInfo, typeof(UserInfo1), RemObjects.SDK.StreamingFormat.Default);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
public static void Invoke_GetPracticeList1(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
PracticeInfo1[] PracticeList;
|
||||
PracticeList = ((IAuthentication)(@__Instance)).GetPracticeList1(apiKey);
|
||||
@__ObjectDisposer.Add(PracticeList);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Authentication", "GetPracticeList1Response");
|
||||
@__Message.Write("PracticeList", PracticeList, typeof(PracticeInfo1[]), RemObjects.SDK.StreamingFormat.Default);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
public static void Invoke_CreatePin1(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
PracticeInfo1 practiceInfo = ((PracticeInfo1)(@__Message.Read("practiceInfo", typeof(PracticeInfo1), RemObjects.SDK.StreamingFormat.Default)));
|
||||
string userID = @__Message.ReadAnsiString("userID");
|
||||
string fourdigitpin = @__Message.ReadAnsiString("fourdigitpin");
|
||||
@__ObjectDisposer.Add(practiceInfo);
|
||||
bool Result;
|
||||
Result = ((IAuthentication)(@__Instance)).CreatePin1(apiKey, practiceInfo, userID, fourdigitpin);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Authentication", "CreatePin1Response");
|
||||
@__Message.WriteBoolean("Result", Result);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
public static void Invoke_ValidatePin1(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(2);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
PracticeInfo1 practiceInfo = ((PracticeInfo1)(@__Message.Read("practiceInfo", typeof(PracticeInfo1), RemObjects.SDK.StreamingFormat.Default)));
|
||||
string userID = @__Message.ReadAnsiString("userID");
|
||||
string pin = @__Message.ReadAnsiString("pin");
|
||||
@__ObjectDisposer.Add(practiceInfo);
|
||||
UserInfo1 UserInfo;
|
||||
UserInfo = ((IAuthentication)(@__Instance)).ValidatePin1(apiKey, practiceInfo, userID, pin);
|
||||
@__ObjectDisposer.Add(UserInfo);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Authentication", "ValidatePin1Response");
|
||||
@__Message.Write("UserInfo", UserInfo, typeof(UserInfo1), RemObjects.SDK.StreamingFormat.Default);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
public static void Invoke_PinIsSet1(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
PracticeInfo1 practiceInfo = ((PracticeInfo1)(@__Message.Read("practiceInfo", typeof(PracticeInfo1), RemObjects.SDK.StreamingFormat.Default)));
|
||||
string userID = @__Message.ReadAnsiString("userID");
|
||||
@__ObjectDisposer.Add(practiceInfo);
|
||||
bool Result;
|
||||
Result = ((IAuthentication)(@__Instance)).PinIsSet1(apiKey, practiceInfo, userID);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Authentication", "PinIsSet1Response");
|
||||
@__Message.WriteBoolean("Result", Result);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
public static void Invoke_GetAPIVersion(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
string Result;
|
||||
Result = ((IAuthentication)(@__Instance)).GetAPIVersion();
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Authentication", "GetAPIVersionResponse");
|
||||
@__Message.WriteAnsiString("Result", Result);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
public static void Invoke_IsAPIOutOfDate(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
bool Result;
|
||||
Result = ((IAuthentication)(@__Instance)).IsAPIOutOfDate();
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Authentication", "IsAPIOutOfDateResponse");
|
||||
@__Message.WriteBoolean("Result", Result);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
}
|
||||
[RemObjects.SDK.Activator()]
|
||||
[System.Reflection.ObfuscationAttribute(Exclude=true, ApplyToMembers=false)]
|
||||
public class Authentication_Activator : RemObjects.SDK.Server.ServiceActivator {
|
||||
public Authentication_Activator() :
|
||||
base() {
|
||||
}
|
||||
public override RemObjects.SDK.IROService CreateInstance() {
|
||||
return new Authentication();
|
||||
}
|
||||
}
|
||||
[RemObjects.SDK.Server.Invoker()]
|
||||
[System.Reflection.ObfuscationAttribute(Exclude=true)]
|
||||
public class Schedule_Invoker : RemObjects.SDK.Server.Invoker {
|
||||
public Schedule_Invoker() :
|
||||
base() {
|
||||
}
|
||||
public static void Invoke_GetAppointments1(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(3);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
ProviderInfo1[] providerInfos = ((ProviderInfo1[])(@__Message.Read("providerInfos", typeof(ProviderInfo1[]), RemObjects.SDK.StreamingFormat.Default)));
|
||||
ResourceInfo1[] resourecInfos = ((ResourceInfo1[])(@__Message.Read("resourecInfos", typeof(ResourceInfo1[]), RemObjects.SDK.StreamingFormat.Default)));
|
||||
System.DateTime startDate = @__Message.ReadDateTime("startDate");
|
||||
System.DateTime endDate = @__Message.ReadDateTime("endDate");
|
||||
@__ObjectDisposer.Add(providerInfos);
|
||||
@__ObjectDisposer.Add(resourecInfos);
|
||||
AppointmentInfo1[] AppointmentList;
|
||||
AppointmentList = ((ISchedule)(@__Instance)).GetAppointments1(apiKey, providerInfos, resourecInfos, startDate, endDate);
|
||||
@__ObjectDisposer.Add(AppointmentList);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Schedule", "GetAppointments1Response");
|
||||
@__Message.Write("AppointmentList", AppointmentList, typeof(AppointmentInfo1[]), RemObjects.SDK.StreamingFormat.Default);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
public static void Invoke_GetAppointmentDetail1(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
int ApptID = @__Message.ReadInt32("ApptID");
|
||||
bool CalculateBalance = @__Message.ReadBoolean("CalculateBalance");
|
||||
AppointmentDetail1 Result;
|
||||
Result = ((ISchedule)(@__Instance)).GetAppointmentDetail1(apiKey, ApptID, CalculateBalance);
|
||||
@__ObjectDisposer.Add(Result);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Schedule", "GetAppointmentDetail1Response");
|
||||
@__Message.Write("Result", Result, typeof(AppointmentDetail1), RemObjects.SDK.StreamingFormat.Default);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
public static void Invoke_AddAppointment1(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
AppointmentInfo1 appointmentInfo = ((AppointmentInfo1)(@__Message.Read("appointmentInfo", typeof(AppointmentInfo1), RemObjects.SDK.StreamingFormat.Default)));
|
||||
@__ObjectDisposer.Add(appointmentInfo);
|
||||
bool Result;
|
||||
Result = ((ISchedule)(@__Instance)).AddAppointment1(apiKey, appointmentInfo);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Schedule", "AddAppointment1Response");
|
||||
@__Message.WriteBoolean("Result", Result);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
[RemObjects.SDK.Activator()]
|
||||
[System.Reflection.ObfuscationAttribute(Exclude=true, ApplyToMembers=false)]
|
||||
public class Schedule_Activator : RemObjects.SDK.Server.ServiceActivator {
|
||||
public Schedule_Activator() :
|
||||
base() {
|
||||
}
|
||||
public override RemObjects.SDK.IROService CreateInstance() {
|
||||
return new Schedule();
|
||||
}
|
||||
}
|
||||
[RemObjects.SDK.Server.Invoker()]
|
||||
[System.Reflection.ObfuscationAttribute(Exclude=true)]
|
||||
public class Practice_Invoker : RemObjects.SDK.Server.Invoker {
|
||||
public Practice_Invoker() :
|
||||
base() {
|
||||
}
|
||||
public static void Invoke_GetPracticeList1(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
PracticeInfo1[] PracticeList;
|
||||
PracticeList = ((IPractice)(@__Instance)).GetPracticeList1(apiKey);
|
||||
@__ObjectDisposer.Add(PracticeList);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Practice", "GetPracticeList1Response");
|
||||
@__Message.Write("PracticeList", PracticeList, typeof(PracticeInfo1[]), RemObjects.SDK.StreamingFormat.Default);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
public static void Invoke_GetProviderList1(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(2);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
PracticeInfo1 practiceInfo = ((PracticeInfo1)(@__Message.Read("practiceInfo", typeof(PracticeInfo1), RemObjects.SDK.StreamingFormat.Default)));
|
||||
@__ObjectDisposer.Add(practiceInfo);
|
||||
ProviderInfo1[] ProviderList;
|
||||
ProviderList = ((IPractice)(@__Instance)).GetProviderList1(apiKey, practiceInfo);
|
||||
@__ObjectDisposer.Add(ProviderList);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Practice", "GetProviderList1Response");
|
||||
@__Message.Write("ProviderList", ProviderList, typeof(ProviderInfo1[]), RemObjects.SDK.StreamingFormat.Default);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
public static void Invoke_GetPatientList1(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
string lastName = @__Message.ReadAnsiString("lastName");
|
||||
string firstName = @__Message.ReadAnsiString("firstName");
|
||||
string dateOfBirth = @__Message.ReadAnsiString("dateOfBirth");
|
||||
PatientInfo1[] PatientList;
|
||||
PatientList = ((IPractice)(@__Instance)).GetPatientList1(apiKey, lastName, firstName, dateOfBirth);
|
||||
@__ObjectDisposer.Add(PatientList);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Practice", "GetPatientList1Response");
|
||||
@__Message.Write("PatientList", PatientList, typeof(PatientInfo1[]), RemObjects.SDK.StreamingFormat.Default);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
public static void Invoke_GetMessageRecipientList(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
MessageRecipientInfo1[] MessageRecipients;
|
||||
MessageRecipients = ((IPractice)(@__Instance)).GetMessageRecipientList(apiKey);
|
||||
@__ObjectDisposer.Add(MessageRecipients);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Practice", "GetMessageRecipientListResponse");
|
||||
@__Message.Write("MessageRecipients", MessageRecipients, typeof(MessageRecipientInfo1[]), RemObjects.SDK.StreamingFormat.Default);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
public static void Invoke_GetResourcesList1(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
ResourceInfo1[] Result;
|
||||
Result = ((IPractice)(@__Instance)).GetResourcesList1(apiKey);
|
||||
@__ObjectDisposer.Add(Result);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Practice", "GetResourcesList1Response");
|
||||
@__Message.Write("Result", Result, typeof(ResourceInfo1[]), RemObjects.SDK.StreamingFormat.Default);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
public static void Invoke_GetFacilitiesList1(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
FacilityInfo1[] Result;
|
||||
Result = ((IPractice)(@__Instance)).GetFacilitiesList1(apiKey);
|
||||
@__ObjectDisposer.Add(Result);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Practice", "GetFacilitiesList1Response");
|
||||
@__Message.Write("Result", Result, typeof(FacilityInfo1[]), RemObjects.SDK.StreamingFormat.Default);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
[RemObjects.SDK.Activator()]
|
||||
[System.Reflection.ObfuscationAttribute(Exclude=true, ApplyToMembers=false)]
|
||||
public class Practice_Activator : RemObjects.SDK.Server.ServiceActivator {
|
||||
public Practice_Activator() :
|
||||
base() {
|
||||
}
|
||||
public override RemObjects.SDK.IROService CreateInstance() {
|
||||
return new Practice();
|
||||
}
|
||||
}
|
||||
[RemObjects.SDK.Server.Invoker()]
|
||||
[System.Reflection.ObfuscationAttribute(Exclude=true)]
|
||||
public class Patient_Invoker : RemObjects.SDK.Server.Invoker {
|
||||
public Patient_Invoker() :
|
||||
base() {
|
||||
}
|
||||
public static void Invoke_GetMedications(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
int chartId = @__Message.ReadInt32("chartId");
|
||||
PrescribedMedicationInfo1[] MedicationList;
|
||||
MedicationList = ((IPatient)(@__Instance)).GetMedications(apiKey, chartId);
|
||||
@__ObjectDisposer.Add(MedicationList);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Patient", "GetMedicationsResponse");
|
||||
@__Message.Write("MedicationList", MedicationList, typeof(PrescribedMedicationInfo1[]), RemObjects.SDK.StreamingFormat.Default);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
public static void Invoke_GetAllergies(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
int chartId = @__Message.ReadInt32("chartId");
|
||||
AllergyInfo1[] AllergyList;
|
||||
AllergyList = ((IPatient)(@__Instance)).GetAllergies(apiKey, chartId);
|
||||
@__ObjectDisposer.Add(AllergyList);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Patient", "GetAllergiesResponse");
|
||||
@__Message.Write("AllergyList", AllergyList, typeof(AllergyInfo1[]), RemObjects.SDK.StreamingFormat.Default);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
public static void Invoke_GetProblems(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
int chartId = @__Message.ReadInt32("chartId");
|
||||
ProblemInfo1[] ProblemList;
|
||||
ProblemList = ((IPatient)(@__Instance)).GetProblems(apiKey, chartId);
|
||||
@__ObjectDisposer.Add(ProblemList);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Patient", "GetProblemsResponse");
|
||||
@__Message.Write("ProblemList", ProblemList, typeof(ProblemInfo1[]), RemObjects.SDK.StreamingFormat.Default);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
public static void Invoke_GetProcedures(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
int chartId = @__Message.ReadInt32("chartId");
|
||||
ProcedureInfo1[] Procedures;
|
||||
Procedures = ((IPatient)(@__Instance)).GetProcedures(apiKey, chartId);
|
||||
@__ObjectDisposer.Add(Procedures);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Patient", "GetProceduresResponse");
|
||||
@__Message.Write("Procedures", Procedures, typeof(ProcedureInfo1[]), RemObjects.SDK.StreamingFormat.Default);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
public static void Invoke_GetChart(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
int patientId = @__Message.ReadInt32("patientId");
|
||||
int chartId = @__Message.ReadInt32("chartId");
|
||||
ChartInfo1 chart;
|
||||
chart = ((IPatient)(@__Instance)).GetChart(apiKey, patientId, chartId);
|
||||
@__ObjectDisposer.Add(chart);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Patient", "GetChartResponse");
|
||||
@__Message.Write("chart", chart, typeof(ChartInfo1), RemObjects.SDK.StreamingFormat.Default);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
public static void Invoke_GetVitalSigns(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
int patientId = @__Message.ReadInt32("patientId");
|
||||
int chartId = @__Message.ReadInt32("chartId");
|
||||
VitalSignInfo1[] VitalSigns;
|
||||
VitalSigns = ((IPatient)(@__Instance)).GetVitalSigns(apiKey, patientId, chartId);
|
||||
@__ObjectDisposer.Add(VitalSigns);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Patient", "GetVitalSignsResponse");
|
||||
@__Message.Write("VitalSigns", VitalSigns, typeof(VitalSignInfo1[]), RemObjects.SDK.StreamingFormat.Default);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
public static void Invoke_AddNote(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
int patientId = @__Message.ReadInt32("patientId");
|
||||
int chartId = @__Message.ReadInt32("chartId");
|
||||
PatientNoteInfo1 patientNote = ((PatientNoteInfo1)(@__Message.Read("patientNote", typeof(PatientNoteInfo1), RemObjects.SDK.StreamingFormat.Default)));
|
||||
@__ObjectDisposer.Add(patientNote);
|
||||
((IPatient)(@__Instance)).AddNote(apiKey, patientId, chartId, patientNote);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Patient", "AddNoteResponse");
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roNoResponse;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
public static void Invoke_GetNotes(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
int patientId = @__Message.ReadInt32("patientId");
|
||||
int chartId = @__Message.ReadInt32("chartId");
|
||||
PatientNoteInfo1[] Notes;
|
||||
Notes = ((IPatient)(@__Instance)).GetNotes(apiKey, patientId, chartId);
|
||||
@__ObjectDisposer.Add(Notes);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Patient", "GetNotesResponse");
|
||||
@__Message.Write("Notes", Notes, typeof(PatientNoteInfo1[]), RemObjects.SDK.StreamingFormat.Default);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
public static void Invoke_GetPatientDetail(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
string chartID = @__Message.ReadAnsiString("chartID");
|
||||
PatientDetail1 Result;
|
||||
Result = ((IPatient)(@__Instance)).GetPatientDetail(apiKey, chartID);
|
||||
@__ObjectDisposer.Add(Result);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Patient", "GetPatientDetailResponse");
|
||||
@__Message.Write("Result", Result, typeof(PatientDetail1), RemObjects.SDK.StreamingFormat.Default);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
public static void Invoke_CreatePatient(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
PatientInfo1 basicPatientInfo = ((PatientInfo1)(@__Message.Read("basicPatientInfo", typeof(PatientInfo1), RemObjects.SDK.StreamingFormat.Default)));
|
||||
@__ObjectDisposer.Add(basicPatientInfo);
|
||||
string ChartID;
|
||||
ChartID = ((IPatient)(@__Instance)).CreatePatient(apiKey, basicPatientInfo);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Patient", "CreatePatientResponse");
|
||||
@__Message.WriteAnsiString("ChartID", ChartID);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
[RemObjects.SDK.Activator()]
|
||||
[System.Reflection.ObfuscationAttribute(Exclude=true, ApplyToMembers=false)]
|
||||
public class Patient_Activator : RemObjects.SDK.Server.ServiceActivator {
|
||||
public Patient_Activator() :
|
||||
base() {
|
||||
}
|
||||
public override RemObjects.SDK.IROService CreateInstance() {
|
||||
return new Patient();
|
||||
}
|
||||
}
|
||||
[RemObjects.SDK.Server.Invoker()]
|
||||
[System.Reflection.ObfuscationAttribute(Exclude=true)]
|
||||
public class Medication_Invoker : RemObjects.SDK.Server.Invoker {
|
||||
public Medication_Invoker() :
|
||||
base() {
|
||||
}
|
||||
public static void Invoke_Search(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
string searchString = @__Message.ReadAnsiString("searchString");
|
||||
MedicationInfo1[] MedicationSearchResults;
|
||||
MedicationSearchResults = ((IMedication)(@__Instance)).Search(apiKey, searchString);
|
||||
@__ObjectDisposer.Add(MedicationSearchResults);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Medication", "SearchResponse");
|
||||
@__Message.Write("MedicationSearchResults", MedicationSearchResults, typeof(MedicationInfo1[]), RemObjects.SDK.StreamingFormat.Default);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
[RemObjects.SDK.Activator()]
|
||||
[System.Reflection.ObfuscationAttribute(Exclude=true, ApplyToMembers=false)]
|
||||
public class Medication_Activator : RemObjects.SDK.Server.ServiceActivator {
|
||||
public Medication_Activator() :
|
||||
base() {
|
||||
}
|
||||
public override RemObjects.SDK.IROService CreateInstance() {
|
||||
return new Medication();
|
||||
}
|
||||
}
|
||||
[RemObjects.SDK.Server.Invoker()]
|
||||
[System.Reflection.ObfuscationAttribute(Exclude=true)]
|
||||
public class Terminology_Invoker : RemObjects.SDK.Server.Invoker {
|
||||
public Terminology_Invoker() :
|
||||
base() {
|
||||
}
|
||||
public static void Invoke_SearchTerminology(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(3);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
string searchString = @__Message.ReadAnsiString("searchString");
|
||||
TerminologySearchTypeEnum searchType = ((TerminologySearchTypeEnum)(@__Message.Read("searchType", typeof(TerminologySearchTypeEnum), RemObjects.SDK.StreamingFormat.Default)));
|
||||
TerminologyDomainEnum terminologyDomain = ((TerminologyDomainEnum)(@__Message.Read("terminologyDomain", typeof(TerminologyDomainEnum), RemObjects.SDK.StreamingFormat.Default)));
|
||||
string chartID = @__Message.ReadAnsiString("chartID");
|
||||
@__ObjectDisposer.Add(searchType);
|
||||
@__ObjectDisposer.Add(terminologyDomain);
|
||||
TerminologyInfo1[] Terms;
|
||||
Terms = ((ITerminology)(@__Instance)).SearchTerminology(apiKey, searchString, searchType, terminologyDomain, chartID);
|
||||
@__ObjectDisposer.Add(Terms);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Terminology", "SearchTerminologyResponse");
|
||||
@__Message.Write("Terms", Terms, typeof(TerminologyInfo1[]), RemObjects.SDK.StreamingFormat.Default);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
[RemObjects.SDK.Activator()]
|
||||
[System.Reflection.ObfuscationAttribute(Exclude=true, ApplyToMembers=false)]
|
||||
public class Terminology_Activator : RemObjects.SDK.Server.ServiceActivator {
|
||||
public Terminology_Activator() :
|
||||
base() {
|
||||
}
|
||||
public override RemObjects.SDK.IROService CreateInstance() {
|
||||
return new Terminology();
|
||||
}
|
||||
}
|
||||
[RemObjects.SDK.Server.Invoker()]
|
||||
[System.Reflection.ObfuscationAttribute(Exclude=true)]
|
||||
public class Provider_Invoker : RemObjects.SDK.Server.Invoker {
|
||||
public Provider_Invoker() :
|
||||
base() {
|
||||
}
|
||||
public static void Invoke_GetMailboxFoldersInfo(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
int providerId = @__Message.ReadInt32("providerId");
|
||||
MailboxFolderInfo1[] MailboxFoldersInfo;
|
||||
MailboxFoldersInfo = ((IProvider)(@__Instance)).GetMailboxFoldersInfo(apiKey, providerId);
|
||||
@__ObjectDisposer.Add(MailboxFoldersInfo);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Provider", "GetMailboxFoldersInfoResponse");
|
||||
@__Message.Write("MailboxFoldersInfo", MailboxFoldersInfo, typeof(MailboxFolderInfo1[]), RemObjects.SDK.StreamingFormat.Default);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
public static void Invoke_GetMailboxItems(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(2);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
MailboxFolderTypeEnum folderType = ((MailboxFolderTypeEnum)(@__Message.Read("folderType", typeof(MailboxFolderTypeEnum), RemObjects.SDK.StreamingFormat.Default)));
|
||||
@__ObjectDisposer.Add(folderType);
|
||||
FolderItemInfo1[] FolderItems;
|
||||
FolderItems = ((IProvider)(@__Instance)).GetMailboxItems(apiKey, folderType);
|
||||
@__ObjectDisposer.Add(FolderItems);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Provider", "GetMailboxItemsResponse");
|
||||
@__Message.Write("FolderItems", FolderItems, typeof(FolderItemInfo1[]), RemObjects.SDK.StreamingFormat.Default);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
public static void Invoke_GetMessage(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
long messageId = @__Message.ReadInt64("messageId");
|
||||
MessageInfo1 MessageInfo;
|
||||
MessageInfo = ((IProvider)(@__Instance)).GetMessage(apiKey, messageId);
|
||||
@__ObjectDisposer.Add(MessageInfo);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Provider", "GetMessageResponse");
|
||||
@__Message.Write("MessageInfo", MessageInfo, typeof(MessageInfo1), RemObjects.SDK.StreamingFormat.Default);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
public static void Invoke_SendMessage(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
MessageInfo1 message = ((MessageInfo1)(@__Message.Read("message", typeof(MessageInfo1), RemObjects.SDK.StreamingFormat.Default)));
|
||||
@__ObjectDisposer.Add(message);
|
||||
((IProvider)(@__Instance)).SendMessage(apiKey, message);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Provider", "SendMessageResponse");
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roNoResponse;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
[RemObjects.SDK.Activator()]
|
||||
[System.Reflection.ObfuscationAttribute(Exclude=true, ApplyToMembers=false)]
|
||||
public class Provider_Activator : RemObjects.SDK.Server.ServiceActivator {
|
||||
public Provider_Activator() :
|
||||
base() {
|
||||
}
|
||||
public override RemObjects.SDK.IROService CreateInstance() {
|
||||
return new Provider();
|
||||
}
|
||||
}
|
||||
[RemObjects.SDK.Server.Invoker()]
|
||||
[System.Reflection.ObfuscationAttribute(Exclude=true)]
|
||||
public class Billing_Invoker : RemObjects.SDK.Server.Invoker {
|
||||
public Billing_Invoker() :
|
||||
base() {
|
||||
}
|
||||
public static void Invoke_LoadSuperBill(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
string Name = @__Message.ReadAnsiString("Name");
|
||||
System.Xml.XmlNode Result;
|
||||
Result = ((IBilling)(@__Instance)).LoadSuperBill(apiKey, Name);
|
||||
@__ObjectDisposer.Add(Result);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Billing", "LoadSuperBillResponse");
|
||||
@__Message.WriteXml("Result", Result);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
public static void Invoke_SaveSuperBill(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
string Name = @__Message.ReadAnsiString("Name");
|
||||
System.Xml.XmlNode Data = @__Message.ReadXml("Data");
|
||||
@__ObjectDisposer.Add(Data);
|
||||
((IBilling)(@__Instance)).SaveSuperBill(apiKey, Name, Data);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Billing", "SaveSuperBillResponse");
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roNoResponse;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
public static void Invoke_GetListOfAvailableSuperBills(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
string[] CSVList;
|
||||
CSVList = ((IBilling)(@__Instance)).GetListOfAvailableSuperBills(apiKey);
|
||||
@__ObjectDisposer.Add(CSVList);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Billing", "GetListOfAvailableSuperBillsResponse");
|
||||
@__Message.Write("CSVList", CSVList, typeof(string[]), RemObjects.SDK.StreamingFormat.AnsiString);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
public static void Invoke_PostBilling(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
|
||||
try {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
string user = @__Message.ReadAnsiString("user");
|
||||
BillingPost1 billingPost = ((BillingPost1)(@__Message.Read("billingPost", typeof(BillingPost1), RemObjects.SDK.StreamingFormat.Default)));
|
||||
@__ObjectDisposer.Add(billingPost);
|
||||
bool Result;
|
||||
Result = ((IBilling)(@__Instance)).PostBilling(apiKey, user, billingPost);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Billing", "PostBillingResponse");
|
||||
@__Message.WriteBoolean("Result", Result);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
public static void Invoke_DeleteSuperbill(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
string apiKey = @__Message.ReadAnsiString("apiKey");
|
||||
string Name = @__Message.ReadAnsiString("Name");
|
||||
((IBilling)(@__Instance)).DeleteSuperbill(apiKey, Name);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "Billing", "DeleteSuperbillResponse");
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roNoResponse;
|
||||
}
|
||||
}
|
||||
[RemObjects.SDK.Activator()]
|
||||
[System.Reflection.ObfuscationAttribute(Exclude=true, ApplyToMembers=false)]
|
||||
public class Billing_Activator : RemObjects.SDK.Server.ServiceActivator {
|
||||
public Billing_Activator() :
|
||||
base() {
|
||||
}
|
||||
public override RemObjects.SDK.IROService CreateInstance() {
|
||||
return new Billing();
|
||||
}
|
||||
}
|
||||
[RemObjects.SDK.Server.Invoker()]
|
||||
[System.Reflection.ObfuscationAttribute(Exclude=true)]
|
||||
public class MSLSpecific_Invoker : RemObjects.SDK.Server.Invoker {
|
||||
public MSLSpecific_Invoker() :
|
||||
base() {
|
||||
}
|
||||
public static void Invoke_ProductSetupCompleted(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
string SharedConnectionDataSource = @__Message.ReadAnsiString("SharedConnectionDataSource");
|
||||
string RegisteredName = @__Message.ReadAnsiString("RegisteredName");
|
||||
bool Result;
|
||||
Result = ((IMSLSpecific)(@__Instance)).ProductSetupCompleted(SharedConnectionDataSource, RegisteredName);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "MSLSpecific", "ProductSetupCompletedResponse");
|
||||
@__Message.WriteBoolean("Result", Result);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
public static void Invoke_PracticeNameChangeOccured(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
string SharedConnectionDataSource = @__Message.ReadAnsiString("SharedConnectionDataSource");
|
||||
string NewPracticeName = @__Message.ReadAnsiString("NewPracticeName");
|
||||
string DataBaseNameOrDataSetName = @__Message.ReadAnsiString("DataBaseNameOrDataSetName");
|
||||
bool Result;
|
||||
Result = ((IMSLSpecific)(@__Instance)).PracticeNameChangeOccured(SharedConnectionDataSource, NewPracticeName, DataBaseNameOrDataSetName);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "MSLSpecific", "PracticeNameChangeOccuredResponse");
|
||||
@__Message.WriteBoolean("Result", Result);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
public static void Invoke_MobileAboutDialogCalled(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
|
||||
try {
|
||||
string SharedConnectionDataSource = @__Message.ReadAnsiString("SharedConnectionDataSource");
|
||||
string RegisteredName = @__Message.ReadAnsiString("RegisteredName");
|
||||
string PracticeName = @__Message.ReadAnsiString("PracticeName");
|
||||
string DataBaseNameOrDataSetName = @__Message.ReadAnsiString("DataBaseNameOrDataSetName");
|
||||
ApiKeyNPin Result;
|
||||
Result = ((IMSLSpecific)(@__Instance)).MobileAboutDialogCalled(SharedConnectionDataSource, RegisteredName, PracticeName, DataBaseNameOrDataSetName);
|
||||
@__ObjectDisposer.Add(Result);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "MSLSpecific", "MobileAboutDialogCalledResponse");
|
||||
@__Message.Write("Result", Result, typeof(ApiKeyNPin), RemObjects.SDK.StreamingFormat.Default);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
public static void Invoke_IsServerReachableFromTheInternet(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
string SharedConnectionDataSource = @__Message.ReadAnsiString("SharedConnectionDataSource");
|
||||
bool Result;
|
||||
Result = ((IMSLSpecific)(@__Instance)).IsServerReachableFromTheInternet(SharedConnectionDataSource);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "MSLSpecific", "IsServerReachableFromTheInternetResponse");
|
||||
@__Message.WriteBoolean("Result", Result);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
public static void Invoke_UpdateServiceIfNeeded(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
((IMSLSpecific)(@__Instance)).UpdateServiceIfNeeded();
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "MSLSpecific", "UpdateServiceIfNeededResponse");
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roNoResponse;
|
||||
}
|
||||
public static void Invoke_GetHostSpecGUID(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
string Result;
|
||||
Result = ((IMSLSpecific)(@__Instance)).GetHostSpecGUID();
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "MSLSpecific", "GetHostSpecGUIDResponse");
|
||||
@__Message.WriteAnsiString("Result", Result);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
public static void Invoke_GetLocalIP(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
string Result;
|
||||
Result = ((IMSLSpecific)(@__Instance)).GetLocalIP();
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "MSLSpecific", "GetLocalIPResponse");
|
||||
@__Message.WriteAnsiString("Result", Result);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
public static void Invoke_GetExternalIP(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
string Result;
|
||||
Result = ((IMSLSpecific)(@__Instance)).GetExternalIP();
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "MSLSpecific", "GetExternalIPResponse");
|
||||
@__Message.WriteAnsiString("Result", Result);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
public static void Invoke_GetExternalPort(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
int Result;
|
||||
Result = ((IMSLSpecific)(@__Instance)).GetExternalPort();
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "MSLSpecific", "GetExternalPortResponse");
|
||||
@__Message.WriteInt32("Result", Result);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
public static void Invoke_SetExternalPort(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
int Port = @__Message.ReadInt32("Port");
|
||||
bool Result;
|
||||
Result = ((IMSLSpecific)(@__Instance)).SetExternalPort(Port);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "MSLSpecific", "SetExternalPortResponse");
|
||||
@__Message.WriteBoolean("Result", Result);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
public static void Invoke_GetLoadedCredentials(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
|
||||
try {
|
||||
ApiKeyNCredential[] Result;
|
||||
Result = ((IMSLSpecific)(@__Instance)).GetLoadedCredentials();
|
||||
@__ObjectDisposer.Add(Result);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "MSLSpecific", "GetLoadedCredentialsResponse");
|
||||
@__Message.Write("Result", Result, typeof(ApiKeyNCredential[]), RemObjects.SDK.StreamingFormat.Default);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
public static void Invoke_AddSharedCredential(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
RemObjects.SDK.ObjectDisposer @__ObjectDisposer = new RemObjects.SDK.ObjectDisposer(1);
|
||||
try {
|
||||
ApiKeyNCredential credential = ((ApiKeyNCredential)(@__Message.Read("credential", typeof(ApiKeyNCredential), RemObjects.SDK.StreamingFormat.Default)));
|
||||
@__ObjectDisposer.Add(credential);
|
||||
bool Result;
|
||||
Result = ((IMSLSpecific)(@__Instance)).AddSharedCredential(credential);
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "MSLSpecific", "AddSharedCredentialResponse");
|
||||
@__Message.WriteBoolean("Result", Result);
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roDefault;
|
||||
}
|
||||
finally {
|
||||
@__ObjectDisposer.Dispose();
|
||||
}
|
||||
}
|
||||
public static void Invoke_GenerateApiKeysForPracticesInLoadedSharedCredentials(RemObjects.SDK.IROService @__Instance, RemObjects.SDK.IMessage @__Message, RemObjects.SDK.Server.IServerChannelInfo @__ServerChannelInfo, out RemObjects.SDK.Server.ResponseOptions @__oResponseOptions) {
|
||||
((IMSLSpecific)(@__Instance)).GenerateApiKeysForPracticesInLoadedSharedCredentials();
|
||||
@__Message.InitializeResponseMessage(@__ServerChannelInfo, "PlutoApi", "MSLSpecific", "GenerateApiKeysForPracticesInLoadedSharedCredentialsResponse");
|
||||
@__Message.FinalizeMessage();
|
||||
@__oResponseOptions = RemObjects.SDK.Server.ResponseOptions.roNoResponse;
|
||||
}
|
||||
}
|
||||
[RemObjects.SDK.Activator()]
|
||||
[System.Reflection.ObfuscationAttribute(Exclude=true, ApplyToMembers=false)]
|
||||
public class MSLSpecific_Activator : RemObjects.SDK.Server.ServiceActivator {
|
||||
public MSLSpecific_Activator() :
|
||||
base() {
|
||||
}
|
||||
public override RemObjects.SDK.IROService CreateInstance() {
|
||||
return new MSLSpecific();
|
||||
}
|
||||
}
|
||||
}
|
||||
168
TomcatServer/PlutoServer/PlutoServer.csproj
Normal file
168
TomcatServer/PlutoServer/PlutoServer.csproj
Normal file
@@ -0,0 +1,168 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{1D63BC36-9F90-4D83-BC76-03FB13AA1F50}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Pluto.Api</RootNamespace>
|
||||
<AssemblyName>Pluto.PlutoServer</AssemblyName>
|
||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile>
|
||||
</TargetFrameworkProfile>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\Target\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\Target\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="RemObjects.InternetPack, Version=7.0.63.1055, Culture=neutral, PublicKeyToken=3df3cad1b7aa5098, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\3rdParty\RemObjects\Server\RemObjects.InternetPack.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="RemObjects.SDK, Version=7.0.63.1055, Culture=neutral, PublicKeyToken=3df3cad1b7aa5098, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\3rdParty\RemObjects\Server\RemObjects.SDK.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="RemObjects.SDK.Server, Version=7.0.63.1055, Culture=neutral, PublicKeyToken=3df3cad1b7aa5098, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\3rdParty\RemObjects\Server\RemObjects.SDK.Server.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="RemObjects.SDK.ZLib, Version=7.0.63.1055, Culture=neutral, PublicKeyToken=3df3cad1b7aa5098, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\3rdParty\RemObjects\Server\RemObjects.SDK.ZLib.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.configuration" />
|
||||
<Reference Include="System.Configuration.Install" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Management" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.ServiceProcess" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Authentication_Impl.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Billing_Impl.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Installer.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Installer.Designer.cs">
|
||||
<DependentUpon>Installer.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Medication_Impl.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="MSLSpecific_Impl.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Patient_Impl.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="PlutoApi_Events.cs" />
|
||||
<Compile Include="PlutoApi_Intf.cs" />
|
||||
<Compile Include="PlutoApi_Invk.cs" />
|
||||
<Compile Include="PlutoService.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="PlutoService.Designer.cs">
|
||||
<DependentUpon>PlutoService.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Practice_Impl.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Provider_Impl.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Schedule_Impl.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Terminology_Impl.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.config">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="PlutoApi.rodl" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="PlutoService.resx">
|
||||
<DependentUpon>PlutoService.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\licenses.licx" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Windows Installer 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
<PreBuildEvent>"C:\Program Files (x86)\RemObjects Software\RemObjects SDK (Common)\Bin\RODL.exe" /language:c# "$(ProjectDir)PlutoApi.rodl"</PreBuildEvent>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>
|
||||
</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
62
TomcatServer/PlutoServer/PlutoService.Designer.cs
generated
Normal file
62
TomcatServer/PlutoServer/PlutoService.Designer.cs
generated
Normal file
@@ -0,0 +1,62 @@
|
||||
namespace PlutoServer
|
||||
{
|
||||
partial class PlutoService
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Component Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
this.ServerChannel = new RemObjects.SDK.Server.IpTcpServerChannel(this.components);
|
||||
this.binMessage = new RemObjects.SDK.BinMessage();
|
||||
((System.ComponentModel.ISupportInitialize)(this.ServerChannel)).BeginInit();
|
||||
//
|
||||
// ServerChannel
|
||||
//
|
||||
this.ServerChannel.Dispatchers.Add(new RemObjects.SDK.Server.MessageDispatcher("bin", this.binMessage));
|
||||
this.ServerChannel.Port = 8090;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.ServerChannel.TcpServer.Port = 8090;
|
||||
//
|
||||
// binMessage
|
||||
//
|
||||
this.binMessage.ContentType = "application/octet-stream";
|
||||
this.binMessage.SerializerInstance = null;
|
||||
//
|
||||
// PlutoService
|
||||
//
|
||||
this.ServiceName = "PlutoServer";
|
||||
((System.ComponentModel.ISupportInitialize)(this.ServerChannel)).EndInit();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private RemObjects.SDK.Server.IpTcpServerChannel ServerChannel;
|
||||
private RemObjects.SDK.BinMessage binMessage;
|
||||
}
|
||||
}
|
||||
32
TomcatServer/PlutoServer/PlutoService.cs
Normal file
32
TomcatServer/PlutoServer/PlutoService.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.ServiceProcess;
|
||||
using System.Text;
|
||||
|
||||
namespace PlutoServer
|
||||
{
|
||||
public partial class PlutoService : ServiceBase
|
||||
{
|
||||
public PlutoService()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
// Log to the Application System Log
|
||||
this.EventLog.Log = "Application";
|
||||
}
|
||||
|
||||
protected override void OnStart(string[] args)
|
||||
{
|
||||
ServerChannel.Activate();
|
||||
}
|
||||
|
||||
protected override void OnStop()
|
||||
{
|
||||
ServerChannel.Deactivate();
|
||||
}
|
||||
}
|
||||
}
|
||||
129
TomcatServer/PlutoServer/PlutoService.resx
Normal file
129
TomcatServer/PlutoServer/PlutoService.resx
Normal file
@@ -0,0 +1,129 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="ServerChannel.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 56</value>
|
||||
</metadata>
|
||||
<metadata name="binMessage.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>147, 17</value>
|
||||
</metadata>
|
||||
<metadata name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
</root>
|
||||
70
TomcatServer/PlutoServer/Practice_Impl.cs
Normal file
70
TomcatServer/PlutoServer/Practice_Impl.cs
Normal file
@@ -0,0 +1,70 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.261
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Pluto.Api {
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading;
|
||||
using RemObjects.SDK;
|
||||
using RemObjects.SDK.Types;
|
||||
using RemObjects.SDK.Server;
|
||||
using RemObjects.SDK.Server.ClassFactories;
|
||||
|
||||
[RemObjects.SDK.Server.ClassFactories.StandardClassFactory()]
|
||||
[RemObjects.SDK.Server.Service(Name = "Practice", InvokerClass = typeof(Practice_Invoker), ActivatorClass = typeof(Practice_Activator))]
|
||||
public class Practice : RemObjects.SDK.Server.Service, IPractice {
|
||||
private System.ComponentModel.Container components = null;
|
||||
public Practice() :
|
||||
base() {
|
||||
this.InitializeComponent();
|
||||
}
|
||||
private void InitializeComponent() {
|
||||
}
|
||||
protected override void Dispose(bool aDisposing) {
|
||||
if(aDisposing) {
|
||||
if((this.components != null)) {
|
||||
this.components.Dispose();
|
||||
}
|
||||
}
|
||||
base.Dispose(aDisposing);
|
||||
}
|
||||
public virtual PracticeInfo1[] GetPracticeList1(string apiKey) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public virtual ProviderInfo1[] GetProviderList1(string apiKey, PracticeInfo1 practiceInfo) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public virtual FacilityInfo1[] GetFacilitiesList1(string apiKey)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public virtual ResourceInfo1[] GetResourcesList1(string apiKey)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
#region IPractice Members
|
||||
|
||||
|
||||
public virtual PatientInfo1[] GetPatientList1(string apiKey, string lastName, string firstName, string dataOfBirth) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public MessageRecipientInfo1[] GetMessageRecipientList(string apiKey) {
|
||||
return null;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
24
TomcatServer/PlutoServer/Program.cs
Normal file
24
TomcatServer/PlutoServer/Program.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.ServiceProcess;
|
||||
using System.Text;
|
||||
|
||||
namespace PlutoServer
|
||||
{
|
||||
static class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
static void Main()
|
||||
{
|
||||
ServiceBase[] ServicesToRun;
|
||||
ServicesToRun = new ServiceBase[]
|
||||
{
|
||||
new PlutoService()
|
||||
};
|
||||
ServiceBase.Run(ServicesToRun);
|
||||
}
|
||||
}
|
||||
}
|
||||
36
TomcatServer/PlutoServer/Properties/AssemblyInfo.cs
Normal file
36
TomcatServer/PlutoServer/Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("PlutoServer")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("Microsoft")]
|
||||
[assembly: AssemblyProduct("PlutoServer")]
|
||||
[assembly: AssemblyCopyright("Copyright © Microsoft 2012")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("26238c45-c023-41a9-99bd-5513852d430c")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
1
TomcatServer/PlutoServer/Properties/licenses.licx
Normal file
1
TomcatServer/PlutoServer/Properties/licenses.licx
Normal file
@@ -0,0 +1 @@
|
||||
RemObjects.SDK.Server.IpTcpServerChannel, RemObjects.SDK.Server, Version=7.0.63.1055, Culture=neutral, PublicKeyToken=3df3cad1b7aa5098
|
||||
62
TomcatServer/PlutoServer/Provider_Impl.cs
Normal file
62
TomcatServer/PlutoServer/Provider_Impl.cs
Normal file
@@ -0,0 +1,62 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.17929
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Pluto.Api {
|
||||
using System;
|
||||
using RemObjects.SDK;
|
||||
using RemObjects.SDK.Types;
|
||||
using RemObjects.SDK.Server;
|
||||
using RemObjects.SDK.Server.ClassFactories;
|
||||
|
||||
[RemObjects.SDK.Server.ClassFactories.StandardClassFactory()]
|
||||
[RemObjects.SDK.Server.Service(Name = "Provider", InvokerClass = typeof(Provider_Invoker), ActivatorClass = typeof(Provider_Activator))]
|
||||
public class Provider : RemObjects.SDK.Server.Service, IProvider {
|
||||
private System.ComponentModel.Container components = null;
|
||||
public Provider() :
|
||||
base() {
|
||||
this.InitializeComponent();
|
||||
}
|
||||
private void InitializeComponent() {
|
||||
}
|
||||
protected override void Dispose(bool aDisposing) {
|
||||
if(aDisposing) {
|
||||
if((this.components != null)) {
|
||||
this.components.Dispose();
|
||||
}
|
||||
}
|
||||
base.Dispose(aDisposing);
|
||||
}
|
||||
|
||||
#region IProvider Members
|
||||
|
||||
public MailboxFolderInfo1[] GetMailboxFoldersInfo(string apiKey, int providerId) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public FolderItemInfo1[] GetMailboxItems(string apiKey, MailboxFolderTypeEnum folderType) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public MessageInfo1 GetMessage(string apiKey, long messageId) {
|
||||
return null;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region IProvider Members
|
||||
|
||||
|
||||
public void SendMessage(string apiKey, MessageInfo1 message) {
|
||||
// Do nothing
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
56
TomcatServer/PlutoServer/Schedule_Impl.cs
Normal file
56
TomcatServer/PlutoServer/Schedule_Impl.cs
Normal file
@@ -0,0 +1,56 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.261
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Pluto.Api {
|
||||
using System;
|
||||
using RemObjects.SDK;
|
||||
using RemObjects.SDK.Types;
|
||||
using RemObjects.SDK.Server;
|
||||
using RemObjects.SDK.Server.ClassFactories;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
||||
[RemObjects.SDK.Server.ClassFactories.StandardClassFactory()]
|
||||
[RemObjects.SDK.Server.Service(Name = "Schedule", InvokerClass = typeof(Schedule_Invoker), ActivatorClass = typeof(Schedule_Activator))]
|
||||
public class Schedule : RemObjects.SDK.Server.Service, ISchedule {
|
||||
private System.ComponentModel.Container components = null;
|
||||
public Schedule() :
|
||||
base() {
|
||||
this.InitializeComponent();
|
||||
}
|
||||
private void InitializeComponent() {
|
||||
}
|
||||
protected override void Dispose(bool aDisposing) {
|
||||
if(aDisposing) {
|
||||
if((this.components != null)) {
|
||||
this.components.Dispose();
|
||||
}
|
||||
}
|
||||
base.Dispose(aDisposing);
|
||||
}
|
||||
public virtual AppointmentInfo1[] GetAppointments1(string apiKey, ProviderInfo1[] providerInfo, ResourceInfo1[] resourceInfo, System.DateTime startDate, System.DateTime endDate) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public virtual AppointmentDetail1 GetAppointmentDetail1(string apiKey, int ApptID, bool bCalculateBalance)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
#region ISchedule Members
|
||||
|
||||
|
||||
public bool AddAppointment1(string apiKey, AppointmentInfo1 appointmentInfo) {
|
||||
return true;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
45
TomcatServer/PlutoServer/Terminology_Impl.cs
Normal file
45
TomcatServer/PlutoServer/Terminology_Impl.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.17929
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Pluto.Api {
|
||||
using System;
|
||||
using RemObjects.SDK;
|
||||
using RemObjects.SDK.Types;
|
||||
using RemObjects.SDK.Server;
|
||||
using RemObjects.SDK.Server.ClassFactories;
|
||||
|
||||
[RemObjects.SDK.Server.ClassFactories.StandardClassFactory()]
|
||||
[RemObjects.SDK.Server.Service(Name = "Terminology", InvokerClass = typeof(Terminology_Invoker), ActivatorClass = typeof(Terminology_Activator))]
|
||||
public class Terminology : RemObjects.SDK.Server.Service, ITerminology {
|
||||
private System.ComponentModel.Container components = null;
|
||||
public Terminology() :
|
||||
base() {
|
||||
this.InitializeComponent();
|
||||
}
|
||||
private void InitializeComponent() {
|
||||
}
|
||||
protected override void Dispose(bool aDisposing) {
|
||||
if(aDisposing) {
|
||||
if((this.components != null)) {
|
||||
this.components.Dispose();
|
||||
}
|
||||
}
|
||||
base.Dispose(aDisposing);
|
||||
}
|
||||
|
||||
#region ITerminology Members
|
||||
|
||||
public virtual TerminologyInfo1[] SearchTerminology(string apiKey, string searchString, TerminologySearchTypeEnum searchType, TerminologyDomainEnum terminologyDomain, string chartID) {
|
||||
return null;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
17
TomcatServer/PlutoServer/app.config
Normal file
17
TomcatServer/PlutoServer/app.config
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0"?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
<section name="unity" type="Microsoft.Practices.Unity.Configuration.UnityConfigurationSection,Microsoft.Practices.Unity.Configuration"/>
|
||||
</configSections>
|
||||
|
||||
<startup><supportedRuntime version="v2.0.50727"/></startup>
|
||||
|
||||
<unity xmlns="http://schemas.microsoft.com/practices/2010/unity">
|
||||
<alias alias="IAuthentication" type="Pluto.Api.IAuthentication, Pluto.PlutoServer" />
|
||||
<namespace name="Pluto.Api.PracticeChoice" />
|
||||
<assembly name="Pluto.PlutoServer.PracticeChoice" />
|
||||
<container>
|
||||
<register type="IAuthentication" mapTo="Pluto.Api.PracticeChoice.Authentication, Pluto.PlutoServer.PracticeChoice" />
|
||||
</container>
|
||||
</unity>
|
||||
</configuration>
|
||||
Binary file not shown.
BIN
TomcatServer/PlutoServer/obj/x86/Debug/Pluto.PlutoServer.exe
Normal file
BIN
TomcatServer/PlutoServer/obj/x86/Debug/Pluto.PlutoServer.exe
Normal file
Binary file not shown.
BIN
TomcatServer/PlutoServer/obj/x86/Debug/Pluto.PlutoServer.pdb
Normal file
BIN
TomcatServer/PlutoServer/obj/x86/Debug/Pluto.PlutoServer.pdb
Normal file
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,11 @@
|
||||
C:\Users\Administrator\Projects\Pluto\Server\Target\Debug\Pluto.PlutoServer.exe.config
|
||||
C:\Users\Administrator\Projects\Pluto\Server\Target\Debug\app.config
|
||||
C:\Users\Administrator\Projects\Pluto\Server\Target\Debug\Pluto.PlutoServer.exe
|
||||
C:\Users\Administrator\Projects\Pluto\Server\Target\Debug\Pluto.PlutoServer.pdb
|
||||
C:\Users\Administrator\Projects\Pluto\Server\PlutoServer\obj\x86\Debug\ResolveAssemblyReference.cache
|
||||
C:\Users\Administrator\Projects\Pluto\Server\PlutoServer\obj\x86\Debug\PlutoServer.PlutoService.resources
|
||||
C:\Users\Administrator\Projects\Pluto\Server\PlutoServer\obj\x86\Debug\ResGen.read.1.tlog
|
||||
C:\Users\Administrator\Projects\Pluto\Server\PlutoServer\obj\x86\Debug\ResGen.write.1.tlog
|
||||
C:\Users\Administrator\Projects\Pluto\Server\PlutoServer\obj\x86\Debug\Pluto.PlutoServer.exe.licenses
|
||||
C:\Users\Administrator\Projects\Pluto\Server\PlutoServer\obj\x86\Debug\Pluto.PlutoServer.exe
|
||||
C:\Users\Administrator\Projects\Pluto\Server\PlutoServer\obj\x86\Debug\Pluto.PlutoServer.pdb
|
||||
BIN
TomcatServer/PlutoServer/obj/x86/Debug/ResGen.read.1.tlog
Normal file
BIN
TomcatServer/PlutoServer/obj/x86/Debug/ResGen.read.1.tlog
Normal file
Binary file not shown.
BIN
TomcatServer/PlutoServer/obj/x86/Debug/ResGen.write.1.tlog
Normal file
BIN
TomcatServer/PlutoServer/obj/x86/Debug/ResGen.write.1.tlog
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
TomcatServer/PlutoServer/obj/x86/Release/Pluto.PlutoServer.exe
Normal file
BIN
TomcatServer/PlutoServer/obj/x86/Release/Pluto.PlutoServer.exe
Normal file
Binary file not shown.
BIN
TomcatServer/PlutoServer/obj/x86/Release/Pluto.PlutoServer.pdb
Normal file
BIN
TomcatServer/PlutoServer/obj/x86/Release/Pluto.PlutoServer.pdb
Normal file
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,11 @@
|
||||
C:\Users\Administrator\Projects\Pluto\Server\Target\Release\app.config
|
||||
C:\Users\Administrator\Projects\Pluto\Server\Target\Release\Pluto.PlutoServer.exe.config
|
||||
C:\Users\Administrator\Projects\Pluto\Server\Target\Release\Pluto.PlutoServer.exe
|
||||
C:\Users\Administrator\Projects\Pluto\Server\Target\Release\Pluto.PlutoServer.pdb
|
||||
C:\Users\Administrator\Projects\Pluto\Server\PlutoServer\obj\x86\Release\ResolveAssemblyReference.cache
|
||||
C:\Users\Administrator\Projects\Pluto\Server\PlutoServer\obj\x86\Release\PlutoServer.PlutoService.resources
|
||||
C:\Users\Administrator\Projects\Pluto\Server\PlutoServer\obj\x86\Release\ResGen.read.1.tlog
|
||||
C:\Users\Administrator\Projects\Pluto\Server\PlutoServer\obj\x86\Release\ResGen.write.1.tlog
|
||||
C:\Users\Administrator\Projects\Pluto\Server\PlutoServer\obj\x86\Release\Pluto.PlutoServer.exe.licenses
|
||||
C:\Users\Administrator\Projects\Pluto\Server\PlutoServer\obj\x86\Release\Pluto.PlutoServer.exe
|
||||
C:\Users\Administrator\Projects\Pluto\Server\PlutoServer\obj\x86\Release\Pluto.PlutoServer.pdb
|
||||
BIN
TomcatServer/PlutoServer/obj/x86/Release/ResGen.read.1.tlog
Normal file
BIN
TomcatServer/PlutoServer/obj/x86/Release/ResGen.read.1.tlog
Normal file
Binary file not shown.
BIN
TomcatServer/PlutoServer/obj/x86/Release/ResGen.write.1.tlog
Normal file
BIN
TomcatServer/PlutoServer/obj/x86/Release/ResGen.write.1.tlog
Normal file
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user