CH EMED EPR
2.0.1-ci-build - ci-build Switzerland flag

CH EMED EPR, published by CARA. This guide is not an authorized publication; it is the continuous build for version 2.0.1-ci-build built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/CARA-ch/ch-emed-epr/ and changes regularly. See the Directory of published versions

Data Type Profile: Ratio (Amount / Amount)

Official URL: http://fhir.ch/ig/ch-emed-epr/StructureDefinition/ch-emed-epr-ratio-amount-per-amount Version: 2.0.1-ci-build
Draft as of 2025-09-04 Computable Name: CHEMEDEPRRatioAmountPerAmount

Copyright/Legal: CC0-1.0

A ratio of amount per amount

Usages:

  • This DataType Profile is not used by any profiles in this Implementation Guide

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Ratio C 0..* CHCoreRatioWithEmedUnits A ratio of two Quantity values - a numerator and a denominator
Constraints: rat-1
... id D 0..1 string ✕ This element is not supported
... extension D 0..* Extension ✕ This element is not supported
Slice: Unordered, Open by value:url
... numerator Σ 1..1 CHEMEDEPRAmountQuantity Numerator value

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
rat-1errorRatioNumerator 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 CHCoreRatioWithEmedUnits

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Ratio 0..* CHCoreRatioWithEmedUnits A ratio of two Quantity values - a numerator and a denominator
... id D 0..1 string ✕ This element is not supported
... extension D 0..* Extension ✕ This element is not supported
... numerator 1..1 CHEMEDEPRAmountQuantity Numerator value

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Ratio C 0..* CHCoreRatioWithEmedUnits A ratio of two Quantity values - a numerator and a denominator
Constraints: rat-1
... id D 0..1 string ✕ This element is not supported
... extension D 0..* Extension ✕ This element is not supported
Slice: Unordered, Open by value:url
... numerator Σ 1..1 CHEMEDEPRAmountQuantity Numerator value

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
rat-1errorRatioNumerator 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 CHCoreRatioWithEmedUnits

Summary

Structures

This structure refers to these other structures:

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Ratio C 0..* CHCoreRatioWithEmedUnits A ratio of two Quantity values - a numerator and a denominator
Constraints: rat-1
... id D 0..1 string ✕ This element is not supported
... extension D 0..* Extension ✕ This element is not supported
Slice: Unordered, Open by value:url
... numerator Σ 1..1 CHEMEDEPRAmountQuantity Numerator value

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
rat-1errorRatioNumerator 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 CHCoreRatioWithEmedUnits

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Ratio 0..* CHCoreRatioWithEmedUnits A ratio of two Quantity values - a numerator and a denominator
... id D 0..1 string ✕ This element is not supported
... extension D 0..* Extension ✕ This element is not supported
... numerator 1..1 CHEMEDEPRAmountQuantity Numerator value

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Ratio C 0..* CHCoreRatioWithEmedUnits A ratio of two Quantity values - a numerator and a denominator
Constraints: rat-1
... id D 0..1 string ✕ This element is not supported
... extension D 0..* Extension ✕ This element is not supported
Slice: Unordered, Open by value:url
... numerator Σ 1..1 CHEMEDEPRAmountQuantity Numerator value

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
rat-1errorRatioNumerator 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 CHCoreRatioWithEmedUnits

Summary

Structures

This structure refers to these other structures:

 

Other representations of profile: CSV, Excel, Schematron