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/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:id [ fhir:v "xray"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Xray of left hand for Patient Henry Levin (MRN 12345) 2016-03-15</div>"
  ] ; # 
  fhir:status [ fhir:v "current"] ; # 
  fhir:subject [
     fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:context ( [
     fhir:reference [ fhir:v "Encounter/example" ]
  ] [
     fhir:reference [ fhir:v "DocumentReference/documentreference-example-xray-encounter" ]
  ] ) ; # 
  fhir:event ( [
     fhir:concept [
       fhir:coding ( [
         a sct:39714003 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "39714003" ] ;
         fhir:display [ fhir:v "Skeletal X-ray of wrist and hand" ]
       ] )
     ]
  ] [
     fhir:concept [
       fhir:coding ( [
         a sct:85151006 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "85151006" ] ;
         fhir:display [ fhir:v "Structure of left hand (body structure)" ]
       ] )
     ]
  ] ) ; # 
  fhir:content ( [
     fhir:id [ fhir:v "a1" ] ;
     fhir:attachment [
       fhir:contentType [ fhir:v "image/jpeg" ] ;
       fhir:url [ fhir:v "http://someimagingcenter.org/fhir/Binary/A12345"^^xsd:anyURI ] ;
       fhir:creation [ fhir:v "2016-03-15"^^xsd:date ] ; #   the date this image was created  
       fhir:height [ fhir:v "432"^^xsd:positiveInteger ] ;
       fhir:width [ fhir:v "640"^^xsd:positiveInteger ]
     ]
  ] )] . # 

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


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.