Generated Narrative: StructureDefinition ch-emed-epr-ratio-amount-per-amount Name Flags Card. Type Description & Constraints Ratio 0..* CHCoreRatioWithEmedUnits A ratio of two Quantity values - a numerator and a denominator #xD; id D 0..1 string ✕ This element is not supported #xD; extension D 0..* Extension ✕ This element is not supported #xD; numerator 1..1 CHEMEDEPRAmountQuantity Numerator value #xD; denominator 1..1 CHEMEDEPRAmountQuantity Denominator value #xD; Documentation for this format
A ratio of two Quantity values - a numerator and a denominator
A relationship of two Quantity values - expressed as a numerator and a denominator.
The Ratio datatype should only be used to express a relationship of two numbers if the relationship cannot be suitably expressed using a Quantity and a common unit. Where the denominator value is known to be fixed to "1", Quantity should be used instead of Ratio.
All FHIR elements must have a @value or children
hasValue() or (children().count() > id.count())
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())
(count(f:numerator) = count(f:denominator)) and ((count(f:numerator) > 0) or (count(f:extension) > 0))
Implementers should not set or read this element. This element is only kept as optional to allow submission of documents that would contain a value, since those documents are still readable by others. The meaning of this element is undefined in this profile.
Extensions are always sliced by (at least) url
Must have either extensions or value[x], not both
exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])