<Composition xmlns="http://hl7.org/fhir">
  <id value="core-examples-Composition-example6" />
  <meta>
    <versionId value="4" />
    <lastUpdated value="2016-09-08T12:21:52.427+00:00" />
  </meta>
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
        <b>Generated Narrative with Details</b>
      </p>
      <p>
        <b>id</b>: 180f219f-97a8-486d-99d9-ed631fe4fc57</p>
      <p>
        <b>meta</b>: </p>
      <p>
        <b>date</b>: 01/02/2013 11:30:02 PM</p>
      <p>
        <b>type</b>: Discharge Summary from Responsible Clinician <span>(Details : {LOINC code '28655-9' = 'Physician attending Discharge summary)</span></p>
      <p>
        <b>title</b>: Discharge Summary</p>
      <p>
        <b>status</b>: final</p>
      <p>
        <b>confidentiality</b>: N</p>
      <p>
        <b>author</b>: <a>Doctor Dave</a></p>
      <p>
        <b>encounter</b>: <a>http://fhir.healthintersections.com.au/open/Encounter/doc-example</a></p>
    </div>
  </text>
  <date value="2013-02-01T12:30:02Z" />
  <type>
    <coding>
      <system value="http://loinc.org/" />
      <code value="28655-9" />
    </coding>
    <text value="Discharge Summary from Responsible Clinician" />
  </type>
  <title value="Discharge Summary" />
  <status value="final" />
  <confidentiality value="N" />
  <subject>
    <reference value="http://fhir.healthintersections.com.au/open/Patient/d1" />
    <display value="Eve Everywoman" />
  </subject>
  <author>
    <reference value="Practitioner/example" />
    <display value="Doctor Dave" />
  </author>
  <encounter>
    <reference value="http://fhir.healthintersections.com.au/open/Encounter/doc-example" />
  </encounter>
  <section>
    <title value="Reason for admission" />
    <code>
      <coding>
        <system value="http://loinc.org/" />
        <code value="29299-5" />
        <display value="Reason for visit Narrative" />
      </coding>
    </code>
    <text>
      <status value="additional" />
      <div xmlns="http://www.w3.org/1999/xhtml">
        <table>
          <thead>
            <tr>
              <td>Details</td>
              <td />
            </tr>
          </thead>
          <tbody>
            <tr>
              <td>Acute Asthmatic attack. Was wheezing for days prior to admission.</td>
              <td />
            </tr>
          </tbody>
        </table>
      </div>
    </text>
    <entry>
      <reference value="urn:uuid:541a72a8-df75-4484-ac89-ac4923f03b81" />
    </entry>
  </section>
  <section>
    <title value="Medications on Discharge" />
    <code>
      <coding>
        <system value="http://loinc.org/" />
        <code value="10183-2" />
        <display value="Hospital discharge medications Narrative" />
      </coding>
    </code>
    <text>
      <status value="additional" />
      <div xmlns="http://www.w3.org/1999/xhtml">
        <table>
          <thead>
            <tr>
              <td>Medication</td>
              <td>Last Change</td>
              <td>Last ChangeReason</td>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td>Theophylline 200mg BD after meals</td>
              <td>continued</td>
            </tr>
            <tr>
              <td>Ventolin Inhaler</td>
              <td>stopped</td>
              <td>Getting side effect of tremor</td>
            </tr>
          </tbody>
        </table>
      </div>
    </text>
    <mode value="working" />
    <entry>
      <reference value="urn:uuid:124a6916-5d84-4b8c-b250-10cefb8e6e86" />
    </entry>
    <entry>
      <reference value="urn:uuid:673f8db5-0ffd-4395-9657-6da00420bbc1" />
    </entry>
  </section>
  <section>
    <title value="Known allergies" />
    <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">
        <table>
          <thead>
            <tr>
              <td>Allergen</td>
              <td>Reaction</td>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td>Doxycycline</td>
              <td>Hives</td>
            </tr>
          </tbody>
        </table>
      </div>
    </text>
    <entry>
      <reference value="urn:uuid:47600e0f-b6b5-4308-84b5-5dec157f7637" />
    </entry>
  </section>
</Composition>