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><b>Generated Narrative: Observation</b><a name=\"cholesterol\"> </a><a name=\"hccholesterol\"> </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 Observation &quot;cholesterol&quot; </p></div><p><b>status</b>: final</p><p><b>code</b>: Cholesterol <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#35200-5 &quot;Cholesterol [Mass or Moles/volume] in Serum or Plasma&quot;)</span></p><p><b>subject</b>: <a href=\"patient-example-b.html\">Patient/pat2</a> &quot;Duck DONALD&quot;</p><p><b>performer</b>: <a href=\"organization-example-lab.html\">Organization/1832473e-2fe0-452d-abe9-3cdb9879522f: Acme Laboratory, Inc</a> &quot;Clinical Lab&quot;</p><p><b>value</b>: 6.3 mmol/L<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mmol/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 code mmol/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><b>Generated Narrative: Observation</b><a name=\"triglyceride\"> </a><a name=\"hctriglyceride\"> </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 Observation &quot;triglyceride&quot; </p></div><p><b>status</b>: final</p><p><b>code</b>: Triglyceride <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#35217-9 &quot;Triglyceride [Mass or Moles/volume] in Serum or Plasma&quot;)</span></p><p><b>subject</b>: <a href=\"patient-example-b.html\">Patient/pat2</a> &quot;Duck DONALD&quot;</p><p><b>performer</b>: <a href=\"organization-example-lab.html\">Organization/1832473e-2fe0-452d-abe9-3cdb9879522f: Acme Laboratory, Inc</a> &quot;Clinical Lab&quot;</p><p><b>value</b>: 1.3 mmol/L<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mmol/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 code mmol/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><b>Generated Narrative: Observation</b><a name=\"hdlcholesterol\"> </a><a name=\"hchdlcholesterol\"> </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 Observation &quot;hdlcholesterol&quot; </p></div><p><b>status</b>: final</p><p><b>code</b>: Cholesterol in HDL <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#2085-9 &quot;Cholesterol in HDL [Mass/volume] in Serum or Plasma&quot;)</span></p><p><b>subject</b>: <a href=\"patient-example-b.html\">Patient/pat2</a> &quot;Duck DONALD&quot;</p><p><b>performer</b>: <a href=\"organization-example-lab.html\">Organization/1832473e-2fe0-452d-abe9-3cdb9879522f: Acme Laboratory, Inc</a> &quot;Clinical Lab&quot;</p><p><b>value</b>: 1.3 mmol/L<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mmol/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 code mmol/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><b>Generated Narrative: Observation</b><a name=\"ldlcholesterol\"> </a><a name=\"hcldlcholesterol\"> </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 Observation &quot;ldlcholesterol&quot; </p></div><p><b>status</b>: final</p><p><b>code</b>: LDL Chol. (Calc) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#13457-7 &quot;Cholesterol in LDL [Mass/volume] in Serum or Plasma by calculation&quot;)</span></p><p><b>subject</b>: <a href=\"patient-example-b.html\">Patient/pat2</a> &quot;Duck DONALD&quot;</p><p><b>performer</b>: <a href=\"organization-example-lab.html\">Organization/1832473e-2fe0-452d-abe9-3cdb9879522f: Acme Laboratory, Inc</a> &quot;Clinical Lab&quot;</p><p><b>value</b>: 4.6 mmol/L<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mmol/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 code mmol/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.