<Composition xmlns="http://hl7.org/fhir">
  <id value="composition-03" />
  <meta>
    <profile value="http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/composition-patient-summary" />
    <security>
      <system value="http://terminology.hl7.org/CodeSystem/v3-Confidentiality" />
      <code value="R" />
    </security>
  </meta>
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p class="res-header-id">
        <b>Generated Narrative: Composition composition-03</b>
      </p>
      <a name="composition-03"></a>
      <a name="hccomposition-03"></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>
        <p style="margin-bottom: 0px">Security Label: <a href="http://terminology.hl7.org/7.4.0/CodeSystem-v3-Confidentiality.html">restricted (Details: Confidentiality code R = 'restricted')</a></p>
      </div>
      <p>
        <b>identifier</b>: <code>http://example.org/NamingSystem/sample-identifiers</code>/Composition-PSAB-1.2.0-AllProfiles</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>date</b>: 2023-04-17 23:21:21+0000</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 - AB</p>
      <p>
        <b>confidentiality</b>: restricted</p>
      <p>
        <b>custodian</b>: <a href="https://simplifier.net/resolve?scope=ca.infoway.io.core@1.2.1-dft&amp;canonical=http://example.org/Organization/abhealth">Alberta Health</a></p>
    </div>
  </text>
  <identifier>
    <system value="http://example.org/NamingSystem/sample-identifiers" />
    <value value="Composition-PSAB-1.2.0-AllProfiles" />
  </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>
  <date value="2023-04-17T23:21:21+00:00" />
  <author>
    <reference value="PractitionerRole/practitioner-role-01" />
  </author>
  <title value="Patient Summary - AB" />
  <confidentiality value="R" />
  <custodian>
    <reference value="http://example.org/Organization/abhealth" />
    <display value="Alberta Health" />
  </custodian>
  <section id="medication-summary">
    <extension url="http://hl7.org/fhir/StructureDefinition/note">
      <valueAnnotation>
        <text value="Patient does not have drug coverage (Medication Section)" />
      </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="MedicationStatement/medication-statement-01" />
    </entry>
  </section>
  <section id="allergies-and-intolerances">
    <extension url="http://hl7.org/fhir/StructureDefinition/note">
      <valueAnnotation>
        <text value="Patient does not have drug coverage (Allergies Section)" />
      </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>
        <text value="Patient does not have drug coverage (Problem List Section)" />
      </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>
    <entry>
      <reference value="Condition/condition-01" />
    </entry>
  </section>
  <section id="history-of-procedures">
    <extension url="http://hl7.org/fhir/StructureDefinition/note">
      <valueAnnotation>
        <text value="2019-07 Appendectomy" />
      </valueAnnotation>
    </extension>
    <extension url="http://hl7.org/fhir/StructureDefinition/note">
      <valueAnnotation>
        <text value="1987 Eye surgery, correction of astigmatism" />
      </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">Procedure History</div>
    </text>
    <emptyReason>
      <text value="text-only" />
    </emptyReason>
  </section>
  <section id="vital-signs">
    <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>Vital Signs</p>
      </div>
    </text>
    <entry>
      <reference value="Observation/observation-bmi-02" />
    </entry>
    <entry>
      <reference value="Observation/observation-body-height-02" />
    </entry>
    <entry>
      <reference value="Observation/observation-body-weight-02" />
    </entry>
    <entry>
      <reference value="Observation/observation-body-temperature-02" />
    </entry>
  </section>
  <section id="social-history">
    <extension url="http://hl7.org/fhir/StructureDefinition/note">
      <valueAnnotation>
        <text value="Patient attending smoking cessation sessions" />
      </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">
    <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>
    <entry>
      <reference value="FamilyMemberHistory/family-member-history-01" />
    </entry>
  </section>
</Composition>