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/emaDuration | Version: 1.2.1 | |||
| Draft as of 2026-06-26 | Computable Name: EmaDuration | |||
EMA Duration
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..* | Duration | A length of time Constraints: drt-1, qty-3 |
![]() ![]() |
1..1 | EmaCoding | The Package Shelf Life Duration Extension URL: http://ema.europa.eu/fhir/extension/codedUnit Slice: Unordered, Open by value:url | |
![]() ![]() |
Σ | 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 | 0..1 | uri | System that defines coded unit form Required Pattern: http://unitsofmeasure.org |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Duration.comparator | Base | required | QuantityComparator | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| drt-1 | error | Duration | There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. |
code.exists() implies ((system = %ucum) and value.exists())
|
| 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 | Duration | If a code for the unit is present, the system SHALL also be present |
code.empty() or system.exists()
|
This structure is derived from Duration
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Duration | A length of time | |
![]() ![]() |
1..1 | EmaCoding | The Package Shelf Life Duration Extension URL: http://ema.europa.eu/fhir/extension/codedUnit | |
![]() ![]() |
1..1 | decimal | Numerical value (with implicit precision) | |
![]() ![]() |
1..1 | string | Unit representation | |
![]() ![]() |
0..1 | uri | System that defines coded unit form Required Pattern: http://unitsofmeasure.org | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Duration | A length of time Constraints: drt-1, qty-3 |
![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |
![]() ![]() |
1..1 | EmaCoding | The Package Shelf Life Duration Extension URL: http://ema.europa.eu/fhir/extension/codedUnit Slice: Unordered, Open by value:url | |
![]() ![]() |
Σ | 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 | 0..1 | uri | System that defines coded unit form Required Pattern: http://unitsofmeasure.org |
![]() ![]() |
ΣC | 0..1 | code | Coded form of the unit |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Duration.comparator | Base | required | QuantityComparator | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| drt-1 | error | Duration | There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. |
code.exists() implies ((system = %ucum) and value.exists())
|
| 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 | Duration | If a code for the unit is present, the system SHALL also be present |
code.empty() or system.exists()
|
This structure is derived from Duration
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Duration | A length of time Constraints: drt-1, qty-3 |
![]() ![]() |
1..1 | EmaCoding | The Package Shelf Life Duration Extension URL: http://ema.europa.eu/fhir/extension/codedUnit Slice: Unordered, Open by value:url | |
![]() ![]() |
Σ | 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 | 0..1 | uri | System that defines coded unit form Required Pattern: http://unitsofmeasure.org |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Duration.comparator | Base | required | QuantityComparator | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| drt-1 | error | Duration | There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. |
code.exists() implies ((system = %ucum) and value.exists())
|
| 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 | Duration | 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 Duration
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Duration | A length of time | |
![]() ![]() |
1..1 | EmaCoding | The Package Shelf Life Duration Extension URL: http://ema.europa.eu/fhir/extension/codedUnit | |
![]() ![]() |
1..1 | decimal | Numerical value (with implicit precision) | |
![]() ![]() |
1..1 | string | Unit representation | |
![]() ![]() |
0..1 | uri | System that defines coded unit form Required Pattern: http://unitsofmeasure.org | |
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Duration | A length of time Constraints: drt-1, qty-3 |
![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |
![]() ![]() |
1..1 | EmaCoding | The Package Shelf Life Duration Extension URL: http://ema.europa.eu/fhir/extension/codedUnit Slice: Unordered, Open by value:url | |
![]() ![]() |
Σ | 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 | 0..1 | uri | System that defines coded unit form Required Pattern: http://unitsofmeasure.org |
![]() ![]() |
ΣC | 0..1 | code | Coded form of the unit |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Duration.comparator | Base | required | QuantityComparator | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| drt-1 | error | Duration | There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. |
code.exists() implies ((system = %ucum) and value.exists())
|
| 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 | Duration | If a code for the unit is present, the system SHALL also be present |
code.empty() or system.exists()
|
This structure is derived from Duration
Other representations of profile: CSV, Excel, Schematron