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 TransistionOfCare Document or similar as an instance of an AllergyIntolerance resource constrained by this profile.\n\nIt 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: ch.fhir.ig.ch-allergyintolerance derivation: constraint name: CHAllergyIntolerance type: AllergyIntolerance elements: patient: type: Reference refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient'] index: 7 criticality: {mustSupport: true, index: 5} 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://fhir.ch/ig/ch-allergyintolerance/StructureDefinition/abatement-dateTime-uv-ips', index: 1} min: 0 max: 1 code: binding: {strength: preferred, valueSet: 'http://fhir.ch/ig/ch-allergyintolerance/ValueSet/ch-allergy-intolerance-value-set'} mustSupport: true index: 6 onsetDateTime: {type: dateTime, mustSupport: true, index: 8} verificationStatus: {mustSupport: true, index: 3} reaction: mustSupport: true index: 9 extensions: certainty: {url: 'http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty', min: 0, max: 1, type: Extension, short: 'certainty: Statement about the degree of clinical certainty that the specific substance was the cause of the manifestation in this reaction event.', index: 11} duration: {url: 'http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration', min: 0, max: 1, type: Extension, short: The amount of time that the Adverse Reaction persisted, index: 12} location: {url: 'http://hl7.org/fhir/StructureDefinition/openEHR-location', min: 0, max: 1, type: Extension, short: The anatomical location / body site(s) where the symptoms manifested, index: 13} exposureDate: {url: 'http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate', min: 0, max: 1, type: Extension, short: Record of the date and/or time of the first exposure to the Substance for this Reaction Event., index: 14} exposureDuration: {url: 'http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration', min: 0, max: 1, type: Extension, short: The amount of time the individual was exposed to the Substance, index: 15} exposureDescription: {url: 'http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription', min: 0, max: 1, type: Extension, short: Text description about exposure to the Substance, index: 16} management: {url: 'http://hl7.org/fhir/StructureDefinition/openEHR-management', min: 0, max: 1, type: Extension, short: Text description about the clinical management provided., index: 17} elements: extension: index: 10 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: certainty: match: {url: null} schema: {type: Extension, short: 'certainty: Statement about the degree of clinical certainty that the specific substance was the cause of the manifestation in this reaction event.', url: 'http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty', index: 11} min: 0 max: 1 duration: match: {url: null} schema: {type: Extension, short: The amount of time that the Adverse Reaction persisted, url: 'http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration', index: 12} min: 0 max: 1 location: match: {url: null} schema: {type: Extension, short: The anatomical location / body site(s) where the symptoms manifested, url: 'http://hl7.org/fhir/StructureDefinition/openEHR-location', index: 13} min: 0 max: 1 exposureDate: match: {url: null} schema: {type: Extension, short: Record of the date and/or time of the first exposure to the Substance for this Reaction Event., url: 'http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate', index: 14} min: 0 max: 1 exposureDuration: match: {url: null} schema: {type: Extension, short: The amount of time the individual was exposed to the Substance, url: 'http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration', index: 15} min: 0 max: 1 exposureDescription: match: {url: null} schema: {type: Extension, short: Text description about exposure to the Substance, url: 'http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription', index: 16} min: 0 max: 1 management: match: {url: null} schema: {type: Extension, short: Text description about the clinical management provided., url: 'http://hl7.org/fhir/StructureDefinition/openEHR-management', index: 17} min: 0 max: 1 substance: binding: {strength: preferred, valueSet: 'http://fhir.ch/ig/ch-allergyintolerance/ValueSet/ch-allergy-intolerance-substance-value-set'} mustSupport: true index: 18 manifestation: {mustSupport: true, index: 19} onset: {mustSupport: true, index: 20} severity: {mustSupport: true, index: 21} package_version: 0.2.0 extensions: abatement-datetime: {url: 'http://fhir.ch/ig/ch-allergyintolerance/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://hl7.org/fhir/StructureDefinition/AllergyIntolerance version: 0.2.0 required: [code]