This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions 
| Orders and Observations Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Device, Encounter, Patient, Practitioner, RelatedPerson |
Raw Turtle (+ also see Turtle/RDF Format Specification)
Metadata pointing at a Composition
@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://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:DocumentReference;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "example-composition"];
fhir:Resource.meta [
fhir:Meta.security [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActReason" ];
fhir:Coding.code [ fhir:value "HTEST" ]
]
];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: DocumentReference</b><a name=\"example-composition\"> </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 DocumentReference "example-composition" </p><p style=\"margin-bottom: 0px\">Security Labels: <span title=\"{http://terminology.hl7.org/CodeSystem/v3-ActReason http://terminology.hl7.org/CodeSystem/v3-ActReason}\">http://terminology.hl7.org/CodeSystem/v3-ActReason</span></p></div><p><b>identifier</b>: id: 1</p><p><b>status</b>: current</p><p><b>type</b>: Consult note <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#11488-4)</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>subject</b>: <a href=\"patient-example-xcda.html\">Patient/xcda: Henry Levin the 7th</a> "Henry LEVIN"</p><p><b>context</b>: <a href=\"encounter-example-xcda.html\">Encounter/xcda</a></p><h3>Events</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td><td><b>Reference</b></td></tr><tr><td>*</td><td>health record <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-ActCode.html\">ActCode</a>#HEALTHREC)</span></td><td> </td></tr><tr><td>*</td><td> </td><td><a href=\"observation-example.html\">Observation/example</a></td></tr></table><p><b>period</b>: 2010-07-18 --> 2012-11-12</p><p><b>date</b>: 04/01/2012 8:10:14 PM</p><p><b>author</b>: <a href=\"practitioner-example-xcda-author.html\">Practitioner/xcda-author: Harold Hippocrates, MD</a> "Harold HIPPOCRATES"</p><h3>Attesters</h3><table class=\"grid\"><tr><td>-</td><td><b>Mode</b></td><td><b>Party</b></td></tr><tr><td>*</td><td>Professional <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"codesystem-composition-attestation-mode.html\">CompositionAttestationMode</a>#professional)</span></td><td><a href=\"practitioner-example-xcda-author.html\">Practitioner/xcda-author: Harold Hippocrates, MD</a> "Harold HIPPOCRATES"</td></tr></table><h3>RelatesTos</h3><table class=\"grid\"><tr><td>-</td><td><b>Code</b></td><td><b>Target</b></td></tr><tr><td>*</td><td>Replaces <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"codesystem-document-relationship-type.html\">DocumentRelationshipType</a>#replaces)</span></td><td><a href=\"todo.html\">DocumentReference/old-example</a></td></tr></table><p><b>description</b>: Example of a Comprehensive DocumentReference resource. This is fully filled for all mandatory elements and all optional elements.</p><blockquote><p><b>content</b></p><h3>Attachments</h3><table class=\"grid\"><tr><td>-</td><td><b>Url</b></td></tr><tr><td>*</td><td><code>Composition/example</code></td></tr></table></blockquote></div>"
];
fhir:DocumentReference.identifier [
fhir:index 0;
fhir:Identifier.system [ fhir:value "http://healthintersections.com.au/test" ];
fhir:Identifier.value [ fhir:value "1" ]
];
fhir:DocumentReference.status [ fhir:value "current"];
fhir:DocumentReference.type [
fhir:CodeableConcept.coding [
fhir:index 0;
a loinc:11488-4;
fhir:Coding.system [ fhir:value "http://loinc.org" ];
fhir:Coding.code [ fhir:value "11488-4" ];
fhir:Coding.display [ fhir:value "Consult note" ]
]
];
fhir:DocumentReference.category [
fhir:index 0;
fhir:CodeableConcept.coding [
fhir:index 0;
a loinc:LP173421-1;
fhir:Coding.system [ fhir:value "http://loinc.org" ];
fhir:Coding.code [ fhir:value "LP173421-1" ];
fhir:Coding.display [ fhir:value "Report" ]
]
];
fhir:DocumentReference.subject [
fhir:Reference.reference [ fhir:value "Patient/xcda" ];
fhir:Reference.display [ fhir:value "Henry Levin the 7th" ]
];
fhir:DocumentReference.context [
fhir:index 0;
fhir:Reference.reference [ fhir:value "Encounter/xcda" ]
];
fhir:DocumentReference.event [
fhir:index 0;
fhir:CodeableReference.concept [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
fhir:Coding.code [ fhir:value "HEALTHREC" ];
fhir:Coding.display [ fhir:value "health record" ]
]
]
], [
fhir:index 1;
fhir:CodeableReference.reference [
fhir:Reference.reference [ fhir:value "Observation/example" ]
]
];
fhir:DocumentReference.period [
fhir:Period.start [ fhir:value "2010-07-18"^^xsd:date ];
fhir:Period.end [ fhir:value "2012-11-12"^^xsd:date ]
];
fhir:DocumentReference.date [ fhir:value "2012-01-04T09:10:14Z"^^xsd:dateTime];
fhir:DocumentReference.author [
fhir:index 0;
fhir:Reference.reference [ fhir:value "Practitioner/xcda-author" ];
fhir:Reference.display [ fhir:value "Harold Hippocrates, MD" ]
];
fhir:DocumentReference.attester [
fhir:index 0;
fhir:DocumentReference.attester.mode [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://hl7.org/fhir/composition-attestation-mode" ];
fhir:Coding.code [ fhir:value "professional" ]
]
];
fhir:DocumentReference.attester.party [
fhir:Reference.reference [ fhir:value "Practitioner/xcda-author" ];
fhir:Reference.display [ fhir:value "Harold Hippocrates, MD" ]
]
];
fhir:DocumentReference.relatesTo [
fhir:index 0;
fhir:DocumentReference.relatesTo.code [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://hl7.org/fhir/document-relationship-type" ];
fhir:Coding.code [ fhir:value "replaces" ]
]
];
fhir:DocumentReference.relatesTo.target [
fhir:Reference.reference [ fhir:value "DocumentReference/old-example" ]
]
];
fhir:DocumentReference.description [ fhir:value "Example of a Comprehensive DocumentReference resource. This is fully filled for all mandatory elements and all optional elements."];
fhir:DocumentReference.content [
fhir:index 0;
fhir:DocumentReference.content.attachment [
fhir:Attachment.url [ fhir:value "Composition/example" ]
]
]] .
# - ontology header ------------------------------------------------------------
[a owl:Ontology;
owl:imports fhir:fhir.ttl] .
# -------------------------------------------------------------------------------------
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.