description: This profile represents the constraints applied to the AllergyIntolerance resource in the Swiss context - in adaption of the definition by the International Patient Summary (IPS) FHIR Implementation Guide. A record of an allergy or intolerance is represented in the Swiss EPR, in a TransitionOfCare transaction or similar as an instance of an AllergyIntolerance resource constrained by this profile.\r\nIt documents the relevant allergies or intolerances 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: ch.fhir.ig.ch-allergyintolerance derivation: constraint name: CHAllergyIntolerance type: AllergyIntolerance elements: onset: choices: [] index: 9 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: onsetDateTime: match: {} schema: mustSupport: true choices: [onsetDateTime] index: 11 min: 0 max: 1 category: {mustSupport: true, index: 5} criticality: {mustSupport: true, index: 6} clinicalStatus: {mustSupport: true, index: 2} type: {mustSupport: true, index: 4} extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: abatement-datetime: match: {url: null} schema: {short: Abatement datetime, type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/uv/ips/StructureDefinition/abatement-dateTime-uv-ips', index: 1} min: 0 max: 1 code: binding: {strength: extensible, valueSet: 'http://fhir.ch/ig/ch-allergyintolerance/ValueSet/CHAllergyIntoleranceValueSet'} mustSupport: true index: 7 onsetDateTime: type: dateTime mustSupport: true choiceOf: onset index: 12 slicing: slices: onsetDateTime: match: {} schema: {type: dateTime, mustSupport: true, choiceOf: onset, index: 12} min: 0 max: 1 verificationStatus: {mustSupport: true, index: 3} reaction: mustSupport: true index: 13 extensions: certainty: {url: null, short: Statement about the degree of clinical certainty that the specific substance was the cause of the manifestation in this reaction event., index: 14} duration: {url: null, short: The amount of time that the Adverse Reaction persisted, index: 15} location: {url: null, short: The anatomical location / body site(s) where the symptoms manifested, index: 16} exposureDate: {url: null, short: Record of the date and/or time of the first exposure to the Substance for this Reaction Event., index: 17} exposureDuration: {url: null, short: The amount of time the individual was exposed to the Substance, index: 18} management: {url: null, short: Text description about the clinical management provided., index: 19} elements: extension: short: Statement about the degree of clinical certainty that the specific substance was the cause of the manifestation in this reaction event. index: 14 slicing: slices: certainty: match: {} schema: {short: Statement about the degree of clinical certainty that the specific substance was the cause of the manifestation in this reaction event., index: 14} duration: match: {} schema: {short: The amount of time that the Adverse Reaction persisted, index: 15} location: match: {} schema: {short: The anatomical location / body site(s) where the symptoms manifested, index: 16} exposureDate: match: {} schema: {short: Record of the date and/or time of the first exposure to the Substance for this Reaction Event., index: 17} exposureDuration: match: {} schema: {short: The amount of time the individual was exposed to the Substance, index: 18} management: match: {} schema: {short: Text description about the clinical management provided., index: 19} substance: binding: {strength: extensible, valueSet: 'http://fhir.ch/ig/ch-allergyintolerance/ValueSet/CHAllergyIntoleranceReactionSubstanceValueSet'} mustSupport: true index: 20 manifestation: binding: {strength: extensible, valueSet: 'http://fhir.ch/ig/ch-allergyintolerance/ValueSet/CHAllergyIntoleranceReactionManifestationValueSet'} mustSupport: true index: 21 onset: {mustSupport: true, index: 22} severity: {mustSupport: true, index: 23} package_version: 3.0.0-ballot extensions: abatement-datetime: {url: 'http://hl7.org/fhir/uv/ips/StructureDefinition/abatement-dateTime-uv-ips', min: 0, max: 1, short: Abatement datetime, type: Extension, mustSupport: true, index: 1} class: profile kind: resource url: http://fhir.ch/ig/ch-allergyintolerance/StructureDefinition/ch-allergyintolerance base: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-allergyintolerance version: 3.0.0-ballot required: [code]