This page is part of the International Patient Summary Implementation Guide (v1.0.0: STU 1) based on FHIR R4. The current version which supercedes this version is 1.1.0. For a full list of available versions, see the Directory of published versions
Data type Quantity constrained to use UCUM as the code system for units
The official URL for this profile is:
http://hl7.org/fhir/uv/ips/StructureDefinition/Quantity-uv-ips
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from Quantity
This structure is derived from Quantity
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Quantity | S | 0..* | Quantity | A measured amount using UCUM |
system | S | 1..1 | uri | UCUM system for units Fixed Value: http://unitsofmeasure.org |
code | S | 1..1 | code | Coded form of the unit |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Quantity | SI | 0..* | Quantity | A measured amount using UCUM |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
value | ΣI | 0..1 | decimal | Numerical value (with implicit precision) |
comparator | ?!ΣI | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required) |
unit | ΣI | 0..1 | string | Unit representation |
system | SΣI | 1..1 | uri | UCUM system for units Fixed Value: http://unitsofmeasure.org |
code | SΣI | 1..1 | code | Coded form of the unit |
Documentation for this format |
This structure is derived from Quantity
Differential View
This structure is derived from Quantity
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Quantity | S | 0..* | Quantity | A measured amount using UCUM |
system | S | 1..1 | uri | UCUM system for units Fixed Value: http://unitsofmeasure.org |
code | S | 1..1 | code | Coded form of the unit |
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Quantity | SI | 0..* | Quantity | A measured amount using UCUM |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
value | ΣI | 0..1 | decimal | Numerical value (with implicit precision) |
comparator | ?!ΣI | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required) |
unit | ΣI | 0..1 | string | Unit representation |
system | SΣI | 1..1 | uri | UCUM system for units Fixed Value: http://unitsofmeasure.org |
code | SΣI | 1..1 | code | Coded form of the unit |
Documentation for this format |
Other representations of profile: Schematron
Path | Conformance | ValueSet |
Quantity.comparator | required | QuantityComparator |
Id | Path | Details | Requirements |
ele-1 | Quantity | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
qty-3 | Quantity | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() | |
ele-1 | Quantity.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Quantity.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Quantity.value | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Quantity.comparator | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Quantity.unit | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Quantity.system | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | Quantity.code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |