FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example DiagnosticReport/lipids (Turtle)

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

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

Lipid profile

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

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

[a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "lipids"] ; # 
  fhir:type [ fhir:v "collection"] ; # 
  fhir:entry ( [
     fhir:fullUrl [ fhir:v "https://example.com/base/DiagnosticReport/lipids"^^xsd:anyURI ] ;
     fhir:resource ( <https://example.com/base/DiagnosticReport/lipids> )
  ] [
     fhir:fullUrl [ fhir:v "https://example.com/base/Observation/cholesterol"^^xsd:anyURI ] ;
     fhir:resource ( <https://example.com/base/Observation/cholesterol> )
  ] [
     fhir:fullUrl [ fhir:v "https://example.com/base/Observation/triglyceride"^^xsd:anyURI ] ;
     fhir:resource ( <https://example.com/base/Observation/triglyceride> )
  ] [
     fhir:fullUrl [ fhir:v "https://example.com/base/Observation/hdlcholesterol"^^xsd:anyURI ] ;
     fhir:resource ( <https://example.com/base/Observation/hdlcholesterol> )
  ] [
     fhir:fullUrl [ fhir:v "https://example.com/base/Observation/ldlcholesterol"^^xsd:anyURI ] ;
     fhir:resource ( <https://example.com/base/Observation/ldlcholesterol> )
  ] )] . # 

<https://example.com/base/DiagnosticReport/lipids> a fhir:DiagnosticReport ;
  fhir:id [ fhir:v "lipids"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n						<h3>Lipid Report for Wile. E. COYOTE (MRN: 23453) issued 3-Mar 2009 14:26</h3>\n						<pre>\nTest                  Units       Value       Reference Range\nCholesterol           mmol/L      6.3         &lt;4.5\nTriglyceride          mmol/L      1.3         &lt;2.0\nHDL Cholesterol       mmol/L      1.3         &gt;1.5\nLDL Chol. (calc)      mmol/L      4.2         &lt;3.0\n      </pre>\n						<p>Acme Laboratory, Inc signed: Dr Pete Pathologist</p>\n					</div>"
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "http://acme.com/lab/reports"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "5234342" ]
  ] ) ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0074"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "HM" ]
     ] )
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:57698-3 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "57698-3" ] ;
       fhir:display [ fhir:v "Lipid panel with direct LDL - Serum or Plasma" ]
     ] ) ;
     fhir:text [ fhir:v "Lipid Panel" ]
  ] ; #      first, various administrative/context stuff     
  fhir:subject [
     fhir:reference [ fhir:v "Patient/pat2" ]
  ] ; # 
  fhir:effective [ fhir:v "2011-03-04T08:30:00+11:00"^^xsd:dateTime] ; # 
  fhir:issued [ fhir:v "2013-01-27T11:45:33+11:00"^^xsd:dateTime] ; #      all this report is final     
  fhir:performer ( [
     fhir:reference [ fhir:v "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f" ] ;
     fhir:display [ fhir:v "Acme Laboratory, Inc" ]
  ] ) ; # 
  fhir:result ( [
     fhir:id [ fhir:v "1" ] ;
     fhir:reference [ fhir:v "Observation/cholesterol" ]
  ] [
     fhir:id [ fhir:v "2" ] ;
     fhir:reference [ fhir:v "Observation/triglyceride" ]
  ] [
     fhir:id [ fhir:v "3" ] ;
     fhir:reference [ fhir:v "Observation/hdlcholesterol" ]
  ] [
     fhir:id [ fhir:v "4" ] ;
     fhir:reference [ fhir:v "Observation/ldlcholesterol" ]
  ] ) . #      now the atomic results     

<https://example.com/base/Observation/cholesterol> a fhir:Observation ;
  fhir:id [ fhir:v "cholesterol"] ; #  
#	  all the data items (= Observations) are bundled along with
#	  this diagnostic report. It would be equally
#      valid - and normal - for them to be separate trackable
#      items. However for the purposes of this example, it's
#	  more convenient to have them here.    ,      for users steeped in v2, each observation roughly corresponds with an
#	    OBX, and the Diagnostic Report with an ORU_R01 message     
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Observation cholesterol</b></p><a name=\"cholesterol\"> </a><a name=\"hccholesterol\"> </a><a name=\"cholesterol-en-US\"> </a><p><b>status</b>: final</p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 35200-5}\">Cholesterol</span></p><p><b>subject</b>: <a href=\"patient-example-b.html\">Duck D Donald (official) other, DoB Unknown ( Medical record number (use: usual, ))</a></p><p><b>performer</b>: <a href=\"organization-example-lab.html\">Acme Laboratory, Inc</a></p><p><b>value</b>: 6.3 mmol/L<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemmol/L = 'mmol/L')</span></p><h3>ReferenceRanges</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>High</b></td></tr><tr><td style=\"display: none\">*</td><td>4.5 mmol/L<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemmol/L = 'mmol/L')</span></td></tr></table></div>"
  ] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:35200-5 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "35200-5" ] ;
       fhir:display [ fhir:v "Cholesterol [Mass or Moles/volume] in Serum or Plasma" ]
     ] ) ;
     fhir:text [ fhir:v "Cholesterol" ]
  ] ; # 
  fhir:subject [
     fhir:reference [ fhir:v "Patient/pat2" ]
  ] ; # 
  fhir:performer ( [
     fhir:reference [ fhir:v "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f" ] ;
     fhir:display [ fhir:v "Acme Laboratory, Inc" ]
  ] ) ; # 
  fhir:value [
     a fhir:Quantity ;
     fhir:value [ fhir:v "6.3"^^xsd:decimal ] ;
     fhir:unit [ fhir:v "mmol/L" ] ;
     fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
     fhir:code [ fhir:v "mmol/L" ]
  ] ; # 
  fhir:referenceRange ( [
     fhir:high [
       fhir:value [ fhir:v "4.5"^^xsd:decimal ] ;
       fhir:unit [ fhir:v "mmol/L" ] ;
       fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "mmol/L" ]
     ]
  ] ) . # 

<https://example.com/base/Observation/triglyceride> a fhir:Observation ;
  fhir:id [ fhir:v "triglyceride"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Observation triglyceride</b></p><a name=\"triglyceride\"> </a><a name=\"hctriglyceride\"> </a><a name=\"triglyceride-en-US\"> </a><p><b>status</b>: final</p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 35217-9}\">Triglyceride</span></p><p><b>subject</b>: <a href=\"patient-example-b.html\">Duck D Donald (official) other, DoB Unknown ( Medical record number (use: usual, ))</a></p><p><b>performer</b>: <a href=\"organization-example-lab.html\">Acme Laboratory, Inc</a></p><p><b>value</b>: 1.3 mmol/L<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemmol/L = 'mmol/L')</span></p><h3>ReferenceRanges</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>High</b></td></tr><tr><td style=\"display: none\">*</td><td>2.0 mmol/L<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemmol/L = 'mmol/L')</span></td></tr></table></div>"
  ] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:35217-9 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "35217-9" ] ;
       fhir:display [ fhir:v "Triglyceride [Mass or Moles/volume] in Serum or Plasma" ]
     ] ) ;
     fhir:text [ fhir:v "Triglyceride" ]
  ] ; # 
  fhir:subject [
     fhir:reference [ fhir:v "Patient/pat2" ]
  ] ; # 
  fhir:performer ( [
     fhir:reference [ fhir:v "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f" ] ;
     fhir:display [ fhir:v "Acme Laboratory, Inc" ]
  ] ) ; # 
  fhir:value [
     a fhir:Quantity ;
     fhir:value [ fhir:v "1.3"^^xsd:decimal ] ;
     fhir:unit [ fhir:v "mmol/L" ] ;
     fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
     fhir:code [ fhir:v "mmol/L" ]
  ] ; # 
  fhir:referenceRange ( [
     fhir:high [
       fhir:value [ fhir:v "2.0"^^xsd:decimal ] ;
       fhir:unit [ fhir:v "mmol/L" ] ;
       fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "mmol/L" ]
     ]
  ] ) . # 

<https://example.com/base/Observation/hdlcholesterol> a fhir:Observation ;
  fhir:id [ fhir:v "hdlcholesterol"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Observation hdlcholesterol</b></p><a name=\"hdlcholesterol\"> </a><a name=\"hchdlcholesterol\"> </a><a name=\"hdlcholesterol-en-US\"> </a><p><b>status</b>: final</p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 2085-9}\">Cholesterol in HDL</span></p><p><b>subject</b>: <a href=\"patient-example-b.html\">Duck D Donald (official) other, DoB Unknown ( Medical record number (use: usual, ))</a></p><p><b>performer</b>: <a href=\"organization-example-lab.html\">Acme Laboratory, Inc</a></p><p><b>value</b>: 1.3 mmol/L<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemmol/L = 'mmol/L')</span></p><h3>ReferenceRanges</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Low</b></td></tr><tr><td style=\"display: none\">*</td><td>1.5 mmol/L<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemmol/L = 'mmol/L')</span></td></tr></table></div>"
  ] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:2085-9 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "2085-9" ] ;
       fhir:display [ fhir:v "Cholesterol in HDL [Mass/volume] in Serum or Plasma" ]
     ] ) ;
     fhir:text [ fhir:v "Cholesterol in HDL" ]
  ] ; # 
  fhir:subject [
     fhir:reference [ fhir:v "Patient/pat2" ]
  ] ; # 
  fhir:performer ( [
     fhir:reference [ fhir:v "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f" ] ;
     fhir:display [ fhir:v "Acme Laboratory, Inc" ]
  ] ) ; # 
  fhir:value [
     a fhir:Quantity ;
     fhir:value [ fhir:v "1.3"^^xsd:decimal ] ;
     fhir:unit [ fhir:v "mmol/L" ] ;
     fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
     fhir:code [ fhir:v "mmol/L" ]
  ] ; # 
  fhir:referenceRange ( [
     fhir:low [
       fhir:value [ fhir:v "1.5"^^xsd:decimal ] ;
       fhir:unit [ fhir:v "mmol/L" ] ;
       fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "mmol/L" ]
     ]
  ] ) . # 

<https://example.com/base/Observation/ldlcholesterol> a fhir:Observation ;
  fhir:id [ fhir:v "ldlcholesterol"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Observation ldlcholesterol</b></p><a name=\"ldlcholesterol\"> </a><a name=\"hcldlcholesterol\"> </a><a name=\"ldlcholesterol-en-US\"> </a><p><b>status</b>: final</p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 13457-7}\">LDL Chol. (Calc)</span></p><p><b>subject</b>: <a href=\"patient-example-b.html\">Duck D Donald (official) other, DoB Unknown ( Medical record number (use: usual, ))</a></p><p><b>performer</b>: <a href=\"organization-example-lab.html\">Acme Laboratory, Inc</a></p><p><b>value</b>: 4.6 mmol/L<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemmol/L = 'mmol/L')</span></p><h3>ReferenceRanges</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>High</b></td></tr><tr><td style=\"display: none\">*</td><td>3.0 mmol/L<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemmol/L = 'mmol/L')</span></td></tr></table></div>"
  ] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:13457-7 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "13457-7" ] ;
       fhir:display [ fhir:v "Cholesterol in LDL [Mass/volume] in Serum or Plasma by calculation" ]
     ] ) ;
     fhir:text [ fhir:v "LDL Chol. (Calc)" ]
  ] ; # 
  fhir:subject [
     fhir:reference [ fhir:v "Patient/pat2" ]
  ] ; # 
  fhir:performer ( [
     fhir:reference [ fhir:v "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f" ] ;
     fhir:display [ fhir:v "Acme Laboratory, Inc" ]
  ] ) ; # 
  fhir:value [
     a fhir:Quantity ;
     fhir:value [ fhir:v "4.6"^^xsd:decimal ] ;
     fhir:unit [ fhir:v "mmol/L" ] ;
     fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
     fhir:code [ fhir:v "mmol/L" ]
  ] ; # 
  fhir:referenceRange ( [
     fhir:high [
       fhir:value [ fhir:v "3.0"^^xsd:decimal ] ;
       fhir:unit [ fhir:v "mmol/L" ] ;
       fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "mmol/L" ]
     ]
  ] ) . # 

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


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.