Release 4B

This page is part of the FHIR Specification (v4.3.0: R4B - STU). 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

Observation-decimal.xml

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

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

Jump past Narrative

Explores the edge cases of the decimal data type (id = "decimal")

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

<Observation xmlns="http://hl7.org/fhir">
  <id value="decimal"/> 
  <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative</b> </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 &quot;decimal&quot; </p> </div> <p> <b> status</b> : final</p> <p> <b> code</b> : Decimal Testing Observation <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span> </p> <blockquote> <p> <b> component</b> </p> <p> <b> code</b> : Component <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span> </p> <p> <b> value</b> : 1.0 g</p> </blockquote> <blockquote> <p> <b> component</b> </p> <p> <b> code</b> : Component <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span> </p> <p> <b> value</b> : 1.00 g</p> </blockquote> <blockquote> <p> <b> component</b> </p> <p> <b> code</b> : Component <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span> </p> <p> <b> value</b> : 1.0 g</p> </blockquote> <blockquote> <p> <b> component</b> </p> <p> <b> code</b> : Component <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span> </p> <p> <b> value</b> : 1E-22 g</p> </blockquote> <blockquote> <p> <b> component</b> </p> <p> <b> code</b> : Component <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span> </p> <p> <b> value</b> : 1000000000000000000 g</p> </blockquote> <blockquote> <p> <b> component</b> </p> <p> <b> code</b> : Component <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span> </p> <p> <b> value</b> : 1.000000000000000000E-245 g</p> </blockquote> <blockquote> <p> <b> component</b> </p> <p> <b> code</b> : Component <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span> </p> <p> <b> value</b> : -1.000000000000000000E+245 g</p> </blockquote> </div> </text> <status value="final"/> 
  <code> 
    <text value="Decimal Testing Observation"/> 
  </code> 
  <component> 
    <code> 
      <text value="Component"/> 
    </code> 
    <valueQuantity> 
      <value value="1.0"/> 
      <unit value="g"/> 
    </valueQuantity> 
  </component> 
  <component> 
    <code> 
      <text value="Component"/> 
    </code> 
    <valueQuantity> 
      <value value="1.00"/> 
      <unit value="g"/> 
    </valueQuantity> 
  </component> 
  <component> 
    <code> 
      <text value="Component"/> 
    </code> 
    <valueQuantity> 
      <value value="1.0e0"/> 
      <unit value="g"/> 
    </valueQuantity> 
  </component> 
  <component> 
    <code> 
      <text value="Component"/> 
    </code> 
    <valueQuantity> 
      <value value="0.0000000000000000000001"/> 
      <unit value="g"/> 
    </valueQuantity> 
  </component> 
  <component> 
    <code> 
      <text value="Component"/> 
    </code> 
    <valueQuantity> 
      <value value="1000000000000000000"/> 
      <unit value="g"/> 
    </valueQuantity> 
  </component> 
  <component> 
    <code> 
      <text value="Component"/> 
    </code> 
    <valueQuantity> 
      <value value="1.000000000000000000e-245"/> 
      <unit value="g"/> 
    </valueQuantity> 
  </component> 
  <component> 
    <code> 
      <text value="Component"/> 
    </code> 
    <valueQuantity> 
      <value value="-1.000000000000000000e245"/> 
      <unit value="g"/> 
    </valueQuantity> 
  </component> 
</Observation> 

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.