WebService_EMR_PatientDetail
Click here for a complete list of operations.
SavePatientDetail
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /Modules/EMR/WebServices/WebService_EMR_PatientDetail.asmx HTTP/1.1
Host: 10.20.1.42
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/SavePatientDetail"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<SavePatientDetail xmlns="http://tempuri.org/">
<patient_id>string</patient_id>
<user_id>string</user_id>
<patient_no>string</patient_no>
<perSSI_no>string</perSSI_no>
<mrd_type>string</mrd_type>
<f_name>string</f_name>
<m_name>string</m_name>
<l_name>string</l_name>
<guardian>string</guardian>
<gender>string</gender>
<DOB>string</DOB>
<IsDOBapproxi>string</IsDOBapproxi>
<buddish_date>string</buddish_date>
<dob_dd>string</dob_dd>
<dob_mm>string</dob_mm>
<dob_yyyy>string</dob_yyyy>
<IsVip>string</IsVip>
<vip_patient_type>string</vip_patient_type>
<IsAnony>string</IsAnony>
<title>string</title>
<blood>string</blood>
<IDType>string</IDType>
<nation>string</nation>
<language>string</language>
<IsInter_req>string</IsInter_req>
<occupation>string</occupation>
<patientType>string</patientType>
<religion>string</religion>
<addressNo>string</addressNo>
<building>string</building>
<lane>string</lane>
<road>string</road>
<area>string</area>
<township>string</township>
<district>string</district>
<district_edit>string</district_edit>
<state>string</state>
<country>string</country>
<c_code>string</c_code>
<residential_ph>string</residential_ph>
<phone>string</phone>
<email>string</email>
<receive_new>string</receive_new>
<national_id>string</national_id>
<active_from>string</active_from>
<active_to>string</active_to>
<reg_on>string</reg_on>
<reg_by>string</reg_by>
<location_id>string</location_id>
<reg_status>string</reg_status>
<insurance_id>string</insurance_id>
<father_name>string</father_name>
<establishment>string</establishment>
<establishment_address>string</establishment_address>
<employer_ph>string</employer_ph>
<employer_code>string</employer_code>
<isRetire>string</isRetire>
<IsSelfRegister>string</IsSelfRegister>
<RequestID>string</RequestID>
</SavePatientDetail>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<SavePatientDetailResponse xmlns="http://tempuri.org/">
<SavePatientDetailResult>string</SavePatientDetailResult>
</SavePatientDetailResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /Modules/EMR/WebServices/WebService_EMR_PatientDetail.asmx HTTP/1.1
Host: 10.20.1.42
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<SavePatientDetail xmlns="http://tempuri.org/">
<patient_id>string</patient_id>
<user_id>string</user_id>
<patient_no>string</patient_no>
<perSSI_no>string</perSSI_no>
<mrd_type>string</mrd_type>
<f_name>string</f_name>
<m_name>string</m_name>
<l_name>string</l_name>
<guardian>string</guardian>
<gender>string</gender>
<DOB>string</DOB>
<IsDOBapproxi>string</IsDOBapproxi>
<buddish_date>string</buddish_date>
<dob_dd>string</dob_dd>
<dob_mm>string</dob_mm>
<dob_yyyy>string</dob_yyyy>
<IsVip>string</IsVip>
<vip_patient_type>string</vip_patient_type>
<IsAnony>string</IsAnony>
<title>string</title>
<blood>string</blood>
<IDType>string</IDType>
<nation>string</nation>
<language>string</language>
<IsInter_req>string</IsInter_req>
<occupation>string</occupation>
<patientType>string</patientType>
<religion>string</religion>
<addressNo>string</addressNo>
<building>string</building>
<lane>string</lane>
<road>string</road>
<area>string</area>
<township>string</township>
<district>string</district>
<district_edit>string</district_edit>
<state>string</state>
<country>string</country>
<c_code>string</c_code>
<residential_ph>string</residential_ph>
<phone>string</phone>
<email>string</email>
<receive_new>string</receive_new>
<national_id>string</national_id>
<active_from>string</active_from>
<active_to>string</active_to>
<reg_on>string</reg_on>
<reg_by>string</reg_by>
<location_id>string</location_id>
<reg_status>string</reg_status>
<insurance_id>string</insurance_id>
<father_name>string</father_name>
<establishment>string</establishment>
<establishment_address>string</establishment_address>
<employer_ph>string</employer_ph>
<employer_code>string</employer_code>
<isRetire>string</isRetire>
<IsSelfRegister>string</IsSelfRegister>
<RequestID>string</RequestID>
</SavePatientDetail>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<SavePatientDetailResponse xmlns="http://tempuri.org/">
<SavePatientDetailResult>string</SavePatientDetailResult>
</SavePatientDetailResponse>
</soap12:Body>
</soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /Modules/EMR/WebServices/WebService_EMR_PatientDetail.asmx/SavePatientDetail?patient_id=string&user_id=string&patient_no=string&perSSI_no=string&mrd_type=string&f_name=string&m_name=string&l_name=string&guardian=string&gender=string&DOB=string&IsDOBapproxi=string&buddish_date=string&dob_dd=string&dob_mm=string&dob_yyyy=string&IsVip=string&vip_patient_type=string&IsAnony=string&title=string&blood=string&IDType=string&nation=string&language=string&IsInter_req=string&occupation=string&patientType=string&religion=string&addressNo=string&building=string&lane=string&road=string&area=string&township=string&district=string&district_edit=string&state=string&country=string&c_code=string&residential_ph=string&phone=string&email=string&receive_new=string&national_id=string&active_from=string&active_to=string®_on=string®_by=string&location_id=string®_status=string&insurance_id=string&father_name=string&establishment=string&establishment_address=string&employer_ph=string&employer_code=string&isRetire=string&IsSelfRegister=string&RequestID=string HTTP/1.1 Host: 10.20.1.42
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://tempuri.org/">string</string>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /Modules/EMR/WebServices/WebService_EMR_PatientDetail.asmx/SavePatientDetail HTTP/1.1 Host: 10.20.1.42 Content-Type: application/x-www-form-urlencoded Content-Length: length patient_id=string&user_id=string&patient_no=string&perSSI_no=string&mrd_type=string&f_name=string&m_name=string&l_name=string&guardian=string&gender=string&DOB=string&IsDOBapproxi=string&buddish_date=string&dob_dd=string&dob_mm=string&dob_yyyy=string&IsVip=string&vip_patient_type=string&IsAnony=string&title=string&blood=string&IDType=string&nation=string&language=string&IsInter_req=string&occupation=string&patientType=string&religion=string&addressNo=string&building=string&lane=string&road=string&area=string&township=string&district=string&district_edit=string&state=string&country=string&c_code=string&residential_ph=string&phone=string&email=string&receive_new=string&national_id=string&active_from=string&active_to=string®_on=string®_by=string&location_id=string®_status=string&insurance_id=string&father_name=string&establishment=string&establishment_address=string&employer_ph=string&employer_code=string&isRetire=string&IsSelfRegister=string&RequestID=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://tempuri.org/">string</string>