EMA Write PMS API Implementation Guide - Enrichments
1.2.1 - ci-build
EMA Write PMS API Implementation Guide - Enrichments - Local Development build (v1.2.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: http://ema.europa.eu/fhir/StructureDefinition/emaQuantity | Version: 1.2.1 | |||
| Draft as of 2026-06-26 | Computable Name: EmaQuantity | |||
EMA Quantity
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Quantity | A measured or measurable amount Constraints: qty-3 |
![]() ![]() |
1..1 | Coding | The Comparator Extension URL: http://ema.europa.eu/fhir/extension/comparator Slice: Unordered, Open by value:url Binding: Quantity Operator (required) | |
![]() ![]() |
Σ | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() |
?!Σ | 0..1 | code | < | <= | >= | > | ad - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented. |
![]() ![]() |
Σ | 1..1 | string | Unit representation |
![]() ![]() |
ΣC | 1..1 | uri | System that defines coded unit form Required Pattern: http://spor.ema.europa.eu/v1/lists/100000110633 |
![]() ![]() |
ΣC | 1..1 | code | Coded form of the unit |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Quantity.comparator | Base | required | QuantityComparator | 📍5.0.0 | FHIR Std. |
| 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()
|
| qty-3 | error | Quantity | If a code for the unit is present, the system SHALL also be present |
code.empty() or system.exists()
|
This structure is derived from Quantity
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Quantity | A measured or measurable amount | |
![]() ![]() |
1..1 | Coding | The Comparator Extension URL: http://ema.europa.eu/fhir/extension/comparator Binding: Quantity Operator (required) | |
![]() ![]() |
1..1 | decimal | Numerical value (with implicit precision) | |
![]() ![]() |
1..1 | string | Unit representation | |
![]() ![]() |
1..1 | uri | System that defines coded unit form Required Pattern: http://spor.ema.europa.eu/v1/lists/100000110633 | |
![]() ![]() |
1..1 | code | Coded form of the unit | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Quantity | A measured or measurable amount Constraints: qty-3 |
![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |
![]() ![]() |
1..1 | Coding | The Comparator Extension URL: http://ema.europa.eu/fhir/extension/comparator Slice: Unordered, Open by value:url Binding: Quantity Operator (required) | |
![]() ![]() |
Σ | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() |
?!Σ | 0..1 | code | < | <= | >= | > | ad - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented. |
![]() ![]() |
Σ | 1..1 | string | Unit representation |
![]() ![]() |
ΣC | 1..1 | uri | System that defines coded unit form Required Pattern: http://spor.ema.europa.eu/v1/lists/100000110633 |
![]() ![]() |
ΣC | 1..1 | code | Coded form of the unit |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Quantity.comparator | Base | required | QuantityComparator | 📍5.0.0 | FHIR Std. |
| 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()
|
| qty-3 | error | Quantity | If a code for the unit is present, the system SHALL also be present |
code.empty() or system.exists()
|
This structure is derived from Quantity
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Quantity | A measured or measurable amount Constraints: qty-3 |
![]() ![]() |
1..1 | Coding | The Comparator Extension URL: http://ema.europa.eu/fhir/extension/comparator Slice: Unordered, Open by value:url Binding: Quantity Operator (required) | |
![]() ![]() |
Σ | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() |
?!Σ | 0..1 | code | < | <= | >= | > | ad - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented. |
![]() ![]() |
Σ | 1..1 | string | Unit representation |
![]() ![]() |
ΣC | 1..1 | uri | System that defines coded unit form Required Pattern: http://spor.ema.europa.eu/v1/lists/100000110633 |
![]() ![]() |
ΣC | 1..1 | code | Coded form of the unit |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Quantity.comparator | Base | required | QuantityComparator | 📍5.0.0 | FHIR Std. |
| 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()
|
| qty-3 | error | Quantity | If a code for the unit is present, the system SHALL also be present |
code.empty() or system.exists()
|
Differential View
This structure is derived from Quantity
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Quantity | A measured or measurable amount | |
![]() ![]() |
1..1 | Coding | The Comparator Extension URL: http://ema.europa.eu/fhir/extension/comparator Binding: Quantity Operator (required) | |
![]() ![]() |
1..1 | decimal | Numerical value (with implicit precision) | |
![]() ![]() |
1..1 | string | Unit representation | |
![]() ![]() |
1..1 | uri | System that defines coded unit form Required Pattern: http://spor.ema.europa.eu/v1/lists/100000110633 | |
![]() ![]() |
1..1 | code | Coded form of the unit | |
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Quantity | A measured or measurable amount Constraints: qty-3 |
![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |
![]() ![]() |
1..1 | Coding | The Comparator Extension URL: http://ema.europa.eu/fhir/extension/comparator Slice: Unordered, Open by value:url Binding: Quantity Operator (required) | |
![]() ![]() |
Σ | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() |
?!Σ | 0..1 | code | < | <= | >= | > | ad - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented. |
![]() ![]() |
Σ | 1..1 | string | Unit representation |
![]() ![]() |
ΣC | 1..1 | uri | System that defines coded unit form Required Pattern: http://spor.ema.europa.eu/v1/lists/100000110633 |
![]() ![]() |
ΣC | 1..1 | code | Coded form of the unit |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Quantity.comparator | Base | required | QuantityComparator | 📍5.0.0 | FHIR Std. |
| 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()
|
| qty-3 | error | Quantity | If a code for the unit is present, the system SHALL also be present |
code.empty() or system.exists()
|
This structure is derived from Quantity
Other representations of profile: CSV, Excel, Schematron