This page is part of the FHIR Specification v6.0.0-ballot1: Release 6 Ballot (1st Draft) (see Ballot Notes). The current version is 5.0.0. For a full list of available versions, see the Directory of published versions
Example Composition/example-mixed (XML)
Raw XML (canonical form + also see XML Format Specification)
Jump past Narrative
Example of a composition covering details from more than one patient (id = "example-mixed")
<?xml version="1.0" encoding="UTF-8"?>
<Composition xmlns="http://hl7.org/fhir">
<id value="example-mixed"/>
<text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative: Composition</b> <a name="example-mixed"> </a> </p> <div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border:
1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">Resource Composition "example-mixed" </p> </div> <p> <b> status</b> : final</p> <p> <b> type</b> : Neonatal perinatal medicine Discharge summary <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://loinc.org/">LOINC</a> #78418-1)</span> </p> <p> <b> category</b> : Report <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://loinc.org/">LOINC</a> #LP173421-1)</span> </p> <p> <b> date</b> : 2018-10-30T16:56:04+11:00</p> <p> <b> author</b> : <a href="practitioner-example-xcda-author.html">Practitioner/xcda-author: Harold Hippocrates, MD</a> "Harold HIPPOCRATES"</p> <p> <b> title</b> : Discharge Summary (Neonatal Service)</p> <h3> Attesters</h3> <table class="grid"><tr> <td style="display: none">-</td> <td> <b> Mode</b> </td> <td> <b> Time</b> </td> <td> <b> Party</b> </td> </tr> <tr> <td style="display: none">*</td> <td> Legal <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="codesystem-composition-attestation-mode.html">Composition Attestation Mode</a> #legal)</span> </td> <td> 2012-01-04T09:10:14Z</td> <td> <a href="practitioner-example-xcda-author.html">Practitioner/xcda-author: Harold Hippocrates, MD</a> "Harold HIPPOCRATES"</td> </tr> </table> <p> <b> custodian</b> : <a href="organization-example-good-health-care.html">Organization/2.16.840.1.113883.19.5: Good Health Clinic</a> "Good Health Clinic"</p> </div> </text> <status value="final"/>
<type>
<coding>
<system value="http://loinc.org"/>
<code value="78418-1"/>
<display value="Neonatal perinatal medicine Discharge summary"/>
</coding>
</type>
<category>
<coding>
<system value="http://loinc.org"/>
<code value="LP173421-1"/>
<display value="Report"/>
</coding>
</category>
<subject>
<reference value="Patient/newborn"/>
<display value="Tahlia Smith"/>
</subject>
<date value="2018-10-30T16:56:04+11:00"/>
<author>
<reference value="Practitioner/xcda-author"/>
<display value="Harold Hippocrates, MD"/>
</author>
<title value="Discharge Summary (Neonatal Service)"/>
<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>
<section>
<title value="Child's Details"/>
<code>
<coding>
<system value="http://acme.org/codes/SectionType"/>
<code value="newborn"/>
<display value="New Born Details"/>
</coding>
</code>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
(snip)
</div>
</text>
</section>
<section>
<title value="Mpther's Details"/>
<code>
<coding>
<system value="http://acme.org/codes/SectionType"/>
<code value="mother"/>
<display value="Mother's Details"/>
</coding>
</code>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml">
(snip)
</div>
</text>
</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.