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

Example DiagnosticReport/lipids (XML)

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

Raw XML (canonical form + also see XML Format Specification)

Lipid profile (id = "lipids")

<?xml version="1.0" encoding="UTF-8"?>

<Bundle xmlns="http://hl7.org/fhir">
  <id value="lipids"/> 
  <type value="collection"/> 
  <entry> 
    <fullUrl value="https://example.com/base/DiagnosticReport/lipids"/> 
    <resource> 
      <DiagnosticReport> 
        <id value="lipids"/> 
        <text> 
          <status value="generated"/> 
          <div xmlns="http://www.w3.org/1999/xhtml">
            <h3> Lipid Report for Wile. E. COYOTE (MRN: 23453) issued 3-Mar 2009 14:26</h3> 
            <pre> 
Test                  Units       Value       Reference Range
Cholesterol           mmol/L      6.3         &lt;4.5
Triglyceride          mmol/L      1.3         &lt;2.0
HDL Cholesterol       mmol/L      1.3         &gt;1.5
LDL Chol. (calc)      mmol/L      4.2         &lt;3.0
      </pre> 
            <p> Acme Laboratory, Inc signed: Dr Pete Pathologist</p> 
          </div> 
        </text> 
        <identifier> 
          <system value="http://acme.com/lab/reports"/> 
          <value value="5234342"/> 
        </identifier> 
        <status value="final"/> 
        <category> 
          <coding> 
            <system value="http://terminology.hl7.org/CodeSystem/v2-0074"/> 
            <code value="HM"/> 
          </coding> 
        </category>     <!--       first, various administrative/context stuff       -->
        <code> 
          <coding> 
            <system value="http://loinc.org"/> 
            <code value="57698-3"/> 
            <display value="Lipid panel with direct LDL - Serum or Plasma"/> 
          </coding> 
          <text value="Lipid Panel"/> 
        </code> 
        <subject> 
          <reference value="Patient/pat2"/> 
        </subject> 
        <effectiveDateTime value="2011-03-04T08:30:00+11:00"/>     <!--       all this report is final       --><issued value="2013-01-27T11:45:33+11:00"/> 
        <performer> 
          <reference value="Organization/1832473e-2fe0-452d-abe9-3cdb9879522f"/> 
          <display value="Acme Laboratory, Inc"/> 
        </performer>     <!--       now the atomic results       --><result id="1">
          <reference value="Observation/cholesterol"/> 
        </result> 
        <result id="2">
          <reference value="Observation/triglyceride"/> 
        </result> 
        <result id="3">
          <reference value="Observation/hdlcholesterol"/> 
        </result> 
        <result id="4">
          <reference value="Observation/ldlcholesterol"/> 
        </result> 
      </DiagnosticReport> 
    </resource> 
  </entry> 
  <entry> 
    <fullUrl value="https://example.com/base/Observation/cholesterol"/> 
    <resource> 
      <Observation>     <!--   
    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       --><id value="cholesterol"/> 
        <text> <status value="generated"/> <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> </text> <status value="final"/> 
        <code> 
          <coding> 
            <system value="http://loinc.org"/> 
            <code value="35200-5"/> 
            <display value="Cholesterol [Moles/​volume] in Serum or Plasma"/> 
          </coding> 
          <text value="Cholesterol"/> 
        </code> 
        <subject> 
          <reference value="Patient/pat2"/> 
        </subject> 
        <performer> 
          <reference value="Organization/1832473e-2fe0-452d-abe9-3cdb9879522f"/> 
          <display value="Acme Laboratory, Inc"/> 
        </performer> 
        <valueQuantity> 
          <value value="6.3"/> 
          <unit value="mmol/L"/> 
          <system value="http://unitsofmeasure.org"/> 
          <code value="mmol/L"/> 
        </valueQuantity> 
        <referenceRange> 
          <high> 
            <value value="4.5"/> 
            <unit value="mmol/L"/> 
            <system value="http://unitsofmeasure.org"/> 
            <code value="mmol/L"/> 
          </high> 
        </referenceRange> 
      </Observation> 
    </resource> 
  </entry> 
  <entry> 
    <fullUrl value="https://example.com/base/Observation/triglyceride"/> 
    <resource> 
      <Observation> 
        <id value="triglyceride"/> 
        <text> <status value="generated"/> <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> </text> <status value="final"/> 
        <code> 
          <coding> 
            <system value="http://loinc.org"/> 
            <code value="35217-9"/> 
            <display value="Triglyceride [Moles/​volume] in Serum or Plasma"/> 
          </coding> 
          <text value="Triglyceride"/> 
        </code> 
        <subject> 
          <reference value="Patient/pat2"/> 
        </subject> 
        <performer> 
          <reference value="Organization/1832473e-2fe0-452d-abe9-3cdb9879522f"/> 
          <display value="Acme Laboratory, Inc"/> 
        </performer> 
        <valueQuantity> 
          <value value="1.3"/> 
          <unit value="mmol/L"/> 
          <system value="http://unitsofmeasure.org"/> 
          <code value="mmol/L"/> 
        </valueQuantity> 
        <referenceRange> 
          <high> 
            <value value="2.0"/> 
            <unit value="mmol/L"/> 
            <system value="http://unitsofmeasure.org"/> 
            <code value="mmol/L"/> 
          </high> 
        </referenceRange> 
      </Observation> 
    </resource> 
  </entry> 
  <entry> 
    <fullUrl value="https://example.com/base/Observation/hdlcholesterol"/> 
    <resource> 
      <Observation> 
        <id value="hdlcholesterol"/> 
        <text> <status value="generated"/> <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> </text> <status value="final"/> 
        <code> 
          <coding> 
            <system value="http://loinc.org"/> 
            <code value="2085-9"/> 
            <display value="HDL Cholesterol"/> 
          </coding> 
          <text value="Cholesterol in HDL"/> 
        </code> 
        <subject> 
          <reference value="Patient/pat2"/> 
        </subject> 
        <performer> 
          <reference value="Organization/1832473e-2fe0-452d-abe9-3cdb9879522f"/> 
          <display value="Acme Laboratory, Inc"/> 
        </performer> 
        <valueQuantity> 
          <value value="1.3"/> 
          <unit value="mmol/L"/> 
          <system value="http://unitsofmeasure.org"/> 
          <code value="mmol/L"/> 
        </valueQuantity> 
        <referenceRange> 
          <low> 
            <value value="1.5"/> 
            <unit value="mmol/L"/> 
            <system value="http://unitsofmeasure.org"/> 
            <code value="mmol/L"/> 
          </low> 
        </referenceRange> 
      </Observation> 
    </resource> 
  </entry> 
  <entry> 
    <fullUrl value="https://example.com/base/Observation/ldlcholesterol"/> 
    <resource> 
      <Observation> 
        <id value="ldlcholesterol"/> 
        <text> <status value="generated"/> <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> </text> <status value="final"/> 
        <code> 
          <coding> 
            <system value="http://loinc.org"/> 
            <code value="13457-7"/> 
            <display value="Cholesterol in LDL [Mass/volume] in Serum or Plasma by calculation"/> 
          </coding> 
          <text value="LDL Chol. (Calc)"/> 
        </code> 
        <subject> 
          <reference value="Patient/pat2"/> 
        </subject> 
        <performer> 
          <reference value="Organization/1832473e-2fe0-452d-abe9-3cdb9879522f"/> 
          <display value="Acme Laboratory, Inc"/> 
        </performer> 
        <valueQuantity> 
          <value value="4.6"/> 
          <unit value="mmol/L"/> 
          <system value="http://unitsofmeasure.org"/> 
          <code value="mmol/L"/> 
        </valueQuantity> 
        <referenceRange> 
          <high> 
            <value value="3.0"/> 
            <unit value="mmol/L"/> 
            <system value="http://unitsofmeasure.org"/> 
            <code value="mmol/L"/> 
          </high> 
        </referenceRange> 
      </Observation> 
    </resource> 
  </entry> 
</Bundle> 

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.