FHIR IG analytics
Resources that use this resource
Resources that this resource uses
Examples of Use for Extension
No extension usage examples found
Narrative
No narrative content found in resource
Source1
{
"resourceType": "StructureDefinition",
"id": "ie-core-patient-age-at-prescribing",
"url": "https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-patient-age-at-prescribing",
"version": "0.2.0",
"name": "IECorePatientAgeAtPrescribing",
"title": "IE Core Patient Age at Prescribing",
"status": "draft",
"description": "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.",
"fhirVersion": "4.0.1",
"kind": "complex-type",
"abstract": false,
"context": [
{
"type": "element",
"expression": "MedicationRequest"
}
],
"type": "Extension",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
"derivation": "constraint",
"differential": {
"element": [
{
"id": "Extension",
"path": "Extension",
"short": "IE Core Patient Age at Prescribing",
"definition": "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."
},
{
"id": "Extension.extension",
"path": "Extension.extension",
"max": "0"
},
{
"id": "Extension.url",
"path": "Extension.url",
"fixedUri": "https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-patient-age-at-prescribing"
},
{
"id": "Extension.value[x]",
"path": "Extension.value[x]",
"min": 1,
"type": [
{
"code": "Age"
}
],
"constraint": [
{
"key": "ie-age-units-1",
"severity": "error",
"human": "The age SHALL be in UCUM years (a), months (mo) or days (d) (HIQA EP 1.4.2.2)",
"expression": "system = 'http://unitsofmeasure.org' and (code = 'a' or code = 'mo' or code = 'd')",
"source": "https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-patient-age-at-prescribing"
}
]
},
{
"id": "Extension.value[x].value",
"path": "Extension.value[x].value",
"comment": "HIQA EP 1.4.2.1 Age if less than 12 years – value (Mandatory 1..1).",
"min": 1
},
{
"id": "Extension.value[x].system",
"path": "Extension.value[x].system",
"min": 1,
"patternUri": "http://unitsofmeasure.org"
},
{
"id": "Extension.value[x].code",
"path": "Extension.value[x].code",
"comment": "HIQA EP 1.4.2.2 Age if less than 12 years – type (Mandatory 1..1): years, months or days.",
"min": 1,
"binding": {
"strength": "extensible",
"valueSet": "https://hl7-ie.github.io/ie-core/fhir/ie/core/ValueSet/ie-core-age-units"
}
}
]
}
}