WebService_EMR_PatientLetter


Click here for a complete list of operations.

GetAllPatientLetter

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

<?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>
    <GetAllPatientLetter xmlns="http://tempuri.org/">
      <RequestID>string</RequestID>
    </GetAllPatientLetter>
  </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>
    <GetAllPatientLetterResponse xmlns="http://tempuri.org/">
      <GetAllPatientLetterResult>
        <EMR_PatientLetterView>
          <LetterID>string</LetterID>
          <VisitiID>string</VisitiID>
          <LetterTypeID>string</LetterTypeID>
          <Title>string</Title>
          <Body>string</Body>
          <Status>string</Status>
          <ApprovedByID>string</ApprovedByID>
          <ApprovedOn>dateTime</ApprovedOn>
          <ApprovalRemark>string</ApprovalRemark>
          <Active>boolean</Active>
          <CreatedBy>string</CreatedBy>
          <CreatedOn>dateTime</CreatedOn>
          <ModifiedBy>string</ModifiedBy>
          <ModifiedOn>dateTime</ModifiedOn>
          <LastAction>string</LastAction>
          <ModifiedByCode>string</ModifiedByCode>
          <CreatedByCode>string</CreatedByCode>
          <VisitNo>string</VisitNo>
          <LetterTypeName>string</LetterTypeName>
          <ApprovedByCode>string</ApprovedByCode>
          <HelperID>string</HelperID>
          <IsNeedHelper>boolean</IsNeedHelper>
          <HelperName>string</HelperName>
          <PatientNo>string</PatientNo>
          <ApprovedByName>string</ApprovedByName>
          <ApprovedByNRC>string</ApprovedByNRC>
          <ApprovedByAddress>string</ApprovedByAddress>
          <PatientName>string</PatientName>
          <Gender>string</Gender>
          <DoctorName>string</DoctorName>
          <LocationID>string</LocationID>
          <SpecialityCodeNo>string</SpecialityCodeNo>
          <SpecialityTitleMM>string</SpecialityTitleMM>
          <LetterOn>dateTime</LetterOn>
          <CauseOfDeath>string</CauseOfDeath>
          <NextOfKin>string</NextOfKin>
          <Relationship>string</Relationship>
          <DOB_YYYY>string</DOB_YYYY>
          <MobileNo>string</MobileNo>
          <AddressNo>string</AddressNo>
          <Lane>string</Lane>
          <Road>string</Road>
          <Area>string</Area>
          <FatherName>string</FatherName>
          <EmployerCodeNo>string</EmployerCodeNo>
          <Establishment>string</Establishment>
          <ReferralStationID>string</ReferralStationID>
          <ReferralStationName>string</ReferralStationName>
          <ToDate>dateTime</ToDate>
          <FromDate>dateTime</FromDate>
          <CheckDate>dateTime</CheckDate>
          <ReturnToWorkDate>dateTime</ReturnToWorkDate>
          <ExpectedBirthDate>dateTime</ExpectedBirthDate>
          <BeforeBirthFromDate>dateTime</BeforeBirthFromDate>
          <BeforeBirthToDate>dateTime</BeforeBirthToDate>
          <ActualBirthDate>dateTime</ActualBirthDate>
          <NoOfBaby>int</NoOfBaby>
          <AfterBirthFromDate>dateTime</AfterBirthFromDate>
          <AfterBirthToDate>dateTime</AfterBirthToDate>
          <AdoptedDate>dateTime</AdoptedDate>
          <ChildAgeMonth>int</ChildAgeMonth>
          <ChildAgeDay>int</ChildAgeDay>
          <AdoptedFromDate>dateTime</AdoptedFromDate>
          <AdoptedToDate>dateTime</AdoptedToDate>
          <WifeBirthDate>dateTime</WifeBirthDate>
          <PaternityFromDate>dateTime</PaternityFromDate>
          <PaternityToDate>dateTime</PaternityToDate>
          <PerSSINo>string</PerSSINo>
          <LetterNo>string</LetterNo>
          <WifeExpBirthDate>dateTime</WifeExpBirthDate>
          <WifeNoOfBaby>int</WifeNoOfBaby>
          <HSA2Type>string</HSA2Type>
          <HSA2BirthType>string</HSA2BirthType>
          <ClinicDisablementPercentage>int</ClinicDisablementPercentage>
          <ClinicConfirmDate>dateTime</ClinicConfirmDate>
          <HODisablementPercentage>int</HODisablementPercentage>
          <HOConfirmDate>dateTime</HOConfirmDate>
          <HSA1Type>string</HSA1Type>
          <ChkHSA1>string</ChkHSA1>
          <PatientID>string</PatientID>
          <SpecialityID>string</SpecialityID>
          <SpecialityTitle>string</SpecialityTitle>
          <NeedApproved>boolean</NeedApproved>
          <ApprovedStatus>string</ApprovedStatus>
          <ApprovedNeedText>string</ApprovedNeedText>
          <SecondCheckHASTime>int</SecondCheckHASTime>
          <isEdited>string</isEdited>
          <Ward_HSA6_ID>string</Ward_HSA6_ID>
          <LocationName>string</LocationName>
          <LocationCode>string</LocationCode>
          <LocationType>string</LocationType>
          <LocationGroup>string</LocationGroup>
          <TownshipID>string</TownshipID>
          <TownshipName>string</TownshipName>
          <IsReferalFollowup>boolean</IsReferalFollowup>
          <IsReferalFUType>string</IsReferalFUType>
          <StationID>string</StationID>
          <Expr1>string</Expr1>
          <FromExpenseType>string</FromExpenseType>
          <FromPatientExpense>decimal</FromPatientExpense>
          <FromPatientTransport>string</FromPatientTransport>
          <FromHelperExpense>decimal</FromHelperExpense>
          <FromHelperTransport>string</FromHelperTransport>
          <ProvisionalDiagnosis>string</ProvisionalDiagnosis>
          <ClinicalFindings>string</ClinicalFindings>
          <ToExpenseType>string</ToExpenseType>
          <ToPatientExpense>decimal</ToPatientExpense>
          <ToPatientTransport>string</ToPatientTransport>
          <EndDate>dateTime</EndDate>
          <ClinicTypeID>string</ClinicTypeID>
          <ClinicTypeName>string</ClinicTypeName>
          <AccidentDate>dateTime</AccidentDate>
          <CheckRevisit>boolean</CheckRevisit>
          <RevisitDate>dateTime</RevisitDate>
          <CheckRevisitNo>boolean</CheckRevisitNo>
          <FirstName>string</FirstName>
          <ReferalStationCode>string</ReferalStationCode>
          <StationName>string</StationName>
          <MigrationID>string</MigrationID>
          <DurationDate>string</DurationDate>
          <APPConfigID>string</APPConfigID>
        </EMR_PatientLetterView>
        <EMR_PatientLetterView>
          <LetterID>string</LetterID>
          <VisitiID>string</VisitiID>
          <LetterTypeID>string</LetterTypeID>
          <Title>string</Title>
          <Body>string</Body>
          <Status>string</Status>
          <ApprovedByID>string</ApprovedByID>
          <ApprovedOn>dateTime</ApprovedOn>
          <ApprovalRemark>string</ApprovalRemark>
          <Active>boolean</Active>
          <CreatedBy>string</CreatedBy>
          <CreatedOn>dateTime</CreatedOn>
          <ModifiedBy>string</ModifiedBy>
          <ModifiedOn>dateTime</ModifiedOn>
          <LastAction>string</LastAction>
          <ModifiedByCode>string</ModifiedByCode>
          <CreatedByCode>string</CreatedByCode>
          <VisitNo>string</VisitNo>
          <LetterTypeName>string</LetterTypeName>
          <ApprovedByCode>string</ApprovedByCode>
          <HelperID>string</HelperID>
          <IsNeedHelper>boolean</IsNeedHelper>
          <HelperName>string</HelperName>
          <PatientNo>string</PatientNo>
          <ApprovedByName>string</ApprovedByName>
          <ApprovedByNRC>string</ApprovedByNRC>
          <ApprovedByAddress>string</ApprovedByAddress>
          <PatientName>string</PatientName>
          <Gender>string</Gender>
          <DoctorName>string</DoctorName>
          <LocationID>string</LocationID>
          <SpecialityCodeNo>string</SpecialityCodeNo>
          <SpecialityTitleMM>string</SpecialityTitleMM>
          <LetterOn>dateTime</LetterOn>
          <CauseOfDeath>string</CauseOfDeath>
          <NextOfKin>string</NextOfKin>
          <Relationship>string</Relationship>
          <DOB_YYYY>string</DOB_YYYY>
          <MobileNo>string</MobileNo>
          <AddressNo>string</AddressNo>
          <Lane>string</Lane>
          <Road>string</Road>
          <Area>string</Area>
          <FatherName>string</FatherName>
          <EmployerCodeNo>string</EmployerCodeNo>
          <Establishment>string</Establishment>
          <ReferralStationID>string</ReferralStationID>
          <ReferralStationName>string</ReferralStationName>
          <ToDate>dateTime</ToDate>
          <FromDate>dateTime</FromDate>
          <CheckDate>dateTime</CheckDate>
          <ReturnToWorkDate>dateTime</ReturnToWorkDate>
          <ExpectedBirthDate>dateTime</ExpectedBirthDate>
          <BeforeBirthFromDate>dateTime</BeforeBirthFromDate>
          <BeforeBirthToDate>dateTime</BeforeBirthToDate>
          <ActualBirthDate>dateTime</ActualBirthDate>
          <NoOfBaby>int</NoOfBaby>
          <AfterBirthFromDate>dateTime</AfterBirthFromDate>
          <AfterBirthToDate>dateTime</AfterBirthToDate>
          <AdoptedDate>dateTime</AdoptedDate>
          <ChildAgeMonth>int</ChildAgeMonth>
          <ChildAgeDay>int</ChildAgeDay>
          <AdoptedFromDate>dateTime</AdoptedFromDate>
          <AdoptedToDate>dateTime</AdoptedToDate>
          <WifeBirthDate>dateTime</WifeBirthDate>
          <PaternityFromDate>dateTime</PaternityFromDate>
          <PaternityToDate>dateTime</PaternityToDate>
          <PerSSINo>string</PerSSINo>
          <LetterNo>string</LetterNo>
          <WifeExpBirthDate>dateTime</WifeExpBirthDate>
          <WifeNoOfBaby>int</WifeNoOfBaby>
          <HSA2Type>string</HSA2Type>
          <HSA2BirthType>string</HSA2BirthType>
          <ClinicDisablementPercentage>int</ClinicDisablementPercentage>
          <ClinicConfirmDate>dateTime</ClinicConfirmDate>
          <HODisablementPercentage>int</HODisablementPercentage>
          <HOConfirmDate>dateTime</HOConfirmDate>
          <HSA1Type>string</HSA1Type>
          <ChkHSA1>string</ChkHSA1>
          <PatientID>string</PatientID>
          <SpecialityID>string</SpecialityID>
          <SpecialityTitle>string</SpecialityTitle>
          <NeedApproved>boolean</NeedApproved>
          <ApprovedStatus>string</ApprovedStatus>
          <ApprovedNeedText>string</ApprovedNeedText>
          <SecondCheckHASTime>int</SecondCheckHASTime>
          <isEdited>string</isEdited>
          <Ward_HSA6_ID>string</Ward_HSA6_ID>
          <LocationName>string</LocationName>
          <LocationCode>string</LocationCode>
          <LocationType>string</LocationType>
          <LocationGroup>string</LocationGroup>
          <TownshipID>string</TownshipID>
          <TownshipName>string</TownshipName>
          <IsReferalFollowup>boolean</IsReferalFollowup>
          <IsReferalFUType>string</IsReferalFUType>
          <StationID>string</StationID>
          <Expr1>string</Expr1>
          <FromExpenseType>string</FromExpenseType>
          <FromPatientExpense>decimal</FromPatientExpense>
          <FromPatientTransport>string</FromPatientTransport>
          <FromHelperExpense>decimal</FromHelperExpense>
          <FromHelperTransport>string</FromHelperTransport>
          <ProvisionalDiagnosis>string</ProvisionalDiagnosis>
          <ClinicalFindings>string</ClinicalFindings>
          <ToExpenseType>string</ToExpenseType>
          <ToPatientExpense>decimal</ToPatientExpense>
          <ToPatientTransport>string</ToPatientTransport>
          <EndDate>dateTime</EndDate>
          <ClinicTypeID>string</ClinicTypeID>
          <ClinicTypeName>string</ClinicTypeName>
          <AccidentDate>dateTime</AccidentDate>
          <CheckRevisit>boolean</CheckRevisit>
          <RevisitDate>dateTime</RevisitDate>
          <CheckRevisitNo>boolean</CheckRevisitNo>
          <FirstName>string</FirstName>
          <ReferalStationCode>string</ReferalStationCode>
          <StationName>string</StationName>
          <MigrationID>string</MigrationID>
          <DurationDate>string</DurationDate>
          <APPConfigID>string</APPConfigID>
        </EMR_PatientLetterView>
      </GetAllPatientLetterResult>
    </GetAllPatientLetterResponse>
  </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_PatientLetter.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>
    <GetAllPatientLetter xmlns="http://tempuri.org/">
      <RequestID>string</RequestID>
    </GetAllPatientLetter>
  </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>
    <GetAllPatientLetterResponse xmlns="http://tempuri.org/">
      <GetAllPatientLetterResult>
        <EMR_PatientLetterView>
          <LetterID>string</LetterID>
          <VisitiID>string</VisitiID>
          <LetterTypeID>string</LetterTypeID>
          <Title>string</Title>
          <Body>string</Body>
          <Status>string</Status>
          <ApprovedByID>string</ApprovedByID>
          <ApprovedOn>dateTime</ApprovedOn>
          <ApprovalRemark>string</ApprovalRemark>
          <Active>boolean</Active>
          <CreatedBy>string</CreatedBy>
          <CreatedOn>dateTime</CreatedOn>
          <ModifiedBy>string</ModifiedBy>
          <ModifiedOn>dateTime</ModifiedOn>
          <LastAction>string</LastAction>
          <ModifiedByCode>string</ModifiedByCode>
          <CreatedByCode>string</CreatedByCode>
          <VisitNo>string</VisitNo>
          <LetterTypeName>string</LetterTypeName>
          <ApprovedByCode>string</ApprovedByCode>
          <HelperID>string</HelperID>
          <IsNeedHelper>boolean</IsNeedHelper>
          <HelperName>string</HelperName>
          <PatientNo>string</PatientNo>
          <ApprovedByName>string</ApprovedByName>
          <ApprovedByNRC>string</ApprovedByNRC>
          <ApprovedByAddress>string</ApprovedByAddress>
          <PatientName>string</PatientName>
          <Gender>string</Gender>
          <DoctorName>string</DoctorName>
          <LocationID>string</LocationID>
          <SpecialityCodeNo>string</SpecialityCodeNo>
          <SpecialityTitleMM>string</SpecialityTitleMM>
          <LetterOn>dateTime</LetterOn>
          <CauseOfDeath>string</CauseOfDeath>
          <NextOfKin>string</NextOfKin>
          <Relationship>string</Relationship>
          <DOB_YYYY>string</DOB_YYYY>
          <MobileNo>string</MobileNo>
          <AddressNo>string</AddressNo>
          <Lane>string</Lane>
          <Road>string</Road>
          <Area>string</Area>
          <FatherName>string</FatherName>
          <EmployerCodeNo>string</EmployerCodeNo>
          <Establishment>string</Establishment>
          <ReferralStationID>string</ReferralStationID>
          <ReferralStationName>string</ReferralStationName>
          <ToDate>dateTime</ToDate>
          <FromDate>dateTime</FromDate>
          <CheckDate>dateTime</CheckDate>
          <ReturnToWorkDate>dateTime</ReturnToWorkDate>
          <ExpectedBirthDate>dateTime</ExpectedBirthDate>
          <BeforeBirthFromDate>dateTime</BeforeBirthFromDate>
          <BeforeBirthToDate>dateTime</BeforeBirthToDate>
          <ActualBirthDate>dateTime</ActualBirthDate>
          <NoOfBaby>int</NoOfBaby>
          <AfterBirthFromDate>dateTime</AfterBirthFromDate>
          <AfterBirthToDate>dateTime</AfterBirthToDate>
          <AdoptedDate>dateTime</AdoptedDate>
          <ChildAgeMonth>int</ChildAgeMonth>
          <ChildAgeDay>int</ChildAgeDay>
          <AdoptedFromDate>dateTime</AdoptedFromDate>
          <AdoptedToDate>dateTime</AdoptedToDate>
          <WifeBirthDate>dateTime</WifeBirthDate>
          <PaternityFromDate>dateTime</PaternityFromDate>
          <PaternityToDate>dateTime</PaternityToDate>
          <PerSSINo>string</PerSSINo>
          <LetterNo>string</LetterNo>
          <WifeExpBirthDate>dateTime</WifeExpBirthDate>
          <WifeNoOfBaby>int</WifeNoOfBaby>
          <HSA2Type>string</HSA2Type>
          <HSA2BirthType>string</HSA2BirthType>
          <ClinicDisablementPercentage>int</ClinicDisablementPercentage>
          <ClinicConfirmDate>dateTime</ClinicConfirmDate>
          <HODisablementPercentage>int</HODisablementPercentage>
          <HOConfirmDate>dateTime</HOConfirmDate>
          <HSA1Type>string</HSA1Type>
          <ChkHSA1>string</ChkHSA1>
          <PatientID>string</PatientID>
          <SpecialityID>string</SpecialityID>
          <SpecialityTitle>string</SpecialityTitle>
          <NeedApproved>boolean</NeedApproved>
          <ApprovedStatus>string</ApprovedStatus>
          <ApprovedNeedText>string</ApprovedNeedText>
          <SecondCheckHASTime>int</SecondCheckHASTime>
          <isEdited>string</isEdited>
          <Ward_HSA6_ID>string</Ward_HSA6_ID>
          <LocationName>string</LocationName>
          <LocationCode>string</LocationCode>
          <LocationType>string</LocationType>
          <LocationGroup>string</LocationGroup>
          <TownshipID>string</TownshipID>
          <TownshipName>string</TownshipName>
          <IsReferalFollowup>boolean</IsReferalFollowup>
          <IsReferalFUType>string</IsReferalFUType>
          <StationID>string</StationID>
          <Expr1>string</Expr1>
          <FromExpenseType>string</FromExpenseType>
          <FromPatientExpense>decimal</FromPatientExpense>
          <FromPatientTransport>string</FromPatientTransport>
          <FromHelperExpense>decimal</FromHelperExpense>
          <FromHelperTransport>string</FromHelperTransport>
          <ProvisionalDiagnosis>string</ProvisionalDiagnosis>
          <ClinicalFindings>string</ClinicalFindings>
          <ToExpenseType>string</ToExpenseType>
          <ToPatientExpense>decimal</ToPatientExpense>
          <ToPatientTransport>string</ToPatientTransport>
          <EndDate>dateTime</EndDate>
          <ClinicTypeID>string</ClinicTypeID>
          <ClinicTypeName>string</ClinicTypeName>
          <AccidentDate>dateTime</AccidentDate>
          <CheckRevisit>boolean</CheckRevisit>
          <RevisitDate>dateTime</RevisitDate>
          <CheckRevisitNo>boolean</CheckRevisitNo>
          <FirstName>string</FirstName>
          <ReferalStationCode>string</ReferalStationCode>
          <StationName>string</StationName>
          <MigrationID>string</MigrationID>
          <DurationDate>string</DurationDate>
          <APPConfigID>string</APPConfigID>
        </EMR_PatientLetterView>
        <EMR_PatientLetterView>
          <LetterID>string</LetterID>
          <VisitiID>string</VisitiID>
          <LetterTypeID>string</LetterTypeID>
          <Title>string</Title>
          <Body>string</Body>
          <Status>string</Status>
          <ApprovedByID>string</ApprovedByID>
          <ApprovedOn>dateTime</ApprovedOn>
          <ApprovalRemark>string</ApprovalRemark>
          <Active>boolean</Active>
          <CreatedBy>string</CreatedBy>
          <CreatedOn>dateTime</CreatedOn>
          <ModifiedBy>string</ModifiedBy>
          <ModifiedOn>dateTime</ModifiedOn>
          <LastAction>string</LastAction>
          <ModifiedByCode>string</ModifiedByCode>
          <CreatedByCode>string</CreatedByCode>
          <VisitNo>string</VisitNo>
          <LetterTypeName>string</LetterTypeName>
          <ApprovedByCode>string</ApprovedByCode>
          <HelperID>string</HelperID>
          <IsNeedHelper>boolean</IsNeedHelper>
          <HelperName>string</HelperName>
          <PatientNo>string</PatientNo>
          <ApprovedByName>string</ApprovedByName>
          <ApprovedByNRC>string</ApprovedByNRC>
          <ApprovedByAddress>string</ApprovedByAddress>
          <PatientName>string</PatientName>
          <Gender>string</Gender>
          <DoctorName>string</DoctorName>
          <LocationID>string</LocationID>
          <SpecialityCodeNo>string</SpecialityCodeNo>
          <SpecialityTitleMM>string</SpecialityTitleMM>
          <LetterOn>dateTime</LetterOn>
          <CauseOfDeath>string</CauseOfDeath>
          <NextOfKin>string</NextOfKin>
          <Relationship>string</Relationship>
          <DOB_YYYY>string</DOB_YYYY>
          <MobileNo>string</MobileNo>
          <AddressNo>string</AddressNo>
          <Lane>string</Lane>
          <Road>string</Road>
          <Area>string</Area>
          <FatherName>string</FatherName>
          <EmployerCodeNo>string</EmployerCodeNo>
          <Establishment>string</Establishment>
          <ReferralStationID>string</ReferralStationID>
          <ReferralStationName>string</ReferralStationName>
          <ToDate>dateTime</ToDate>
          <FromDate>dateTime</FromDate>
          <CheckDate>dateTime</CheckDate>
          <ReturnToWorkDate>dateTime</ReturnToWorkDate>
          <ExpectedBirthDate>dateTime</ExpectedBirthDate>
          <BeforeBirthFromDate>dateTime</BeforeBirthFromDate>
          <BeforeBirthToDate>dateTime</BeforeBirthToDate>
          <ActualBirthDate>dateTime</ActualBirthDate>
          <NoOfBaby>int</NoOfBaby>
          <AfterBirthFromDate>dateTime</AfterBirthFromDate>
          <AfterBirthToDate>dateTime</AfterBirthToDate>
          <AdoptedDate>dateTime</AdoptedDate>
          <ChildAgeMonth>int</ChildAgeMonth>
          <ChildAgeDay>int</ChildAgeDay>
          <AdoptedFromDate>dateTime</AdoptedFromDate>
          <AdoptedToDate>dateTime</AdoptedToDate>
          <WifeBirthDate>dateTime</WifeBirthDate>
          <PaternityFromDate>dateTime</PaternityFromDate>
          <PaternityToDate>dateTime</PaternityToDate>
          <PerSSINo>string</PerSSINo>
          <LetterNo>string</LetterNo>
          <WifeExpBirthDate>dateTime</WifeExpBirthDate>
          <WifeNoOfBaby>int</WifeNoOfBaby>
          <HSA2Type>string</HSA2Type>
          <HSA2BirthType>string</HSA2BirthType>
          <ClinicDisablementPercentage>int</ClinicDisablementPercentage>
          <ClinicConfirmDate>dateTime</ClinicConfirmDate>
          <HODisablementPercentage>int</HODisablementPercentage>
          <HOConfirmDate>dateTime</HOConfirmDate>
          <HSA1Type>string</HSA1Type>
          <ChkHSA1>string</ChkHSA1>
          <PatientID>string</PatientID>
          <SpecialityID>string</SpecialityID>
          <SpecialityTitle>string</SpecialityTitle>
          <NeedApproved>boolean</NeedApproved>
          <ApprovedStatus>string</ApprovedStatus>
          <ApprovedNeedText>string</ApprovedNeedText>
          <SecondCheckHASTime>int</SecondCheckHASTime>
          <isEdited>string</isEdited>
          <Ward_HSA6_ID>string</Ward_HSA6_ID>
          <LocationName>string</LocationName>
          <LocationCode>string</LocationCode>
          <LocationType>string</LocationType>
          <LocationGroup>string</LocationGroup>
          <TownshipID>string</TownshipID>
          <TownshipName>string</TownshipName>
          <IsReferalFollowup>boolean</IsReferalFollowup>
          <IsReferalFUType>string</IsReferalFUType>
          <StationID>string</StationID>
          <Expr1>string</Expr1>
          <FromExpenseType>string</FromExpenseType>
          <FromPatientExpense>decimal</FromPatientExpense>
          <FromPatientTransport>string</FromPatientTransport>
          <FromHelperExpense>decimal</FromHelperExpense>
          <FromHelperTransport>string</FromHelperTransport>
          <ProvisionalDiagnosis>string</ProvisionalDiagnosis>
          <ClinicalFindings>string</ClinicalFindings>
          <ToExpenseType>string</ToExpenseType>
          <ToPatientExpense>decimal</ToPatientExpense>
          <ToPatientTransport>string</ToPatientTransport>
          <EndDate>dateTime</EndDate>
          <ClinicTypeID>string</ClinicTypeID>
          <ClinicTypeName>string</ClinicTypeName>
          <AccidentDate>dateTime</AccidentDate>
          <CheckRevisit>boolean</CheckRevisit>
          <RevisitDate>dateTime</RevisitDate>
          <CheckRevisitNo>boolean</CheckRevisitNo>
          <FirstName>string</FirstName>
          <ReferalStationCode>string</ReferalStationCode>
          <StationName>string</StationName>
          <MigrationID>string</MigrationID>
          <DurationDate>string</DurationDate>
          <APPConfigID>string</APPConfigID>
        </EMR_PatientLetterView>
      </GetAllPatientLetterResult>
    </GetAllPatientLetterResponse>
  </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_PatientLetter.asmx/GetAllPatientLetter?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_PatientLetterView xmlns="http://tempuri.org/">
  <EMR_PatientLetterView>
    <LetterID>string</LetterID>
    <VisitiID>string</VisitiID>
    <LetterTypeID>string</LetterTypeID>
    <Title>string</Title>
    <Body>string</Body>
    <Status>string</Status>
    <ApprovedByID>string</ApprovedByID>
    <ApprovedOn>dateTime</ApprovedOn>
    <ApprovalRemark>string</ApprovalRemark>
    <Active>boolean</Active>
    <CreatedBy>string</CreatedBy>
    <CreatedOn>dateTime</CreatedOn>
    <ModifiedBy>string</ModifiedBy>
    <ModifiedOn>dateTime</ModifiedOn>
    <LastAction>string</LastAction>
    <ModifiedByCode>string</ModifiedByCode>
    <CreatedByCode>string</CreatedByCode>
    <VisitNo>string</VisitNo>
    <LetterTypeName>string</LetterTypeName>
    <ApprovedByCode>string</ApprovedByCode>
    <HelperID>string</HelperID>
    <IsNeedHelper>boolean</IsNeedHelper>
    <HelperName>string</HelperName>
    <PatientNo>string</PatientNo>
    <ApprovedByName>string</ApprovedByName>
    <ApprovedByNRC>string</ApprovedByNRC>
    <ApprovedByAddress>string</ApprovedByAddress>
    <PatientName>string</PatientName>
    <Gender>string</Gender>
    <DoctorName>string</DoctorName>
    <LocationID>string</LocationID>
    <SpecialityCodeNo>string</SpecialityCodeNo>
    <SpecialityTitleMM>string</SpecialityTitleMM>
    <LetterOn>dateTime</LetterOn>
    <CauseOfDeath>string</CauseOfDeath>
    <NextOfKin>string</NextOfKin>
    <Relationship>string</Relationship>
    <DOB_YYYY>string</DOB_YYYY>
    <MobileNo>string</MobileNo>
    <AddressNo>string</AddressNo>
    <Lane>string</Lane>
    <Road>string</Road>
    <Area>string</Area>
    <FatherName>string</FatherName>
    <EmployerCodeNo>string</EmployerCodeNo>
    <Establishment>string</Establishment>
    <ReferralStationID>string</ReferralStationID>
    <ReferralStationName>string</ReferralStationName>
    <ToDate>dateTime</ToDate>
    <FromDate>dateTime</FromDate>
    <CheckDate>dateTime</CheckDate>
    <ReturnToWorkDate>dateTime</ReturnToWorkDate>
    <ExpectedBirthDate>dateTime</ExpectedBirthDate>
    <BeforeBirthFromDate>dateTime</BeforeBirthFromDate>
    <BeforeBirthToDate>dateTime</BeforeBirthToDate>
    <ActualBirthDate>dateTime</ActualBirthDate>
    <NoOfBaby>int</NoOfBaby>
    <AfterBirthFromDate>dateTime</AfterBirthFromDate>
    <AfterBirthToDate>dateTime</AfterBirthToDate>
    <AdoptedDate>dateTime</AdoptedDate>
    <ChildAgeMonth>int</ChildAgeMonth>
    <ChildAgeDay>int</ChildAgeDay>
    <AdoptedFromDate>dateTime</AdoptedFromDate>
    <AdoptedToDate>dateTime</AdoptedToDate>
    <WifeBirthDate>dateTime</WifeBirthDate>
    <PaternityFromDate>dateTime</PaternityFromDate>
    <PaternityToDate>dateTime</PaternityToDate>
    <PerSSINo>string</PerSSINo>
    <LetterNo>string</LetterNo>
    <WifeExpBirthDate>dateTime</WifeExpBirthDate>
    <WifeNoOfBaby>int</WifeNoOfBaby>
    <HSA2Type>string</HSA2Type>
    <HSA2BirthType>string</HSA2BirthType>
    <ClinicDisablementPercentage>int</ClinicDisablementPercentage>
    <ClinicConfirmDate>dateTime</ClinicConfirmDate>
    <HODisablementPercentage>int</HODisablementPercentage>
    <HOConfirmDate>dateTime</HOConfirmDate>
    <HSA1Type>string</HSA1Type>
    <ChkHSA1>string</ChkHSA1>
    <PatientID>string</PatientID>
    <SpecialityID>string</SpecialityID>
    <SpecialityTitle>string</SpecialityTitle>
    <NeedApproved>boolean</NeedApproved>
    <ApprovedStatus>string</ApprovedStatus>
    <ApprovedNeedText>string</ApprovedNeedText>
    <SecondCheckHASTime>int</SecondCheckHASTime>
    <isEdited>string</isEdited>
    <Ward_HSA6_ID>string</Ward_HSA6_ID>
    <LocationName>string</LocationName>
    <LocationCode>string</LocationCode>
    <LocationType>string</LocationType>
    <LocationGroup>string</LocationGroup>
    <TownshipID>string</TownshipID>
    <TownshipName>string</TownshipName>
    <IsReferalFollowup>boolean</IsReferalFollowup>
    <IsReferalFUType>string</IsReferalFUType>
    <StationID>string</StationID>
    <Expr1>string</Expr1>
    <FromExpenseType>string</FromExpenseType>
    <FromPatientExpense>decimal</FromPatientExpense>
    <FromPatientTransport>string</FromPatientTransport>
    <FromHelperExpense>decimal</FromHelperExpense>
    <FromHelperTransport>string</FromHelperTransport>
    <ProvisionalDiagnosis>string</ProvisionalDiagnosis>
    <ClinicalFindings>string</ClinicalFindings>
    <ToExpenseType>string</ToExpenseType>
    <ToPatientExpense>decimal</ToPatientExpense>
    <ToPatientTransport>string</ToPatientTransport>
    <EndDate>dateTime</EndDate>
    <ClinicTypeID>string</ClinicTypeID>
    <ClinicTypeName>string</ClinicTypeName>
    <AccidentDate>dateTime</AccidentDate>
    <CheckRevisit>boolean</CheckRevisit>
    <RevisitDate>dateTime</RevisitDate>
    <CheckRevisitNo>boolean</CheckRevisitNo>
    <FirstName>string</FirstName>
    <ReferalStationCode>string</ReferalStationCode>
    <StationName>string</StationName>
    <MigrationID>string</MigrationID>
    <DurationDate>string</DurationDate>
    <APPConfigID>string</APPConfigID>
  </EMR_PatientLetterView>
  <EMR_PatientLetterView>
    <LetterID>string</LetterID>
    <VisitiID>string</VisitiID>
    <LetterTypeID>string</LetterTypeID>
    <Title>string</Title>
    <Body>string</Body>
    <Status>string</Status>
    <ApprovedByID>string</ApprovedByID>
    <ApprovedOn>dateTime</ApprovedOn>
    <ApprovalRemark>string</ApprovalRemark>
    <Active>boolean</Active>
    <CreatedBy>string</CreatedBy>
    <CreatedOn>dateTime</CreatedOn>
    <ModifiedBy>string</ModifiedBy>
    <ModifiedOn>dateTime</ModifiedOn>
    <LastAction>string</LastAction>
    <ModifiedByCode>string</ModifiedByCode>
    <CreatedByCode>string</CreatedByCode>
    <VisitNo>string</VisitNo>
    <LetterTypeName>string</LetterTypeName>
    <ApprovedByCode>string</ApprovedByCode>
    <HelperID>string</HelperID>
    <IsNeedHelper>boolean</IsNeedHelper>
    <HelperName>string</HelperName>
    <PatientNo>string</PatientNo>
    <ApprovedByName>string</ApprovedByName>
    <ApprovedByNRC>string</ApprovedByNRC>
    <ApprovedByAddress>string</ApprovedByAddress>
    <PatientName>string</PatientName>
    <Gender>string</Gender>
    <DoctorName>string</DoctorName>
    <LocationID>string</LocationID>
    <SpecialityCodeNo>string</SpecialityCodeNo>
    <SpecialityTitleMM>string</SpecialityTitleMM>
    <LetterOn>dateTime</LetterOn>
    <CauseOfDeath>string</CauseOfDeath>
    <NextOfKin>string</NextOfKin>
    <Relationship>string</Relationship>
    <DOB_YYYY>string</DOB_YYYY>
    <MobileNo>string</MobileNo>
    <AddressNo>string</AddressNo>
    <Lane>string</Lane>
    <Road>string</Road>
    <Area>string</Area>
    <FatherName>string</FatherName>
    <EmployerCodeNo>string</EmployerCodeNo>
    <Establishment>string</Establishment>
    <ReferralStationID>string</ReferralStationID>
    <ReferralStationName>string</ReferralStationName>
    <ToDate>dateTime</ToDate>
    <FromDate>dateTime</FromDate>
    <CheckDate>dateTime</CheckDate>
    <ReturnToWorkDate>dateTime</ReturnToWorkDate>
    <ExpectedBirthDate>dateTime</ExpectedBirthDate>
    <BeforeBirthFromDate>dateTime</BeforeBirthFromDate>
    <BeforeBirthToDate>dateTime</BeforeBirthToDate>
    <ActualBirthDate>dateTime</ActualBirthDate>
    <NoOfBaby>int</NoOfBaby>
    <AfterBirthFromDate>dateTime</AfterBirthFromDate>
    <AfterBirthToDate>dateTime</AfterBirthToDate>
    <AdoptedDate>dateTime</AdoptedDate>
    <ChildAgeMonth>int</ChildAgeMonth>
    <ChildAgeDay>int</ChildAgeDay>
    <AdoptedFromDate>dateTime</AdoptedFromDate>
    <AdoptedToDate>dateTime</AdoptedToDate>
    <WifeBirthDate>dateTime</WifeBirthDate>
    <PaternityFromDate>dateTime</PaternityFromDate>
    <PaternityToDate>dateTime</PaternityToDate>
    <PerSSINo>string</PerSSINo>
    <LetterNo>string</LetterNo>
    <WifeExpBirthDate>dateTime</WifeExpBirthDate>
    <WifeNoOfBaby>int</WifeNoOfBaby>
    <HSA2Type>string</HSA2Type>
    <HSA2BirthType>string</HSA2BirthType>
    <ClinicDisablementPercentage>int</ClinicDisablementPercentage>
    <ClinicConfirmDate>dateTime</ClinicConfirmDate>
    <HODisablementPercentage>int</HODisablementPercentage>
    <HOConfirmDate>dateTime</HOConfirmDate>
    <HSA1Type>string</HSA1Type>
    <ChkHSA1>string</ChkHSA1>
    <PatientID>string</PatientID>
    <SpecialityID>string</SpecialityID>
    <SpecialityTitle>string</SpecialityTitle>
    <NeedApproved>boolean</NeedApproved>
    <ApprovedStatus>string</ApprovedStatus>
    <ApprovedNeedText>string</ApprovedNeedText>
    <SecondCheckHASTime>int</SecondCheckHASTime>
    <isEdited>string</isEdited>
    <Ward_HSA6_ID>string</Ward_HSA6_ID>
    <LocationName>string</LocationName>
    <LocationCode>string</LocationCode>
    <LocationType>string</LocationType>
    <LocationGroup>string</LocationGroup>
    <TownshipID>string</TownshipID>
    <TownshipName>string</TownshipName>
    <IsReferalFollowup>boolean</IsReferalFollowup>
    <IsReferalFUType>string</IsReferalFUType>
    <StationID>string</StationID>
    <Expr1>string</Expr1>
    <FromExpenseType>string</FromExpenseType>
    <FromPatientExpense>decimal</FromPatientExpense>
    <FromPatientTransport>string</FromPatientTransport>
    <FromHelperExpense>decimal</FromHelperExpense>
    <FromHelperTransport>string</FromHelperTransport>
    <ProvisionalDiagnosis>string</ProvisionalDiagnosis>
    <ClinicalFindings>string</ClinicalFindings>
    <ToExpenseType>string</ToExpenseType>
    <ToPatientExpense>decimal</ToPatientExpense>
    <ToPatientTransport>string</ToPatientTransport>
    <EndDate>dateTime</EndDate>
    <ClinicTypeID>string</ClinicTypeID>
    <ClinicTypeName>string</ClinicTypeName>
    <AccidentDate>dateTime</AccidentDate>
    <CheckRevisit>boolean</CheckRevisit>
    <RevisitDate>dateTime</RevisitDate>
    <CheckRevisitNo>boolean</CheckRevisitNo>
    <FirstName>string</FirstName>
    <ReferalStationCode>string</ReferalStationCode>
    <StationName>string</StationName>
    <MigrationID>string</MigrationID>
    <DurationDate>string</DurationDate>
    <APPConfigID>string</APPConfigID>
  </EMR_PatientLetterView>
</ArrayOfEMR_PatientLetterView>

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_PatientLetter.asmx/GetAllPatientLetter 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_PatientLetterView xmlns="http://tempuri.org/">
  <EMR_PatientLetterView>
    <LetterID>string</LetterID>
    <VisitiID>string</VisitiID>
    <LetterTypeID>string</LetterTypeID>
    <Title>string</Title>
    <Body>string</Body>
    <Status>string</Status>
    <ApprovedByID>string</ApprovedByID>
    <ApprovedOn>dateTime</ApprovedOn>
    <ApprovalRemark>string</ApprovalRemark>
    <Active>boolean</Active>
    <CreatedBy>string</CreatedBy>
    <CreatedOn>dateTime</CreatedOn>
    <ModifiedBy>string</ModifiedBy>
    <ModifiedOn>dateTime</ModifiedOn>
    <LastAction>string</LastAction>
    <ModifiedByCode>string</ModifiedByCode>
    <CreatedByCode>string</CreatedByCode>
    <VisitNo>string</VisitNo>
    <LetterTypeName>string</LetterTypeName>
    <ApprovedByCode>string</ApprovedByCode>
    <HelperID>string</HelperID>
    <IsNeedHelper>boolean</IsNeedHelper>
    <HelperName>string</HelperName>
    <PatientNo>string</PatientNo>
    <ApprovedByName>string</ApprovedByName>
    <ApprovedByNRC>string</ApprovedByNRC>
    <ApprovedByAddress>string</ApprovedByAddress>
    <PatientName>string</PatientName>
    <Gender>string</Gender>
    <DoctorName>string</DoctorName>
    <LocationID>string</LocationID>
    <SpecialityCodeNo>string</SpecialityCodeNo>
    <SpecialityTitleMM>string</SpecialityTitleMM>
    <LetterOn>dateTime</LetterOn>
    <CauseOfDeath>string</CauseOfDeath>
    <NextOfKin>string</NextOfKin>
    <Relationship>string</Relationship>
    <DOB_YYYY>string</DOB_YYYY>
    <MobileNo>string</MobileNo>
    <AddressNo>string</AddressNo>
    <Lane>string</Lane>
    <Road>string</Road>
    <Area>string</Area>
    <FatherName>string</FatherName>
    <EmployerCodeNo>string</EmployerCodeNo>
    <Establishment>string</Establishment>
    <ReferralStationID>string</ReferralStationID>
    <ReferralStationName>string</ReferralStationName>
    <ToDate>dateTime</ToDate>
    <FromDate>dateTime</FromDate>
    <CheckDate>dateTime</CheckDate>
    <ReturnToWorkDate>dateTime</ReturnToWorkDate>
    <ExpectedBirthDate>dateTime</ExpectedBirthDate>
    <BeforeBirthFromDate>dateTime</BeforeBirthFromDate>
    <BeforeBirthToDate>dateTime</BeforeBirthToDate>
    <ActualBirthDate>dateTime</ActualBirthDate>
    <NoOfBaby>int</NoOfBaby>
    <AfterBirthFromDate>dateTime</AfterBirthFromDate>
    <AfterBirthToDate>dateTime</AfterBirthToDate>
    <AdoptedDate>dateTime</AdoptedDate>
    <ChildAgeMonth>int</ChildAgeMonth>
    <ChildAgeDay>int</ChildAgeDay>
    <AdoptedFromDate>dateTime</AdoptedFromDate>
    <AdoptedToDate>dateTime</AdoptedToDate>
    <WifeBirthDate>dateTime</WifeBirthDate>
    <PaternityFromDate>dateTime</PaternityFromDate>
    <PaternityToDate>dateTime</PaternityToDate>
    <PerSSINo>string</PerSSINo>
    <LetterNo>string</LetterNo>
    <WifeExpBirthDate>dateTime</WifeExpBirthDate>
    <WifeNoOfBaby>int</WifeNoOfBaby>
    <HSA2Type>string</HSA2Type>
    <HSA2BirthType>string</HSA2BirthType>
    <ClinicDisablementPercentage>int</ClinicDisablementPercentage>
    <ClinicConfirmDate>dateTime</ClinicConfirmDate>
    <HODisablementPercentage>int</HODisablementPercentage>
    <HOConfirmDate>dateTime</HOConfirmDate>
    <HSA1Type>string</HSA1Type>
    <ChkHSA1>string</ChkHSA1>
    <PatientID>string</PatientID>
    <SpecialityID>string</SpecialityID>
    <SpecialityTitle>string</SpecialityTitle>
    <NeedApproved>boolean</NeedApproved>
    <ApprovedStatus>string</ApprovedStatus>
    <ApprovedNeedText>string</ApprovedNeedText>
    <SecondCheckHASTime>int</SecondCheckHASTime>
    <isEdited>string</isEdited>
    <Ward_HSA6_ID>string</Ward_HSA6_ID>
    <LocationName>string</LocationName>
    <LocationCode>string</LocationCode>
    <LocationType>string</LocationType>
    <LocationGroup>string</LocationGroup>
    <TownshipID>string</TownshipID>
    <TownshipName>string</TownshipName>
    <IsReferalFollowup>boolean</IsReferalFollowup>
    <IsReferalFUType>string</IsReferalFUType>
    <StationID>string</StationID>
    <Expr1>string</Expr1>
    <FromExpenseType>string</FromExpenseType>
    <FromPatientExpense>decimal</FromPatientExpense>
    <FromPatientTransport>string</FromPatientTransport>
    <FromHelperExpense>decimal</FromHelperExpense>
    <FromHelperTransport>string</FromHelperTransport>
    <ProvisionalDiagnosis>string</ProvisionalDiagnosis>
    <ClinicalFindings>string</ClinicalFindings>
    <ToExpenseType>string</ToExpenseType>
    <ToPatientExpense>decimal</ToPatientExpense>
    <ToPatientTransport>string</ToPatientTransport>
    <EndDate>dateTime</EndDate>
    <ClinicTypeID>string</ClinicTypeID>
    <ClinicTypeName>string</ClinicTypeName>
    <AccidentDate>dateTime</AccidentDate>
    <CheckRevisit>boolean</CheckRevisit>
    <RevisitDate>dateTime</RevisitDate>
    <CheckRevisitNo>boolean</CheckRevisitNo>
    <FirstName>string</FirstName>
    <ReferalStationCode>string</ReferalStationCode>
    <StationName>string</StationName>
    <MigrationID>string</MigrationID>
    <DurationDate>string</DurationDate>
    <APPConfigID>string</APPConfigID>
  </EMR_PatientLetterView>
  <EMR_PatientLetterView>
    <LetterID>string</LetterID>
    <VisitiID>string</VisitiID>
    <LetterTypeID>string</LetterTypeID>
    <Title>string</Title>
    <Body>string</Body>
    <Status>string</Status>
    <ApprovedByID>string</ApprovedByID>
    <ApprovedOn>dateTime</ApprovedOn>
    <ApprovalRemark>string</ApprovalRemark>
    <Active>boolean</Active>
    <CreatedBy>string</CreatedBy>
    <CreatedOn>dateTime</CreatedOn>
    <ModifiedBy>string</ModifiedBy>
    <ModifiedOn>dateTime</ModifiedOn>
    <LastAction>string</LastAction>
    <ModifiedByCode>string</ModifiedByCode>
    <CreatedByCode>string</CreatedByCode>
    <VisitNo>string</VisitNo>
    <LetterTypeName>string</LetterTypeName>
    <ApprovedByCode>string</ApprovedByCode>
    <HelperID>string</HelperID>
    <IsNeedHelper>boolean</IsNeedHelper>
    <HelperName>string</HelperName>
    <PatientNo>string</PatientNo>
    <ApprovedByName>string</ApprovedByName>
    <ApprovedByNRC>string</ApprovedByNRC>
    <ApprovedByAddress>string</ApprovedByAddress>
    <PatientName>string</PatientName>
    <Gender>string</Gender>
    <DoctorName>string</DoctorName>
    <LocationID>string</LocationID>
    <SpecialityCodeNo>string</SpecialityCodeNo>
    <SpecialityTitleMM>string</SpecialityTitleMM>
    <LetterOn>dateTime</LetterOn>
    <CauseOfDeath>string</CauseOfDeath>
    <NextOfKin>string</NextOfKin>
    <Relationship>string</Relationship>
    <DOB_YYYY>string</DOB_YYYY>
    <MobileNo>string</MobileNo>
    <AddressNo>string</AddressNo>
    <Lane>string</Lane>
    <Road>string</Road>
    <Area>string</Area>
    <FatherName>string</FatherName>
    <EmployerCodeNo>string</EmployerCodeNo>
    <Establishment>string</Establishment>
    <ReferralStationID>string</ReferralStationID>
    <ReferralStationName>string</ReferralStationName>
    <ToDate>dateTime</ToDate>
    <FromDate>dateTime</FromDate>
    <CheckDate>dateTime</CheckDate>
    <ReturnToWorkDate>dateTime</ReturnToWorkDate>
    <ExpectedBirthDate>dateTime</ExpectedBirthDate>
    <BeforeBirthFromDate>dateTime</BeforeBirthFromDate>
    <BeforeBirthToDate>dateTime</BeforeBirthToDate>
    <ActualBirthDate>dateTime</ActualBirthDate>
    <NoOfBaby>int</NoOfBaby>
    <AfterBirthFromDate>dateTime</AfterBirthFromDate>
    <AfterBirthToDate>dateTime</AfterBirthToDate>
    <AdoptedDate>dateTime</AdoptedDate>
    <ChildAgeMonth>int</ChildAgeMonth>
    <ChildAgeDay>int</ChildAgeDay>
    <AdoptedFromDate>dateTime</AdoptedFromDate>
    <AdoptedToDate>dateTime</AdoptedToDate>
    <WifeBirthDate>dateTime</WifeBirthDate>
    <PaternityFromDate>dateTime</PaternityFromDate>
    <PaternityToDate>dateTime</PaternityToDate>
    <PerSSINo>string</PerSSINo>
    <LetterNo>string</LetterNo>
    <WifeExpBirthDate>dateTime</WifeExpBirthDate>
    <WifeNoOfBaby>int</WifeNoOfBaby>
    <HSA2Type>string</HSA2Type>
    <HSA2BirthType>string</HSA2BirthType>
    <ClinicDisablementPercentage>int</ClinicDisablementPercentage>
    <ClinicConfirmDate>dateTime</ClinicConfirmDate>
    <HODisablementPercentage>int</HODisablementPercentage>
    <HOConfirmDate>dateTime</HOConfirmDate>
    <HSA1Type>string</HSA1Type>
    <ChkHSA1>string</ChkHSA1>
    <PatientID>string</PatientID>
    <SpecialityID>string</SpecialityID>
    <SpecialityTitle>string</SpecialityTitle>
    <NeedApproved>boolean</NeedApproved>
    <ApprovedStatus>string</ApprovedStatus>
    <ApprovedNeedText>string</ApprovedNeedText>
    <SecondCheckHASTime>int</SecondCheckHASTime>
    <isEdited>string</isEdited>
    <Ward_HSA6_ID>string</Ward_HSA6_ID>
    <LocationName>string</LocationName>
    <LocationCode>string</LocationCode>
    <LocationType>string</LocationType>
    <LocationGroup>string</LocationGroup>
    <TownshipID>string</TownshipID>
    <TownshipName>string</TownshipName>
    <IsReferalFollowup>boolean</IsReferalFollowup>
    <IsReferalFUType>string</IsReferalFUType>
    <StationID>string</StationID>
    <Expr1>string</Expr1>
    <FromExpenseType>string</FromExpenseType>
    <FromPatientExpense>decimal</FromPatientExpense>
    <FromPatientTransport>string</FromPatientTransport>
    <FromHelperExpense>decimal</FromHelperExpense>
    <FromHelperTransport>string</FromHelperTransport>
    <ProvisionalDiagnosis>string</ProvisionalDiagnosis>
    <ClinicalFindings>string</ClinicalFindings>
    <ToExpenseType>string</ToExpenseType>
    <ToPatientExpense>decimal</ToPatientExpense>
    <ToPatientTransport>string</ToPatientTransport>
    <EndDate>dateTime</EndDate>
    <ClinicTypeID>string</ClinicTypeID>
    <ClinicTypeName>string</ClinicTypeName>
    <AccidentDate>dateTime</AccidentDate>
    <CheckRevisit>boolean</CheckRevisit>
    <RevisitDate>dateTime</RevisitDate>
    <CheckRevisitNo>boolean</CheckRevisitNo>
    <FirstName>string</FirstName>
    <ReferalStationCode>string</ReferalStationCode>
    <StationName>string</StationName>
    <MigrationID>string</MigrationID>
    <DurationDate>string</DurationDate>
    <APPConfigID>string</APPConfigID>
  </EMR_PatientLetterView>
</ArrayOfEMR_PatientLetterView>