--- type: "example" title: "Composition Example: composition-example" resource: "Composition" example: "composition-example" --- # Composition Example: composition-example ## Narrative Consultation note for Henry Levin the 7th Managed by Good Health Clinic | **Code** | **Date** | **Type** | **BodySite** | **Severity** | | --- | --- | --- | --- | --- | | Stroke | 2010-07-18 | Diagnosis | | | | Burnt Ear | 2012-05-24 | Diagnosis | Left Ear | | | Asthma | 2012-11-12 | Finding | | Mild | History of family member diseases - not available ## Example XML ```xml

Consultation note for Henry Levin the 7th

Managed by Good Health Clinic

<attester> <mode> <coding> <system value="http://hl7.org/fhir/composition-attestation-mode"/> <code value="legal"/> <display value="Legal"/> </coding> </mode> <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> <relatesTo> <type> <coding> <system value="http://terminology.hl7.org/CodeSystem/artifact-relationship-type"/> <code value="replaces"/> <display value="Replaces"/> </coding> </type> <targetReference> <reference value="Composition/old-example" /> </targetReference> </relatesTo> <relatesTo> <type> <coding> <system value="http://terminology.hl7.org/CodeSystem/artifact-relationship-type"/> <code value="appends"/> <display value="Appends"/> </coding> </type> <targetReference> <identifier> <system value="http://example.org/fhir/NamingSystem/document-ids"/> <value value="ABC123"/> </identifier> </targetReference> </relatesTo> <event> <period> <start value="2010-07-18"/> <end value="2012-11-12"/> </period> <detail> <concept> <coding> <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/> <code value="HEALTHREC"/> <display value="health record"/> </coding> </concept> <reference> <reference value="Observation/example"/> </reference> </detail> </event> <section> <title value="History of present illness"/> <code> <coding> <system value="http://loinc.org"/> <code value="11348-0"/> <display value="History of Past illness note"/> </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> <orderedBy> <coding> <system value="http://terminology.hl7.org/CodeSystem/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 note"/> </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> <emptyReason> <coding> <system value="http://terminology.hl7.org/CodeSystem/list-empty-reason"/> <code value="withheld"/> <display value="Information Withheld"/> </coding> </emptyReason> </section> </Composition> ```