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: patient: type: Reference refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient'] index: 8 onset: choices: [] index: 10 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: onsetDateTime: match: {} schema: mustSupport: true choices: [onsetDateTime] index: 12 min: 0 max: 1 category: {mustSupport: true, index: 5} criticality: {mustSupport: true, index: 6} clinicalStatus: {mustSupport: true, index: 2} type: {mustSupport: true, index: 4} asserter: type: Reference refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient', 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitioner', 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitionerrole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] index: 15 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 recorder: type: Reference refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient', 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitioner', 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitionerrole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] index: 14 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: 13 slicing: slices: onsetDateTime: match: {} schema: {type: dateTime, mustSupport: true, choiceOf: onset, index: 13} min: 0 max: 1 verificationStatus: {mustSupport: true, index: 3} reaction: mustSupport: true index: 16 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: 18} 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: 19} 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: 20} 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: 21} 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: 22} exposureDescription: {url: 'http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription', min: 0, max: 1, type: Extension, short: Text description about exposure to the Substance, index: 23} management: {url: 'http://hl7.org/fhir/StructureDefinition/openEHR-management', min: 0, max: 1, type: Extension, short: Text description about the clinical management provided., index: 24} elements: extension: index: 17 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: 18} 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: 19} 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: 20} 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: 21} 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: 22} 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: 23} 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: 24} min: 0 max: 1 substance: binding: {strength: extensible, valueSet: 'http://fhir.ch/ig/ch-allergyintolerance/ValueSet/CHAllergyIntoleranceReactionSubstanceValueSet'} mustSupport: true index: 25 manifestation: binding: {strength: extensible, valueSet: 'http://fhir.ch/ig/ch-allergyintolerance/ValueSet/CHAllergyIntoleranceReactionManifestationValueSet'} mustSupport: true index: 26 onset: {mustSupport: true, index: 27} severity: {mustSupport: true, index: 28} package_version: 2.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://hl7.org/fhir/StructureDefinition/AllergyIntolerance version: 2.0.0-ballot required: [code]