Guide d'implémentation du médicament
0.1.0 - ci-build FRANCE

Guide d'implémentation du médicament, publié par Interop'Santé. Ce guide n'est pas une publication autorisée ; C'est la version en intégration continue pour la version 0.1.0 construite par le CI Build FHIR (HL7® FHIR® Standard). Cette version est basée sur le contenu actuel de https://github.com/Interop-Sante/hl7.fhir.fr.medication/ et change régulièrement. Voir le répertoire des versions publiées

## Data Type Profile: Ratio with UCUM or EDQM codes if code is used

Official URL: https://hl7.fr/ig/fhir/medication/StructureDefinition/FrRatioMedication | Version: 0.1.0
Draft as of 2026-05-19 | Computable Name: FrRatioMedication

Ratio with numerator and denominator unit UCUM or EDQM encoded if code is used

Utilisations:

- Utilise ce/t/te profil de type de données: FR Current Medication MedicationStatement, FR Medication History MedicationStatement, FR Medication Non Compound, FR Medication Reconciliation MedicationStatement... Show 3 more, FR Medication Virtual, FR Medication and FR Medication Request

Vous pouvez également vérifier les usages dans le 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 Contraintes Obligations
--- | --- | --- | --- | ---
Ratio | C | 0..* | Ratio | A ratio of two precise Quantity values - a numerator and a denominator Constraints: rat-1
numerator | Σ | 0..1 | FrSimpleQuantityMedication | Numerator value
denominator | Σ | 0..1 | FrSimpleQuantityMedication | Denominator value
Documentation pour ce format

#### Contraintes

Id | Grade | Chemin(s) | Description | Expression
ele-1 | error | **TOUS** les éléments | 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 Contraintes Obligations
--- | --- | --- | --- | ---
Ratio |  | 0..* | Ratio | A ratio of two precise Quantity values - a numerator and a denominator
numerator |  | 0..1 | FrSimpleQuantityMedication | Numerator value
denominator |  | 0..1 | FrSimpleQuantityMedication | Denominator value
Documentation pour ce format

Nom | Drapeaux | Card. | Type | Description et contraintes Filter: Bindings Contraintes Obligations
--- | --- | --- | --- | ---
Ratio | C | 0..* | Ratio | A ratio of two precise 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: Non ordonné, Ouvert par value:url
numerator | Σ | 0..1 | FrSimpleQuantityMedication | Numerator value
denominator | Σ | 0..1 | FrSimpleQuantityMedication | Denominator value
Documentation pour ce format

#### Contraintes

Id | Grade | Chemin(s) | Description | Expression
ele-1 | error | **TOUS** les éléments | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **TOUTES** les 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

Cette structure fait référence à ces autres structures:

- SimpleQuantity with UCUM or EDQM codes or code not used (https://hl7.fr/ig/fhir/medication/StructureDefinition/FrSimpleQuantityMedication)

Key Elements View

Nom | Drapeaux | Card. | Type | Description et contraintes Filter: Bindings Contraintes Obligations
--- | --- | --- | --- | ---
Ratio | C | 0..* | Ratio | A ratio of two precise Quantity values - a numerator and a denominator Constraints: rat-1
numerator | Σ | 0..1 | FrSimpleQuantityMedication | Numerator value
denominator | Σ | 0..1 | FrSimpleQuantityMedication | Denominator value
Documentation pour ce format

#### Contraintes

Id | Grade | Chemin(s) | Description | Expression
ele-1 | error | **TOUS** les éléments | 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 Contraintes Obligations
--- | --- | --- | --- | ---
Ratio |  | 0..* | Ratio | A ratio of two precise Quantity values - a numerator and a denominator
numerator |  | 0..1 | FrSimpleQuantityMedication | Numerator value
denominator |  | 0..1 | FrSimpleQuantityMedication | Denominator value
Documentation pour ce format

Snapshot View

Nom | Drapeaux | Card. | Type | Description et contraintes Filter: Bindings Contraintes Obligations
--- | --- | --- | --- | ---
Ratio | C | 0..* | Ratio | A ratio of two precise 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: Non ordonné, Ouvert par value:url
numerator | Σ | 0..1 | FrSimpleQuantityMedication | Numerator value
denominator | Σ | 0..1 | FrSimpleQuantityMedication | Denominator value
Documentation pour ce format

#### Contraintes

Id | Grade | Chemin(s) | Description | Expression
ele-1 | error | **TOUS** les éléments | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **TOUTES** les 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

Cette structure fait référence à ces autres structures:

- SimpleQuantity with UCUM or EDQM codes or code not used (https://hl7.fr/ig/fhir/medication/StructureDefinition/FrSimpleQuantityMedication)

Other representations of profile: CSV, Excel, Schematron