IE Medication Events Implementation Guide
0.1.0 - Nostalgic IE (draft)
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
| 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)
MedicationRequest
Usage info
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from Extension
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Extension(4.0.1) | IE MPD Patient Age at Prescribing | |
![]() ![]() |
0..0 | Extension | ||
![]() ![]() |
1..1 | uri | "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-patient-age-at-prescribing" | |
![]() ![]() |
C | 1..1 | Age | Value of extension |
![]() ![]() ![]() |
1..1 | decimal | Numerical value (with implicit precision) | |
![]() ![]() ![]() |
1..1 | uri | System that defines coded unit form Required Pattern: http://unitsofmeasure.org | |
![]() ![]() ![]() |
1..1 | code | Coded form of the unit Binding: IEMpdAgeUnits (0.1.0) (extensible) | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Extension(4.0.1) | IE MPD Patient Age at Prescribing Constraints: ext-1 | |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | ||
![]() ![]() |
1..1 | uri | "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-patient-age-at-prescribing" | |
![]() ![]() |
C | 1..1 | Age | Value of extension Constraints: ie-age-units-1 |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |
![]() ![]() ![]() |
Σ | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() |
?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented. |
![]() ![]() ![]() |
Σ | 0..1 | string | Unit representation |
![]() ![]() ![]() |
ΣC | 1..1 | uri | System that defines coded unit form Required Pattern: http://unitsofmeasure.org |
![]() ![]() ![]() |
Σ | 1..1 | code | Coded form of the unit Binding: IEMpdAgeUnits (0.1.0) (extensible) |
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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Extension(4.0.1) | IE MPD Patient Age at Prescribing | |
![]() ![]() |
0..0 | Extension | ||
![]() ![]() |
1..1 | uri | "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-patient-age-at-prescribing" | |
![]() ![]() |
C | 1..1 | Age | Value of extension |
![]() ![]() ![]() |
1..1 | decimal | Numerical value (with implicit precision) | |
![]() ![]() ![]() |
1..1 | uri | System that defines coded unit form Required Pattern: http://unitsofmeasure.org | |
![]() ![]() ![]() |
1..1 | code | Coded form of the unit Binding: IEMpdAgeUnits (0.1.0) (extensible) | |
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Extension(4.0.1) | IE MPD Patient Age at Prescribing Constraints: ext-1 | |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | ||
![]() ![]() |
1..1 | uri | "https://hl7-ie.github.io/medication-events/fhir/StructureDefinition/ie-mpd-patient-age-at-prescribing" | |
![]() ![]() |
C | 1..1 | Age | Value of extension Constraints: ie-age-units-1 |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |
![]() ![]() ![]() |
Σ | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() |
?!Σ | 0..1 | code | < | <= | >= | > - how to understand the value Binding: QuantityComparator (required): How the Quantity should be understood and represented. |
![]() ![]() ![]() |
Σ | 0..1 | string | Unit representation |
![]() ![]() ![]() |
ΣC | 1..1 | uri | System that defines coded unit form Required Pattern: http://unitsofmeasure.org |
![]() ![]() ![]() |
Σ | 1..1 | code | Coded form of the unit Binding: IEMpdAgeUnits (0.1.0) (extensible) |
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
| 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 |
| 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')
|