Quantity
Base StructureDefinition for Quantity Type: A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies.
Complex data type in FHIR R4. Maturity: Not stated.
Elements
| Element | Type | Cardinality | Description |
|---|---|---|---|
id | string | 0..1 | Unique id for inter-element referencing |
extension | Extension | 0..* | Additional content defined by implementations |
value | decimal | 0..1 | Numerical value (with implicit precision) |
comparator | code | 0..1 | < | <= | >= | > - how to understand the value |
unit | string | 0..1 | Unit representation |
system | uri | 0..1 | System that defines coded unit form |
code | code | 0..1 | Coded form of the unit |
Reference
Official FHIR R4 specification: Quantity.