PackagesCanonicalsLogsProblems
    Packages
    HIE2.packages@0.1.1
    http://hl7.org/fhir/uv/ips/StructureDefinition/AllergyIntolerance-uv-ips
description: This profile represents the constraints applied to the AllergyIntolerance resource by the International Patient Summary (IPS) FHIR Implementation Guide. A record of an allergy or intolerance is represented in the patient summary as an instance of an AllergyIntolerance resource constrained by this profile.\r\n\r\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: HIE2.packages
derivation: constraint
name: AllergyIntoleranceUvIps
type: AllergyIntolerance
elements:
  patient:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips']
    index: 9
    elements:
      reference: {mustSupport: true, index: 10}
    required: [reference]
  onset:
    choices: []
    index: 12
    slicing:
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        onsetDateTime:
          match: {}
          schema:
            mustSupport: true
            choices: [onsetDateTime]
            index: 14
  criticality: {mustSupport: true, index: 5}
  clinicalStatus: {type: CodeableConcept, index: 2}
  type: {mustSupport: true, index: 4}
  asserter: {mustSupport: true, index: 16}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        abatement-datetime:
          match: {url: null}
          schema: {type: Extension, short: Abatement datetime, url: 'http://hl7.org/fhir/uv/ips/StructureDefinition/abatement-dateTime-uv-ips', index: 1}
          min: 0
          max: 1
  code:
    type: CodeableConcept
    binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/allergy-intolerance-substance-condition-uv-ips'}
    index: 6
    slicing:
      rules: open
      description: Discriminated by the bound value set
      discriminator:
      - {path: $this, type: pattern}
      min: 1
      slices:
        allergyIntoleranceGPSCode:
          match: {}
          schema:
            type: CodeableConcept
            short: Code for allergy or intolerance from the SNOMED CT GPS code set
            binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/allergy-intolerance-substance-condition-gps-uv-ips'}
            index: 7
        absentOrUnknownAllergyIntolerance:
          match: {}
          schema:
            type: CodeableConcept
            short: 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'}
            index: 8
  onsetDateTime:
    type: dateTime
    mustSupport: true
    choiceOf: onset
    index: 15
    slicing:
      slices:
        onsetDateTime:
          match: {}
          schema: {type: dateTime, mustSupport: true, choiceOf: onset, index: 15}
  verificationStatus: {type: CodeableConcept, index: 3}
  reaction:
    mustSupport: true
    index: 17
    elements:
      manifestation:
        type: CodeableConcept
        index: 18
        slicing:
          rules: open
          description: Discriminated by the bound value set
          discriminator:
          - {path: $this, type: pattern}
          min: null
          slices:
            allergyIntoleranceReactionManifestationGPSCode:
              match: {}
              schema:
                type: CodeableConcept
                short: Code for the allergy or intolerance reaction manifestation from the SNOMED CT GPS code set
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/allergy-reaction-gps-uv-ips'}
                index: 19
              max: 1
      onset: {mustSupport: true, index: 20}
      severity: {mustSupport: true, index: 21}
package_version: 0.1.1
extensions:
  abatement-datetime: {url: 'http://hl7.org/fhir/uv/ips/StructureDefinition/abatement-dateTime-uv-ips', min: 0, max: 1, type: Extension, short: Abatement datetime, index: 1}
class: profile
kind: resource
url: http://hl7.org/fhir/uv/ips/StructureDefinition/AllergyIntolerance-uv-ips
base: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance
version: 1.0.0
required: [code]