R5 Final QA

This page is part of the FHIR Specification (v5.0.0-draft-final: Final QA Preview for R5 - see ballot notes). 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/1.2.840.11361907579238403408700.3.1.04.19970327150033 (Turtle)

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

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

DICOM Ultrasound Image

@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 "1.2.840.11361907579238403408700.3.1.04.19970327150033"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      Ultrasound Image on patient &quot;James Chalmers&quot;:<br/>\n      <img src=\"http://imaging.acme.com/wado/server?requestType=WADO&amp;contentType=application%2Fdicom&amp;studyUid=1.2.840.113619.2.21.848.34082.0.538976288.3&amp;seriesUid=1.2.840.113619.2.21.3408.700.0.757923840.3.0&amp;objectUid=1.2.840.11361907579238403408700.3.1.04.19970327150033\" alt=\"WADO reference to image\"/>\n\n    </div>"
  ] ; #  
#    This example demonstrates how to represent an image
#    originally sourced by a DICOM acquisition device
#    as a DocumentReference resource. Whether this is appropriate depends
#    on the complexity of the image - the DocumentReference resource only
#    contains crude metadata, and plain png/jpg (typically)
#    pixels. This is suitable for the bulk of simple images
#    shared as summaries with consumers, but not at all suitable
#    for other kinds of images, or for internal radiology
#    reporting usage
#   
  fhir:extension ( [
     fhir:url [ fhir:v "http://nema.org/fhir/extensions#0002-0010"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:oid:1.2.840.10008.1.2.1"^^xsd:anyURI ]
  ] ) ; #  
#    this is added to demonstrate the use of DICOM extensions.
#    0002,0010 is the DICOM transfer syntax of the referenced image
#    
  fhir:identifier ( [
     fhir:type [
       fhir:text [ fhir:v "accessionNo" ]
     ] ;
     fhir:system [ fhir:v "http://acme-imaging.com/accession/2012"^^xsd:anyURI ] ; #   the imaging department accession number. (they recycle numbers each year)  
     fhir:value [ fhir:v "1234567" ]
  ] [
     fhir:type [
       fhir:text [ fhir:v "studyId" ]
     ] ;
     fhir:system [ fhir:v "urn:dicom:uid"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:oid:1.2.840.113619.2.21.848.34082.0.538976288.3" ]
  ] [
     fhir:type [
       fhir:text [ fhir:v "seriesId" ]
     ] ;
     fhir:system [ fhir:v "urn:dicom:uid"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:oid:1.2.840.113619.2.21.3408.700.0.757923840.3.0" ]
  ] [
     fhir:use [ fhir:v "official" ] ;
     fhir:type [
       fhir:text [ fhir:v "InstanceUID" ]
     ] ;
     fhir:system [ fhir:v "urn:dicom:uid"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:oid:1.2.840.11361907579238403408700.3.1.04.19970327150033" ]
  ] ) ; # 
  fhir:status [ fhir:v "current"] ; # 
  fhir:modality ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://dicom.nema.org/resources/ontology/DCM"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "US" ]
     ] ) #   modality  
  ] ) ; # 
  fhir:subject [
     fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:event ( [
     fhir:concept [
       fhir:coding ( [
         a sct:399067008 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "399067008" ] ;
         fhir:display [ fhir:v "Lateral projection" ]
       ] ) #   view  
     ]
  ] ) ; # 
  fhir:bodySite ( [
     fhir:concept [
       fhir:coding ( [
         a sct:67734004 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ; #   Added body site to support duplicate checking example  
         fhir:code [ fhir:v "67734004" ] ;
         fhir:display [ fhir:v "Upper Trunk Structure" ]
       ] )
     ]
  ] ) ; # 
  fhir:author ( [
     fhir:display [ fhir:v "G.E. Medical Systems" ]
  ] ) ; # 
  fhir:content ( [
     fhir:attachment [
       fhir:contentType [ fhir:v "application/dicom" ] ;
       fhir:url [ fhir:v "http://imaging.acme.com/wado/server?requestType=WADO&contentType=application%2Fdicom&studyUid=1.2.840.113619.2.21.848.34082.0.538976288.3&seriesUid=1.2.840.113619.2.21.3408.700.0.757923840.3.0&objectUid=1.2.840.11361907579238403408700.3.1.04.19970327150033"^^xsd:anyURI ] ; #   The actual image could be anywhere. This is a WADO example  
       fhir:height [ fhir:v "480"^^xsd:positiveInteger ] ;
       fhir:width [ fhir:v "640"^^xsd:positiveInteger ]
     ]
  ] )] . #   and a reference to the image data  

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


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.