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
Ratio data type, constrained to use UCUM as the code system for units.
The official URL for this profile is:
http://hl7.org/fhir/uv/ips/StructureDefinition/Ratio-uv-ips
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from Ratio
This structure is derived from Ratio
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Ratio | S | 0..* | Ratio | A ratio of two Quantity values - a numerator and a denominator |
numerator | S | 0..1 | QuantityIPS | A measured amount using UCUM |
denominator | S | 0..1 | QuantityIPS | A measured amount using UCUM |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Ratio | SI | 0..* | Ratio | A ratio of two Quantity values - a numerator and a denominator |
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 |
numerator | SI | 0..1 | QuantityIPS | A measured amount using UCUM |
denominator | SI | 0..1 | QuantityIPS | A measured amount using UCUM |
Documentation for this format |
This structure is derived from Ratio
Differential View
This structure is derived from Ratio
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Ratio | S | 0..* | Ratio | A ratio of two Quantity values - a numerator and a denominator |
numerator | S | 0..1 | QuantityIPS | A measured amount using UCUM |
denominator | S | 0..1 | QuantityIPS | A measured amount using UCUM |
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Ratio | SI | 0..* | Ratio | A ratio of two Quantity values - a numerator and a denominator |
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 |
numerator | SI | 0..1 | QuantityIPS | A measured amount using UCUM |
denominator | SI | 0..1 | QuantityIPS | A measured amount using UCUM |
Documentation for this format |
Other representations of profile: Schematron
Id | Path | Details | Requirements |
ele-1 | Ratio | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
rat-1 | Ratio | Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present : (numerator.empty() xor denominator.exists()) and (numerator.exists() or extension.exists()) | |
ele-1 | Ratio.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Ratio.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | Ratio.numerator | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
qty-3 | Ratio.numerator | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() | |
ele-1 | Ratio.denominator | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
qty-3 | Ratio.denominator | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() |