public SearchHKPMIPatientByCaseNoResponse searchHKPMIPatientByCaseNo(SearchHKPMIPatientByCaseNo caseNo)
        {
            WorkContext = new WorkContextSoapHeader();

            return(new SearchHKPMIPatientByCaseNoResponse {
                PatientDemoEnquiry = SoapProcessHelper.DoProcess()
            });
        }
        public SearchHKPMIPatientByCaseNoResponse searchHKPMIPatientByCaseNo(SearchHKPMIPatientByCaseNo searchHKPMIPatientByCaseNo)
        {
            WorkContext = new WorkContextSoapHeader();

            HttpContext.Current.Request.InputStream.Position = 0;
            var requestStr = new StreamReader(HttpContext.Current.Request.InputStream, Encoding.UTF8).ReadToEnd();

            var patHospCode = ConfigurationManager.AppSettings["patHospCode"];

            if (false == searchHKPMIPatientByCaseNo.HospitalCode.Equals(patHospCode, StringComparison.OrdinalIgnoreCase))
            {
                return(new SearchHKPMIPatientByCaseNoResponse {
                });
            }

            return(new SearchHKPMIPatientByCaseNoResponse
            {
                PatientDemoEnquiry = SoapParserHelper.LoadSamplePatientDemoEnquiry(searchHKPMIPatientByCaseNo.CaseNo)
            });
        }