description: This profile represents the constraints applied to the AllergyIntolerance resource by the PS-CA project. It documents the relevant allergies or intolerances (conditions) for a patient, describing the kind of reaction (e.g. rash, anaphylaxis,..); preferably the agents that cause it; and optionally the criticality and the certainty of the allergy. package_name: ca.infoway.io.psca derivation: constraint name: AllergyIntolerancePSCA type: AllergyIntolerance elements: patient: type: Reference mustSupport: true refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/patient-ca-ps'] index: 8 elements: reference: {mustSupport: true, index: 9} required: [reference] onset: choices: [] index: 11 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: onsetDateTime: match: {} schema: mustSupport: true choices: [onsetDateTime] index: 13 min: 0 max: 1 clinicalStatus: index: 2 elements: coding: {index: 3} required: [coding] type: {index: 6} extension: index: 0 slicing: rules: open description: Extensions are always sliced by (at least) url discriminator: - {path: url, type: value} min: null slices: abatement: match: {url: null} schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement', index: 1} min: 0 max: 1 code: short: Concept - reference to a terminology or just text type: CodeableConcept mustSupport: true binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/pharmaceuticalbiologicproductandsubstancecode'} index: 7 onsetDateTime: type: dateTime mustSupport: true choiceOf: onset index: 14 slicing: slices: onsetDateTime: match: {} schema: {type: dateTime, mustSupport: true, choiceOf: onset, index: 14} min: 0 max: 1 verificationStatus: index: 4 elements: coding: {index: 5} required: [coding] reaction: mustSupport: true index: 15 elements: substance: {index: 16} manifestation: type: CodeableConcept binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/clinicalfindingcode'} mustSupport: true index: 17 severity: {index: 18} package_version: 2.2.0-ti-ballot extensions: abatement: {url: 'http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement', min: 0, max: 1, type: Extension, index: 1} class: profile kind: resource url: http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/allergyintolerance-ca-ps base: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance version: 2.2.0 required: [code]