STU 1 Ballot

This page is part of the C-CDA on FHIR Implementation Guide (v1.6.0: STU 1 Ballot 1) based on FHIR v1.6.0. The current version which supercedes this version is 1.1.0. For a full list of available versions, see the Directory of published versions

@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/owl#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<Composition/ccda-discharge-summary-composition-example> a fhir:Composition;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "ccda-discharge-summary-composition-example"];
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "1" ];
     fhir:Meta.lastUpdated [ fhir:value "2016-06-15T08:16:14Z"^^xsd:dateTime ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/StructureDefinition/ccda-discharge-summary-composition";
       fhir:index 0     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p>Discharge Summary document for Henry Jones</p>\n      <p>Managed by Community Health and Hospitals</p>\n    </div>"
  ];
  fhir:extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/ccda/StructureDefinition/ccda-data-enterer-extension" ];
     fhir:Extension.valueUri [ fhir:value "http://fhirtest.uhn.ca/baseDstu3/Practitioner/117497" ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/ccda/StructureDefinition/ccda-informant-extension" ];
     fhir:Extension.valueUri [ fhir:value "http://fhirtest.uhn.ca/baseDstu3/Practitioner/117497" ]
  ], [
     fhir:index 2;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/ccda/StructureDefinition/ccda-information-recipient-extension" ];
     fhir:Extension.valueUri [ fhir:value "http://fhirtest.uhn.ca/baseDstu3/Practitioner/117497" ]
  ], [
     fhir:index 3;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/ccda/StructureDefinition/ccda-participant-extension" ];
     fhir:Extension.valueUri [ fhir:value "http://fhirtest.uhn.ca/baseDstu3/RelatedPerson/117466" ]
  ], [
     fhir:index 4;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/ccda/StructureDefinition/ccda-performer-extension" ];
     fhir:Extension.valueUri [ fhir:value "http://fhirtest.uhn.ca/baseDstu3/Practitioner/117497" ]
  ], [
     fhir:index 5;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/ccda/StructureDefinition/ccda-authorization-extension" ];
     fhir:Extension.valueUri [ fhir:value "http://hl7.org/fhir/ccda/StructureDefinition/ccda-consent" ]
  ];
  fhir:Composition.identifier [
     fhir:Identifier.system [ fhir:value "http://hl7.org/fhir/ccda/StructureDefinition/ccda-discharge-summary-composition" ];
     fhir:Identifier.value [ fhir:value "1" ]
  ];
  fhir:Composition.date [ fhir:value "2016-02-14T09:10:14Z"^^xsd:dateTime];
  fhir:Composition.type [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:concept loinc:18842-5;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "18842-5" ];
       fhir:Coding.display [ fhir:value "Discharge Summary" ]     ]
  ];
  fhir:Composition.title [ fhir:value "Discharge Summary(CCoF)"];
  fhir:Composition.status [ fhir:value "preliminary"];
  fhir:Composition.confidentiality [ fhir:value "N"];
  fhir:Composition.subject [
     fhir:link <http://fhirtest.uhn.ca/baseDstu3/Patient/117467>;
     fhir:Reference.reference [ fhir:value "http://fhirtest.uhn.ca/baseDstu3/Patient/117467" ];
     fhir:Reference.display [ fhir:value "Henry Jones" ]
  ];
  fhir:Composition.author [
     fhir:index 0;
     fhir:link <http://fhirtest.uhn.ca/baseDstu3/Practitioner/117497>;
     fhir:Reference.reference [ fhir:value "http://fhirtest.uhn.ca/baseDstu3/Practitioner/117497" ];
     fhir:Reference.display [ fhir:value "Adam Everyman, MD" ]
  ];
  fhir:Composition.custodian [
     fhir:link <http://fhirtest.uhn.ca/baseDstu3/Organization/117471>;
     fhir:Reference.reference [ fhir:value "http://fhirtest.uhn.ca/baseDstu3/Organization/117471" ];
     fhir:Reference.display [ fhir:value "Community Health and Hospitals" ]
  ];
  fhir:Composition.encounter [
     fhir:link <http://fhirtest.uhn.ca/baseDstu3/Encounter/117630>;
     fhir:Reference.reference [ fhir:value "http://fhirtest.uhn.ca/baseDstu3/Encounter/117630" ]
  ];
  fhir:Composition.section [
     fhir:index 0;
     fhir:Composition.section.title [ fhir:value "Allergies and Intolerances Section" ];
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:concept loinc:48765-2;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "48765-2" ];
         fhir:Coding.display [ fhir:value "Allergies and adverse reactions" ]       ]     ];
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ];
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n        <table>\n          <tr>\n            <td>\n              <b>Substance</b>\n            </td>\n            <td>\n              <b>Overall Severity</b>\n            </td>\n            <td>\n              <b>Reaction</b>\n            </td>\n            <td>\n              <b>Reaction Severity</b>\n            </td>\n            <td>\n              <b>Status</b>\n            </td>\n          </tr>\n          <tr>\n            <td>Cashew Nut</td>\n            <td>Severe</td>\n            <td>Anaphylactic reaction</td>\n            <td>Mild</td>\n            <td>Active</td>\n          </tr>\n        </table>\n      </div>"     ];
     fhir:Composition.section.mode [ fhir:value "snapshot" ];
     fhir:Composition.section.orderedBy [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/list-order" ];
         fhir:Coding.code [ fhir:value "event-date" ];
         fhir:Coding.display [ fhir:value "Sorted by Event Date" ]       ]     ];
     fhir:Composition.section.entry [
       fhir:index 0;
       fhir:link <http://fhirtest.uhn.ca/baseDstu3/AllergyIntolerance/117632>;
       fhir:Reference.reference [ fhir:value "http://fhirtest.uhn.ca/baseDstu3/AllergyIntolerance/117632" ]     ]
  ], [
     fhir:index 1;
     fhir:Composition.section.title [ fhir:value "Chief Complaint and Reason for Visit Section" ];
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:concept loinc:46239-0;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "46239-0" ];
         fhir:Coding.display [ fhir:value "Chief complaint and reason for visit" ]       ]     ];
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ];
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n        <p>Cramping, bloating, and constipation.</p>\n      </div>"     ]
  ], [
     fhir:index 2;
     fhir:Composition.section.title [ fhir:value "Chief Complaint Section" ];
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:concept loinc:10154-3;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "10154-3" ];
         fhir:Coding.display [ fhir:value "Chief complaint" ]       ]     ];
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ];
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n        <p>Dark Stools</p>\n      </div>"     ]
  ], [
     fhir:index 3;
     fhir:Composition.section.title [ fhir:value "Reason for Visit Section" ];
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:concept loinc:29299-5;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "29299-5" ];
         fhir:Coding.display [ fhir:value "Reason for visit" ]       ]     ];
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ];
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n        <p>Tenderness of lower abdomen</p>\n      </div>"     ]
  ], [
     fhir:index 4;
     fhir:Composition.section.title [ fhir:value "Admission Diagnosis Section" ];
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:concept loinc:46241-6;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "46241-6" ];
         fhir:Coding.display [ fhir:value "Hospital admission diagnosis" ]       ]     ];
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ];
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n        <p>Appendicitis</p>\n      </div>"     ]
  ], [
     fhir:index 5;
     fhir:Composition.section.title [ fhir:value "Admission Medications Section" ];
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:concept loinc:42346-7;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "42346-7" ];
         fhir:Coding.display [ fhir:value "Medications on admission" ]       ]     ];
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ];
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n        <table>\n          <tr>\n            <td>\n              <b>Medication</b>\n            </td>\n            <td>\n              <b>Directions</b>\n            </td>\n            <td>\n              <b>Start Date</b>\n            </td>\n            <td>\n              <b>Status</b>\n            </td>\n            <td>\n              <b>Indications</b>\n            </td>\n            <td>\n              <b>Fill Instructions</b>\n            </td>\n          </tr>\n          <tr>\n            <td>Pepcid Complete (MAGNESIUM HYDROXIDE0</td>\n            <td>Chew one tablet completely and swallow as needed </td>\n            <td>20151029</td>\n            <td>Active</td>\n            <td>Bloating</td>\n            <td>Generic substitution allowed</td>\n          </tr>\n        </table>\n      </div>"     ]
  ], [
     fhir:index 6;
     fhir:Composition.section.title [ fhir:value "History of Past Illness Section" ];
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:concept loinc:11348-0;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "11348-0" ];
         fhir:Coding.display [ fhir:value "History of past illness" ]       ]     ];
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ];
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n        <table>\n          <tr>\n            <td>\n              <b>Problem Name</b>\n            </td>\n            <td>\n              <b>Type</b>\n            </td>\n            <td>\n              <b>Onset Date</b>\n            </td>\n            <td>\n              <b>Abatement Date</b>\n            </td>\n            <td>\n              <b>Status</b>\n            </td>\n          </tr>\n          <tr>\n            <td>Fever</td>\n            <td>Condition</td>\n            <td>2016-04-01</td>\n            <td>2016-04-14</td>\n            <td>Complete</td>\n          </tr>\n        </table>\n      </div>"     ];
     fhir:Composition.section.entry [
       fhir:index 0;
       fhir:link <http://fhirtest.uhn.ca/baseDstu3/Condition/117648>;
       fhir:Reference.reference [ fhir:value "http://fhirtest.uhn.ca/baseDstu3/Condition/117648" ]     ]
  ], [
     fhir:index 7;
     fhir:Composition.section.title [ fhir:value "History of Present Illness Section" ];
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:concept loinc:10164-2;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "10164-2" ];
         fhir:Coding.display [ fhir:value "History of present illness" ]       ]     ];
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ];
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n        <p>This patient was only recently discharged for a recurrent GI bleed as described below. </p>\n        <p>He presented to the ER today c/o a dark stool yesterday but a normal brown\n                    stool today. On exam he was hypotensive in the 80?s resolved after .... .... .... </p>\n        <p>Lab at discharge: Glucose 112, BUN 16, creatinine 1.1, electrolytes normal.\n                    H. pylori antibody pending. Admission hematocrit 16%, discharge hematocrit 29%. WBC\n                    7300, platelet count 256,000. Urinalysis normal. Urine culture: No growth. INR 1.1,\n                    PTT 40. </p>\n        <p>He was transfused with 6 units of packed red blood cells with .... .... .... </p>\n        <p>GI evaluation 12 September: Colonoscopy showed single red clot in .... ........ </p>\n      </div>"     ]
  ], [
     fhir:index 8;
     fhir:Composition.section.title [ fhir:value "Review of Systems Section" ];
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:concept loinc:10187-3;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "10187-3" ];
         fhir:Coding.display [ fhir:value "Review of systems" ]       ]     ];
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ];
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n        <p>Patient denies recent history of fever or malaise. Positive for weakness and\n                    shortness of breath. One episode of melena. No recent headaches. Positive for\n                    osteoarthritis in hips, knees and hands. </p>\n      </div>"     ]
  ], [
     fhir:index 9;
     fhir:Composition.section.title [ fhir:value "Family History Section" ];
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:concept loinc:10157-6;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "10157-6" ];
         fhir:Coding.display [ fhir:value "History of family member diseases" ]       ]     ];
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ];
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n        <table>\n          <tr>\n            <td>\n              <b>Relationship</b>\n            </td>\n            <td>\n              <b>Diagnosis</b>\n            </td>\n            <td>\n              <b>Age at Onset</b>\n            </td>\n          </tr>\n          <tr>\n            <td>Father</td>\n            <td>Myocardial Infarction(cause of Death)</td>\n            <td>57</td>\n          </tr>\n          <tr>\n            <td>Father</td>\n            <td>Diabetes</td>\n            <td>40</td>\n          </tr>\n        </table>\n      </div>"     ];
     fhir:Composition.section.entry [
       fhir:index 0;
       fhir:link <http://fhirtest.uhn.ca/baseDstu3/FamilyMemberHistory/117652>;
       fhir:Reference.reference [ fhir:value "http://fhirtest.uhn.ca/baseDstu3/FamilyMemberHistory/117652" ]     ]
  ], [
     fhir:index 10;
     fhir:Composition.section.title [ fhir:value "Social History Section" ];
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:concept loinc:29762-2;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "29762-2" ];
         fhir:Coding.display [ fhir:value "Social history" ]       ]     ];
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ];
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n        <table>\n          <tr>\n            <td>\n              <b>Social History Element</b>\n            </td>\n            <td>\n              <b>Description</b>\n            </td>\n            <td>\n              <b>Effective Dates</b>\n            </td>\n          </tr>\n          <tr>\n            <td>Smoking</td>\n            <td>1 pack tobacco per day</td>\n            <td>2005/05/01 - 2010/02/28</td>\n          </tr>\n        </table>\n      </div>"     ];
     fhir:Composition.section.entry [
       fhir:index 0;
       fhir:link <http://fhirtest.uhn.ca/baseDstu3/Observation/117688>;
       fhir:Reference.reference [ fhir:value "http://fhirtest.uhn.ca/baseDstu3/Observation/117688" ]     ]
  ], [
     fhir:index 11;
     fhir:Composition.section.title [ fhir:value "Functional Status Section" ];
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:concept loinc:47420-5;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "47420-5" ];
         fhir:Coding.display [ fhir:value "Functional status" ]       ]     ];
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ];
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n        <table>\n          <tr>\n            <td>\n              <b>Functional or Cognitive Finding</b>\n            </td>\n            <td>\n              <b>Observation</b>\n            </td>\n            <td>\n              <b>Observation Date</b>\n            </td>\n            <td>\n              <b>Condition Status</b>\n            </td>\n          </tr>\n          <tr>\n            <td>Ambulation (Dependent to Independent</td>\n            <td>Independently able</td>\n            <td>2010/03/11</td>\n            <td>Active</td>\n          </tr>\n          <tr>\n            <td>Finding of Functional Performance and Activity</td>\n            <td>Dyspnea</td>\n            <td>2008/02/16</td>\n            <td>Active</td>\n          </tr>\n          <tr>\n            <td>Cognitive Function Finding</td>\n            <td>Memory Impairment</td>\n            <td>2014/04/29</td>\n            <td>Active</td>\n          </tr>\n        </table>\n      </div>"     ]
  ], [
     fhir:index 12;
     fhir:Composition.section.title [ fhir:value "Hospital Course Section" ];
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:concept loinc:8648-8;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "8648-8" ];
         fhir:Coding.display [ fhir:value "Hospital course" ]       ]     ];
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ];
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n        <p>Following a colonoscopy, the patient was admitted and started on Lovenox and\n                    nitroglycerin paste. The patient had serial cardiac enzymes and was ruled out for\n                    myocardial infarction. The patient underwent a dual isotope stress test. There was no\n                    evidence of reversible ischemia on the Cardiolite scan. The patient has been ambulated.\n                    The patient had a Holter monitor placed but the report is not available at this time.\n                    The patient has remained hemodynamically stable. Will discharge.</p>\n      </div>"     ]
  ], [
     fhir:index 13;
     fhir:Composition.section.title [ fhir:value "Hospital Consultations Section" ];
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:concept loinc:18841-7;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "18841-7" ];
         fhir:Coding.display [ fhir:value "Hospital consultations" ]       ]     ];
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ];
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n        <p>listType=&quot;ordered&quot;</p>\n        <p>Gastroenterology</p>\n        <p>Cardiology</p>\n        <p>Dietitian</p>\n      </div>"     ]
  ], [
     fhir:index 14;
     fhir:Composition.section.title [ fhir:value "Plan of Treatment Section" ];
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:concept loinc:18776-5;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "18776-5" ];
         fhir:Coding.display [ fhir:value "Plan of treatment" ]       ]     ];
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ];
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n        <table>\n          <tr>\n            <td>\n              <b>Planned Activity</b>\n            </td>\n            <td>\n              <b>Period</b>\n            </td>\n            <td>\n              <b>Status</b>\n            </td>\n          </tr>\n          <tr>\n            <td>Colonoscopy</td>\n            <td>2010/08/16 - 2010/08/16</td>\n            <td>Completed</td>\n          </tr>\n          <tr>\n            <td>Recommendation to Exercise</td>\n            <td>2015/10/29</td>\n            <td>Ongoing</td>\n          </tr>\n        </table>\n      </div>"     ]
  ], [
     fhir:index 15;
     fhir:Composition.section.title [ fhir:value "Problem Section" ];
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:concept loinc:11450-4;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "11450-4" ];
         fhir:Coding.display [ fhir:value "Problem list" ]       ]     ];
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ];
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n        <table>\n          <tr>\n            <td>\n              <b>Problem Name</b>\n            </td>\n            <td>\n              <b>Type</b>\n            </td>\n            <td>\n              <b>Onset Date</b>\n            </td>\n            <td>\n              <b>Abatement Date</b>\n            </td>\n            <td>\n              <b>Status</b>\n            </td>\n          </tr>\n          <tr>\n            <td>Fever</td>\n            <td>Condition</td>\n            <td>2016-04-01</td>\n            <td>2016-04-14</td>\n            <td>Complete</td>\n          </tr>\n        </table>\n      </div>"     ];
     fhir:Composition.section.entry [
       fhir:index 0;
       fhir:link <http://fhirtest.uhn.ca/baseDstu3/Condition/117648>;
       fhir:Reference.reference [ fhir:value "http://fhirtest.uhn.ca/baseDstu3/Condition/117648" ]     ]
  ], [
     fhir:index 16;
     fhir:Composition.section.title [ fhir:value "Procedures Section" ];
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:concept loinc:47519-4;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "47519-4" ];
         fhir:Coding.display [ fhir:value "History of procedures" ]       ]     ];
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ];
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n        <table>\n          <tr>\n            <td>\n              <b>Procedure Name</b>\n            </td>\n            <td>\n              <b>Body Site</b>\n            </td>\n            <td>\n              <b>Performer</b>\n            </td>\n            <td>\n              <b>Date Performed</b>\n            </td>\n            <td>\n              <b>Reason</b>\n            </td>\n          </tr>\n          <tr>\n            <td>Appendectomy (Procedure)</td>\n            <td>Abdomen</td>\n            <td>Dr. Adam Everyman</td>\n            <td>20160405</td>\n            <td>Generalized abdominal pain 24 hours. Localized in RIF with rebound and guarding</td>\n          </tr>\n        </table>\n      </div>"     ];
     fhir:Composition.section.entry [
       fhir:index 0;
       fhir:link <http://fhirtest.uhn.ca/baseDstu3/Procedure/117687>;
       fhir:Reference.reference [ fhir:value "http://fhirtest.uhn.ca/baseDstu3/Procedure/117687" ]     ]
  ], [
     fhir:index 17;
     fhir:Composition.section.title [ fhir:value "Discharge Diagnosis Section" ];
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:concept loinc:11535-2;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "11535-2" ];
         fhir:Coding.display [ fhir:value " Hospital discharge diagnosis" ]       ]     ];
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ];
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n        <p>Diverticula of intestine</p>\n      </div>"     ]
  ], [
     fhir:index 18;
     fhir:Composition.section.title [ fhir:value "Discharge Medications Section (entries optional)" ];
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:concept loinc:10183-2;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "10183-2" ];
         fhir:Coding.display [ fhir:value "Hospital discharge medications" ]       ]     ];
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ];
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n        <table>\n          <tr>\n            <td>\n              <b>Medication</b>\n            </td>\n            <td>\n              <b>Directions</b>\n            </td>\n            <td>\n              <b>Start Date</b>\n            </td>\n            <td>\n              <b>Status</b>\n            </td>\n            <td>\n              <b>Indications</b>\n            </td>\n            <td>\n              <b>Fill Instructions</b>\n            </td>\n          </tr>\n          <tr>\n            <td>Proventil HFA</td>\n            <td>Inhalant solution - 2 puffs QID PRN wheezing</td>\n            <td>20151029</td>\n            <td>Active</td>\n            <td>Pneumonia</td>\n            <td>Generic substitution allowed</td>\n          </tr>\n        </table>\n      </div>"     ]
  ], [
     fhir:index 19;
     fhir:Composition.section.title [ fhir:value "Discharge Medications Section (entries required)" ];
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:concept loinc:10183-2;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "10183-2" ];
         fhir:Coding.display [ fhir:value "Hospital discharge medications" ]       ]     ];
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ];
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n        <table>\n          <tr>\n            <td>\n              <b>Medication</b>\n            </td>\n            <td>\n              <b>Directions</b>\n            </td>\n            <td>\n              <b>Start Date</b>\n            </td>\n            <td>\n              <b>Status</b>\n            </td>\n            <td>\n              <b>Indications</b>\n            </td>\n            <td>\n              <b>Fill Instructions</b>\n            </td>\n          </tr>\n          <tr>\n            <td>Acetaminophen Tab 325 mg</td>\n            <td>Take 2 tablet(s) every four hours if needed</td>\n            <td>20151029</td>\n            <td>Active</td>\n            <td>Pain management</td>\n            <td>Generic substitution allowed</td>\n          </tr>\n        </table>\n      </div>"     ]
  ], [
     fhir:index 20;
     fhir:Composition.section.title [ fhir:value "Hospital Discharge Instructions Section" ];
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:concept loinc:8653-8;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "8653-8" ];
         fhir:Coding.display [ fhir:value "Hospital discharge instructions" ]       ]     ];
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ];
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n        <p>Take all of your prescription medication as directed. </p>\n        <p>Make an appointment with your doctor to be seen two weeks from the date of your procedure. </p>\n        <p>You may feel slightly bloated after the procedure because of air that was\n                    introduced during the examination. </p>\n        <p> Call your physician if you notice: <br/> Bleeding or black stools. <br/>\n                    Abdominal pain. <br/> Fever or chills. <br/> Nausea or vomiting. <br/> Any unusual\n                    pain or problem. <br/> Pain or redness at the site where the intravenous needle was\n                    placed. <br/>\n                </p>\n        <p>Do not drink alcohol for 24 hours. Alcohol amplifies the effect of the sedatives given. </p>\n        <p>Do not drive or operate machinery for 24 hours.</p>\n      </div>"     ]
  ], [
     fhir:index 21;
     fhir:Composition.section.title [ fhir:value "Hospital Discharge Physical Section" ];
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:concept loinc:10184-0;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "10184-0" ];
         fhir:Coding.display [ fhir:value "Hospital discharge physical" ]       ]     ];
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ];
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n        <p>GENERAL: Well-developed, slightly obese man. </p>\n        <p>NECK: Supple, with no jugular venous distension.</p>\n        <p>HEART: Intermittent tachycardia without murmurs or gallops. </p>\n        <p>PULMONARY: Decreased breath sounds, but no clear-cut rales or wheezes.</p>\n        <p>EXTREMITIES: Free of edema.</p>\n      </div>"     ]
  ], [
     fhir:index 22;
     fhir:Composition.section.title [ fhir:value "Hospital Discharge Studies Section" ];
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:concept loinc:11493-4;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "11493-4" ];
         fhir:Coding.display [ fhir:value "Hospital discharge studies summary" ]       ]     ];
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ];
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n        <table border=\"1\" width=\"100%\">\n          <thead>\n            <tr>\n              <th>Laboratory Information</th>\n              <th>Chemistries and drug levels</th>\n            </tr>\n          </thead>\n          <tbody>\n            <tr>\n              <td>Potasium</td>\n              <td>4.0</td>\n            </tr>\n            <tr>\n              <td>NA (135-145meq/l)</td>\n              <td>140</td>\n            </tr>\n          </tbody>\n        </table>\n        <br/>\n        <table border=\"1\" width=\"100%\">\n          <thead>\n            <tr>\n              <th>Other Tests</th>\n              <th>Results</th>\n            </tr>\n          </thead>\n          <tbody>\n            <tr>\n              <td>EKG</td>\n              <td>Sinus rhythm without acute changes.</td>\n            </tr>\n          </tbody>\n        </table>\n      </div>"     ]
  ], [
     fhir:index 23;
     fhir:Composition.section.title [ fhir:value "Immunizations Section" ];
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:concept loinc:11369-6;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "11369-6" ];
         fhir:Coding.display [ fhir:value "History of immunization" ]       ]     ];
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ];
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n        <table>\n          <tr>\n            <td>\n              <b>Vaccine</b>\n            </td>\n            <td>\n              <b>Date</b>\n            </td>\n            <td>\n              <b>Status</b>\n            </td>\n          </tr>\n          <tr>\n            <td>Fluvax (Influenza)</td>\n            <td>2016-04-05</td>\n            <td>Completed</td>\n          </tr>\n        </table>\n      </div>"     ];
     fhir:Composition.section.entry [
       fhir:index 0;
       fhir:link <http://fhirtest.uhn.ca/baseDstu3/Immunization/117678>;
       fhir:Reference.reference [ fhir:value "http://fhirtest.uhn.ca/baseDstu3/Immunization/117678" ]     ]
  ], [
     fhir:index 24;
     fhir:Composition.section.title [ fhir:value " Nutrition Section" ];
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:concept loinc:61144-2;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "61144-2" ];
         fhir:Coding.display [ fhir:value "Diet and nutrition" ]       ]     ];
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ];
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n        <table>\n          <tr>\n            <td>\n              <b>Date</b>\n            </td>\n            <td>\n              <b>Nutritional Status</b>\n            </td>\n            <td>\n              <b>Diet</b>\n            </td>\n          </tr>\n          <tr>\n            <td>2005/12/29</td>\n            <td>Well nourished</td>\n            <td>Low sodium diet, excessive carbohydrate</td>\n          </tr>\n          <tr>\n            <td>2010/05/26</td>\n            <td>Slight dehydration</td>\n            <td>High protein, low fibre</td>\n          </tr>\n        </table>\n      </div>"     ]
  ], [
     fhir:index 25;
     fhir:Composition.section.title [ fhir:value "Vital Signs Section" ];
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:concept loinc:8716-3;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "8716-3" ];
         fhir:Coding.display [ fhir:value "Vital signs" ]       ]     ];
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ];
       fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n        <table>\n          <tr>\n            <td>\n              <b>Vital Sign</b>\n            </td>\n            <td>\n              <b>Date</b>\n            </td>\n            <td>\n              <b>Value</b>\n            </td>\n          </tr>\n          <tr>\n            <td>Temperature</td>\n            <td>2016/04/05</td>\n            <td>39 Degrees Celcius</td>\n          </tr>\n        </table>\n      </div>"     ];
     fhir:Composition.section.entry [
       fhir:index 0;
       fhir:link <http://fhirtest.uhn.ca/baseDstu3/Observation/117689>;
       fhir:Reference.reference [ fhir:value "http://fhirtest.uhn.ca/baseDstu3/Observation/117689" ]     ]
  ].