{
"description": "This profile defines a set of constraints to the FHIR AllergyIntolerance resource for use in Alberta Patient Summaries (PS-AB). It re-profiles the PS-CA AllergyIntolerance profile and refines constraints applied to the AllergyIntolerance resource by the PS-CA project to represent the minimum expectations for the AllergyIntolerance resource when used in the PS-AB Composition profile.",
"_filename": "StructureDefinition-AllergyIntolerancePSAB.json",
"package_name": "ca.ab.fhir.psab",
"date": null,
"derivation": "constraint",
"publisher": null,
"fhirVersion": "4.0.1",
"name": "AllergyIntolerancePSAB",
"abstract": false,
"type": "AllergyIntolerance",
"experimental": null,
"resourceType": "StructureDefinition",
"title": "AllergyIntolerance (PS-AB)",
"package_version": "0.3.0-pre3",
"status": "draft",
"id": "c394d316-a63a-4210-bcf1-dce6e40cc426",
"kind": "resource",
"url": "https://www.alberta.ca/fhir/psab/StructureDefinition/AllergyIntolerancePSAB",
"version": null,
"differential": {
"element": [ {
"id": "AllergyIntolerance",
"path": "AllergyIntolerance",
"comment": "AllergyIntolerance resources included in Alberta Patient Summary Document Bundles SHALL NOT contain any of the following AllergyIntolerance details: verificationStatus, encounter, asserter. These rules are mechanically enforced through invariants at the PS-AB Bundle level."
}, {
"id": "AllergyIntolerance.clinicalStatus.coding:HL7AllergyIntoleranceClinicalStatus",
"max": "1",
"path": "AllergyIntolerance.clinicalStatus.coding",
"comment": "If clinicalStatus is supplied, a coding SHALL be supplied with at least one coding from the HL7AllergyIntoleranceClinicalStatus valueSet",
"sliceName": "HL7AllergyIntoleranceClinicalStatus",
"mustSupport": true,
"sliceIsConstraining": true
}, {
"id": "AllergyIntolerance.code",
"path": "AllergyIntolerance.code",
"comment": "No terminology has been defined in AB for this element. Future releases may include defined terminology"
}, {
"id": "AllergyIntolerance.code.text",
"min": 1,
"path": "AllergyIntolerance.code.text",
"comment": "Required if any allergy/intolerance data is submitted; otherwise blank/null. String: Max Character length (250)"
}, {
"id": "AllergyIntolerance.patient",
"path": "AllergyIntolerance.patient",
"type": [ {
"code": "Reference",
"targetProfile": [ "https://www.alberta.ca/fhir/psab/StructureDefinition/PatientPSAB" ]
} ]
}, {
"id": "AllergyIntolerance.onset[x]",
"path": "AllergyIntolerance.onset[x]",
"comment": "May be full or partial date, numeric age or string description"
}, {
"id": "AllergyIntolerance.recorder",
"path": "AllergyIntolerance.recorder",
"type": [ {
"code": "Reference",
"targetProfile": [ "https://www.alberta.ca/fhir/psab/StructureDefinition/PractitionerPSAB", "https://www.alberta.ca/fhir/psab/StructureDefinition/PractitionerRolePSAB", "https://www.alberta.ca/fhir/psab/StructureDefinition/PatientPSAB" ]
} ]
}, {
"id": "AllergyIntolerance.lastOccurrence",
"path": "AllergyIntolerance.lastOccurrence",
"comment": "If supplied, optional YYYY-MM-DD format. Partial dates (YYYY only or YYYY-MM only) are accepted. ISO-8601 doesn't support partial dates like YYYY or YYYY-MM"
}, {
"id": "AllergyIntolerance.reaction.manifestation",
"path": "AllergyIntolerance.reaction.manifestation",
"comment": "AllergyIntolerance.reaction.manifestation only needs to be populated if AllergyIntolerance.reaction is populated with other details. No terminology has been defined in AB for this element. Future releases may include defined terminology"
}, {
"id": "AllergyIntolerance.reaction.manifestation.text",
"min": 1,
"path": "AllergyIntolerance.reaction.manifestation.text",
"comment": "AllergyIntolerance.reaction.manifestation.text only needs to be populated if AllergyIntolerance.reaction is populated with other details"
} ]
},
"baseDefinition": "http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/allergyintolerance-ca-ps"
}