{"resourceType":"Composition","id":"example","text":{"status":"generated","div":"\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\n\t\t\t\u003cp\u003eConsultation note for Henry Levin the 7th\u003c/p\u003e\n\t\t\t\u003cp\u003eManaged by Good Health Clinic\u003c/p\u003e\n\t\t\u003c/div\u003e"},"identifier":[{"system":"http://healthintersections.com.au/test","value":"1"}],"status":"final","type":{"coding":[{"system":"http://loinc.org","code":"11488-4","display":"Consult note"}]},"category":[{"coding":[{"system":"http://loinc.org","code":"LP183761-8","display":"Report"}]}],"subject":[{"reference":"Patient/xcda","display":"Henry Levin the 7th"}],"encounter":{"reference":"Encounter/xcda"},"date":"2012-01-04T09:10:14Z","author":[{"reference":"Practitioner/xcda-author","display":"Harold Hippocrates, MD"}],"title":"Consultation Note","attester":[{"mode":{"coding":[{"system":"http://hl7.org/fhir/composition-attestation-mode","code":"legal","display":"Legal"}]},"time":"2012-01-04T09:10:14Z","party":{"reference":"Practitioner/xcda-author","display":"Harold Hippocrates, MD"}}],"custodian":{"reference":"Organization/2.16.840.1.113883.19.5","display":"Good Health Clinic"},"relatesTo":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/artifact-relationship-type","code":"replaces","display":"Replaces"}]},"targetReference":{"reference":"Composition/old-example"}},{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/artifact-relationship-type","code":"appends","display":"Appends"}]},"targetReference":{"identifier":{"system":"http://example.org/fhir/NamingSystem/document-ids","value":"ABC123"}}}],"event":[{"period":{"start":"2010-07-18","end":"2012-11-12"},"detail":[{"concept":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ActCode","code":"HEALTHREC","display":"health record"}]},"reference":{"reference":"Observation/example"}}]}],"section":[{"title":"History of present illness","code":{"coding":[{"system":"http://loinc.org","code":"11348-0","display":"History of Past illness note"}]},"text":{"status":"generated","div":"\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\n\t\t\t\t\u003ctable\u003e\n\t\t\t\t\t\u003ctr\u003e\n\t\t\t\t\t\t\u003ctd\u003e\n\t\t\t\t\t\t\t\u003cb\u003eCode\u003c/b\u003e\n\t\t\t\t\t\t\u003c/td\u003e\n\t\t\t\t\t\t\u003ctd\u003e\n\t\t\t\t\t\t\t\u003cb\u003eDate\u003c/b\u003e\n\t\t\t\t\t\t\u003c/td\u003e\n\t\t\t\t\t\t\u003ctd\u003e\n\t\t\t\t\t\t\t\u003cb\u003eType\u003c/b\u003e\n\t\t\t\t\t\t\u003c/td\u003e\n\t\t\t\t\t\t\u003ctd\u003e\n\t\t\t\t\t\t\t\u003cb\u003eBodySite\u003c/b\u003e\n\t\t\t\t\t\t\u003c/td\u003e\n\t\t\t\t\t\t\u003ctd\u003e\n\t\t\t\t\t\t\t\u003cb\u003eSeverity\u003c/b\u003e\n\t\t\t\t\t\t\u003c/td\u003e\n\t\t\t\t\t\u003c/tr\u003e\n\t\t\t\t\t\u003ctr\u003e\n\t\t\t\t\t\t\u003ctd\u003eStroke\u003c/td\u003e\n\t\t\t\t\t\t\u003ctd\u003e2010-07-18\u003c/td\u003e\n\t\t\t\t\t\t\u003ctd\u003eDiagnosis\u003c/td\u003e\n\t\t\t\t\t\t\u003ctd/\u003e\n\t\t\t\t\t\t\u003ctd/\u003e\n\t\t\t\t\t\u003c/tr\u003e\n\t\t\t\t\t\u003ctr\u003e\n\t\t\t\t\t\t\u003ctd\u003eBurnt Ear\u003c/td\u003e\n\t\t\t\t\t\t\u003ctd\u003e2012-05-24\u003c/td\u003e\n\t\t\t\t\t\t\u003ctd\u003eDiagnosis\u003c/td\u003e\n\t\t\t\t\t\t\u003ctd\u003eLeft Ear\u003c/td\u003e\n\t\t\t\t\t\t\u003ctd/\u003e\n\t\t\t\t\t\u003c/tr\u003e\n\t\t\t\t\t\u003ctr\u003e\n\t\t\t\t\t\t\u003ctd\u003eAsthma\u003c/td\u003e\n\t\t\t\t\t\t\u003ctd\u003e2012-11-12\u003c/td\u003e\n\t\t\t\t\t\t\u003ctd\u003eFinding\u003c/td\u003e\n\t\t\t\t\t\t\u003ctd/\u003e\n\t\t\t\t\t\t\u003ctd\u003eMild\u003c/td\u003e\n\t\t\t\t\t\u003c/tr\u003e\n\t\t\t\t\u003c/table\u003e\n\t\t\t\u003c/div\u003e"},"orderedBy":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/list-order","code":"event-date","display":"Sorted by Event Date"}]},"entry":[{"reference":"Condition/stroke"},{"reference":"Condition/example"},{"reference":"Condition/example2"}]},{"title":"History of family member diseases","code":{"coding":[{"system":"http://loinc.org","code":"10157-6","display":"History of family member diseases note"}]},"text":{"status":"generated","div":"\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\n\t\t\t\t\u003cp\u003eHistory of family member diseases - not available\u003c/p\u003e\n\t\t\t\u003c/div\u003e"},"emptyReason":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/list-empty-reason","code":"withheld","display":"Information Withheld"}]}}]}
{"resourceType":"Composition","id":"180f219f-97a8-486d-99d9-ed631fe4fc57","meta":{"lastUpdated":"2013-05-28T22:12:21Z"},"text":{"status":"generated","div":"\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\u003cp class\u003d\"res-header-id\"\u003e\u003cb\u003eGenerated Narrative: Composition 180f219f-97a8-486d-99d9-ed631fe4fc57\u003c/b\u003e\u003c/p\u003e\u003ca name\u003d\"180f219f-97a8-486d-99d9-ed631fe4fc57\"\u003e \u003c/a\u003e\u003ca name\u003d\"hc180f219f-97a8-486d-99d9-ed631fe4fc57\"\u003e \u003c/a\u003e\u003cdiv style\u003d\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"\u003e\u003cp style\u003d\"margin-bottom: 0px\"\u003eLast updated: 2013-05-28T22:12:21Z\u003c/p\u003e\u003c/div\u003e\u003cp\u003e\u003cb\u003estatus\u003c/b\u003e: Final\u003c/p\u003e\u003cp\u003e\u003cb\u003etype\u003c/b\u003e: \u003cspan title\u003d\"Codes:{http://loinc.org 28655-9}\"\u003eDischarge Summary from Responsible Clinician\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003eencounter\u003c/b\u003e: \u003ca href\u003d\"broken-link.html\"\u003ehttp://fhir.healthintersections.com.au/open/Encounter/doc-example\u003c/a\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003edate\u003c/b\u003e: 2013-02-01T12:30:02Z\u003c/p\u003e\u003cp\u003e\u003cb\u003eauthor\u003c/b\u003e: \u003ca href\u003d\"practitioner-example.html\"\u003eDoctor Dave\u003c/a\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003etitle\u003c/b\u003e: Discharge Summary\u003c/p\u003e\u003c/div\u003e"},"status":"final","type":{"coding":[{"system":"http://loinc.org","code":"28655-9"}],"text":"Discharge Summary from Responsible Clinician"},"subject":[{"reference":"http://fhir.healthintersections.com.au/open/Patient/d1","display":"Eve Everywoman"}],"encounter":{"reference":"http://fhir.healthintersections.com.au/open/Encounter/doc-example"},"date":"2013-02-01T12:30:02Z","author":[{"reference":"Practitioner/example","display":"Doctor Dave"}],"title":"Discharge Summary","section":[{"title":"Reason for admission","code":{"coding":[{"system":"http://loinc.org","code":"29299-5","display":"Reason for visit Narrative"}]},"text":{"status":"additional","div":"\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\n\n              \u003ctable\u003e\n\n                \u003cthead\u003e\n\n                  \u003ctr\u003e\n\n                    \u003ctd\u003eDetails\u003c/td\u003e\n\n                    \u003ctd/\u003e\n\n                  \u003c/tr\u003e\n\n                \u003c/thead\u003e\n\n                \u003ctbody\u003e\n\n                  \u003ctr\u003e\n\n                    \u003ctd\u003eAcute Asthmatic attack. Was wheezing for days prior to admission.\u003c/td\u003e\n\n                    \u003ctd/\u003e\n\n                  \u003c/tr\u003e\n\n                \u003c/tbody\u003e\n\n              \u003c/table\u003e\n\n            \u003c/div\u003e"},"entry":[{"reference":"http://fhir.healthintersections.com.au/open/Observation/example1"}]},{"title":"Medications on Discharge","code":{"coding":[{"system":"http://loinc.org","code":"10183-2","display":"Hospital discharge medications Narrative"}]},"text":{"status":"additional","div":"\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\n\n              \u003ctable\u003e\n\n                \u003cthead\u003e\n\n                  \u003ctr\u003e\n\n                    \u003ctd\u003eMedication\u003c/td\u003e\n\n                    \u003ctd\u003eLast Change\u003c/td\u003e\n\n                    \u003ctd\u003eLast ChangeReason\u003c/td\u003e\n\n                  \u003c/tr\u003e\n\n                \u003c/thead\u003e\n\n                \u003ctbody\u003e\n\n                  \u003ctr\u003e\n\n                    \u003ctd\u003eTheophylline 200mg BD after meals\u003c/td\u003e\n\n                    \u003ctd\u003econtinued\u003c/td\u003e\n\n                  \u003c/tr\u003e\n\n                  \u003ctr\u003e\n\n                    \u003ctd\u003eVentolin Inhaler\u003c/td\u003e\n\n                    \u003ctd\u003estopped\u003c/td\u003e\n\n                    \u003ctd\u003eGetting side effect of tremor\u003c/td\u003e\n\n                  \u003c/tr\u003e\n\n                \u003c/tbody\u003e\n\n              \u003c/table\u003e\n\n            \u003c/div\u003e"},"entry":[{"reference":"http://fhir.healthintersections.com.au/open/MedicationRequest/example2"},{"reference":"http://fhir.healthintersections.com.au/open/MedicationStatement/example3"}]},{"title":"Known allergies","code":{"coding":[{"system":"http://loinc.org","code":"48765-2","display":"Allergies and adverse reactions Document"}]},"text":{"status":"additional","div":"\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\n\n              \u003ctable\u003e\n\n                \u003cthead\u003e\n\n                  \u003ctr\u003e\n\n                    \u003ctd\u003eAllergen\u003c/td\u003e\n\n                    \u003ctd\u003eReaction\u003c/td\u003e\n\n                  \u003c/tr\u003e\n\n                \u003c/thead\u003e\n\n                \u003ctbody\u003e\n\n                  \u003ctr\u003e\n\n                    \u003ctd\u003eDoxycycline\u003c/td\u003e\n\n                    \u003ctd\u003eHives\u003c/td\u003e\n\n                  \u003c/tr\u003e\n\n                \u003c/tbody\u003e\n\n              \u003c/table\u003e\n\n            \u003c/div\u003e"},"entry":[{"reference":"http://fhir.healthintersections.com.au/open/AllergyIntolerance/example4"}]}]}
{"resourceType":"Composition","id":"example-mixed","status":"final","type":{"coding":[{"system":"http://loinc.org","code":"78418-1","display":"Neonatal perinatal medicine Discharge summary"}]},"category":[{"coding":[{"system":"http://loinc.org","code":"LP183761-8","display":"Report"}]}],"subject":[{"reference":"Patient/newborn","display":"Tahlia Smith"}],"date":"2018-10-30T16:56:04+11:00","author":[{"reference":"Practitioner/xcda-author","display":"Harold Hippocrates, MD"}],"title":"Discharge Summary (Neonatal Service)","attester":[{"mode":{"coding":[{"system":"http://hl7.org/fhir/composition-attestation-mode","code":"legal","display":"Legal"}]},"time":"2012-01-04T09:10:14Z","party":{"reference":"Practitioner/xcda-author","display":"Harold Hippocrates, MD"}}],"custodian":{"reference":"Organization/2.16.840.1.113883.19.5","display":"Good Health Clinic"},"section":[{"title":"Child\u0027s Details","code":{"coding":[{"system":"http://acme.org/codes/SectionType","code":"newborn","display":"New Born Details"}]},"text":{"status":"generated","div":"\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\n        (snip)\n\t\t\t\u003c/div\u003e"}},{"title":"Mpther\u0027s Details","code":{"coding":[{"system":"http://acme.org/codes/SectionType","code":"mother","display":"Mother\u0027s Details"}]},"text":{"status":"generated","div":"\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\n\t\t\t\t(snip)\n\t\t\t\u003c/div\u003e"}}]}