QI-Core Implementation Guide
4.1.1 - STU 4.1.1 US

This page is part of the Quality Improvement Core Framework (v4.1.1: STU 4) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: DiagnosticReportLab example - TTL Representation

Raw ttl | Download


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

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

 a fhir:DiagnosticReport;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2><span title=\"Codes: {http://loinc.org 58410-2}\">CBC panel - Blood by Automated count</span> (<span title=\"Codes: {http://terminology.hl7.org/CodeSystem/v2-0074 LAB}\">Laboratory</span>) </h2><table class=\"grid\"><tr><td>Subject</td><td><b>Jim Chalmers </b> male, DoB: 1974-12-25 ( Medical record number: 12345 (USUAL))</td></tr><tr><td>When For</td><td>2005-07-05</td></tr><tr><td>Reported</td><td>2005-07-06 11:45:33+1100</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>When For</b></td><td><b>Reported</b></td></tr><tr><td><a href=\"Observation-example.html\"><span title=\"Codes: {http://loinc.org 30350-3}\">Hemoglobin [Mass/volume] in Venous blood</span></a> (<span title=\"Codes: {http://snomed.info/sct 308046002}\">Superficial forearm vein</span>)</td><td>7.2 g/dl</td><td><span title=\"Codes: {http://terminology.hl7.org/CodeSystem/v2-0078 L}\">Below low normal</span></td><td>2013-04-02 10:30:10+0100 --&gt; 2013-04-05 10:30:10+0100</td><td>2013-04-03 03:30:10+0100</td></tr></table></div>"
  ];
  fhir:DiagnosticReport.status [ fhir:value "final"];
  fhir:DiagnosticReport.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0074" ];
       fhir:Coding.code [ fhir:value "LAB" ];
       fhir:Coding.display [ fhir:value "Laboratory" ]     ]
  ];
  fhir:DiagnosticReport.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:58410-2;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "58410-2" ];
       fhir:Coding.display [ fhir:value "CBC panel - Blood by Automated count" ]     ]
  ];
  fhir:DiagnosticReport.subject [
     fhir:Reference.reference [ fhir:value "Patient/example" ];
     fhir:Reference.display [ fhir:value "Peter Chalmers" ]
  ];
  fhir:DiagnosticReport.effectiveDateTime [ fhir:value "2005-07-05"^^xsd:date];
  fhir:DiagnosticReport.issued [ fhir:value "2005-07-06T11:45:33+11:00"^^xsd:dateTime];
  fhir:DiagnosticReport.performer [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Organization/example" ]
  ];
  fhir:DiagnosticReport.result [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Observation/example" ]
  ].

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.