PackagesCanonicalsLogsProblems
    Packages
    smart4health.eu.core@0.3.0
    http://fhir.smart4health.eu/StructureDefinition/s4h-allergyintolerance
description: AllergyIntolerance profile for the Smart4Health project
package_name: smart4health.eu.core
derivation: constraint
name: S4hAllergyIntolerance
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}
  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: null
      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}
          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.3.0
extensions:
  abatement-datetime: {url: 'http://hl7.org/fhir/uv/ips/StructureDefinition/abatement-dateTime-uv-ips', max: 1, type: Extension, short: Abatement datetime, index: 1}
class: profile
kind: resource
url: http://fhir.smart4health.eu/StructureDefinition/s4h-allergyintolerance
base: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance
version: null
required: [code]