CH Core (R4)
7.0.0-ballot - ballot Switzerland flag

CH Core (R4), published by HL7 Switzerland. This guide is not an authorized publication; it is the continuous build for version 7.0.0-ballot 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

Data Type Profile: CH EMED Ratio with EMED Units

Official URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-emed-ratio-with-emed-units Version: 7.0.0-ballot
Active as of 2026-10-21 Computable Name: CHCoreRatioWithEmedUnits

Copyright/Legal: CC0-1.0

A ratio with defined units

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description Differentials, Snapshots, and other representations.

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Ratio C 0..* Ratio A ratio of two Quantity values - a numerator and a denominator
Constraints: rat-1
Ratio.numerator This element is included in summaries. C 1..1 CHCoreQuantityWithEmedUnits Numerator value
Constraints: sqty-1
Ratio.denominator This element is included in summaries. C 1..1 CHCoreQuantityWithEmedUnits Denominator value
Constraints: sqty-1

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
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())
sqty-1 error Ratio.numerator, Ratio.denominator The comparator is not used on a SimpleQuantity comparator.empty()

This structure is derived from Ratio

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Ratio Ratio
Ratio.numerator 1..1 CHCoreQuantityWithEmedUnits Numerator value
Ratio.denominator 1..1 CHCoreQuantityWithEmedUnits Denominator value

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: doco
Ratio C 0..* Ratio A ratio of two Quantity values - a numerator and a denominator
Constraints: rat-1
Ratio.id 0..1 string Unique id for inter-element referencing
Ratio.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Ratio.numerator This element is included in summaries. C 1..1 CHCoreQuantityWithEmedUnits Numerator value
Constraints: sqty-1
Ratio.denominator This element is included in summaries. C 1..1 CHCoreQuantityWithEmedUnits Denominator value
Constraints: sqty-1

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
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())
sqty-1 error Ratio.numerator, Ratio.denominator The comparator is not used on a SimpleQuantity comparator.empty()

This structure is derived from Ratio

Summary

Mandatory: 2 elements

Structures

This structure refers to these other structures:

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Ratio C 0..* Ratio A ratio of two Quantity values - a numerator and a denominator
Constraints: rat-1
Ratio.numerator This element is included in summaries. C 1..1 CHCoreQuantityWithEmedUnits Numerator value
Constraints: sqty-1
Ratio.denominator This element is included in summaries. C 1..1 CHCoreQuantityWithEmedUnits Denominator value
Constraints: sqty-1

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
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())
sqty-1 error Ratio.numerator, Ratio.denominator The comparator is not used on a SimpleQuantity comparator.empty()

Differential View

This structure is derived from Ratio

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Ratio Ratio
Ratio.numerator 1..1 CHCoreQuantityWithEmedUnits Numerator value
Ratio.denominator 1..1 CHCoreQuantityWithEmedUnits Denominator value

doco Documentation for this format

Snapshot ViewView

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Ratio C 0..* Ratio A ratio of two Quantity values - a numerator and a denominator
Constraints: rat-1
Ratio.id 0..1 string Unique id for inter-element referencing
Ratio.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Ratio.numerator This element is included in summaries. C 1..1 CHCoreQuantityWithEmedUnits Numerator value
Constraints: sqty-1
Ratio.denominator This element is included in summaries. C 1..1 CHCoreQuantityWithEmedUnits Denominator value
Constraints: sqty-1

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
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())
sqty-1 error Ratio.numerator, Ratio.denominator The comparator is not used on a SimpleQuantity comparator.empty()

This structure is derived from Ratio

Summary

Mandatory: 2 elements

Structures

This structure refers to these other structures:

 

Other representations of profile: CSV, Excel, Schematron