{
"description": "The IE Core AllergyIntolerance profile sets minimum expectations for the AllergyIntolerance resource to record, search, and fetch allergy and intolerance data associated with a patient, based on Irish requirements.",
"_filename": "StructureDefinition-ie-core-allergyintolerance.json",
"package_name": "nostalgic-ie.fhir.core",
"date": null,
"derivation": "constraint",
"publisher": null,
"fhirVersion": "4.0.1",
"name": "IECoreAllergyIntolerance",
"abstract": false,
"type": "AllergyIntolerance",
"experimental": null,
"resourceType": "StructureDefinition",
"title": "IE Core AllergyIntolerance",
"package_version": "0.2.0",
"status": "draft",
"id": "df84a61c-635d-4b11-b638-edc730355f43",
"kind": "resource",
"url": "https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-allergyintolerance",
"version": "0.2.0",
"differential": {
"element": [ {
"id": "AllergyIntolerance",
"path": "AllergyIntolerance",
"constraint": [ {
"key": "ie-allergy-1",
"human": "An allergy or intolerance SHALL have a clinical status unless it was entered in error (HIQA PS 5.3.1, Mandatory; FHIR ait-2 forbids clinicalStatus when entered-in-error)",
"source": "https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-allergyintolerance",
"severity": "error",
"expression": "verificationStatus.coding.where(code = 'entered-in-error').exists() or clinicalStatus.exists()"
} ]
}, {
"id": "AllergyIntolerance.clinicalStatus",
"path": "AllergyIntolerance.clinicalStatus",
"comment": "HIQA PS 5.3.1 Allergies or intolerances status (Mandatory): required unless the record was entered in error (invariant ie-allergy-1; FHIR ait-2 forbids clinicalStatus when entered-in-error).",
"mustSupport": true
}, {
"id": "AllergyIntolerance.verificationStatus",
"path": "AllergyIntolerance.verificationStatus",
"comment": "HIQA PS 5.3.5 Certainty (Optional).",
"mustSupport": true
}, {
"id": "AllergyIntolerance.category",
"path": "AllergyIntolerance.category",
"mustSupport": true
}, {
"id": "AllergyIntolerance.code",
"min": 1,
"path": "AllergyIntolerance.code",
"binding": {
"strength": "extensible",
"valueSet": "https://hl7-ie.github.io/ie-core/fhir/ie/core/ValueSet/ie-core-allergy-intolerance-set"
},
"comment": "HIQA PS 5.3.2 Causative agent or allergen (Mandatory); EP 1.6.2.1 Allergies or intolerances (Required).",
"mustSupport": true
}, {
"id": "AllergyIntolerance.patient",
"path": "AllergyIntolerance.patient",
"type": [ {
"code": "Reference",
"targetProfile": [ "https://hl7-ie.github.io/ie-core/fhir/ie/core/StructureDefinition/ie-core-patient" ]
} ],
"mustSupport": true
}, {
"id": "AllergyIntolerance.onset[x]",
"path": "AllergyIntolerance.onset[x]",
"comment": "HIQA PS 5.3.3 Onset date (Required).",
"mustSupport": true
}, {
"id": "AllergyIntolerance.recordedDate",
"path": "AllergyIntolerance.recordedDate",
"comment": "HIQA EP 1.6.2.4.3 / PS 19.2.4 Record entry date (Mandatory within the provenance cluster).",
"mustSupport": true
}, {
"id": "AllergyIntolerance.recorder",
"path": "AllergyIntolerance.recorder",
"comment": "HIQA EP 1.6.2.4.2 / PS 19.2.3 Record entry author (Mandatory within the provenance cluster).",
"mustSupport": true
}, {
"id": "AllergyIntolerance.asserter",
"path": "AllergyIntolerance.asserter",
"comment": "HIQA EP 1.6.2.4.4 / PS 19.2.5 Record entry source (Optional): patient, contact person or health practitioner."
}, {
"id": "AllergyIntolerance.note",
"path": "AllergyIntolerance.note",
"comment": "HIQA EP 1.6.2.3 Additional information / PS 5.3.6 Note (Optional)."
}, {
"id": "AllergyIntolerance.reaction",
"path": "AllergyIntolerance.reaction",
"mustSupport": true
}, {
"id": "AllergyIntolerance.reaction.substance",
"path": "AllergyIntolerance.reaction.substance",
"comment": "HIQA EP 1.6.2.2 Causative agent (Required); PS 5.3.7.1 Allergen (Mandatory within the reaction cluster).",
"mustSupport": true
}, {
"id": "AllergyIntolerance.reaction.manifestation",
"path": "AllergyIntolerance.reaction.manifestation",
"mustSupport": true
}, {
"id": "AllergyIntolerance.reaction.description",
"path": "AllergyIntolerance.reaction.description",
"comment": "HIQA PS 5.3.7.2 Description of reaction (Required).",
"mustSupport": true
}, {
"id": "AllergyIntolerance.reaction.severity",
"path": "AllergyIntolerance.reaction.severity",
"comment": "HIQA PS 5.3.7.4 Severity (Required).",
"mustSupport": true
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance"
}