<?xml version="1.0" encoding="UTF-8"?>
<ClinicalDocument xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040"/>
  <templateId root="2.16.840.1.113883.10.20.22.1.2"/>
  <templateId root="2.16.840.1.113883.10.20.22.1.1"/>
  <id root="2.16.840.1.113883.19.5" extension="ccd-1"/>
  <code code="34133-9" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Summarization of Episode Note"/>
  <title>Patient Health Summary</title>
  <effectiveTime value="20261115"/>
  <confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25"/>
  <languageCode code="en-US"/>
  <recordTarget>
    <patientRole>
      <id root="2.16.840.1.113883.19.5" extension="self"/>
      <addr>
        <streetAddressLine>123 Main St</streetAddressLine>
        <city>Springfield</city>
        <state>IL</state>
        <postalCode>62701</postalCode>
      </addr>
      <telecom value="tel:+12125551234"/>
      <patient>
        <name>
          <given>Jane</given>
          <family>Doe</family>
        </name>
        <administrativeGenderCode code="F" codeSystem="2.16.840.1.113883.5.1" displayName="Female"/>
        <birthTime value="19900515"/>
      </patient>
    </patientRole>
  </recordTarget>
  <author>
    <time value="20261115"/>
    <assignedAuthor>
      <id root="2.16.840.1.113883.4.6" extension="provider-1"/>
      <representedOrganization>
        <name>Springfield Family Care</name>
      </representedOrganization>
    </assignedAuthor>
  </author>
  <component>
    <structuredBody>
      <!-- Medications section -->
      <component>
        <section>
          <templateId root="2.16.840.1.113883.10.20.22.2.1.1"/>
          <code code="10160-0" codeSystem="2.16.840.1.113883.6.1" displayName="History of Medication Use"/>
          <title>Medications</title>
          <entry>
            <substanceAdministration classCode="SBADM" moodCode="EVN">
              <templateId root="2.16.840.1.113883.10.20.22.4.16"/>
              <id root="2.16.840.1.113883.19.5" extension="med-2"/>
              <statusCode code="active"/>
              <effectiveTime value="20260901">
                <period value="24" unit="h"/>
              </effectiveTime>
              <consumable>
                <manufacturedProduct>
                  <manufacturedMaterial>
                    <code code="834057" codeSystem="2.16.840.1.113883.6.88" displayName="Metformin HCl 500 MG"/>
                  </manufacturedMaterial>
                </manufacturedProduct>
              </consumable>
              <doseQuantity value="500" unit="mg"/>
            </substanceAdministration>
          </entry>
        </section>
      </component>
      <!-- Problems section -->
      <component>
        <section>
          <templateId root="2.16.840.1.113883.10.20.22.2.5.1"/>
          <code code="11450-4" codeSystem="2.16.840.1.113883.6.1" displayName="Problem List"/>
          <title>Problems</title>
          <entry>
            <act classCode="ACT" moodCode="EVN">
              <templateId root="2.16.840.1.113883.10.20.22.4.3"/>
              <id root="2.16.840.1.113883.19.5" extension="con-2"/>
              <statusCode code="active"/>
              <effectiveTime>
                <low value="20200310"/>
              </effectiveTime>
              <entryRelationship typeCode="SUBJ">
                <observation classCode="OBS" moodCode="EVN">
                  <templateId root="2.16.840.1.113883.10.20.22.4.4"/>
                  <code code="64572001" codeSystem="2.16.840.1.113883.6.96" displayName="Condition"/>
                  <value xsi:type="CD" code="E11.9" codeSystem="2.16.840.1.113883.6.90" displayName="Type 2 diabetes mellitus without complications"/>
                  <entryRelationship typeCode="REFR">
                    <observation classCode="OBS">
                      <templateId root="2.16.840.1.113883.10.20.22.4.6"/>
                      <code code="SEV" codeSystem="2.16.840.1.113883.5.4" displayName="Severity"/>
                      <value xsi:type="CD" code="M" displayName="Moderate"/>
                    </observation>
                  </entryRelationship>
                </observation>
              </entryRelationship>
            </act>
          </entry>
        </section>
      </component>
      <!-- Results section -->
      <component>
        <section>
          <templateId root="2.16.840.1.113883.10.20.22.2.3.1"/>
          <code code="29549-3" codeSystem="2.16.840.1.113883.6.1" displayName="Results"/>
          <title>Lab Results</title>
          <entry>
            <organizer classCode="CLUSTER" moodCode="EVN">
              <templateId root="2.16.840.1.113883.10.20.22.4.1"/>
              <id root="2.16.840.1.113883.19.5" extension="lab-panel-1"/>
              <code code="57021-8" codeSystem="2.16.840.1.113883.6.1" displayName="CBC"/>
              <component>
                <observation classCode="OBS" moodCode="EVN">
                  <templateId root="2.16.840.1.113883.10.20.22.4.2"/>
                  <id root="2.16.840.1.113883.19.5" extension="lab-1"/>
                  <code code="4544-3" codeSystem="2.16.840.1.113883.6.1" displayName="Hematocrit"/>
                  <statusCode code="completed"/>
                  <effectiveTime value="20261101"/>
                  <value xsi:type="PQ" value="42" unit="%"/>
                </observation>
              </component>
              <component>
                <observation classCode="OBS" moodCode="EVN">
                  <templateId root="2.16.840.1.113883.10.20.22.4.2"/>
                  <id root="2.16.840.1.113883.19.5" extension="lab-2"/>
                  <code code="6690-2" codeSystem="2.16.840.1.113883.6.1" displayName="Leukocytes"/>
                  <statusCode code="completed"/>
                  <effectiveTime value="20261101"/>
                  <value xsi:type="PQ" value="6.5" unit="10*3/uL"/>
                </observation>
              </component>
            </organizer>
          </entry>
        </section>
      </component>
      <!-- Encounters section -->
      <component>
        <section>
          <templateId root="2.16.840.1.113883.10.20.22.2.22"/>
          <code code="46240-8" codeSystem="2.16.840.1.113883.6.1" displayName="History of Encounters"/>
          <title>Encounters</title>
          <entry>
            <encounter classCode="ENC" moodCode="EVN">
              <templateId root="2.16.840.1.113883.10.20.22.4.49"/>
              <id root="2.16.840.1.113883.19.5" extension="enc-2"/>
              <code code="AMB" codeSystem="2.16.840.1.113883.5.4" displayName="Ambulatory"/>
              <statusCode code="completed"/>
              <effectiveTime value="20261101"/>
            </encounter>
          </entry>
        </section>
      </component>
    </structuredBody>
  </component>
</ClinicalDocument>
