This page is part of the International Patient Summary Implementation Guide (v1.1.0: STU 1) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions
Official URL: http://hl7.org/fhir/uv/ips/StructureDefinition/Ratio-uv-ips | Version: 1.1.0 | |||
Standards status: Trial-use | Maturity Level: 2 | Computable Name: RatioIPS |
Ratio data type, constrained to use UCUM as the code system for units.
Allow only UCUM as the code system for units.
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from Ratio
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Ratio | 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 | C | 0..* | Ratio | A ratio of two Quantity values - a numerator and a denominator |
numerator | SC | 0..1 | QuantityIPS | A measured amount using UCUM |
denominator | SC | 0..1 | QuantityIPS | A measured amount using UCUM |
Documentation for this format |
Id | Grade | Path(s) | Details | Requirements |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
qty-3 | error | Ratio.numerator, Ratio.denominator | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() | |
rat-1 | error | 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()) |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Ratio | C | 0..* | Ratio | A ratio of two Quantity values - a numerator and a denominator |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
numerator | SC | 0..1 | QuantityIPS | A measured amount using UCUM |
denominator | SC | 0..1 | QuantityIPS | A measured amount using UCUM |
Documentation for this format |
Id | Grade | Path(s) | Details | Requirements |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
qty-3 | error | Ratio.numerator, Ratio.denominator | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() |
Differential View
This structure is derived from Ratio
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Ratio | 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 |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Ratio | C | 0..* | Ratio | A ratio of two Quantity values - a numerator and a denominator |
numerator | SC | 0..1 | QuantityIPS | A measured amount using UCUM |
denominator | SC | 0..1 | QuantityIPS | A measured amount using UCUM |
Documentation for this format |
Id | Grade | Path(s) | Details | Requirements |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
qty-3 | error | Ratio.numerator, Ratio.denominator | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() | |
rat-1 | error | 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()) |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Ratio | C | 0..* | Ratio | A ratio of two Quantity values - a numerator and a denominator |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
numerator | SC | 0..1 | QuantityIPS | A measured amount using UCUM |
denominator | SC | 0..1 | QuantityIPS | A measured amount using UCUM |
Documentation for this format |
Id | Grade | Path(s) | Details | Requirements |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
qty-3 | error | Ratio.numerator, Ratio.denominator | If a code for the unit is present, the system SHALL also be present : code.empty() or system.exists() |
Other representations of profile: CSV, Excel, Schematron