Release 5

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

Example DocumentReference/example-bundle (Turtle)

Orders and Observations Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Encounter, Patient, Practitioner, RelatedPerson

Raw Turtle (+ also see Turtle/RDF Format Specification)

Metadata pointing at a FHIR Document Bundle

@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:DocumentReference ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-bundle"] ; # 
  fhir:meta [
     fhir:security ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "HTEST" ]
     ] [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "N" ]
     ] )
  ] ; # 
  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-bundle\"> </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 &quot;example-bundle&quot; </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>, <span title=\"{http://terminology.hl7.org/CodeSystem/v3-Confidentiality http://terminology.hl7.org/CodeSystem/v3-Confidentiality}\">http://terminology.hl7.org/CodeSystem/v3-Confidentiality</span></p></div><p><b>identifier</b>: id: urn:uuid:0c3151bd-1cbf-4d64-b04d-cd9187a4c6e0</p><p><b>status</b>: current</p><p><b>type</b>: Physician attending Discharge summary <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#28655-9)</span></p><p><b>subject</b>: <a href=\"broken-link.html\">http://fhir.healthintersections.com.au/open/Patient/d1: Eve Everywoman</a></p><h3>Events</h3><table class=\"grid\"><tr><td>-</td><td><b>Reference</b></td></tr><tr><td>*</td><td><a href=\"broken-link.html\">http://fhir.healthintersections.com.au/open/Encounter/doc-example</a></td></tr></table><p><b>date</b>: 1 Feb 2013, 11:30:02 pm</p><p><b>author</b>: <a href=\"practitioner-example.html\">Practitioner/example: Doctor Dave</a> &quot;Adam CAREFUL&quot;</p><p><b>description</b>: Discharge Summary</p><p><b>securityLabel</b>: normal <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.1.0/CodeSystem-v3-Confidentiality.html\">Confidentiality</a>#N)</span></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><span title=\"  no content type as the retrieve will determine  \"><code>Bundle/father</code></span></td></tr></table></blockquote></div>"
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:uuid:0c3151bd-1cbf-4d64-b04d-cd9187a4c6e0" ]
  ] ) ; # 
  fhir:status [ fhir:v "current"] ; # 
  fhir:type [
     fhir:coding ( [
       a loinc:28655-9 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "28655-9" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:link <http://fhir.healthintersections.com.au/open/Patient/d1> ;
     fhir:reference [ fhir:v "http://fhir.healthintersections.com.au/open/Patient/d1" ] ;
     fhir:display [ fhir:v "Eve Everywoman" ]
  ] ; # 
  fhir:event ( [
     fhir:reference [
       fhir:link <http://fhir.healthintersections.com.au/open/Encounter/doc-example> ;
       fhir:reference [ fhir:v "http://fhir.healthintersections.com.au/open/Encounter/doc-example" ]
     ]
  ] ) ; # 
  fhir:date [ fhir:v "2013-02-01T12:30:02Z"^^xsd:dateTime] ; # 
  fhir:author ( [
     fhir:reference [ fhir:v "Practitioner/example" ] ;
     fhir:display [ fhir:v "Doctor Dave" ]
  ] ) ; # 
  fhir:description [ fhir:v "Discharge Summary"] ; # 
  fhir:securityLabel ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "N" ]
     ] )
  ] ) ; # 
  fhir:content ( [
     fhir:attachment [
       fhir:url [ fhir:v "Bundle/father"^^xsd:anyURI ] #    no content type as the retrieve will determine   
     ]
  ] )] . # 

# -------------------------------------------------------------------------------------


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.