CH Core (R4)
6.0.0-ballot-ci-build - ci-build
CH Core (R4), published by HL7 Switzerland. This guide is not an authorized publication; it is the continuous build for version 6.0.0-ballot-ci-build built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7ch/ch-core/ and changes regularly. See the Directory of published versions
Official URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-emed-ratio-with-emed-units | Version: 6.0.0-ballot-ci-build | |||
Active as of 2025-01-15 | Computable Name: CHCoreRatioWithEmedUnits | |||
Copyright/Legal: CC0-1.0 |
A ratio with defined units
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Ratio | C | 0..* | Ratio | A ratio of two Quantity values - a numerator and a denominator ele-1: All FHIR elements must have a @value or children rat-1: Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present |
numerator | Σ | 1..1 | CHCoreQuantityWithEmedUnits | Numerator value ele-1: All FHIR elements must have a @value or children |
denominator | Σ | 1..1 | CHCoreQuantityWithEmedUnits | Denominator value ele-1: All FHIR elements must have a @value or children |
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()) | |
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()) |
This structure is derived from Ratio
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Ratio | Ratio | |||
numerator | 1..1 | CHCoreQuantityWithEmedUnits | Numerator value | |
denominator | 1..1 | CHCoreQuantityWithEmedUnits | Denominator value | |
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 rat-1: Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present |
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 | Σ | 1..1 | CHCoreQuantityWithEmedUnits | Numerator value |
denominator | Σ | 1..1 | CHCoreQuantityWithEmedUnits | Denominator value |
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() | |
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()) |
This structure is derived from Ratio
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Ratio | C | 0..* | Ratio | A ratio of two Quantity values - a numerator and a denominator ele-1: All FHIR elements must have a @value or children rat-1: Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present |
numerator | Σ | 1..1 | CHCoreQuantityWithEmedUnits | Numerator value ele-1: All FHIR elements must have a @value or children |
denominator | Σ | 1..1 | CHCoreQuantityWithEmedUnits | Denominator value ele-1: All FHIR elements must have a @value or children |
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()) | |
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()) |
Differential View
This structure is derived from Ratio
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Ratio | Ratio | |||
numerator | 1..1 | CHCoreQuantityWithEmedUnits | Numerator value | |
denominator | 1..1 | CHCoreQuantityWithEmedUnits | Denominator value | |
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Ratio | C | 0..* | Ratio | A ratio of two Quantity values - a numerator and a denominator rat-1: Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present |
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 | Σ | 1..1 | CHCoreQuantityWithEmedUnits | Numerator value |
denominator | Σ | 1..1 | CHCoreQuantityWithEmedUnits | Denominator value |
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() | |
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()) |
This structure is derived from Ratio
Other representations of profile: CSV, Excel, Schematron