C# 클래스 public_sfs.Program

파일 보기 프로젝트 열기: veterinarium/public-sfs

공개 프로퍼티들

프로퍼티 타입 설명
clinicApiKey string
emrApiKey string
sbConnectionString string
sbQueueName string
serverUrl string

공개 메소드들

메소드 설명
CreateHospitalization ( HttpClient httpClient, string hospitalizationExternalId ) : Hospitalization
CreateInventoryItem ( HttpClient httpClient, string emrInventoryItemId ) : void
DeleteInventoryItem ( HttpClient httpClient, string emrInventoryItemId ) : void
DischargeHospitalization ( HttpClient httpClient, string hospitalizationExternalId ) : void
DownloadMedicalRecordsReport ( HttpClient httpClient, Hospitalization hosp ) : void
GetAnesthetics ( HttpClient httpClient, string hospitalizationExternalId ) : void
GetDepartments ( HttpClient httpClient ) : void
GetEventsFromServiceBus ( ) : void
GetHospitalization ( HttpClient httpClient, string hospitalizationExternalId ) : void
GetTreatmentTemplates ( HttpClient httpClient ) : void
UpdateHospitalization ( HttpClient httpClient, Hospitalization hosp ) : void
UploadMedics ( HttpClient httpClient ) : void

비공개 메소드들

메소드 설명
Main ( string args ) : void

메소드 상세

CreateHospitalization() 공개 정적인 메소드

public static CreateHospitalization ( HttpClient httpClient, string hospitalizationExternalId ) : Hospitalization
httpClient System.Net.Http.HttpClient
hospitalizationExternalId string
리턴 Hospitalization

CreateInventoryItem() 공개 정적인 메소드

public static CreateInventoryItem ( HttpClient httpClient, string emrInventoryItemId ) : void
httpClient System.Net.Http.HttpClient
emrInventoryItemId string
리턴 void

DeleteInventoryItem() 공개 정적인 메소드

public static DeleteInventoryItem ( HttpClient httpClient, string emrInventoryItemId ) : void
httpClient System.Net.Http.HttpClient
emrInventoryItemId string
리턴 void

DischargeHospitalization() 공개 정적인 메소드

public static DischargeHospitalization ( HttpClient httpClient, string hospitalizationExternalId ) : void
httpClient System.Net.Http.HttpClient
hospitalizationExternalId string
리턴 void

DownloadMedicalRecordsReport() 공개 정적인 메소드

public static DownloadMedicalRecordsReport ( HttpClient httpClient, Hospitalization hosp ) : void
httpClient System.Net.Http.HttpClient
hosp Hospitalization
리턴 void

GetAnesthetics() 공개 정적인 메소드

public static GetAnesthetics ( HttpClient httpClient, string hospitalizationExternalId ) : void
httpClient System.Net.Http.HttpClient
hospitalizationExternalId string
리턴 void

GetDepartments() 공개 정적인 메소드

public static GetDepartments ( HttpClient httpClient ) : void
httpClient System.Net.Http.HttpClient
리턴 void

GetEventsFromServiceBus() 공개 정적인 메소드

public static GetEventsFromServiceBus ( ) : void
리턴 void

GetHospitalization() 공개 정적인 메소드

public static GetHospitalization ( HttpClient httpClient, string hospitalizationExternalId ) : void
httpClient System.Net.Http.HttpClient
hospitalizationExternalId string
리턴 void

GetTreatmentTemplates() 공개 정적인 메소드

public static GetTreatmentTemplates ( HttpClient httpClient ) : void
httpClient System.Net.Http.HttpClient
리턴 void

UpdateHospitalization() 공개 정적인 메소드

public static UpdateHospitalization ( HttpClient httpClient, Hospitalization hosp ) : void
httpClient System.Net.Http.HttpClient
hosp Hospitalization
리턴 void

UploadMedics() 공개 정적인 메소드

public static UploadMedics ( HttpClient httpClient ) : void
httpClient System.Net.Http.HttpClient
리턴 void

프로퍼티 상세

clinicApiKey 공개적으로 정적으로 프로퍼티

Each clinic has a special key to be used for integration with EMR. This key is generated after clinic registration and available at account page (https://www.smartflowsheet.com/Account/Info)
public static string clinicApiKey
리턴 string

emrApiKey 공개적으로 정적으로 프로퍼티

Each EMR has special developer key received from Smart Flow Sheet support
public static string emrApiKey
리턴 string

sbConnectionString 공개적으로 정적으로 프로퍼티

Each clinic has special connection string which used for receive clinic's events via Azure Service Bus. This connection string received from Smart Flow Sheet support
public static string sbConnectionString
리턴 string

sbQueueName 공개적으로 정적으로 프로퍼티

Each clinic has special queue name which used for receive clinic's events via Azure Service Bus. Queue name received from Smart Flow Sheet support (usually it's equal to clinicApiKey).
public static string sbQueueName
리턴 string

serverUrl 공개적으로 정적으로 프로퍼티

Base server url: - sandbox : "https://sfs-public.azurewebsites.net/api/v3"; - production: "https://www.smartflowsheet.com/api/v3"
public static string serverUrl
리턴 string