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 -------------------------------------------------------------------
# infant-mom
[a fhir:Composition ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "example-mixed"] ; #
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:LP183761-8 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "LP183761-8" ] ;
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.