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 (JSON)

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

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

Explores the edge cases of the decimal data type

{
  "resourceType" : "Observation",
  "id" : "decimal",
  "status" : "final",
  "code" : {
    "text" : "Decimal Testing Observation"
  },
  "component" : [{
    "code" : {
      "text" : "Component"
    },
    "valueQuantity" : {
      "value" : 1.0,
      "unit" : "g"
    }
  },
  {
    "code" : {
      "text" : "Component"
    },
    "valueQuantity" : {
      "value" : 1.00,
      "unit" : "g"
    }
  },
  {
    "code" : {
      "text" : "Component"
    },
    "valueQuantity" : {
      "value" : 1.0,
      "unit" : "g"
    }
  },
  {
    "code" : {
      "text" : "Component"
    },
    "valueQuantity" : {
      "value" : 1E-17,
      "unit" : "g"
    }
  },
  {
    "code" : {
      "text" : "Component"
    },
    "valueQuantity" : {
      "value" : 10000000000000000,
      "unit" : "g"
    }
  },
  {
    "code" : {
      "text" : "Component"
    },
    "valueQuantity" : {
      "value" : 1.00000000000000000E-24,
      "unit" : "g"
    }
  },
  {
    "code" : {
      "text" : "Component"
    },
    "valueQuantity" : {
      "value" : -1.00000000000000000E+245,
      "unit" : "g"
    }
  }]
}

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.