Data Management with FHIR
0.1.0 - ci-build

Data Management with FHIR - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## Data Type Profile: Ratio with UCUM quantity units

Official URL: https://interop.aphp.fr/ig/fhir/dm/StructureDefinition/FrRatioUcum | Version: 0.1.0
Draft as of 2025-10-23 | Computable Name: FrRatioUcum

Ratio with numerator and denominator unit UCUM encoded

Usages:

- Use this DataType Profile: Prise de médicaments, Prescription de médicaments, French compound Medication, French non proprietary name Medication... Show 2 more, French branded name Medication and French Ucd Part Medication

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.

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

Nom | Drapeaux | Card. | Type | Description et contraintes Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Ratio | C | 0..* | Ratio | A ratio of two Quantity values - a numerator and a denominator Constraints: rat-1
numerator | Σ | 0..1 | FrSimpleQuantityUcum | Numerator with UCUM unit
denominator | Σ | 0..1 | FrSimpleQuantityUcum | Denominator with UCUM unit
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())`

This structure is derived from Ratio

Nom | Drapeaux | Card. | Type | Description et contraintes Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Ratio |  |  | Ratio |
numerator |  | 0..1 | FrSimpleQuantityUcum | Numerator with UCUM unit
denominator |  | 0..1 | FrSimpleQuantityUcum | Denominator with UCUM unit
Documentation for this format

Nom | Drapeaux | Card. | Type | Description et contraintes Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Ratio | C | 0..* | Ratio | A ratio of two Quantity values - a numerator and a denominator Constraints: rat-1
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 | Σ | 0..1 | FrSimpleQuantityUcum | Numerator with UCUM unit
denominator | Σ | 0..1 | FrSimpleQuantityUcum | Denominator with UCUM unit
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())`

This structure is derived from Ratio

Résumé

Structures

This structure refers to these other structures:

- SimpleQuantity with UCUM quantity unit (https://interop.aphp.fr/ig/fhir/dm/StructureDefinition/FrSimpleQuantityUcum)

Key Elements View

Nom | Drapeaux | Card. | Type | Description et contraintes Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Ratio | C | 0..* | Ratio | A ratio of two Quantity values - a numerator and a denominator Constraints: rat-1
numerator | Σ | 0..1 | FrSimpleQuantityUcum | Numerator with UCUM unit
denominator | Σ | 0..1 | FrSimpleQuantityUcum | Denominator with UCUM unit
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())`

Differential View

This structure is derived from Ratio

Nom | Drapeaux | Card. | Type | Description et contraintes Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Ratio |  |  | Ratio |
numerator |  | 0..1 | FrSimpleQuantityUcum | Numerator with UCUM unit
denominator |  | 0..1 | FrSimpleQuantityUcum | Denominator with UCUM unit
Documentation for this format

Snapshot View

Nom | Drapeaux | Card. | Type | Description et contraintes Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Ratio | C | 0..* | Ratio | A ratio of two Quantity values - a numerator and a denominator Constraints: rat-1
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 | Σ | 0..1 | FrSimpleQuantityUcum | Numerator with UCUM unit
denominator | Σ | 0..1 | FrSimpleQuantityUcum | Denominator with UCUM unit
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())`

This structure is derived from Ratio

Résumé

Structures

This structure refers to these other structures:

- SimpleQuantity with UCUM quantity unit (https://interop.aphp.fr/ig/fhir/dm/StructureDefinition/FrSimpleQuantityUcum)

Other representations of profile: CSV, Excel, Schematron