<Composition xmlns="http://hl7.org/fhir">
  <id value="composition-02" />
  <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-02</b>
      </p>
      <a name="composition-02"></a>
      <a name="hccomposition-02"></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</code>/12345678</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>: 2021-09-11 16: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 January 5, 2022 16: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>2020-12-11 14:30:00+0100</td>
          <td>
            <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>
          </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>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>2020-12-11 14:00:00+0100 --&gt; 2020-12-11 14:30:00+0100</td>
        </tr>
      </table>
    </div>
  </text>
  <identifier>
    <system value="http://example.org" />
    <value value="12345678" />
  </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="2021-09-11T16:30:00+01:00" />
  <author>
    <reference value="PractitionerRole/practitioner-role-01" />
  </author>
  <title value="Patient Summary as of January 5, 2022 16:30" />
  <confidentiality value="R" />
  <attester>
    <mode value="legal" />
    <time value="2020-12-11T14:30:00+01:00" />
    <party>
      <reference value="PractitionerRole/practitioner-role-01" />
    </party>
  </attester>
  <custodian>
    <reference value="Organization/organization-01" />
  </custodian>
  <event>
    <code>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-ActClass" />
        <code value="PCPR" />
      </coding>
    </code>
    <period>
      <start value="2020-12-11T14:00:00+01:00" />
      <end value="2020-12-11T14:30:00+01:00" />
    </period>
  </event>
  <section id="problem-list">
    <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="generated" />
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <b>Generated Narrative</b>
        </p>
        <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">Resource "heart-condition-example" </p>
          <p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-condition-ca-ps.html">Condition (PS-CA)</a></p>
        </div>
        <p>
          <b>clinicalStatus</b>: Active <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/3.0.0/CodeSystem-condition-clinical.html">Condition Clinical Status Codes</a>#active)</span></p>
        <p>
          <b>verificationStatus</b>: Confirmed <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/3.0.0/CodeSystem-condition-ver-status.html">ConditionVerificationStatus</a>#confirmed)</span></p>
        <p>
          <b>category</b>: Problem List Item <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/3.0.0/CodeSystem-condition-category.html">Condition Category Codes</a>#problem-list-item)</span></p>
        <p>
          <b>severity</b>: Moderate <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a>#6736007)</span></p>
        <p>
          <b>code</b>: Disorder of heart valve <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a>#368009 "Heart valve disorder")</span></p>
        <p>
          <b>bodySite</b>: heart structure <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a>#40768004 "Left thorax")</span></p>
        <p>
          <b>subject</b>: <a href="Patient-patient1-example.html">Patient/patient1-example: Donald Duck</a> " DONALD"</p>
        <p>
          <b>onset</b>: 2021-08-05</p>
        <p>
          <b>asserter</b>: <a href="Patient-patient1-example.html">Patient/patient1-example: Donald Duck</a> " DONALD"</p>
      </div>
    </text>
    <entry>
      <reference value="Condition/condition-01" />
    </entry>
  </section>
  <section id="medication-summary">
    <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="generated" />
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <b>Generated Narrative</b>
        </p>
        <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">Resource "simvastatin-request-example" </p>
          <p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-medicationrequest-ca-ps.html">Medication Request (PS-CA)</a></p>
        </div>
        <p>
          <b>status</b>: active</p>
        <p>
          <b>intent</b>: order</p>
        <p>
          <b>medication</b>: Fluspiral 50 mcg <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/3.0.0/CodeSystem-atc.html">WHO ATC</a>#C10AA01 "simvastatin")</span></p>
        <p>
          <b>subject</b>: <a href="Patient-patient1-example.html">Patient/patient1-example: Donald Duck</a> " DONALD"</p>
        <p>
          <b>authoredOn</b>: 2021-10-10</p>
        <p>
          <b>requester</b>: <a href="Practitioner-practitioner1-example.html">Practitioner/practitioner1-example: Patrick Pump</a> " PUMP"</p>
        <h3>DispenseRequests</h3>
        <table class="grid">
          <tr>
            <td>-</td>
            <td>
              <b>ValidityPeriod</b>
            </td>
          </tr>
          <tr>
            <td>*</td>
            <td>2021-01-01 --&gt; (ongoing)</td>
          </tr>
        </table>
      </div>
    </text>
    <entry>
      <reference value="MedicationRequest/medication-request-01" />
    </entry>
  </section>
  <section id="allergies-and-intolerances">
    <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="generated" />
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <b>Generated Narrative</b>
        </p>
        <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">Resource "cashew-allergy-example" </p>
          <p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-allergyintolerance-ca-ps.html">Allergy Intolerance (PS-CA)</a></p>
        </div>
        <p>
          <b>clinicalStatus</b>: Active <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/3.0.0/CodeSystem-allergyintolerance-clinical.html">AllergyIntolerance Clinical Status Codes</a>#active)</span></p>
        <p>
          <b>verificationStatus</b>: Confirmed present <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/3.0.0/CodeSystem-allergyintolerance-verification.html">AllergyIntolerance Verification Status</a>#confirmed; <a href="https://browser.ihtsdotools.org/">SNOMED CT</a>#410605003)</span></p>
        <p>
          <b>type</b>: allergy</p>
        <p>
          <b>criticality</b>: high</p>
        <p>
          <b>code</b>: Cashew nut (substance) <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a>#227493005)</span></p>
        <p>
          <b>patient</b>: <a href="Patient-patient1-example.html">Patient/patient1-example: Donald Duck</a> " DONALD"</p>
        <p>
          <b>onset</b>: 2004</p>
        <p>
          <b>asserter</b>: <a href="Patient-patient1-example.html">Patient/patient1-example: Donald Duck</a> " DONALD"</p>
        <h3>Reactions</h3>
        <table class="grid">
          <tr>
            <td>-</td>
            <td>
              <b>Manifestation</b>
            </td>
            <td>
              <b>Onset</b>
            </td>
            <td>
              <b>Severity</b>
            </td>
          </tr>
          <tr>
            <td>*</td>
            <td>Anaphylactic reaction <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a>#39579001)</span></td>
            <td>2004-06-12</td>
            <td>severe</td>
          </tr>
        </table>
      </div>
    </text>
    <entry>
      <reference value="AllergyIntolerance/allergy-intolerance-01" />
    </entry>
  </section>
</Composition>