Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Example DiagnosticReport/f001 (Turtle)

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

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

Real-world patient example

@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

[a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "f001"] ; # 
  fhir:type [ fhir:v "collection"] ; # 
  fhir:entry ( [
     fhir:fullUrl [ fhir:v "https://example.com/base/DiagnosticReport/f001"^^xsd:anyURI ] ;
     fhir:resource ( <https://example.com/base/DiagnosticReport/f001> )
  ] [
     fhir:fullUrl [ fhir:v "https://example.com/base/ServiceRequest/req"^^xsd:anyURI ] ;
     fhir:resource ( <https://example.com/base/ServiceRequest/req> )
  ] )] . # 

<https://example.com/base/DiagnosticReport/f001> a fhir:DiagnosticReport ;
  fhir:id [ fhir:v "f001"] ; #     ISO 8601    ,     OID: 2.16.840.1.113883.4.642.1.7    
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2><span title=\"Codes: {http://loinc.org 58410-2}\">Complete blood count (hemogram) panel - Blood by Automated count</span> (<span title=\"Codes: {http://snomed.info/sct 252275004}, {http://terminology.hl7.org/CodeSystem/v2-0074 HM}\">Haematology test</span>) </h2><table class=\"grid\"><tr><td>Subject</td><td><b>Pieter van de Heuvel </b> male, DoB: 1944-11-17 ( id: 738472983 (use: USUAL))</td></tr><tr><td>Reported</td><td>2013-05-15T19:32:52+01:00</td></tr><tr><td>Identifier:</td><td> id: nr1239044 (use: OFFICIAL)</td></tr></table><p><b>Report Details</b></p><table class=\"grid\"><tr><td><b>Code</b></td><td><b>Value</b></td><td><b>Reference Range</b></td><td><b>Flags</b></td><td><b>When For</b></td><td><b>Reported</b></td></tr><tr><td><a href=\"observation-example-f001-glucose.html\"><span title=\"Codes: {http://loinc.org 15074-8}\">Glucose [Moles/volume] in Blood</span></a></td><td>6.3 mmol/l</td><td>3.1 mmol/l - 6.2 mmol/l</td><td><span title=\"Codes: {http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation H}\">High</span></td><td>2013-04-02T09:30:10+01:00</td><td>2013-04-03T15:30:10+01:00</td></tr><tr><td><a href=\"observation-example-f002-excess.html\"><span title=\"Codes: {http://loinc.org 11555-0}\">Base excess in Blood by calculation</span></a></td><td>12.6 mmol/l</td><td>7.1 mmol/l - 11.2 mmol/l</td><td><span title=\"Codes: {http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation H}\">High</span></td><td>2013-04-02T10:30:10+01:00</td><td>2013-04-03T15:30:10+01:00</td></tr><tr><td><a href=\"observation-example-f003-co2.html\"><span title=\"Codes: {http://loinc.org 11557-6}\">Carbon dioxide in blood</span></a></td><td>6.2 kPa</td><td>4.8 kPa - 6.0 kPa</td><td><span title=\"Codes: {http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation H}\">High</span></td><td>2013-04-02T10:30:10+01:00</td><td>2013-04-03T15:30:10+01:00</td></tr><tr><td><a href=\"observation-example-f004-erythrocyte.html\"><span title=\"Codes: {http://loinc.org 789-8}\">Erythrocytes [#/volume] in Blood by Automated count</span></a></td><td>4.12 10^12/L</td><td><div><p>12-14 y Male: 4.4 - 5.2  x  10^12/L ; 12-14 y Female: 4.2 - 4.8  x  10^12/L ; 15-17 y Male: 4.6 - 5.4  x  10^12/L ; 15-17 y Female: 4.2 - 4.8  x  10^12/L ; 18-64 y Male: 4.6 - 5.4  x  10^12/L ; 18-64 y Female: 4.0 - 4.8  x  10^12/L ; 65-74 y Male: 4.3 - 5.3  x  10^12/L ; 65-74 y Female: 4.1 - 4.9  x  10^12/L</p>\n</div></td><td><span title=\"Codes: {http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation L}\">Low</span></td><td>2013-04-02T10:30:10+01:00</td><td>2013-04-03T15:30:10+01:00</td></tr><tr><td><a href=\"observation-example-f005-hemoglobin.html\"><span title=\"Codes: {http://loinc.org 718-7}\">Hemoglobin [Mass/volume] in Blood</span></a></td><td>7.2 g/dl</td><td>7.5 g/dl - 10 g/dl</td><td><span title=\"Codes: {http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation L}\">Low</span></td><td>2013-04-05T10:30:10+01:00</td><td>2013-04-05T15:30:10+01:00</td></tr></table><div><p>Core lab</p>\n</div></div>"
  ] ; # 
  fhir:identifier ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:system [ fhir:v "http://www.bmc.nl/zorgportal/identifiers/reports"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "nr1239044" ]
  ] ) ; # 
  fhir:basedOn ( [
     fhir:reference [ fhir:v "ServiceRequest/req" ]
  ] ) ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
     fhir:coding ( [
       a sct:252275004 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "252275004" ] ;
       fhir:display [ fhir:v "Haematology test" ]
     ] [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0074"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "HM" ]
     ] )
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:58410-2 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "58410-2" ] ;
       fhir:display [ fhir:v "Complete blood count (hemogram) panel - Blood by Automated count" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:reference [ fhir:v "Patient/f001" ] ;
     fhir:display [ fhir:v "P. van den Heuvel" ]
  ] ; # 
  fhir:issued [ fhir:v "2013-05-15T19:32:52+01:00"^^xsd:dateTime] ; # 
  fhir:performer ( [
     fhir:reference [ fhir:v "Organization/f001" ] ;
     fhir:display [ fhir:v "Burgers University Medical Centre" ]
  ] ) ; # 
  fhir:result ( [
     fhir:reference [ fhir:v "Observation/f001" ]
  ] [
     fhir:reference [ fhir:v "Observation/f002" ]
  ] [
     fhir:reference [ fhir:v "Observation/f003" ]
  ] [
     fhir:reference [ fhir:v "Observation/f004" ]
  ] [
     fhir:reference [ fhir:v "Observation/f005" ]
  ] ) ; # 
  fhir:conclusion [ fhir:v "Core lab"] . # 

<https://example.com/base/ServiceRequest/req> a fhir:ServiceRequest ;
  fhir:id [ fhir:v "req"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: ServiceRequest</b><a name=\"req\"> </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 ServiceRequest &quot;req&quot; </p></div><p><b>identifier</b>: id: L2381</p><p><b>status</b>: active</p><p><b>intent</b>: original-order</p><h3>Codes</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>Complete blood count (hemogram) panel - Blood by Automated count <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#58410-2)</span></td></tr></table><p><b>subject</b>: <a href=\"patient-example-f001-pieter.html\">Patient/f001: P. van den Heuvel</a> &quot;Pieter VAN DE HEUVEL&quot;</p><p><b>encounter</b>: <a href=\"encounter-example-f001-heart.html\">Encounter/f001</a></p><p><b>requester</b>: <a href=\"practitioner-example-f001-evdb.html\">Practitioner/f001: E.van den Broek</a> &quot;Eric VAN DEN BROEK&quot;</p><p><b>note</b>: patient almost fainted during procedure</p></div>"
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://example.org/bodysitecode"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         a sct:14975008 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "14975008" ] ;
         fhir:display [ fhir:v "Forearm structure" ]
       ] )
     ]
  ] ) ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "http://www.bmc.nl/zorgportal/identifiers/labresults"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "L2381" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "original-order"] ; # 
  fhir:code [
     fhir:concept [
       fhir:coding ( [
         a loinc:58410-2 ;
         fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "58410-2" ] ;
         fhir:display [ fhir:v "Complete blood count (hemogram) panel - Blood by Automated count" ]
       ] )
     ]
  ] ; # 
  fhir:subject [
     fhir:reference [ fhir:v "Patient/f001" ] ;
     fhir:display [ fhir:v "P. van den Heuvel" ]
  ] ; # 
  fhir:encounter [
     fhir:reference [ fhir:v "Encounter/f001" ]
  ] ; # 
  fhir:requester [
     fhir:reference [ fhir:v "Practitioner/f001" ] ;
     fhir:display [ fhir:v "E.van den Broek" ]
  ] ; # 
  fhir:note ( [
     fhir:text [ fhir:v "patient almost fainted during procedure" ]
  ] ) . # 

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


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.