This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version in it's permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4
Example Composition/example-mixed (Turtle)
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 rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
[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: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" ] ;
fhir:display [ fhir:v "Report" ]
] )
] ) ; #
fhir:subject ( [
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: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:code [ fhir:v "legal" ] ;
fhir:display [ fhir:v "Legal" ]
] )
] ;
fhir:time [ fhir:v "2012-01-04T09:10:14Z"^^xsd:dateTime ] ;
fhir:party [
fhir:reference [ fhir:v "Practitioner/xcda-author" ] ;
fhir:display [ fhir:v "Harold Hippocrates, MD" ]
]
] ) ; #
fhir:custodian [
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: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:title [ fhir:v "Mpther's Details" ] ;
fhir:code [
fhir:coding ( [
fhir:system [ fhir:v "http://acme.org/codes/SectionType"^^xsd:anyURI ] ;
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>"
]
] )] . # entries for child - CarePlan, observations, conditions, encounter, Prescriptions, etc.
# -------------------------------------------------------------------------------------
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.