Diagnostics
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
| Responsible Owner: Orders and Observations Work Group | Standards Status : Informative | Compartments : Device , Encounter , Group , Patient , Practitioner , RelatedPerson |
Raw Turtle (+ also see Turtle/RDF Format Specification )
Metadata pointing at a Composition
@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:DocumentReference ;<http://hl7.org/fhir/DocumentReference/example-composition> a fhir:DocumentReference ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "example-composition"] ; # fhir:meta [ fhir:security ( [fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ] ;fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ; fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActReason> ] ; fhir:code [ fhir:v "HTEST" ] ] ) ] ; #fhir:text [ fhir:status [ fhir:v "generated" ] ; fhir: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/5.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>: 4 Jan 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\">Composition Attestation Mode</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\">Document Relationship Type</a>#replaces)</span></td><td><a href=\"broken-link.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:identifier ( [fhir:system [ fhir:v "http://healthintersections.com.au/test"^^xsd:anyURI ] ;fhir:system [ fhir:v "http://healthintersections.com.au/test"^^xsd:anyURI ; fhir:l <http://healthintersections.com.au/test> ] ; fhir:value [ fhir:v "1" ] ] ) ; # fhir:status [ fhir:v "current"] ; # fhir:type [ fhir:coding ( [ a loinc:11488-4 ;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 "11488-4" ] ; fhir:display [ fhir:v "Consult note" ] ] ) ] ; # 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/xcda> ; fhir:reference [ fhir:v "Patient/xcda" ] ; fhir:display [ fhir:v "Henry Levin the 7th" ] ] ; # fhir:context ( [ fhir:l <http://hl7.org/fhir/Encounter/xcda> ; fhir:reference [ fhir:v "Encounter/xcda" ] ] ) ; # fhir:event ( [ fhir:concept [ fhir:coding ( [fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ; fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode> ] ; fhir:code [ fhir:v "HEALTHREC" ] ; fhir:display [ fhir:v "health record" ] ] ) ] ] [ fhir:reference [ fhir:l <http://hl7.org/fhir/Observation/example> ; fhir:reference [ fhir:v "Observation/example" ] ] ] ) ; # fhir:period [ fhir:start [ fhir:v "2010-07-18"^^xsd:date ] ; fhir:end [ fhir:v "2012-11-12"^^xsd:date ] ] ; # fhir:date [ fhir:v "2012-01-04T09:10:14Z"^^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: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 "professional" ] ] ) ] ; 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:relatesTo ( [ fhir:code [ fhir:coding ( [fhir:system [ fhir:v "http://hl7.org/fhir/document-relationship-type"^^xsd:anyURI ] ;fhir:system [ fhir:v "http://hl7.org/fhir/document-relationship-type"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/document-relationship-type> ] ; fhir:code [ fhir:v "replaces" ] ] ) ] ; fhir:target [ fhir:l <http://hl7.org/fhir/DocumentReference/old-example> ; fhir:reference [ fhir:v "DocumentReference/old-example" ] ] ] ) ; # fhir:description [ fhir:v "Example of a Comprehensive DocumentReference resource. This is fully filled for all mandatory elements and all optional elements."] ; # fhir:content ( [ fhir:attachment [fhir:url [ fhir:v "Composition/example"^^xsd:anyURI ]fhir:url [ fhir:v "Composition/example"^^xsd:anyURI ; fhir:l <http://hl7.org/fhir/Composition/example> ] ]] )] . #] ) . # <http://hl7.org/fhir/Patient/xcda> a fhir:Patient . <http://hl7.org/fhir/Encounter/xcda> a fhir:Encounter . <http://hl7.org/fhir/Observation/example> a fhir:Observation . <http://hl7.org/fhir/Practitioner/xcda-author> a fhir:Practitioner . <http://hl7.org/fhir/DocumentReference/old-example> a fhir:DocumentReference . # -------------------------------------------------------------------------------------
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.
Thu,
Nov
27,
2025
16:53+0000.
Links:
Search
|
Version
History
|
Contents
|
Glossary
|
QA
|
Compare
to
R4
|
Compare
to
R4B
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change