FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example 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)

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"/> 
  <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.00000000000000001"/> 
      <unit value="g"/> 
    </valueQuantity> 
  </component> 
  <component> 
    <code> 
      <text value="Component"/> 
    </code> 
    <valueQuantity> 
      <value value="10000000000000000"/> 
      <unit value="g"/> 
    </valueQuantity> 
  </component> 
  <component> 
    <code> 
      <text value="Component"/> 
    </code> 
    <valueQuantity> 
      <value value="1.00000000000000000e-24"/> 
      <unit value="g"/> 
    </valueQuantity> 
  </component> 
  <component> 
    <code> 
      <text value="Component"/> 
    </code> 
    <valueQuantity> 
      <value value="-1.00000000000000000e245"/> 
      <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.