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

Data Type Profile: EMA Duration

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

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Duration C 0..* Duration A length of time
Constraints: drt-1, qty-3
... extension 1..1 EmaCoding The Package Shelf Life Duration Extension
URL: http://ema.europa.eu/fhir/extension/codedUnit
Slice: Unordered, Open by value:url
... value Σ 1..1 decimal Numerical value (with implicit precision)
... comparator ?!Σ 0..1 code < | <= | >= | > | ad - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
... system ΣC 0..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Duration.comparator Base required QuantityComparator 📍5.0.0 FHIR Std.

Constraints

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Duration 0..* Duration A length of time
... extension 1..1 EmaCoding The Package Shelf Life Duration Extension
URL: http://ema.europa.eu/fhir/extension/codedUnit
... value 1..1 decimal Numerical value (with implicit precision)
... unit 1..1 string Unit representation

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Duration C 0..* Duration A length of time
Constraints: drt-1, qty-3
... id 0..1 id Unique id for inter-element referencing
... extension 1..1 EmaCoding The Package Shelf Life Duration Extension
URL: http://ema.europa.eu/fhir/extension/codedUnit
Slice: Unordered, Open by value:url
... value Σ 1..1 decimal Numerical value (with implicit precision)
... unit Σ 1..1 string Unit representation
... system ΣC 0..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org
... code ΣC 0..1 code Coded form of the unit

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Duration.comparator Base required QuantityComparator 📍5.0.0 FHIR Std.

Constraints

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

Summary

Mandatory: 3 elements

Extensions

This structure refers to these extensions:

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Duration C 0..* Duration A length of time
Constraints: drt-1, qty-3
... extension 1..1 EmaCoding The Package Shelf Life Duration Extension
URL: http://ema.europa.eu/fhir/extension/codedUnit
Slice: Unordered, Open by value:url
... value Σ 1..1 decimal Numerical value (with implicit precision)
... comparator ?!Σ 0..1 code < | <= | >= | > | ad - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
... system ΣC 0..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Duration.comparator Base required QuantityComparator 📍5.0.0 FHIR Std.

Constraints

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Duration 0..* Duration A length of time
... extension 1..1 EmaCoding The Package Shelf Life Duration Extension
URL: http://ema.europa.eu/fhir/extension/codedUnit
... value 1..1 decimal Numerical value (with implicit precision)
... unit 1..1 string Unit representation

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Duration C 0..* Duration A length of time
Constraints: drt-1, qty-3
... id 0..1 id Unique id for inter-element referencing
... extension 1..1 EmaCoding The Package Shelf Life Duration Extension
URL: http://ema.europa.eu/fhir/extension/codedUnit
Slice: Unordered, Open by value:url
... value Σ 1..1 decimal Numerical value (with implicit precision)
... unit Σ 1..1 string Unit representation
... system ΣC 0..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org
... code ΣC 0..1 code Coded form of the unit

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Duration.comparator Base required QuantityComparator 📍5.0.0 FHIR Std.

Constraints

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

Summary

Mandatory: 3 elements

Extensions

This structure refers to these extensions:

 

Other representations of profile: CSV, Excel, Schematron