Release 5 Ballot

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

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: <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-bundle"];
  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:index 1;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" ];
       fhir:Coding.code [ fhir:value "N" ]
     ]
  ];
  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-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=\"todo.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=\"todo.html\">http://fhir.healthintersections.com.au/open/Encounter/doc-example</a></td></tr></table><p><b>date</b>: 01/02/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/3.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:DocumentReference.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:uuid:0c3151bd-1cbf-4d64-b04d-cd9187a4c6e0" ]
  ];
  fhir:DocumentReference.status [ fhir:value "current"];
  fhir:DocumentReference.type [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:28655-9;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "28655-9" ]
     ]
  ];
  fhir:DocumentReference.subject [
     fhir:link <http://fhir.healthintersections.com.au/open/Patient/d1>;
     fhir:Reference.reference [ fhir:value "http://fhir.healthintersections.com.au/open/Patient/d1" ];
     fhir:Reference.display [ fhir:value "Eve Everywoman" ]
  ];
  fhir:DocumentReference.event [
     fhir:index 0;
     fhir:CodeableReference.reference [
       fhir:link <http://fhir.healthintersections.com.au/open/Encounter/doc-example>;
       fhir:Reference.reference [ fhir:value "http://fhir.healthintersections.com.au/open/Encounter/doc-example" ]
     ]
  ];
  fhir:DocumentReference.date [ fhir:value "2013-02-01T12:30:02Z"^^xsd:dateTime];
  fhir:DocumentReference.author [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Practitioner/example" ];
     fhir:Reference.display [ fhir:value "Doctor Dave" ]
  ];
  fhir:DocumentReference.description [ fhir:value "Discharge Summary"];
  fhir:DocumentReference.securityLabel [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" ];
       fhir:Coding.code [ fhir:value "N" ]
     ]
  ];
  fhir:DocumentReference.content [
     fhir:index 0;
     fhir:DocumentReference.content.attachment [
       fhir:Attachment.url [ fhir:value "Bundle/father" ]
     ]
  ]] .

# - 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.