Release 5 Preview #1

This page is part of the FHIR Specification (v4.2.0: R5 Preview #1). 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 R4

Observationdefinition-example.xml

Orders and Observations Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

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

Jump past Narrative

Example of observationdefinition (id = "example")

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

<ObservationDefinition xmlns="http://hl7.org/fhir">
  <id value="example"/> 
  <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative with Details</b> </p> <p> <b> id</b> : example</p> <p> <b> status</b> : active</p> <p> <b> category</b> : Laboratory <span> (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory'
           = 'Laboratory)</span> </p> <p> <b> code</b> : Albumin/Protein.total in Serum or Plasma by Electrophoresis <span> (Details : {LOINC code '13980-8' = 'Albumin/Protein.total in Serum or Plasma by Electrophoresis',
           given as 'Albumin/Protein.total in Serum or Plasma by Electrophoresis'})</span> </p> <p> <b> permittedDataType</b> : Quantity</p> <p> <b> multipleResultsAllowed</b> : false</p> <p> <b> method</b> : Total measurement <span> (Details : {SNOMED CT code '115341008' = 'Total measurement', given as 'Total measurement'})</span> </p> <p> <b> preferredReportName</b> : Serum albumin/​Protein total</p> <h3> QuantitativeDetails</h3> <table> <tr> <td> -</td> <td> <b> Unit</b> </td> <td> <b> DecimalPrecision</b> </td> </tr> <tr> <td> *</td> <td> % <span> (Details : {UCUM code '%' = '%', given as '%'})</span> </td> <td> 0</td> </tr> </table> <blockquote> <p> <b> qualifiedInterval</b> </p> <p> <b> category</b> : reference</p> <p> <b> range</b> : 50-?</p> <p> <b> context</b> : Normal Range <span> (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal'
             = 'Normal Range', given as 'Normal Range'})</span> </p> </blockquote> <blockquote> <p> <b> qualifiedInterval</b> </p> <p> <b> category</b> : critical</p> <p> <b> range</b> : ?-40</p> <p> <b> context</b> : Normal Range <span> (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal'
             = 'Normal Range', given as 'Normal Range'})</span> </p> </blockquote> </div> </text> <status value="active"/>   <category> 
    <coding> 
      <system value="http://terminology.hl7.org/CodeSystem/observation-category"/> 
      <code value="laboratory"/> 
    </coding> 
  </category> 
  <code> 
    <coding> 
      <system value="http://loinc.org"/> 
      <code value="13980-8"/> 
      <display value="Albumin/Protein.total in Serum or Plasma by Electrophoresis"/> 
    </coding> 
  </code> 
  <permittedDataType value="Quantity"/> 
  <multipleResultsAllowed value="false"/> 
  <method> 
    <coding> 
      <system value="http://snomed.info/sct"/> 
      <code value="115341008"/> 
      <display value="Total measurement"/> 
    </coding> 
  </method> 
  <preferredReportName value="Serum albumin/​Protein total"/> 
  <quantitativeDetails> 
    <unit> 
      <coding> 
        <system value="http://unitsofmeasure.org"/> 
        <code value="%"/> 
        <display value="%"/> 
      </coding> 
    </unit> 
    <decimalPrecision value="0"/> 
  </quantitativeDetails> 
  <qualifiedInterval> 
    <category value="reference"/> 
    <range> 
      <low> 
        <value value="50"/> 
      </low> 
    </range> 
    <context> 
      <coding> 
        <system value="http://terminology.hl7.org/CodeSystem/referencerange-meaning"/> 
        <code value="normal"/> 
        <display value="Normal Range"/> 
      </coding> 
    </context> 
  </qualifiedInterval> 
  <qualifiedInterval> 
    <category value="critical"/> 
    <range> 
      <high> 
        <value value="40"/> 
      </high> 
    </range> 
    <context> 
      <coding> 
        <system value="http://terminology.hl7.org/CodeSystem/referencerange-meaning"/> 
        <code value="normal"/> 
        <display value="Normal Range"/> 
      </coding> 
    </context> 
  </qualifiedInterval> 
</ObservationDefinition> 

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.