示例#1
0
        private void Initialize()
        {
            //TODO Initialize parameters from DB

            SoapUrl  = "http://localhost:8096/PatientService.asmx";
            UserName = "******";
            Password = "******";


            RestUrl      = "http://localhost:8290/pms-asa/1/";
            ClientSecret = "CLIENT_SECRET";
            ClientId     = "AccessCenter";

            AccessCode   = "AccessCode";
            HospitalCode = "VH";

            DrugMasterSoapUrl  = "http://localhost:8096/DrugMasterService.asmx";
            PreparationSoapUrl = "http://localhost:8096/PreparationService.asmx";

            soapWSESvc = new SoapWSEParserSvc(SoapUrl, UserName, Password, HospitalCode);

            soapSvc = new SoapParserSvc(DrugMasterSoapUrl, PreparationSoapUrl, HospitalCode);

            restSvc = new RestParserSvc(RestUrl, ClientSecret, ClientId, HospitalCode);
        }
示例#2
0
 public HL7MessageParser_NTEC(ISoapParserSvc soapSvc, ISoapWSEService soapWSESvc, IRestParserSvc restSvc)
 {
     this.soapSvc    = soapSvc;
     this.soapWSESvc = soapWSESvc;
     this.restSvc    = restSvc;
 }
 private void InitializeService()
 {
     restService = new RestParserSvc(Global.ProfileRestUrl, Global.ClientSecret, Global.ClientId, Global.HospitalCode);
 }
 public void Initialize()
 {
     parser = new RestParserSvc(restUri, "CLIENT_SECRET", "CLIENT_ID", "VH");
 }