<Composition xmlns="http://hl7.org/fhir">
  <id value="composition-01" />
  <meta>
    <profile value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/composition-patient-summary" />
  </meta>
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p class="res-header-id">
        <b>Generated Narrative: Composition composition-01</b>
      </p>
      <a name="composition-01"></a>
      <a name="hccomposition-01"></a>
      <div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%">
        <p style="margin-bottom: 0px" />
        <p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-composition-patient-summary.html">P-Care Patient Summary Composition</a></p>
      </div>
      <p>
        <b>identifier</b>: <code>http://example.org/NamingSystem/doc-identifiers</code>/ee5ac342-23d9-4ff1-9ea7-264323866d80</p>
      <p>
        <b>status</b>: Final</p>
      <p>
        <b>type</b>: <span title="Codes:{http://loinc.org 60591-5}">Patient summary Document</span></p>
      <p>
        <b>encounter</b>: <a href="Encounter-encounter-01.html">Encounter: identifier = http://example.org/NamingSystem/Encounter#ENC123456; status = finished; class = ambulatory (ActCode#AMB); type = ambulatory; period = 2024-03-27 09:00:00-0700 --&gt; 2024-03-27 09:30:00-0700</a></p>
      <p>
        <b>date</b>: 2021-12-11 14:30:00+0100</p>
      <p>
        <b>author</b>: <a href="PractitionerRole-practitioner-role-01.html">Dr. Riley Okoro(official) (http://example.org/NamingSystem/Practitioner#PR789013): General pathologist (occupation) at Vancouver General Hospital (Healthcare Provider) (http://hlth.gov.bc.ca/fhir/NamingSystem/bc-phi#VGH123456) (http://example.org/NamingSystem/PractitionerRole#PR789012)</a></p>
      <p>
        <b>title</b>: Patient Summary as of December 11, 2021 14:30</p>
      <p>
        <b>confidentiality</b>: restricted</p>
      <h3>Attesters</h3>
      <table class="grid">
        <tr>
          <td style="display: none">-</td>
          <td>
            <b>Mode</b>
          </td>
          <td>
            <b>Time</b>
          </td>
          <td>
            <b>Party</b>
          </td>
        </tr>
        <tr>
          <td style="display: none">*</td>
          <td>Legal</td>
          <td>2023-04-17 18:20:00-0600</td>
          <td>
            <a href="Practitioner-practitioner-01.html">Dr. Riley Okoro(official) (http://example.org/NamingSystem/Practitioner#PR789013)</a>
          </td>
        </tr>
      </table>
      <p>
        <b>custodian</b>: <a href="Organization-organization-01.html">Vancouver General Hospital (Healthcare Provider) (http://hlth.gov.bc.ca/fhir/NamingSystem/bc-phi#VGH123456)</a></p>
      <h3>RelatesTos</h3>
      <table class="grid">
        <tr>
          <td style="display: none">-</td>
          <td>
            <b>Code</b>
          </td>
          <td>
            <b>Target[x]</b>
          </td>
        </tr>
        <tr>
          <td style="display: none">*</td>
          <td>Replaces</td>
          <td>?ngen-9?</td>
        </tr>
      </table>
      <h3>Events</h3>
      <table class="grid">
        <tr>
          <td style="display: none">-</td>
          <td>
            <b>Code</b>
          </td>
          <td>
            <b>Period</b>
          </td>
        </tr>
        <tr>
          <td style="display: none">*</td>
          <td>
            <span title="Codes:{http://terminology.hl7.org/CodeSystem/v3-ActClass PCPR}">Care Provision</span>
          </td>
          <td>2024-10-01 --&gt; (ongoing)</td>
        </tr>
      </table>
    </div>
  </text>
  <identifier>
    <system value="http://example.org/NamingSystem/doc-identifiers" />
    <value value="ee5ac342-23d9-4ff1-9ea7-264323866d80" />
  </identifier>
  <status value="final" />
  <type>
    <coding>
      <system value="http://loinc.org" />
      <code value="60591-5" />
      <display value="Patient summary Document" />
    </coding>
  </type>
  <subject>
    <reference value="Patient/patient-01" />
  </subject>
  <encounter>
    <reference value="Encounter/encounter-01" />
  </encounter>
  <date value="2021-12-11T14:30:00+01:00" />
  <author>
    <reference value="PractitionerRole/practitioner-role-01" />
  </author>
  <title value="Patient Summary as of December 11, 2021 14:30" />
  <confidentiality value="R" />
  <attester>
    <mode value="legal" />
    <time value="2023-04-17T18:20:00-06:00" />
    <party>
      <reference value="Practitioner/practitioner-01" />
    </party>
  </attester>
  <custodian>
    <reference value="Organization/organization-01" />
  </custodian>
  <relatesTo>
    <code value="replaces" />
    <targetIdentifier>
      <assigner>
        <display value="Previous Composition being replaced" />
      </assigner>
    </targetIdentifier>
  </relatesTo>
  <event>
    <code>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-ActClass" />
        <code value="PCPR" />
        <display value="Care Provision" />
      </coding>
    </code>
    <period>
      <start value="2024-10-01" />
    </period>
  </event>
  <section id="medication-summary">
    <extension url="http://hl7.org/fhir/StructureDefinition/note">
      <valueAnnotation>
        <time value="2024-10-02T12:12:12-06:00" />
        <text value="Annotation in markdown format" />
      </valueAnnotation>
    </extension>
    <title value="Medication Summary" />
    <code>
      <coding>
        <system value="http://loinc.org" />
        <code value="10160-0" />
        <display value="History of Medication use Narrative" />
      </coding>
    </code>
    <text>
      <status value="additional" />
      <div xmlns="http://www.w3.org/1999/xhtml">Medications</div>
    </text>
    <entry>
      <reference value="MedicationStatement/medication-statement-01" />
    </entry>
    <entry>
      <reference value="MedicationStatement/medication-statement-01" />
    </entry>
    <entry>
      <reference value="MedicationRequest/medication-request-01" />
    </entry>
    <entry>
      <reference value="MedicationRequest/medication-request-01" />
    </entry>
  </section>
  <section id="allergies-and-intolerances">
    <extension url="http://hl7.org/fhir/StructureDefinition/note">
      <valueAnnotation>
        <time value="2024-10-02T12:12:12-06:00" />
        <text value="Annotation in markdown format" />
      </valueAnnotation>
    </extension>
    <title value="Allergies and Intolerances" />
    <code>
      <coding>
        <system value="http://loinc.org" />
        <code value="48765-2" />
        <display value="Allergies and adverse reactions Document" />
      </coding>
    </code>
    <text>
      <status value="additional" />
      <div xmlns="http://www.w3.org/1999/xhtml">Allergies and Intolerances</div>
    </text>
    <entry>
      <reference value="AllergyIntolerance/allergy-intolerance-01" />
    </entry>
  </section>
  <section id="problem-list">
    <extension url="http://hl7.org/fhir/StructureDefinition/note">
      <valueAnnotation>
        <time value="2024-10-02T12:12:12-06:00" />
        <text value="Annotation in markdown format" />
      </valueAnnotation>
    </extension>
    <title value="Problem List" />
    <code>
      <coding>
        <system value="http://loinc.org" />
        <code value="11450-4" />
        <display value="Problem list - Reported" />
      </coding>
    </code>
    <text>
      <status value="additional" />
      <div xmlns="http://www.w3.org/1999/xhtml">Current list of problems</div>
    </text>
    <entry>
      <reference value="Condition/condition-01" />
    </entry>
  </section>
  <section id="history-of-procedures">
    <extension url="http://hl7.org/fhir/StructureDefinition/note">
      <valueAnnotation>
        <time value="2024-10-02T12:12:12-06:00" />
        <text value="Annotation in markdown format" />
      </valueAnnotation>
    </extension>
    <title value="History of Procedures" />
    <code>
      <coding>
        <system value="http://loinc.org" />
        <code value="47519-4" />
        <display value="History of Procedures Document" />
      </coding>
    </code>
    <text>
      <status value="additional" />
      <div xmlns="http://www.w3.org/1999/xhtml">History of Procedures</div>
    </text>
    <entry>
      <reference value="Procedure/procedure-01" />
    </entry>
  </section>
  <section id="immunizations">
    <extension url="http://hl7.org/fhir/StructureDefinition/note">
      <valueAnnotation>
        <time value="2024-10-02T12:12:12-06:00" />
        <text value="Annotation in markdown format" />
      </valueAnnotation>
    </extension>
    <title value="Immunizations" />
    <code>
      <coding>
        <system value="http://loinc.org" />
        <code value="11369-6" />
        <display value="History of Immunization note" />
      </coding>
    </code>
    <text>
      <status value="generated" />
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Immunizations</p>
      </div>
    </text>
    <entry>
      <reference value="Immunization/immunization-01" />
    </entry>
    <entry>
      <reference value="Immunization/immunization-01" />
    </entry>
    <entry>
      <reference value="Immunization/immunization-01" />
    </entry>
  </section>
  <section id="medical-devices">
    <extension url="http://hl7.org/fhir/StructureDefinition/note">
      <valueAnnotation>
        <time value="2024-10-02T12:12:12-06:00" />
        <text value="Annotation in markdown format" />
      </valueAnnotation>
    </extension>
    <title value="Medical Devices" />
    <code>
      <coding>
        <system value="http://loinc.org" />
        <code value="46264-8" />
        <display value="History of medical device use" />
      </coding>
    </code>
    <text>
      <status value="generated" />
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Medical Devices</p>
      </div>
    </text>
    <entry>
      <reference value="urn:uuid:e8269a7e-c843-4703-a4d2-4aa6cf32a8e3" />
    </entry>
    <entry>
      <reference value="urn:uuid:9f5d9258-6cc3-49ed-8fee-f38c9ff684da" />
    </entry>
  </section>
  <section id="results">
    <title value="Results" />
    <code>
      <coding>
        <system value="http://loinc.org" />
        <code value="30954-2" />
        <display value="Relevant diagnostic tests/laboratory data note" />
      </coding>
    </code>
    <text>
      <status value="generated" />
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Results</p>
      </div>
    </text>
    <entry>
      <reference value="DiagnosticReport/diagnostic-report-01" />
    </entry>
    <entry>
      <reference value="Observation/observation-01" />
    </entry>
    <entry>
      <reference value="Observation/observation-01" />
    </entry>
    <entry>
      <reference value="Observation/observation-01" />
    </entry>
    <entry>
      <reference value="Observation/observation-01" />
    </entry>
  </section>
  <section id="vital-signs">
    <extension url="http://hl7.org/fhir/StructureDefinition/note">
      <valueAnnotation>
        <time value="2024-10-02T12:12:12-06:00" />
        <text value="Annotation in markdown format" />
      </valueAnnotation>
    </extension>
    <title value="Vital Signs" />
    <code>
      <coding>
        <system value="http://loinc.org" />
        <code value="8716-3" />
        <display value="Vital signs note" />
      </coding>
    </code>
    <text>
      <status value="generated" />
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Results</p>
      </div>
    </text>
    <entry>
      <reference value="Observation/observation-blood-pressure-01" />
    </entry>
    <entry>
      <reference value="Observation/observation-blood-pressure-02" />
    </entry>
    <entry>
      <reference value="Observation/observation-blood-pressure-03" />
    </entry>
    <entry>
      <reference value="Observation/observation-bmi-01" />
    </entry>
    <entry>
      <reference value="Observation/observation-bmi-02" />
    </entry>
    <entry>
      <reference value="Observation/observation-bmi-03" />
    </entry>
    <entry>
      <reference value="Observation/observation-body-height-01" />
    </entry>
    <entry>
      <reference value="Observation/observation-body-weight-01" />
    </entry>
    <entry>
      <reference value="Observation/observation-body-temperature-01" />
    </entry>
    <entry>
      <reference value="Observation/observation-head-circum-01" />
    </entry>
    <entry>
      <reference value="Observation/observation-heart-rate-01" />
    </entry>
    <entry>
      <reference value="Observation/observation-respiratory-rate-01" />
    </entry>
  </section>
  <section id="past-history-of-illness">
    <extension url="http://hl7.org/fhir/StructureDefinition/note">
      <valueAnnotation>
        <time value="2024-10-02T12:12:12-06:00" />
        <text value="Annotation in markdown format" />
      </valueAnnotation>
    </extension>
    <title value="Past History of Illness" />
    <code>
      <coding>
        <system value="http://loinc.org" />
        <code value="11348-0" />
        <display value="History of Past illness note" />
      </coding>
    </code>
    <text>
      <status value="generated" />
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Past History of Illness</p>
      </div>
    </text>
    <entry>
      <reference value="Condition/condition-01" />
    </entry>
  </section>
  <section id="functional-status">
    <extension url="http://hl7.org/fhir/StructureDefinition/note">
      <valueAnnotation>
        <time value="2024-10-02T12:12:12-06:00" />
        <text value="Annotation in markdown format" />
      </valueAnnotation>
    </extension>
    <title value="Functional Status" />
    <code>
      <coding>
        <system value="http://loinc.org" />
        <code value="47420-5" />
        <display value="Functional Status Assessment Note" />
      </coding>
    </code>
    <text>
      <status value="generated" />
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Functional Status</p>
      </div>
    </text>
    <entry>
      <reference value="Condition/condition-01" />
    </entry>
  </section>
  <section id="plan-of-care">
    <title value="Plan of Care" />
    <code>
      <coding>
        <system value="http://loinc.org" />
        <code value="18776-5" />
        <display value="Plan of Care Note" />
      </coding>
    </code>
    <text>
      <status value="generated" />
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>There is no plan of care because ...</p>
      </div>
    </text>
    <emptyReason>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/list-empty-reason" />
        <code value="unavailable" />
        <display value="Unavailable" />
      </coding>
      <text value="Unavailable" />
    </emptyReason>
  </section>
  <section id="social-history">
    <extension url="http://hl7.org/fhir/StructureDefinition/note">
      <valueAnnotation>
        <time value="2024-10-02T12:12:12-06:00" />
        <text value="Annotation in markdown format" />
      </valueAnnotation>
    </extension>
    <title value="Social History" />
    <code>
      <coding>
        <system value="http://loinc.org" />
        <code value="29762-2" />
        <display value="Social history note" />
      </coding>
    </code>
    <text>
      <status value="generated" />
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Social History</p>
      </div>
    </text>
    <entry>
      <reference value="Observation/observation-social-history-01" />
    </entry>
    <entry>
      <reference value="Observation/observation-social-history-02" />
    </entry>
    <entry>
      <reference value="Observation/observation-social-history-03" />
    </entry>
  </section>
  <section id="family-history">
    <extension url="http://hl7.org/fhir/StructureDefinition/note">
      <valueAnnotation>
        <time value="2024-10-02T12:12:12-06:00" />
        <text value="Annotation in markdown format" />
      </valueAnnotation>
    </extension>
    <title value="Family History" />
    <code>
      <coding>
        <system value="http://loinc.org" />
        <code value="10157-6" />
        <display value="History of family member diseases note" />
      </coding>
    </code>
    <text>
      <status value="generated" />
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Family History</p>
      </div>
    </text>
    <entry>
      <reference value="FamilyMemberHistory/family-member-history-01" />
    </entry>
  </section>
  <section id="pregnancy-history">
    <extension url="http://hl7.org/fhir/StructureDefinition/note">
      <valueAnnotation>
        <time value="2024-10-02T12:12:12-06:00" />
        <text value="Annotation in markdown format" />
      </valueAnnotation>
    </extension>
    <title value="Pregnancy History" />
    <code>
      <coding>
        <system value="http://loinc.org" />
        <code value="10162-6" />
        <display value="History of pregnancies Narrative" />
      </coding>
    </code>
    <text>
      <status value="generated" />
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Pregnancy History</p>
      </div>
    </text>
    <entry>
      <reference value="urn:uuid:4f786ae4-0de8-45f8-bbed-167a136870e1" />
    </entry>
  </section>
  <section id="advance-directives">
    <extension url="http://hl7.org/fhir/StructureDefinition/note">
      <valueAnnotation>
        <time value="2024-10-02T12:12:12-06:00" />
        <text value="Annotation in markdown format" />
      </valueAnnotation>
    </extension>
    <title value="Advance Directives" />
    <code>
      <coding>
        <system value="http://loinc.org" />
        <code value="42348-3" />
        <display value="Advance Healthcare Directives" />
      </coding>
    </code>
    <text>
      <status value="generated" />
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Advance Directives</p>
      </div>
    </text>
    <entry>
      <reference value="DocumentReference/document-reference-01" />
    </entry>
  </section>
</Composition>