This page is part of the FHIR Specification (v1.6.0: STU 3 Ballot 4). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2
Simple Example of a Composition (id = "example")
<Composition xmlns="http://hl7.org/fhir"> <id value="example"/> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"> <p>Consultation note for Henry Levin the 7th</p> <p>Managed by Good Health Clinic</p> </div> </text> <identifier> <system value="http://healthintersections.com.au/test"/> <value value="1"/> </identifier> <date value="2012-01-04T09:10:14Z"/> <type> <coding> <system value="http://loinc.org"/> <code value="11488-4"/> <display value="Consult note"/> </coding> </type> <class> <coding> <system value="http://loinc.org"/> <code value="LP173421-1"/> <display value="Report"/> </coding> </class> <title value="Consultation Note"/> <status value="final"/> <confidentiality value="N"/> <subject> <reference value="Patient/xcda"/> <display value="Henry Levin the 7th"/> </subject> <author> <reference value="Practitioner/xcda-author"/> <display value="Harold Hippocrates, MD"/> </author> <attester> <mode value="legal"/> <time value="2012-01-04T09:10:14Z"/> <party> <reference value="Practitioner/xcda-author"/> <display value="Harold Hippocrates, MD"/> </party> </attester> <custodian> <reference value="Organization/2.16.840.1.113883.19.5"/> <display value="Good Health Clinic"/> </custodian> <event> <code> <coding> <system value="http://hl7.org/fhir/v3/ActCode"/> <code value="HEALTHREC"/> <display value="health record"/> </coding> </code> <period> <start value="2010-07-18"/> <end value="2012-11-12"/> </period> <detail> <reference value="Observation/example"/> </detail> </event> <encounter> <reference value="Encounter/xcda"/> </encounter> <section> <title value="History of present illness"/> <code> <coding> <system value="http://loinc.org"/> <code value="11348-0"/> <display value="History of past illness Narrative"/> </coding> </code> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"> <table> <tr> <td> <b>Code</b> </td> <td> <b>Date</b> </td> <td> <b>Type</b> </td> <td> <b>BodySite</b> </td> <td> <b>Severity</b> </td> </tr> <tr> <td>Stroke</td> <td>2010-07-18</td> <td>Diagnosis</td> <td/> <td/> </tr> <tr> <td>Burnt Ear</td> <td>2012-05-24</td> <td>Diagnosis</td> <td>Left Ear</td> <td/> </tr> <tr> <td>Asthma</td> <td>2012-11-12</td> <td>Finding</td> <td/> <td>Mild</td> </tr> </table> </div> </text> <mode value="snapshot"/> <orderedBy> <coding> <system value="http://hl7.org/fhir/list-order"/> <code value="event-date"/> <display value="Sorted by Event Date"/> </coding> </orderedBy> <entry> <reference value="Condition/stroke"/> </entry> <entry> <reference value="Condition/example"/> </entry> <entry> <reference value="Condition/example2"/> </entry> </section> <section> <title value="History of family member diseases"/> <code> <coding> <system value="http://loinc.org"/> <code value="10157-6"/> <display value="History of family member diseases Narrative"/> </coding> </code> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"> <p>History of family member diseases - not available</p> </div> </text> <mode value="snapshot"/> <emptyReason> <coding> <system value="http://hl7.org/fhir/list-empty-reason"/> <code value="withheld"/> <display value="Information Withheld"/> </coding> </emptyReason> </section> </Composition>
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.