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/xray (Turtle)

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

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

Xray of left hand

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

[a fhir:DocumentReference;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "xray"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Xray of left hand for Patient Henry Levin (MRN 12345) 2016-03-15</div>"
  ];
  fhir:DocumentReference.status [ fhir:value "current"];
  fhir:DocumentReference.subject [
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];
  fhir:DocumentReference.context [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Encounter/example" ]
  ], [
     fhir:index 1;
     fhir:Reference.reference [ fhir:value "DocumentReference/documentreference-example-xray-encounter" ]
  ];
  fhir:DocumentReference.event [
     fhir:index 0;
     fhir:CodeableReference.concept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:39714003;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "39714003" ];
         fhir:Coding.display [ fhir:value "Skeletal X-ray of wrist and hand" ]
       ]
     ]
  ], [
     fhir:index 1;
     fhir:CodeableReference.concept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:85151006;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "85151006" ];
         fhir:Coding.display [ fhir:value "Structure of left hand (body structure)" ]
       ]
     ]
  ];
  fhir:DocumentReference.content [
     fhir:index 0;
     fhir:Element.id [ fhir:value "a1" ];
     fhir:DocumentReference.content.attachment [
       fhir:Attachment.contentType [ fhir:value "image/jpeg" ];
       fhir:Attachment.url [ fhir:value "http://someimagingcenter.org/fhir/Binary/A12345" ];
       fhir:Attachment.creation [ fhir:value "2016-03-15"^^xsd:date ];
       fhir:Attachment.height [ fhir:value "432"^^xsd:positiveInteger ];
       fhir:Attachment.width [ fhir:value "640"^^xsd:positiveInteger ]
     ]
  ]] .

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