<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope
    xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <soap:Body>
    <GetPatientEncounterResponse
        xmlns="http://tempuri.org/">
      <GetPatientEncounterResult>
        <ClinicalDocument
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xmlns:cda="urn:hl7-org:v3" xsi:schemaLocation="urn:hl7-org:v3 http://xreg2.nist.gov:8080/hitspValidation/schema/cdar2c32/infrastructure/cda/C32_CDA.xsd"
            xmlns="urn:hl7-org:v3"
            xmlns:sdtc="urn:hl7-org:sdtc">
          <realmCode code="US" />
          <typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040" />
          <templateId root="2.16.840.1.113883.10.20.22.1.1" extension="2015-08-01" />
          <templateId root="2.16.840.1.113883.10.20.22.1.1" />
          <templateId root="2.16.840.1.113883.10.20.22.1.2" />
          <templateId root="2.16.840.1.113883.10.20.22.1.2" extension="2015-08-01" />
          <id root="1.1.1.1.1.1.1.1.1" extension="CCD_eMedsys" />
          <code code="34133-9" displayName="CCD Summary" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" />
          <title>CLINIC Health Summary</title>
          <effectiveTime value="20190905150927" />
          <confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25" />
          <languageCode code="en-US" />
          <!--==================================================-->
          <!--=  Patient Registration                          =-->
          <!--==================================================-->
          <recordTarget>
            <patientRole>
              <!--==================================================-->
              <!--=  Patient Registration                          =-->
              <!--==================================================-->
              <id extension="58374" root="2.16.840.1.113883.4.572" />
              <addr use="HP">
                <streetAddressLine>No Address</streetAddressLine>
                <city>No City</city>
                <state>No State</state>
                <postalCode>No Zip</postalCode>
                <country>US</country>
              </addr>
              <telecom use="HP" value="tel:+1-000-000-0000" />
              <patient>
                <name>
                  <given>BRANDON</given>
                  <family>TEST</family>
                </name>
                <administrativeGenderCode code="M" displayName="Male" codeSystemName="HL7 AdministrativeGenderCodes" codeSystem="2.16.840.1.113883.5.1" />
                <birthTime value="19750202" />
                <maritalStatusCode codeSystemName="HL7 MaritalStatusCode" codeSystem="2.16.840.1.113883.5.2" code="S" displayName="SINGLE" />
              </patient>
            </patientRole>
          </recordTarget>
          <!--==================================================-->
          <!--=  Record Author - Physician                     =-->
          <!--==================================================-->
          <author>
            <time value="20190905" />
            <assignedAuthor>
              <id extension="1053370288" root="2.16.840.1.113883.4.6" />
              <addr>
                <streetAddressLine>4000 Redmond Pkwy</streetAddressLine>
                <city>HIGH POINT</city>
                <state>NC</state>
                <postalCode>27265</postalCode>
              </addr>
              <telecom use="WP" value="tel:+1-866-874-6339" />
              <assignedPerson>
                <name>
                  <prefix>Dr.</prefix>
                  <given>Dave</given>
                  <family>Smith</family>
                </name>
              </assignedPerson>
              <representedOrganization>
                <name>CLINIC</name>
              </representedOrganization>
            </assignedAuthor>
          </author>
          <custodian>
            <assignedCustodian>
              <representedCustodianOrganization>
                <id root="2.16.840.1.113883.19.5" />
                <name>CLINIC</name>
                <telecom value="3368822800" />
                <addr>
                  <streetAddressLine>2472 Rocky Place</streetAddressLine>
                  <city>BEAVERTON</city>
                  <state>OR</state>
                  <postalCode>97006</postalCode>
                </addr>
              </representedCustodianOrganization>
            </assignedCustodian>
          </custodian>
          <!--==================================================-->
          <!--=  Clinical Data                                 =-->
          <!--==================================================-->
          <component>
            <structuredBody>
              <!--==================================================-->
              <!--=  Encounters                                    =-->
              <!--==================================================-->
              <component>
                <section nullFlavor="NI">
                  <templateId root="2.16.840.1.113883.10.20.22.2.22.1" extension="2015-08-01" />
                  <templateId root="2.16.840.1.113883.10.20.22.2.22.1" />
                  <code code="46240-8" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="History of Encounters" />
                  <title>Encounters</title>
                  <text>
                    <table border="1" width="100%">
                      <thead>
                        <tr>
                          <th>Encounter</th>
                          <th>Performer-Care Team</th>
                          <th>Location</th>
                          <th>Date</th>
                          <th>Encounter Diagnosis</th>
                        </tr>
                      </thead>
                      <tbody />
                    </table>
                  </text>
                </section>
              </component>
              <!--==================================================-->
              <!--=  Chief Complaint - Reason for Visit            =-->
              <!--==================================================-->
              <component>
                <section>
                  <templateId root="2.16.840.1.113883.10.20.22.2.12" />
                  <code code="29299-5" displayName="Chief Complaint and Reason for Visit" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" />
                  <title>Reason For Visit - Chief Complaint</title>
                  <text>
                    <paragraph>None Found</paragraph>
                  </text>
                </section>
              </component>
              <!--==================================================-->
              <!--=  Functional and Congitive Status               =-->
              <!--==================================================-->
              <component>
                <section>
                  <templateId root="2.16.840.1.113883.10.20.22.2.14" extension="2014-06-09" />
                  <templateId root="2.16.840.1.113883.10.20.22.2.14" />
                  <code code="47420-5" displayName="Functional Status" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" />
                  <title>Functional and Congitive Status</title>
                  <text>
                    <paragraph>Functional Status:  Date: 1/1/0001</paragraph>
                    <paragraph>Cognitive Status:  Date: 1/1/0001</paragraph>
                  </text>
                </section>
              </component>
              <!--==================================================-->
              <!--=  Instructions                                  =-->
              <!--==================================================-->
              <component>
                <section>
                  <templateId root="2.16.840.1.113883.10.20.22.2.45" />
                  <code code="69730-0" displayName="Instructions" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" />
                  <title>Instructions</title>
                  <text>
                    <paragraph>None</paragraph>
                    <list>
                      <item>Instructions not indicated (situation) [183964008]</item>
                    </list>
                  </text>
                  <entry typeCode="DRIV">
                    <act classCode="ACT" moodCode="INT">
                      <templateId root="2.16.840.1.113883.10.20.22.4.20" />
                      <id root="2.16.840.1.113883.4.6" extension="1" />
                      <code xsi:type="CE" code="409073007" codeSystem="2.16.840.1.113883.6.96" displayName="Instructions" />
                      <statusCode code="completed" />
                    </act>
                  </entry>
                </section>
              </component>
              <!--==================================================-->
              <!--=  Referral                                      =-->
              <!--==================================================-->
              <component>
                <section>
                  <templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.1" />
                  <code code="42349-1" displayName="Referral" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" />
                  <title>Reason for Referral</title>
                  <text />
                </section>
              </component>
            </structuredBody>
          </component>
        </ClinicalDocument>
      </GetPatientEncounterResult>
      <sStatusMessage>TEST</sStatusMessage>
    </GetPatientEncounterResponse>
  </soap:Body>
</soap:Envelope>