IE Medication Events Implementation Guide
0.1.0 - Nostalgic IE (draft) Ireland flag

IE Medication Events Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Extension: IE MPD Patient Age at Prescribing

Official URL: https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-patient-age-at-prescribing Version: 0.1.0
Draft as of 2026-09-28 Computable Name: IEMpdPatientAgeAtPrescribing

HIQA EP 1.4.2 Age (cluster): the patient's age recorded on the prescription. HIQA: if the date of birth shows the patient is under 12 years, recording the age on the prescription record is a legal requirement in Ireland. Age should be entered in years, and to the nearest three months (or less) for children under two. 1.4.2.1 value and 1.4.2.2 type are Mandatory within the cluster.

Context of Use

    This extension may be used on the following element(s)

Usage info

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Extension Content

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

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension(4.0.1) IE MPD Patient Age at Prescribing
... extension 0..0 Extension
... url 1..1 uri "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-patient-age-at-prescribing"
... value[x] C 1..1 Age Value of extension
.... value 1..1 decimal Numerical value (with implicit precision)
.... system 1..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org
.... code 1..1 code Coded form of the unit
Binding: IEMpdAgeUnits (0.1.0) (extensible)

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension(4.0.1) IE MPD Patient Age at Prescribing
Constraints: ext-1
... id 0..1 string Unique id for inter-element referencing
... extension 0..0 Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
... url 1..1 uri "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-patient-age-at-prescribing"
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
.... value Σ 1..1 decimal Numerical value (with implicit precision)
.... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
.... unit Σ 0..1 string Unit representation
.... system ΣC 1..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org
.... code Σ 1..1 code Coded form of the unit
Binding: IEMpdAgeUnits (0.1.0) (extensible)

doco Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type Age: HIQA EP 1.4.2 Age (cluster): the patient's age recorded on the prescription. HIQA: if the date of birth shows the patient is under 12 years, recording the age on the prescription record is a legal requirement in Ireland. Age should be entered in years, and to the nearest three months (or less) for children under two. 1.4.2.1 value and 1.4.2.2 type are Mandatory within the cluster.

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension(4.0.1) IE MPD Patient Age at Prescribing
... extension 0..0 Extension
... url 1..1 uri "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-patient-age-at-prescribing"
... value[x] C 1..1 Age Value of extension
.... value 1..1 decimal Numerical value (with implicit precision)
.... system 1..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org
.... code 1..1 code Coded form of the unit
Binding: IEMpdAgeUnits (0.1.0) (extensible)

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension(4.0.1) IE MPD Patient Age at Prescribing
Constraints: ext-1
... id 0..1 string Unique id for inter-element referencing
... extension 0..0 Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
... url 1..1 uri "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-patient-age-at-prescribing"
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
.... value Σ 1..1 decimal Numerical value (with implicit precision)
.... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
.... unit Σ 0..1 string Unit representation
.... system ΣC 1..1 uri System that defines coded unit form
Required Pattern: http://unitsofmeasure.org
.... code Σ 1..1 code Coded form of the unit
Binding: IEMpdAgeUnits (0.1.0) (extensible)

doco Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type Age: HIQA EP 1.4.2 Age (cluster): the patient's age recorded on the prescription. HIQA: if the date of birth shows the patient is under 12 years, recording the age on the prescription record is a legal requirement in Ireland. Age should be entered in years, and to the nearest three months (or less) for children under two. 1.4.2.1 value and 1.4.2.2 type are Mandatory within the cluster.

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

Path Status Usage ValueSet Version Source
Extension.value[x].comparator Base required QuantityComparator 📍4.0.1 FHIR Std.
Extension.value[x].code Base extensible IE MPD Age Units 📍0.1.0 This IG

Constraints

Id Grade Path(s) Description Expression
ele-1 error Extension, Extension.value[x], Extension.value[x].extension, Extension.value[x].value, Extension.value[x].comparator, Extension.value[x].unit, Extension.value[x].system, Extension.value[x].code All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Extension, Extension.value[x].extension Must have either extensions or value[x], not both extension.exists() != value.exists()
ie-age-units-1 error Extension.value[x] The age SHALL be in UCUM years (a), months (mo) or days (d) (HIQA EP 1.4.2.2) system = 'http://unitsofmeasure.org' and (code = 'a' or code = 'mo' or code = 'd')