Guide d'implémentation du médicament
0.1.0 - ci-build
Guide d'implémentation du médicament - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://hl7.fr/fhir/fr/medication/StructureDefinition/FrRatioMedication | Version: 0.1.0 | |||
| Draft as of 2025-07-09 | Computable Name: FrRatioMedication | |||
Ratio with numerator and denominator unit UCUM or EDQM encoded
Usages:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Ratio | A ratio of two precise Quantity values - a numerator and a denominator Constraints: rat-1 |
![]() ![]() |
Σ | 0..1 | FrSimpleQuantityMedication | Numerator with UCUM or EDQM unit |
![]() ![]() |
Σ | 0..1 | FrSimpleQuantityMedication | Denominator with UCUM or EDQM unit |
Documentation for this format | ||||
| Id | Grade | Path(s) | Details | Requirements |
| 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Ratio | A ratio of two precise Quantity values - a numerator and a denominator | |
![]() ![]() |
0..1 | FrSimpleQuantityMedication | Numerator with UCUM or EDQM unit | |
![]() ![]() |
0..1 | FrSimpleQuantityMedication | Denominator with UCUM or EDQM unit | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Ratio | A ratio of two precise Quantity values - a numerator and a denominator Constraints: rat-1 |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() |
Σ | 0..1 | FrSimpleQuantityMedication | Numerator with UCUM or EDQM unit |
![]() ![]() |
Σ | 0..1 | FrSimpleQuantityMedication | Denominator with UCUM or EDQM unit |
Documentation for this format | ||||
| Id | Grade | Path(s) | Details | Requirements |
| 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
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Ratio | A ratio of two precise Quantity values - a numerator and a denominator Constraints: rat-1 |
![]() ![]() |
Σ | 0..1 | FrSimpleQuantityMedication | Numerator with UCUM or EDQM unit |
![]() ![]() |
Σ | 0..1 | FrSimpleQuantityMedication | Denominator with UCUM or EDQM unit |
Documentation for this format | ||||
| Id | Grade | Path(s) | Details | Requirements |
| 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Ratio | A ratio of two precise Quantity values - a numerator and a denominator | |
![]() ![]() |
0..1 | FrSimpleQuantityMedication | Numerator with UCUM or EDQM unit | |
![]() ![]() |
0..1 | FrSimpleQuantityMedication | Denominator with UCUM or EDQM unit | |
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Ratio | A ratio of two precise Quantity values - a numerator and a denominator Constraints: rat-1 |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() |
Σ | 0..1 | FrSimpleQuantityMedication | Numerator with UCUM or EDQM unit |
![]() ![]() |
Σ | 0..1 | FrSimpleQuantityMedication | Denominator with UCUM or EDQM unit |
Documentation for this format | ||||
| Id | Grade | Path(s) | Details | Requirements |
| 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
Other representations of profile: CSV, Excel, Schematron