Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). 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

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: <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:Bundle;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "lipids"];
  fhir:Bundle.type [ fhir:value "collection"];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://example.com/base/DiagnosticReport/lipids" ];
     fhir:Bundle.entry.resource <https://example.com/base/DiagnosticReport/lipids>
  ], [
     fhir:index 1;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://example.com/base/Observation/cholesterol" ];
     fhir:Bundle.entry.resource <https://example.com/base/Observation/cholesterol>
  ], [
     fhir:index 2;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://example.com/base/Observation/triglyceride" ];
     fhir:Bundle.entry.resource <https://example.com/base/Observation/triglyceride>
  ], [
     fhir:index 3;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://example.com/base/Observation/hdlcholesterol" ];
     fhir:Bundle.entry.resource <https://example.com/base/Observation/hdlcholesterol>
  ], [
     fhir:index 4;
     fhir:Bundle.entry.fullUrl [ fhir:value "https://example.com/base/Observation/ldlcholesterol" ];
     fhir:Bundle.entry.resource <https://example.com/base/Observation/ldlcholesterol>
  ]] .

<https://example.com/base/DiagnosticReport/lipids> a fhir:DiagnosticReport;
  fhir:Resource.id [ fhir:value "lipids"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.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:DiagnosticReport.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://acme.com/lab/reports" ];
     fhir:Identifier.value [ fhir:value "5234342" ]
  ];
  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 "HM" ]
     ]
  ];
  fhir:DiagnosticReport.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:57698-3;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "57698-3" ];
       fhir:Coding.display [ fhir:value "Lipid panel with direct LDL - Serum or Plasma" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "Lipid Panel" ]
  ];
  fhir:DiagnosticReport.subject [
     fhir:Reference.reference [ fhir:value "Patient/pat2" ]
  ];
  fhir:DiagnosticReport.effectiveDateTime [ fhir:value "2011-03-04T08:30:00+11:00"^^xsd:dateTime];
  fhir:DiagnosticReport.issued [ fhir:value "2013-01-27T11:45:33+11:00"^^xsd:dateTime];
  fhir:DiagnosticReport.performer [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f" ];
     fhir:Reference.display [ fhir:value "Acme Laboratory, Inc" ]
  ];
  fhir:DiagnosticReport.result [
     fhir:index 0;
     fhir:Element.id [ fhir:value "1" ];
     fhir:Reference.reference [ fhir:value "Observation/cholesterol" ]
  ], [
     fhir:index 1;
     fhir:Element.id [ fhir:value "2" ];
     fhir:Reference.reference [ fhir:value "Observation/triglyceride" ]
  ], [
     fhir:index 2;
     fhir:Element.id [ fhir:value "3" ];
     fhir:Reference.reference [ fhir:value "Observation/hdlcholesterol" ]
  ], [
     fhir:index 3;
     fhir:Element.id [ fhir:value "4" ];
     fhir:Reference.reference [ fhir:value "Observation/ldlcholesterol" ]
  ] .

<https://example.com/base/Observation/cholesterol> a fhir:Observation;
  fhir:Resource.id [ fhir:value "cholesterol"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"cholesterol\"> </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 [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>-</td><td><b>High</b></td></tr><tr><td>*</td><td>4.5 mmol/L<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mmol/L = 'mmol/L')</span></td></tr></table></div>"
  ];
  fhir:Observation.status [ fhir:value "final"];
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:35200-5;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "35200-5" ];
       fhir:Coding.display [ fhir:value "Cholesterol [Moles/​volume] in Serum or Plasma" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "Cholesterol" ]
  ];
  fhir:Observation.subject [
     fhir:Reference.reference [ fhir:value "Patient/pat2" ]
  ];
  fhir:Observation.performer [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f" ];
     fhir:Reference.display [ fhir:value "Acme Laboratory, Inc" ]
  ];
  fhir:Observation.valueQuantity [
     fhir:Quantity.value [ fhir:value "6.3"^^xsd:decimal ];
     fhir:Quantity.unit [ fhir:value "mmol/L" ];
     fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
     fhir:Quantity.code [ fhir:value "mmol/L" ]
  ];
  fhir:Observation.referenceRange [
     fhir:index 0;
     fhir:Observation.referenceRange.high [
       fhir:Quantity.value [ fhir:value "4.5"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "mmol/L" ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "mmol/L" ]
     ]
  ] .

<https://example.com/base/Observation/triglyceride> a fhir:Observation;
  fhir:Resource.id [ fhir:value "triglyceride"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"triglyceride\"> </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 [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>-</td><td><b>High</b></td></tr><tr><td>*</td><td>2.0 mmol/L<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mmol/L = 'mmol/L')</span></td></tr></table></div>"
  ];
  fhir:Observation.status [ fhir:value "final"];
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:35217-9;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "35217-9" ];
       fhir:Coding.display [ fhir:value "Triglyceride [Moles/​volume] in Serum or Plasma" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "Triglyceride" ]
  ];
  fhir:Observation.subject [
     fhir:Reference.reference [ fhir:value "Patient/pat2" ]
  ];
  fhir:Observation.performer [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f" ];
     fhir:Reference.display [ fhir:value "Acme Laboratory, Inc" ]
  ];
  fhir:Observation.valueQuantity [
     fhir:Quantity.value [ fhir:value "1.3"^^xsd:decimal ];
     fhir:Quantity.unit [ fhir:value "mmol/L" ];
     fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
     fhir:Quantity.code [ fhir:value "mmol/L" ]
  ];
  fhir:Observation.referenceRange [
     fhir:index 0;
     fhir:Observation.referenceRange.high [
       fhir:Quantity.value [ fhir:value "2.0"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "mmol/L" ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "mmol/L" ]
     ]
  ] .

<https://example.com/base/Observation/hdlcholesterol> a fhir:Observation;
  fhir:Resource.id [ fhir:value "hdlcholesterol"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"hdlcholesterol\"> </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;HDL Cholesterol&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>-</td><td><b>Low</b></td></tr><tr><td>*</td><td>1.5 mmol/L<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mmol/L = 'mmol/L')</span></td></tr></table></div>"
  ];
  fhir:Observation.status [ fhir:value "final"];
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:2085-9;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "2085-9" ];
       fhir:Coding.display [ fhir:value "HDL Cholesterol" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "Cholesterol in HDL" ]
  ];
  fhir:Observation.subject [
     fhir:Reference.reference [ fhir:value "Patient/pat2" ]
  ];
  fhir:Observation.performer [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f" ];
     fhir:Reference.display [ fhir:value "Acme Laboratory, Inc" ]
  ];
  fhir:Observation.valueQuantity [
     fhir:Quantity.value [ fhir:value "1.3"^^xsd:decimal ];
     fhir:Quantity.unit [ fhir:value "mmol/L" ];
     fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
     fhir:Quantity.code [ fhir:value "mmol/L" ]
  ];
  fhir:Observation.referenceRange [
     fhir:index 0;
     fhir:Observation.referenceRange.low [
       fhir:Quantity.value [ fhir:value "1.5"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "mmol/L" ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "mmol/L" ]
     ]
  ] .

<https://example.com/base/Observation/ldlcholesterol> a fhir:Observation;
  fhir:Resource.id [ fhir:value "ldlcholesterol"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"ldlcholesterol\"> </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>-</td><td><b>High</b></td></tr><tr><td>*</td><td>3.0 mmol/L<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code mmol/L = 'mmol/L')</span></td></tr></table></div>"
  ];
  fhir:Observation.status [ fhir:value "final"];
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:13457-7;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "13457-7" ];
       fhir:Coding.display [ fhir:value "Cholesterol in LDL [Mass/volume] in Serum or Plasma by calculation" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "LDL Chol. (Calc)" ]
  ];
  fhir:Observation.subject [
     fhir:Reference.reference [ fhir:value "Patient/pat2" ]
  ];
  fhir:Observation.performer [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f" ];
     fhir:Reference.display [ fhir:value "Acme Laboratory, Inc" ]
  ];
  fhir:Observation.valueQuantity [
     fhir:Quantity.value [ fhir:value "4.6"^^xsd:decimal ];
     fhir:Quantity.unit [ fhir:value "mmol/L" ];
     fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
     fhir:Quantity.code [ fhir:value "mmol/L" ]
  ];
  fhir:Observation.referenceRange [
     fhir:index 0;
     fhir:Observation.referenceRange.high [
       fhir:Quantity.value [ fhir:value "3.0"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "mmol/L" ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "mmol/L" ]
     ]
  ] .

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

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

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


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.