International Patient Summary Implementation Guide - Local Development build (v1.0.0). 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![]() |
---|---|---|---|---|
![]() ![]() | S | 0..* | Ratio | A ratio of two Quantity values - a numerator and a denominator |
![]() ![]() ![]() | S | 0..1 | QuantityIPS | A measured amount using UCUM |
![]() ![]() ![]() | S | 0..1 | QuantityIPS | A measured amount using UCUM |
![]() |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | SI | 0..* | Ratio | A ratio of two Quantity values - a numerator and a denominator |
![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
![]() ![]() ![]() | SI | 0..1 | QuantityIPS | A measured amount using UCUM |
![]() ![]() ![]() | SI | 0..1 | QuantityIPS | A measured amount using UCUM |
![]() |
This structure is derived from Ratio
Differential View
This structure is derived from Ratio
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | S | 0..* | Ratio | A ratio of two Quantity values - a numerator and a denominator |
![]() ![]() ![]() | S | 0..1 | QuantityIPS | A measured amount using UCUM |
![]() ![]() ![]() | S | 0..1 | QuantityIPS | A measured amount using UCUM |
![]() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | SI | 0..* | Ratio | A ratio of two Quantity values - a numerator and a denominator |
![]() ![]() ![]() | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
![]() ![]() ![]() | SI | 0..1 | QuantityIPS | A measured amount using UCUM |
![]() ![]() ![]() | SI | 0..1 | QuantityIPS | A measured amount using UCUM |
![]() |
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() |