Release 4 FHIR CI-Build

This page is part of the Continuous Integration Build of FHIR Specification (v4.0.1: R4 - Mixed Normative and STU ) in it's permanent home (it will always (will be available incorrect/inconsistent at this URL). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see times).
See the Directory of published versions . Page versions: R5 R4B R4

Observation-decimal.json

Example Observation/decimal (JSON)

Maturity Level : N/A
Responsible Owner: Orders and Observations Work Group Standards Status : Informative Compartments : Device , Encounter , Group , 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",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: decimal</p><p><b>status</b>: final</p><p><b>code</b>: Decimal Testing Observation <span>(Details )</span></p><blockquote><p><b>component</b></p><p><b>code</b>: Component <span>(Details )</span></p><p><b>value</b>: 1.0 g</p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Component <span>(Details )</span></p><p><b>value</b>: 1.00 g</p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Component <span>(Details )</span></p><p><b>value</b>: 1.0 g</p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Component <span>(Details )</span></p><p><b>value</b>: 1E-22 g</p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Component <span>(Details )</span></p><p><b>value</b>: 1000000000000000000 g</p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Component <span>(Details )</span></p><p><b>value</b>: 1.000000000000000000E-245 g</p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: Component <span>(Details )</span></p><p><b>value</b>: -1.000000000000000000E+245 g</p></blockquote></div>"

  "resourceType" : "Observation",
  "id" : "decimal",
  "status" : "final",
  "code" : {
    "text" : "Decimal Testing Observation"

  },
  "status": "final",
  "code": {
    "text": "Decimal Testing Observation"

  "component" : [{
    "code" : {
      "text" : "Component"
    },
    "valueQuantity" : {
      "value" : 1.0,
      "unit" : "g"
    }

  },
  "component": [
    {
      "code": {
        "text": "Component"
      },
      "valueQuantity": {
        "value": 1.0,
        "unit": "g"
      }

  {
    "code" : {
      "text" : "Component"

    },
    {
      "code": {
        "text": "Component"
      },
      "valueQuantity": {
        "value": 1.00,
        "unit": "g"
      }

    "valueQuantity" : {
      "value" : 1.00,
      "unit" : "g"
    }
  },
  {
    "code" : {
      "text" : "Component"

    },
    {
      "code": {
        "text": "Component"
      },
      "valueQuantity": {
        "value": 1.0,
        "unit": "g"
      }

    "valueQuantity" : {
      "value" : 1.0,
      "unit" : "g"
    }
  },
  {
    "code" : {
      "text" : "Component"

    },
    {
      "code": {
        "text": "Component"
      },
      "valueQuantity": {
        "value": 1E-22,
        "unit": "g"
      }

    "valueQuantity" : {
      "value" : 1E-17,
      "unit" : "g"
    }
  },
  {
    "code" : {
      "text" : "Component"

    },
    {
      "code": {
        "text": "Component"
      },
      "valueQuantity": {
        "value": 1000000000000000000,
        "unit": "g"
      }

    "valueQuantity" : {
      "value" : 10000000000000000,
      "unit" : "g"
    }
  },
  {
    "code" : {
      "text" : "Component"

    },
    {
      "code": {
        "text": "Component"
      },
      "valueQuantity": {
        "value": 1.000000000000000000E-245,
        "unit": "g"
      }

    "valueQuantity" : {
      "value" : 1.00000000000000000E-24,
      "unit" : "g"
    }
  },
  {
    "code" : {
      "text" : "Component"

    },
    {
      "code": {
        "text": "Component"
      },
      "valueQuantity": {
        "value": -1.000000000000000000E+245,
        "unit": "g"
      }

    "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.