Foundation
This
page
is
part
of
the
Continuous
Integration
Build
of
FHIR
Specification
(v5.0.0:
R5
-
STU
).
This
is
the
current
published
version
in
it's
permanent
home
(it
will
always
(will
be
available
incorrect/inconsistent
at
this
URL).
For
a
full
list
of
available
versions,
see
times).
See
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
| Responsible Owner: Structured Documents Work Group | Standards Status : Informative | Compartments : Device , Encounter , Patient , Practitioner , RelatedPerson |
Raw Turtle (+ also see Turtle/RDF Format Specification )
Example of a composition covering details from more than one patient
@prefix fhir: <http://hl7.org/fhir/> . @prefix loinc: <https://loinc.org/rdf/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource -------------------------------------------------------------------[a fhir:Composition ;# infant-mom <http://hl7.org/fhir/Composition/example-mixed> a fhir:Composition ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "example-mixed"] ; #fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir:div "<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>-</td><td><b>Mode</b></td><td><b>Time</b></td><td><b>Party</b></td></tr><tr><td>*</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>" ] ; #fhir:status [ fhir:v "final"] ; # fhir:type [ fhir:coding ( [ a loinc:78418-1 ;fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ; fhir:l <http://loinc.org> ] ; fhir:code [ fhir:v "78418-1" ] ; fhir:display [ fhir:v "Neonatal perinatal medicine Discharge summary" ] ] ) ] ; # fhir:category ( [ fhir:coding ( [a loinc:LP173421-1 ; fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ; fhir:code [ fhir:v "LP173421-1" ] ;a loinc:LP183761-8 ; fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ; fhir:l <http://loinc.org> ] ; fhir:code [ fhir:v "LP183761-8" ] ; fhir:display [ fhir:v "Report" ] ] ) ] ) ; # fhir:subject ( [ fhir:l <http://hl7.org/fhir/Patient/newborn> ; fhir:reference [ fhir:v "Patient/newborn" ] ; fhir:display [ fhir:v "Tahlia Smith" ] ] ) ; # fhir:date [ fhir:v "2018-10-30T16:56:04+11:00"^^xsd:dateTime] ; # fhir:author ( [ fhir:l <http://hl7.org/fhir/Practitioner/xcda-author> ; fhir:reference [ fhir:v "Practitioner/xcda-author" ] ; fhir:display [ fhir:v "Harold Hippocrates, MD" ] ] ) ; # fhir:title [ fhir:v "Discharge Summary (Neonatal Service)"] ; # fhir:attester ( [ fhir:mode [ fhir:coding ( [fhir:system [ fhir:v "http://hl7.org/fhir/composition-attestation-mode"^^xsd:anyURI ] ;fhir:system [ fhir:v "http://hl7.org/fhir/composition-attestation-mode"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/composition-attestation-mode> ] ; fhir:code [ fhir:v "legal" ] ; fhir:display [ fhir:v "Legal" ] ] ) ] ; fhir:time [ fhir:v "2012-01-04T09:10:14Z"^^xsd:dateTime ] ; fhir:party [ fhir:l <http://hl7.org/fhir/Practitioner/xcda-author> ; fhir:reference [ fhir:v "Practitioner/xcda-author" ] ; fhir:display [ fhir:v "Harold Hippocrates, MD" ] ] ] ) ; # fhir:custodian [ fhir:l <http://hl7.org/fhir/Organization/2.16.840.1.113883.19.5> ; fhir:reference [ fhir:v "Organization/2.16.840.1.113883.19.5" ] ; fhir:display [ fhir:v "Good Health Clinic" ] ] ; # fhir:section ( [ fhir:title [ fhir:v "Child's Details" ] ; fhir:code [ fhir:coding ( [fhir:system [ fhir:v "http://acme.org/codes/SectionType"^^xsd:anyURI ] ;fhir:system [ fhir:v "http://acme.org/codes/SectionType"^^xsd:anyURI ; fhir:l <http://acme.org/codes/SectionType> ] ; fhir:code [ fhir:v "newborn" ] ; fhir:display [ fhir:v "New Born Details" ] ] ) ] ; fhir:text [ fhir:status [ fhir:v "generated" ] ;fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n (snip)\n </div>"fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n (snip)\n </div>"^^rdf:XMLLiteral ] ] ] [ fhir:title [ fhir:v "Mpther's Details" ] ; fhir:code [ fhir:coding ( [fhir:system [ fhir:v "http://acme.org/codes/SectionType"^^xsd:anyURI ] ;fhir:system [ fhir:v "http://acme.org/codes/SectionType"^^xsd:anyURI ; fhir:l <http://acme.org/codes/SectionType> ] ; fhir:code [ fhir:v "mother" ] ; fhir:display [ fhir:v "Mother's Details" ] ] ) ] ; fhir:text [ fhir:status [ fhir:v "generated" ] ;fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n (snip)\n </div>"fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n (snip)\n </div>"^^rdf:XMLLiteral ] ]] )] . # entries for child - CarePlan, observations, conditions, encounter, Prescriptions, etc.] ) . # entries for child - CarePlan, observations, conditions, encounter, Prescriptions, etc. <http://hl7.org/fhir/Patient/newborn> a fhir:Patient . <http://hl7.org/fhir/Practitioner/xcda-author> a fhir:Practitioner . <http://hl7.org/fhir/Organization/2.16.840.1.113883.19.5> a fhir:Organization . # -------------------------------------------------------------------------------------
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.
FHIR
®©
HL7.org
2011+.
FHIR
R5
hl7.fhir.core#5.0.0
R6
hl7.fhir.core#6.0.0-ballot3
generated
on
Sun,
Mar
26,
2023
15:24+1100.
Mon,
Nov
24,
2025
20:51+0000.
Links:
Search
|
Version
History
|
Contents
|
Glossary
|
QA
|
Compare
to
R4
|
Compare
to
R4B
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change