WebService_EMR_Visit


Click here for a complete list of operations.

GetAllVisit

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
RequestID:

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_Visit.asmx HTTP/1.1
Host: 10.20.1.42
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/GetAllVisit"

<?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>
    <GetAllVisit xmlns="http://tempuri.org/">
      <RequestID>string</RequestID>
    </GetAllVisit>
  </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>
    <GetAllVisitResponse xmlns="http://tempuri.org/">
      <GetAllVisitResult>
        <EMR_VisitView>
          <VisitID>string</VisitID>
          <VisitNo>string</VisitNo>
          <PatientID>string</PatientID>
          <VisitOn>dateTime</VisitOn>
          <Remark>string</Remark>
          <Status>string</Status>
          <LocationID>string</LocationID>
          <VisitType>string</VisitType>
          <Active>boolean</Active>
          <CreatedBy>string</CreatedBy>
          <CreatedOn>dateTime</CreatedOn>
          <ModifiedBy>string</ModifiedBy>
          <ModifiedOn>dateTime</ModifiedOn>
          <LastAction>string</LastAction>
          <LocationName>string</LocationName>
          <LocationCode>string</LocationCode>
          <PatientNo>string</PatientNo>
          <CreatedByCode>string</CreatedByCode>
          <ModifiedByCode>string</ModifiedByCode>
          <PatientName>string</PatientName>
          <Gender>string</Gender>
          <PreferredLanguage>string</PreferredLanguage>
          <PatientType>string</PatientType>
          <NationalID>string</NationalID>
          <DateOfBirth>dateTime</DateOfBirth>
          <MobileNo>string</MobileNo>
          <AddressNo>string</AddressNo>
          <Building>string</Building>
          <Lane>string</Lane>
          <Road>string</Road>
          <Area>string</Area>
          <State>string</State>
          <DOB_DD>string</DOB_DD>
          <DOB_MM>string</DOB_MM>
          <DOB_YYYY>string</DOB_YYYY>
          <DoctorID>string</DoctorID>
          <SpecialityID>string</SpecialityID>
          <DoctorName>string</DoctorName>
          <SpecialityTitle>string</SpecialityTitle>
          <DoctorNo>string</DoctorNo>
          <EmergencyContact>string</EmergencyContact>
          <ContactInfo>string</ContactInfo>
          <SpecialityCodeNo>string</SpecialityCodeNo>
          <SpecialityTitleMM>string</SpecialityTitleMM>
          <FatherName>string</FatherName>
          <EmployerCodeNo>string</EmployerCodeNo>
          <Establishment>string</Establishment>
          <EstablishmentAddress>string</EstablishmentAddress>
          <PrintLeaveLetter>boolean</PrintLeaveLetter>
          <PerSSINo>string</PerSSINo>
          <FromLeaveDay>decimal</FromLeaveDay>
          <ToLeaveDay>decimal</ToLeaveDay>
          <IDType>string</IDType>
          <VisitRecordStatus>string</VisitRecordStatus>
          <FollowUpVisitNo>string</FollowUpVisitNo>
          <ServiceType>string</ServiceType>
          <ProfileURL>string</ProfileURL>
          <StationID>string</StationID>
          <StationName>string</StationName>
          <ClinicTypeID>string</ClinicTypeID>
          <ClinicTypeName>string</ClinicTypeName>
          <Sec_SpecialityID>string</Sec_SpecialityID>
          <Ter_SpecialityID>string</Ter_SpecialityID>
          <Sec_SpecialityTitle>string</Sec_SpecialityTitle>
          <Sec_SpecialityTitleMM>string</Sec_SpecialityTitleMM>
          <Sec_SpecialityCodeNo>string</Sec_SpecialityCodeNo>
          <Ter_SpecialityTitle>string</Ter_SpecialityTitle>
          <Ter_SpecialityTitleMM>string</Ter_SpecialityTitleMM>
          <Ter_SpecialityCodeNo>string</Ter_SpecialityCodeNo>
          <IsEnroll>string</IsEnroll>
          <ProcedureType>string</ProcedureType>
          <FirstName>string</FirstName>
          <OGVisitCount>int</OGVisitCount>
        </EMR_VisitView>
        <EMR_VisitView>
          <VisitID>string</VisitID>
          <VisitNo>string</VisitNo>
          <PatientID>string</PatientID>
          <VisitOn>dateTime</VisitOn>
          <Remark>string</Remark>
          <Status>string</Status>
          <LocationID>string</LocationID>
          <VisitType>string</VisitType>
          <Active>boolean</Active>
          <CreatedBy>string</CreatedBy>
          <CreatedOn>dateTime</CreatedOn>
          <ModifiedBy>string</ModifiedBy>
          <ModifiedOn>dateTime</ModifiedOn>
          <LastAction>string</LastAction>
          <LocationName>string</LocationName>
          <LocationCode>string</LocationCode>
          <PatientNo>string</PatientNo>
          <CreatedByCode>string</CreatedByCode>
          <ModifiedByCode>string</ModifiedByCode>
          <PatientName>string</PatientName>
          <Gender>string</Gender>
          <PreferredLanguage>string</PreferredLanguage>
          <PatientType>string</PatientType>
          <NationalID>string</NationalID>
          <DateOfBirth>dateTime</DateOfBirth>
          <MobileNo>string</MobileNo>
          <AddressNo>string</AddressNo>
          <Building>string</Building>
          <Lane>string</Lane>
          <Road>string</Road>
          <Area>string</Area>
          <State>string</State>
          <DOB_DD>string</DOB_DD>
          <DOB_MM>string</DOB_MM>
          <DOB_YYYY>string</DOB_YYYY>
          <DoctorID>string</DoctorID>
          <SpecialityID>string</SpecialityID>
          <DoctorName>string</DoctorName>
          <SpecialityTitle>string</SpecialityTitle>
          <DoctorNo>string</DoctorNo>
          <EmergencyContact>string</EmergencyContact>
          <ContactInfo>string</ContactInfo>
          <SpecialityCodeNo>string</SpecialityCodeNo>
          <SpecialityTitleMM>string</SpecialityTitleMM>
          <FatherName>string</FatherName>
          <EmployerCodeNo>string</EmployerCodeNo>
          <Establishment>string</Establishment>
          <EstablishmentAddress>string</EstablishmentAddress>
          <PrintLeaveLetter>boolean</PrintLeaveLetter>
          <PerSSINo>string</PerSSINo>
          <FromLeaveDay>decimal</FromLeaveDay>
          <ToLeaveDay>decimal</ToLeaveDay>
          <IDType>string</IDType>
          <VisitRecordStatus>string</VisitRecordStatus>
          <FollowUpVisitNo>string</FollowUpVisitNo>
          <ServiceType>string</ServiceType>
          <ProfileURL>string</ProfileURL>
          <StationID>string</StationID>
          <StationName>string</StationName>
          <ClinicTypeID>string</ClinicTypeID>
          <ClinicTypeName>string</ClinicTypeName>
          <Sec_SpecialityID>string</Sec_SpecialityID>
          <Ter_SpecialityID>string</Ter_SpecialityID>
          <Sec_SpecialityTitle>string</Sec_SpecialityTitle>
          <Sec_SpecialityTitleMM>string</Sec_SpecialityTitleMM>
          <Sec_SpecialityCodeNo>string</Sec_SpecialityCodeNo>
          <Ter_SpecialityTitle>string</Ter_SpecialityTitle>
          <Ter_SpecialityTitleMM>string</Ter_SpecialityTitleMM>
          <Ter_SpecialityCodeNo>string</Ter_SpecialityCodeNo>
          <IsEnroll>string</IsEnroll>
          <ProcedureType>string</ProcedureType>
          <FirstName>string</FirstName>
          <OGVisitCount>int</OGVisitCount>
        </EMR_VisitView>
      </GetAllVisitResult>
    </GetAllVisitResponse>
  </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_Visit.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>
    <GetAllVisit xmlns="http://tempuri.org/">
      <RequestID>string</RequestID>
    </GetAllVisit>
  </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>
    <GetAllVisitResponse xmlns="http://tempuri.org/">
      <GetAllVisitResult>
        <EMR_VisitView>
          <VisitID>string</VisitID>
          <VisitNo>string</VisitNo>
          <PatientID>string</PatientID>
          <VisitOn>dateTime</VisitOn>
          <Remark>string</Remark>
          <Status>string</Status>
          <LocationID>string</LocationID>
          <VisitType>string</VisitType>
          <Active>boolean</Active>
          <CreatedBy>string</CreatedBy>
          <CreatedOn>dateTime</CreatedOn>
          <ModifiedBy>string</ModifiedBy>
          <ModifiedOn>dateTime</ModifiedOn>
          <LastAction>string</LastAction>
          <LocationName>string</LocationName>
          <LocationCode>string</LocationCode>
          <PatientNo>string</PatientNo>
          <CreatedByCode>string</CreatedByCode>
          <ModifiedByCode>string</ModifiedByCode>
          <PatientName>string</PatientName>
          <Gender>string</Gender>
          <PreferredLanguage>string</PreferredLanguage>
          <PatientType>string</PatientType>
          <NationalID>string</NationalID>
          <DateOfBirth>dateTime</DateOfBirth>
          <MobileNo>string</MobileNo>
          <AddressNo>string</AddressNo>
          <Building>string</Building>
          <Lane>string</Lane>
          <Road>string</Road>
          <Area>string</Area>
          <State>string</State>
          <DOB_DD>string</DOB_DD>
          <DOB_MM>string</DOB_MM>
          <DOB_YYYY>string</DOB_YYYY>
          <DoctorID>string</DoctorID>
          <SpecialityID>string</SpecialityID>
          <DoctorName>string</DoctorName>
          <SpecialityTitle>string</SpecialityTitle>
          <DoctorNo>string</DoctorNo>
          <EmergencyContact>string</EmergencyContact>
          <ContactInfo>string</ContactInfo>
          <SpecialityCodeNo>string</SpecialityCodeNo>
          <SpecialityTitleMM>string</SpecialityTitleMM>
          <FatherName>string</FatherName>
          <EmployerCodeNo>string</EmployerCodeNo>
          <Establishment>string</Establishment>
          <EstablishmentAddress>string</EstablishmentAddress>
          <PrintLeaveLetter>boolean</PrintLeaveLetter>
          <PerSSINo>string</PerSSINo>
          <FromLeaveDay>decimal</FromLeaveDay>
          <ToLeaveDay>decimal</ToLeaveDay>
          <IDType>string</IDType>
          <VisitRecordStatus>string</VisitRecordStatus>
          <FollowUpVisitNo>string</FollowUpVisitNo>
          <ServiceType>string</ServiceType>
          <ProfileURL>string</ProfileURL>
          <StationID>string</StationID>
          <StationName>string</StationName>
          <ClinicTypeID>string</ClinicTypeID>
          <ClinicTypeName>string</ClinicTypeName>
          <Sec_SpecialityID>string</Sec_SpecialityID>
          <Ter_SpecialityID>string</Ter_SpecialityID>
          <Sec_SpecialityTitle>string</Sec_SpecialityTitle>
          <Sec_SpecialityTitleMM>string</Sec_SpecialityTitleMM>
          <Sec_SpecialityCodeNo>string</Sec_SpecialityCodeNo>
          <Ter_SpecialityTitle>string</Ter_SpecialityTitle>
          <Ter_SpecialityTitleMM>string</Ter_SpecialityTitleMM>
          <Ter_SpecialityCodeNo>string</Ter_SpecialityCodeNo>
          <IsEnroll>string</IsEnroll>
          <ProcedureType>string</ProcedureType>
          <FirstName>string</FirstName>
          <OGVisitCount>int</OGVisitCount>
        </EMR_VisitView>
        <EMR_VisitView>
          <VisitID>string</VisitID>
          <VisitNo>string</VisitNo>
          <PatientID>string</PatientID>
          <VisitOn>dateTime</VisitOn>
          <Remark>string</Remark>
          <Status>string</Status>
          <LocationID>string</LocationID>
          <VisitType>string</VisitType>
          <Active>boolean</Active>
          <CreatedBy>string</CreatedBy>
          <CreatedOn>dateTime</CreatedOn>
          <ModifiedBy>string</ModifiedBy>
          <ModifiedOn>dateTime</ModifiedOn>
          <LastAction>string</LastAction>
          <LocationName>string</LocationName>
          <LocationCode>string</LocationCode>
          <PatientNo>string</PatientNo>
          <CreatedByCode>string</CreatedByCode>
          <ModifiedByCode>string</ModifiedByCode>
          <PatientName>string</PatientName>
          <Gender>string</Gender>
          <PreferredLanguage>string</PreferredLanguage>
          <PatientType>string</PatientType>
          <NationalID>string</NationalID>
          <DateOfBirth>dateTime</DateOfBirth>
          <MobileNo>string</MobileNo>
          <AddressNo>string</AddressNo>
          <Building>string</Building>
          <Lane>string</Lane>
          <Road>string</Road>
          <Area>string</Area>
          <State>string</State>
          <DOB_DD>string</DOB_DD>
          <DOB_MM>string</DOB_MM>
          <DOB_YYYY>string</DOB_YYYY>
          <DoctorID>string</DoctorID>
          <SpecialityID>string</SpecialityID>
          <DoctorName>string</DoctorName>
          <SpecialityTitle>string</SpecialityTitle>
          <DoctorNo>string</DoctorNo>
          <EmergencyContact>string</EmergencyContact>
          <ContactInfo>string</ContactInfo>
          <SpecialityCodeNo>string</SpecialityCodeNo>
          <SpecialityTitleMM>string</SpecialityTitleMM>
          <FatherName>string</FatherName>
          <EmployerCodeNo>string</EmployerCodeNo>
          <Establishment>string</Establishment>
          <EstablishmentAddress>string</EstablishmentAddress>
          <PrintLeaveLetter>boolean</PrintLeaveLetter>
          <PerSSINo>string</PerSSINo>
          <FromLeaveDay>decimal</FromLeaveDay>
          <ToLeaveDay>decimal</ToLeaveDay>
          <IDType>string</IDType>
          <VisitRecordStatus>string</VisitRecordStatus>
          <FollowUpVisitNo>string</FollowUpVisitNo>
          <ServiceType>string</ServiceType>
          <ProfileURL>string</ProfileURL>
          <StationID>string</StationID>
          <StationName>string</StationName>
          <ClinicTypeID>string</ClinicTypeID>
          <ClinicTypeName>string</ClinicTypeName>
          <Sec_SpecialityID>string</Sec_SpecialityID>
          <Ter_SpecialityID>string</Ter_SpecialityID>
          <Sec_SpecialityTitle>string</Sec_SpecialityTitle>
          <Sec_SpecialityTitleMM>string</Sec_SpecialityTitleMM>
          <Sec_SpecialityCodeNo>string</Sec_SpecialityCodeNo>
          <Ter_SpecialityTitle>string</Ter_SpecialityTitle>
          <Ter_SpecialityTitleMM>string</Ter_SpecialityTitleMM>
          <Ter_SpecialityCodeNo>string</Ter_SpecialityCodeNo>
          <IsEnroll>string</IsEnroll>
          <ProcedureType>string</ProcedureType>
          <FirstName>string</FirstName>
          <OGVisitCount>int</OGVisitCount>
        </EMR_VisitView>
      </GetAllVisitResult>
    </GetAllVisitResponse>
  </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_Visit.asmx/GetAllVisit?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"?>
<ArrayOfEMR_VisitView xmlns="http://tempuri.org/">
  <EMR_VisitView>
    <VisitID>string</VisitID>
    <VisitNo>string</VisitNo>
    <PatientID>string</PatientID>
    <VisitOn>dateTime</VisitOn>
    <Remark>string</Remark>
    <Status>string</Status>
    <LocationID>string</LocationID>
    <VisitType>string</VisitType>
    <Active>boolean</Active>
    <CreatedBy>string</CreatedBy>
    <CreatedOn>dateTime</CreatedOn>
    <ModifiedBy>string</ModifiedBy>
    <ModifiedOn>dateTime</ModifiedOn>
    <LastAction>string</LastAction>
    <LocationName>string</LocationName>
    <LocationCode>string</LocationCode>
    <PatientNo>string</PatientNo>
    <CreatedByCode>string</CreatedByCode>
    <ModifiedByCode>string</ModifiedByCode>
    <PatientName>string</PatientName>
    <Gender>string</Gender>
    <PreferredLanguage>string</PreferredLanguage>
    <PatientType>string</PatientType>
    <NationalID>string</NationalID>
    <DateOfBirth>dateTime</DateOfBirth>
    <MobileNo>string</MobileNo>
    <AddressNo>string</AddressNo>
    <Building>string</Building>
    <Lane>string</Lane>
    <Road>string</Road>
    <Area>string</Area>
    <State>string</State>
    <DOB_DD>string</DOB_DD>
    <DOB_MM>string</DOB_MM>
    <DOB_YYYY>string</DOB_YYYY>
    <DoctorID>string</DoctorID>
    <SpecialityID>string</SpecialityID>
    <DoctorName>string</DoctorName>
    <SpecialityTitle>string</SpecialityTitle>
    <DoctorNo>string</DoctorNo>
    <EmergencyContact>string</EmergencyContact>
    <ContactInfo>string</ContactInfo>
    <SpecialityCodeNo>string</SpecialityCodeNo>
    <SpecialityTitleMM>string</SpecialityTitleMM>
    <FatherName>string</FatherName>
    <EmployerCodeNo>string</EmployerCodeNo>
    <Establishment>string</Establishment>
    <EstablishmentAddress>string</EstablishmentAddress>
    <PrintLeaveLetter>boolean</PrintLeaveLetter>
    <PerSSINo>string</PerSSINo>
    <FromLeaveDay>decimal</FromLeaveDay>
    <ToLeaveDay>decimal</ToLeaveDay>
    <IDType>string</IDType>
    <VisitRecordStatus>string</VisitRecordStatus>
    <FollowUpVisitNo>string</FollowUpVisitNo>
    <ServiceType>string</ServiceType>
    <ProfileURL>string</ProfileURL>
    <StationID>string</StationID>
    <StationName>string</StationName>
    <ClinicTypeID>string</ClinicTypeID>
    <ClinicTypeName>string</ClinicTypeName>
    <Sec_SpecialityID>string</Sec_SpecialityID>
    <Ter_SpecialityID>string</Ter_SpecialityID>
    <Sec_SpecialityTitle>string</Sec_SpecialityTitle>
    <Sec_SpecialityTitleMM>string</Sec_SpecialityTitleMM>
    <Sec_SpecialityCodeNo>string</Sec_SpecialityCodeNo>
    <Ter_SpecialityTitle>string</Ter_SpecialityTitle>
    <Ter_SpecialityTitleMM>string</Ter_SpecialityTitleMM>
    <Ter_SpecialityCodeNo>string</Ter_SpecialityCodeNo>
    <IsEnroll>string</IsEnroll>
    <ProcedureType>string</ProcedureType>
    <FirstName>string</FirstName>
    <OGVisitCount>int</OGVisitCount>
  </EMR_VisitView>
  <EMR_VisitView>
    <VisitID>string</VisitID>
    <VisitNo>string</VisitNo>
    <PatientID>string</PatientID>
    <VisitOn>dateTime</VisitOn>
    <Remark>string</Remark>
    <Status>string</Status>
    <LocationID>string</LocationID>
    <VisitType>string</VisitType>
    <Active>boolean</Active>
    <CreatedBy>string</CreatedBy>
    <CreatedOn>dateTime</CreatedOn>
    <ModifiedBy>string</ModifiedBy>
    <ModifiedOn>dateTime</ModifiedOn>
    <LastAction>string</LastAction>
    <LocationName>string</LocationName>
    <LocationCode>string</LocationCode>
    <PatientNo>string</PatientNo>
    <CreatedByCode>string</CreatedByCode>
    <ModifiedByCode>string</ModifiedByCode>
    <PatientName>string</PatientName>
    <Gender>string</Gender>
    <PreferredLanguage>string</PreferredLanguage>
    <PatientType>string</PatientType>
    <NationalID>string</NationalID>
    <DateOfBirth>dateTime</DateOfBirth>
    <MobileNo>string</MobileNo>
    <AddressNo>string</AddressNo>
    <Building>string</Building>
    <Lane>string</Lane>
    <Road>string</Road>
    <Area>string</Area>
    <State>string</State>
    <DOB_DD>string</DOB_DD>
    <DOB_MM>string</DOB_MM>
    <DOB_YYYY>string</DOB_YYYY>
    <DoctorID>string</DoctorID>
    <SpecialityID>string</SpecialityID>
    <DoctorName>string</DoctorName>
    <SpecialityTitle>string</SpecialityTitle>
    <DoctorNo>string</DoctorNo>
    <EmergencyContact>string</EmergencyContact>
    <ContactInfo>string</ContactInfo>
    <SpecialityCodeNo>string</SpecialityCodeNo>
    <SpecialityTitleMM>string</SpecialityTitleMM>
    <FatherName>string</FatherName>
    <EmployerCodeNo>string</EmployerCodeNo>
    <Establishment>string</Establishment>
    <EstablishmentAddress>string</EstablishmentAddress>
    <PrintLeaveLetter>boolean</PrintLeaveLetter>
    <PerSSINo>string</PerSSINo>
    <FromLeaveDay>decimal</FromLeaveDay>
    <ToLeaveDay>decimal</ToLeaveDay>
    <IDType>string</IDType>
    <VisitRecordStatus>string</VisitRecordStatus>
    <FollowUpVisitNo>string</FollowUpVisitNo>
    <ServiceType>string</ServiceType>
    <ProfileURL>string</ProfileURL>
    <StationID>string</StationID>
    <StationName>string</StationName>
    <ClinicTypeID>string</ClinicTypeID>
    <ClinicTypeName>string</ClinicTypeName>
    <Sec_SpecialityID>string</Sec_SpecialityID>
    <Ter_SpecialityID>string</Ter_SpecialityID>
    <Sec_SpecialityTitle>string</Sec_SpecialityTitle>
    <Sec_SpecialityTitleMM>string</Sec_SpecialityTitleMM>
    <Sec_SpecialityCodeNo>string</Sec_SpecialityCodeNo>
    <Ter_SpecialityTitle>string</Ter_SpecialityTitle>
    <Ter_SpecialityTitleMM>string</Ter_SpecialityTitleMM>
    <Ter_SpecialityCodeNo>string</Ter_SpecialityCodeNo>
    <IsEnroll>string</IsEnroll>
    <ProcedureType>string</ProcedureType>
    <FirstName>string</FirstName>
    <OGVisitCount>int</OGVisitCount>
  </EMR_VisitView>
</ArrayOfEMR_VisitView>

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_Visit.asmx/GetAllVisit HTTP/1.1
Host: 10.20.1.42
Content-Type: application/x-www-form-urlencoded
Content-Length: length

RequestID=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfEMR_VisitView xmlns="http://tempuri.org/">
  <EMR_VisitView>
    <VisitID>string</VisitID>
    <VisitNo>string</VisitNo>
    <PatientID>string</PatientID>
    <VisitOn>dateTime</VisitOn>
    <Remark>string</Remark>
    <Status>string</Status>
    <LocationID>string</LocationID>
    <VisitType>string</VisitType>
    <Active>boolean</Active>
    <CreatedBy>string</CreatedBy>
    <CreatedOn>dateTime</CreatedOn>
    <ModifiedBy>string</ModifiedBy>
    <ModifiedOn>dateTime</ModifiedOn>
    <LastAction>string</LastAction>
    <LocationName>string</LocationName>
    <LocationCode>string</LocationCode>
    <PatientNo>string</PatientNo>
    <CreatedByCode>string</CreatedByCode>
    <ModifiedByCode>string</ModifiedByCode>
    <PatientName>string</PatientName>
    <Gender>string</Gender>
    <PreferredLanguage>string</PreferredLanguage>
    <PatientType>string</PatientType>
    <NationalID>string</NationalID>
    <DateOfBirth>dateTime</DateOfBirth>
    <MobileNo>string</MobileNo>
    <AddressNo>string</AddressNo>
    <Building>string</Building>
    <Lane>string</Lane>
    <Road>string</Road>
    <Area>string</Area>
    <State>string</State>
    <DOB_DD>string</DOB_DD>
    <DOB_MM>string</DOB_MM>
    <DOB_YYYY>string</DOB_YYYY>
    <DoctorID>string</DoctorID>
    <SpecialityID>string</SpecialityID>
    <DoctorName>string</DoctorName>
    <SpecialityTitle>string</SpecialityTitle>
    <DoctorNo>string</DoctorNo>
    <EmergencyContact>string</EmergencyContact>
    <ContactInfo>string</ContactInfo>
    <SpecialityCodeNo>string</SpecialityCodeNo>
    <SpecialityTitleMM>string</SpecialityTitleMM>
    <FatherName>string</FatherName>
    <EmployerCodeNo>string</EmployerCodeNo>
    <Establishment>string</Establishment>
    <EstablishmentAddress>string</EstablishmentAddress>
    <PrintLeaveLetter>boolean</PrintLeaveLetter>
    <PerSSINo>string</PerSSINo>
    <FromLeaveDay>decimal</FromLeaveDay>
    <ToLeaveDay>decimal</ToLeaveDay>
    <IDType>string</IDType>
    <VisitRecordStatus>string</VisitRecordStatus>
    <FollowUpVisitNo>string</FollowUpVisitNo>
    <ServiceType>string</ServiceType>
    <ProfileURL>string</ProfileURL>
    <StationID>string</StationID>
    <StationName>string</StationName>
    <ClinicTypeID>string</ClinicTypeID>
    <ClinicTypeName>string</ClinicTypeName>
    <Sec_SpecialityID>string</Sec_SpecialityID>
    <Ter_SpecialityID>string</Ter_SpecialityID>
    <Sec_SpecialityTitle>string</Sec_SpecialityTitle>
    <Sec_SpecialityTitleMM>string</Sec_SpecialityTitleMM>
    <Sec_SpecialityCodeNo>string</Sec_SpecialityCodeNo>
    <Ter_SpecialityTitle>string</Ter_SpecialityTitle>
    <Ter_SpecialityTitleMM>string</Ter_SpecialityTitleMM>
    <Ter_SpecialityCodeNo>string</Ter_SpecialityCodeNo>
    <IsEnroll>string</IsEnroll>
    <ProcedureType>string</ProcedureType>
    <FirstName>string</FirstName>
    <OGVisitCount>int</OGVisitCount>
  </EMR_VisitView>
  <EMR_VisitView>
    <VisitID>string</VisitID>
    <VisitNo>string</VisitNo>
    <PatientID>string</PatientID>
    <VisitOn>dateTime</VisitOn>
    <Remark>string</Remark>
    <Status>string</Status>
    <LocationID>string</LocationID>
    <VisitType>string</VisitType>
    <Active>boolean</Active>
    <CreatedBy>string</CreatedBy>
    <CreatedOn>dateTime</CreatedOn>
    <ModifiedBy>string</ModifiedBy>
    <ModifiedOn>dateTime</ModifiedOn>
    <LastAction>string</LastAction>
    <LocationName>string</LocationName>
    <LocationCode>string</LocationCode>
    <PatientNo>string</PatientNo>
    <CreatedByCode>string</CreatedByCode>
    <ModifiedByCode>string</ModifiedByCode>
    <PatientName>string</PatientName>
    <Gender>string</Gender>
    <PreferredLanguage>string</PreferredLanguage>
    <PatientType>string</PatientType>
    <NationalID>string</NationalID>
    <DateOfBirth>dateTime</DateOfBirth>
    <MobileNo>string</MobileNo>
    <AddressNo>string</AddressNo>
    <Building>string</Building>
    <Lane>string</Lane>
    <Road>string</Road>
    <Area>string</Area>
    <State>string</State>
    <DOB_DD>string</DOB_DD>
    <DOB_MM>string</DOB_MM>
    <DOB_YYYY>string</DOB_YYYY>
    <DoctorID>string</DoctorID>
    <SpecialityID>string</SpecialityID>
    <DoctorName>string</DoctorName>
    <SpecialityTitle>string</SpecialityTitle>
    <DoctorNo>string</DoctorNo>
    <EmergencyContact>string</EmergencyContact>
    <ContactInfo>string</ContactInfo>
    <SpecialityCodeNo>string</SpecialityCodeNo>
    <SpecialityTitleMM>string</SpecialityTitleMM>
    <FatherName>string</FatherName>
    <EmployerCodeNo>string</EmployerCodeNo>
    <Establishment>string</Establishment>
    <EstablishmentAddress>string</EstablishmentAddress>
    <PrintLeaveLetter>boolean</PrintLeaveLetter>
    <PerSSINo>string</PerSSINo>
    <FromLeaveDay>decimal</FromLeaveDay>
    <ToLeaveDay>decimal</ToLeaveDay>
    <IDType>string</IDType>
    <VisitRecordStatus>string</VisitRecordStatus>
    <FollowUpVisitNo>string</FollowUpVisitNo>
    <ServiceType>string</ServiceType>
    <ProfileURL>string</ProfileURL>
    <StationID>string</StationID>
    <StationName>string</StationName>
    <ClinicTypeID>string</ClinicTypeID>
    <ClinicTypeName>string</ClinicTypeName>
    <Sec_SpecialityID>string</Sec_SpecialityID>
    <Ter_SpecialityID>string</Ter_SpecialityID>
    <Sec_SpecialityTitle>string</Sec_SpecialityTitle>
    <Sec_SpecialityTitleMM>string</Sec_SpecialityTitleMM>
    <Sec_SpecialityCodeNo>string</Sec_SpecialityCodeNo>
    <Ter_SpecialityTitle>string</Ter_SpecialityTitle>
    <Ter_SpecialityTitleMM>string</Ter_SpecialityTitleMM>
    <Ter_SpecialityCodeNo>string</Ter_SpecialityCodeNo>
    <IsEnroll>string</IsEnroll>
    <ProcedureType>string</ProcedureType>
    <FirstName>string</FirstName>
    <OGVisitCount>int</OGVisitCount>
  </EMR_VisitView>
</ArrayOfEMR_VisitView>