International Patient Summary Implementation Guide - Local Development build (v1.0.0). 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![]() |
---|---|---|---|---|
![]() ![]() | S | 0..* | Quantity | A measured amount using UCUM |
![]() ![]() ![]() | S | 1..1 | uri | UCUM system for units Fixed Value: http://unitsofmeasure.org |
![]() ![]() ![]() | S | 1..1 | code | Coded form of the unit |
![]() |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | SI | 0..* | Quantity | A measured amount using UCUM |
![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
![]() ![]() ![]() | ΣI | 0..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() | ?!ΣI | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required) |
![]() ![]() ![]() | ΣI | 0..1 | string | Unit representation |
![]() ![]() ![]() | SΣI | 1..1 | uri | UCUM system for units Fixed Value: http://unitsofmeasure.org |
![]() ![]() ![]() | SΣI | 1..1 | code | Coded form of the unit |
![]() |
This structure is derived from Quantity
Differential View
This structure is derived from Quantity
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | S | 0..* | Quantity | A measured amount using UCUM |
![]() ![]() ![]() | S | 1..1 | uri | UCUM system for units Fixed Value: http://unitsofmeasure.org |
![]() ![]() ![]() | S | 1..1 | code | Coded form of the unit |
![]() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | SI | 0..* | Quantity | A measured amount using UCUM |
![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
![]() ![]() ![]() | ΣI | 0..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() | ?!ΣI | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required) |
![]() ![]() ![]() | ΣI | 0..1 | string | Unit representation |
![]() ![]() ![]() | SΣI | 1..1 | uri | UCUM system for units Fixed Value: http://unitsofmeasure.org |
![]() ![]() ![]() | SΣI | 1..1 | code | Coded form of the unit |
![]() |
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()) |