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 . Page versions: R5 R4B R4 R3

Example DiagnosticReport/f202 (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 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 "f202"] ; # 
  fhir:type [ fhir:v "collection"] ; # 
  fhir:entry ( [
     fhir:fullUrl [ fhir:v "https://example.com/base/DiagnosticReport/f202"^^xsd:anyURI ] ;
     fhir:resource ( <https://example.com/base/DiagnosticReport/f202> )
  ] [
     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/f202> a fhir:DiagnosticReport ;
  fhir:id [ fhir:v "f202"] ; #    No identifier was available   
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2><span title=\"Codes: {http://snomed.info/sct 104177005}\">Blood culture for bacteria, including anaerobic screen</span> (<span title=\"Codes: {http://snomed.info/sct 15220000}, {http://terminology.hl7.org/CodeSystem/v2-0074 LAB}\">Laboratory test</span>) </h2><table class=\"grid\"><tr><td>Subject</td><td><b>Roel(OFFICIAL)</b> male, DoB: 1960-03-13 ( BSN: 123456789 (use: OFFICIAL))</td></tr><tr><td>Reported</td><td>2013-03-11T10:28:00+01:00</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>Flags</b></td><td><b>Reported</b></td></tr><tr><td><a href=\"observation-example-f206-staphylococcus.html\"><span title=\"Codes: {http://acmelabs.org 104177}, {http://loinc.org 600-7}\">Blood culture</span></a></td><td><span title=\"Codes: {http://snomed.info/sct 3092008}\">Staphylococcus aureus</span></td><td><span title=\"Codes: {http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation POS}\">Positive</span></td><td/></tr></table><div><p>Blood culture tested positive on staphylococcus aureus</p>\n</div><p><b>Coded Conclusions :</b></p><ul><li><span title=\"Codes: {http://snomed.info/sct 428763004}\">Bacteremia due to staphylococcus</span></li></ul></div>"
  ] ; # 
  fhir:basedOn ( [
     fhir:reference [ fhir:v "ServiceRequest/req" ]
  ] ) ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
     fhir:coding ( [
       a sct:15220000 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "15220000" ] ;
       fhir:display [ fhir:v "Laboratory test" ]
     ] [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0074"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "LAB" ]
     ] ) #    Lab test   
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       a sct:104177005 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "104177005" ] ;
       fhir:display [ fhir:v "Blood culture for bacteria, including anaerobic screen" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:reference [ fhir:v "Patient/f201" ] ;
     fhir:display [ fhir:v "Roel" ]
  ] ; # 
  fhir:issued [ fhir:v "2013-03-11T10:28:00+01:00"^^xsd:dateTime] ; # 
  fhir:performer ( [
     fhir:reference [ fhir:v "Organization/f201" ] ;
     fhir:display [ fhir:v "AUMC" ]
  ] ) ; # 
  fhir:result ( [
     fhir:reference [ fhir:v "Observation/f206" ] ;
     fhir:display [ fhir:v "Results for staphylococcus analysis on Roel's blood culture" ]
  ] ) ; # 
  fhir:conclusion [ fhir:v "Blood culture tested positive on staphylococcus aureus"] ; # 
  fhir:conclusionCode ( [
     fhir:coding ( [
       a sct:428763004 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "428763004" ] ;
       fhir:display [ fhir:v "Bacteremia due to staphylococcus" ]
     ] )
  ] ) . # 

<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>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>Blood culture for bacteria, including anaerobic screen <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#104177005)</span></td></tr></table><p><b>subject</b>: <a href=\"patient-example-f201-roel.html\">Patient/f201: Roel</a> &quot;Roel&quot;</p><p><b>encounter</b>: <a href=\"encounter-example-f203-20130311.html\">Encounter/f203: Roel's encounter on March elevanth 2013</a></p><p><b>requester</b>: <a href=\"practitioner-example-f201-ab.html\">Practitioner/f201: Dokter Bronsig</a> &quot;Dokter Bronsig&quot;</p></div>"
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "original-order"] ; # 
  fhir:code [
     fhir:concept [
       fhir:coding ( [
         a sct:104177005 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "104177005" ] ;
         fhir:display [ fhir:v "Blood culture for bacteria, including anaerobic screen" ]
       ] )
     ]
  ] ; # 
  fhir:subject [
     fhir:reference [ fhir:v "Patient/f201" ] ;
     fhir:display [ fhir:v "Roel" ]
  ] ; # 
  fhir:encounter [
     fhir:reference [ fhir:v "Encounter/f203" ] ;
     fhir:display [ fhir:v "Roel's encounter on March elevanth 2013" ]
  ] ; # 
  fhir:requester [
     fhir:reference [ fhir:v "Practitioner/f201" ] ;
     fhir:display [ fhir:v "Dokter Bronsig" ]
  ] . # 

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


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.