{
"description": "The patient's allergy and intolerance statement sent with an ePrescription (HIQA EP 1.6.1 / 1.6.2). Either it lists the allergies (entry → IECoreAllergyIntolerance), or it states why none are recorded (emptyReason: e.g. nilknown = no known allergies, notasked, unavailable). A prescription cannot be sent without one, so a pharmacist can always tell 'no known allergies' from 'not asked' (clinical-safety hazard HZ-03).",
"_filename": "StructureDefinition-ie-core-list-allergies-at-prescribing.json",
"package_name": "nostalgic-ie.fhir.core",
"date": null,
"derivation": "constraint",
"publisher": null,
"fhirVersion": "4.0.1",
"name": "IECoreListAllergiesAtPrescribing",
"abstract": false,
"type": "List",
"experimental": null,
"resourceType": "StructureDefinition",
"title": "IE Core Allergy Statement at Prescribing",
"package_version": "0.2.0",
"status": "draft",
"id": "178325bb-648d-45ad-888f-6e60c2489959",
"kind": "resource",
"url": "https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-list-allergies-at-prescribing",
"version": "0.2.0",
"differential": {
"element": [ {
"id": "List",
"path": "List",
"constraint": [ {
"key": "ie-list-allergy-1",
"human": "The allergy statement SHALL either list allergies or give the reason none are recorded (HIQA EP 1.6.1 / 1.6.2)",
"source": "https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-list-allergies-at-prescribing",
"severity": "error",
"expression": "entry.exists() or emptyReason.exists()"
} ]
}, {
"id": "List.status",
"path": "List.status",
"patternCode": "current"
}, {
"id": "List.mode",
"path": "List.mode",
"patternCode": "snapshot"
}, {
"id": "List.code",
"min": 1,
"path": "List.code",
"mustSupport": true,
"patternCodeableConcept": {
"coding": [ {
"code": "48765-2",
"system": "http://loinc.org",
"display": "Allergies and adverse reactions Document"
} ]
}
}, {
"id": "List.subject",
"min": 1,
"path": "List.subject",
"type": [ {
"code": "Reference",
"targetProfile": [ "https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-patient-eprescription" ]
} ],
"mustSupport": true
}, {
"id": "List.date",
"min": 1,
"path": "List.date",
"comment": "When the allergy statement was confirmed.",
"mustSupport": true
}, {
"id": "List.source",
"path": "List.source",
"comment": "Who confirmed the allergy statement (HIQA EP 1.6.2.4.2 record entry author).",
"mustSupport": true
}, {
"id": "List.entry",
"path": "List.entry",
"comment": "HIQA EP 1.6.2 Allergies and intolerances (Required 0..*).",
"mustSupport": true
}, {
"id": "List.entry.item",
"path": "List.entry.item",
"type": [ {
"code": "Reference",
"targetProfile": [ "https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-allergyintolerance" ]
} ]
}, {
"id": "List.emptyReason",
"path": "List.emptyReason",
"binding": {
"strength": "extensible",
"valueSet": "http://hl7.org/fhir/ValueSet/list-empty-reason"
},
"comment": "HIQA EP 1.6.1 Reason for not recording allergies and intolerances (Required 0..1; only when no allergies are recorded). nilknown = the patient has no known allergies.",
"mustSupport": true
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/List"
}