Guide d'implémentation de la ePrescription
0.1.0 - ci-build FRANCE

Guide d'implémentation de la ePrescription - version de développement local (intégration continue v0.1.0) construite par les outils de publication FHIR (HL7® FHIR® Standard). Voir le répertoire des versions publiées

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

Official URL: https://interop.esante.gouv.fr/ig/fhir/eprescription/StructureDefinition/FrRatioMedication | Version: 0.1.0
Draft as of 2026-02-23 | Computable Name: FrRatioMedication

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

Ratio avec des unités UCUM ou EDQM si un code est utilisé.

Utilisations:

- Utilise ce/t/te profil de type de données: FR Medication Non Compound, 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.

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

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
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())`

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://interop.esante.gouv.fr/ig/fhir/eprescription/StructureDefinition/FrSimpleQuantityMedication)

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

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())`

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://interop.esante.gouv.fr/ig/fhir/eprescription/StructureDefinition/FrSimpleQuantityMedication)

Other representations of profile: CSV, Excel, Schematron