description: This profile represents the constraints applied to the Allergyintolerance resource by the PS-CA project, which is informed by the constraints of the [AllergyIntolerance IPS-UV profile](http://hl7.org/fhir/uv/ips/StructureDefinition-AllergyIntolerance-uv-ips.html) and the [Canadian Baseline Profile](http://build.fhir.org/ig/HL7-Canada/ca-baseline/branches/master/StructureDefinition-profile-allergyintolerance.html) to allow for cross-border and cross-jurisdiction sharing of Allergies and Intolerances. 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: 18 elements: reference: {mustSupport: true, index: 19} required: [reference] onset: choices: [] index: 21 criticality: {index: 12} clinicalStatus: index: 2 elements: coding: index: 3 slicing: rules: open description: Discriminated by the bound value set discriminator: - {path: $this, type: pattern} min: null slices: HL7AllergyIntoleranceClinicalStatus: match: {} schema: short: Required value set for AllergyIntolerance Clinical Status. binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/allergyintolerance-clinical'} _required: true index: 4 min: 1 statusCodeSCTCA: match: {} schema: short: Code for allergy or intolerance status binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/allergyintolerancestatuscode'} index: 5 ActStatusCodeV3: match: {} schema: short: HL7 V3 ActStatus code binding: {strength: required, valueSet: 'http://terminology.hl7.org/ValueSet/v3-ActStatus'} index: 6 type: {index: 11} asserter: {index: 23} extension: index: 0 slicing: rules: open description: Extensions are always sliced by (at least) url discriminator: - {path: url, type: value} min: null slices: abatement-datetime: match: {url: null} schema: {type: Extension, short: Extension for representing Abatement datetime, url: 'http://hl7.org/fhir/uv/ips/StructureDefinition/abatement-dateTime-uv-ips', index: 1} max: 1 code: short: Concept - reference to a terminology or just text type: CodeableConcept mustSupport: true binding: {strength: preferred, valueSet: 'http://fhir.infoway-inforoute.ca/io/psca/ValueSet/substanceandpharmaceuticalbiologicproductcode'} index: 13 elements: coding: index: 14 slicing: rules: open description: Discriminated by the bound value set discriminator: - {path: $this, type: pattern} min: null slices: codeAllergySCTCA: match: {} schema: short: Optional slice for code for allergy or intolerance from the SNOMED CT CA code set binding: {strength: required, valueSet: 'http://fhir.infoway-inforoute.ca/io/psca/ValueSet/substanceandpharmaceuticalbiologicproductcode'} index: 15 codeAllergyICD10CA: match: {} schema: short: Optional slice to reflect that ICD-10 CA is used in some Canadian jurisdictions for allergies or intolerances binding: {strength: required, valueSet: 'http://fhir.infoway-inforoute.ca/io/psca/ValueSet/ICD10CA'} index: 16 absentOrUnknownAllergyIntolerance: match: {} schema: short: Optional slice for code for absent or unknown allergy or intolerance binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/absent-or-unknown-allergies-uv-ips'} mustSupport: true index: 17 onsetDateTime: {mustSupport: true, index: 22} verificationStatus: index: 7 elements: coding: index: 8 slicing: rules: open description: Discriminated by the bound value set discriminator: - {path: $this, type: pattern} min: null slices: HL7VerificationStatus: match: {} schema: short: Required value set for AllergyIntolerance Verification Status. binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/allergyintolerance-verification'} index: 9 statusCodeSCTCA: match: {} schema: short: Code for allergy or intolerance status binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/allergyintolerancestatuscode'} index: 10 reaction: mustSupport: true index: 24 elements: substance: {index: 25} manifestation: type: CodeableConcept binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/clinicalfindingcode'} mustSupport: true index: 26 elements: coding: index: 27 slicing: rules: open description: Discriminated by the bound value set discriminator: - {path: $this, type: pattern} min: null slices: manifestationSCTCA: match: {} schema: short: Optional slice for representing code for the allergy or intolerance reaction manifestation from the SNOMED CT Canadian edition value set. binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/clinicalfindingcode'} index: 28 onset: {index: 29} severity: {index: 30} package_version: 0.3.0-pre extensions: abatement-datetime: {url: 'http://hl7.org/fhir/uv/ips/StructureDefinition/abatement-dateTime-uv-ips', max: 1, type: Extension, short: Extension for representing Abatement datetime, 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: 0.3.0 required: [code]