Diagnostics
This
page
is
part
of
the
FHIR
Specification
(v4.3.0:
R4B
(v5.0.0-draft-final:
Final
QA
Preview
for
R5
-
STU
see
ballot
notes
).
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
| Orders and Observations Work Group | Maturity Level : N/A | Standards Status : Informative | Compartments : 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",
"text": {
"status": "generated",
"div": "<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 "decimal" </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>"
"resourceType" : "Observation",
"id" : "decimal",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Observation</b><a name=\"decimal\"> </a></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 Observation "decimal" </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-24 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>"
},
"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"
},
{
"code": {
"text": "Component"
},
"valueQuantity": {
"value": 1.00,
"unit": "g"
}
"valueQuantity" : {
"value" : 1.0,
"unit" : "g"
}
},
{
"code" : {
"text" : "Component"
},
{
"code": {
"text": "Component"
},
"valueQuantity": {
"value": 1.0,
"unit": "g"
}
"valueQuantity" : {
"value" : 1.00,
"unit" : "g"
}
},
{
"code" : {
"text" : "Component"
},
{
"code": {
"text": "Component"
},
"valueQuantity": {
"value": 1E-22,
"unit": "g"
}
"valueQuantity" : {
"value" : 1.0,
"unit" : "g"
}
},
{
"code" : {
"text" : "Component"
},
{
"code": {
"text": "Component"
},
"valueQuantity": {
"value": 1000000000000000000,
"unit": "g"
}
"valueQuantity" : {
"value" : 1E-22,
"unit" : "g"
}
},
{
"code" : {
"text" : "Component"
},
{
"code": {
"text": "Component"
},
"valueQuantity": {
"value": 1.000000000000000000E-245,
"unit": "g"
}
"valueQuantity" : {
"value" : 1000000000000000000,
"unit" : "g"
}
},
{
"code" : {
"text" : "Component"
},
{
"code": {
"text": "Component"
},
"valueQuantity": {
"value": -1.000000000000000000E+245,
"unit": "g"
}
"valueQuantity" : {
"value" : 1.000000000000000000E-24,
"unit" : "g"
}
]
},
{
"code" : {
"text" : "Component"
},
"valueQuantity" : {
"value" : -1.000000000000000000E+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.
FHIR
®©
HL7.org
2011+.
FHIR
Release
4B
(v4.3.0)
hl7.fhir.r4b.core#4.3.0
R5
hl7.fhir.core#5.0.0-draft-final
generated
on
Sat,
May
28,
2022
12:56+1000.
Wed,
Mar
1,
2023
23:07+1100.
Links:
Search
|
Version
History
|
Table
of
Contents
|
Glossary
|
QA
Page
|
Compare
to
R4
R4B
|
Compare
to
R5
Draft
|
|
Propose
a
change