PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.eu.hdr@0.1.0-ballot
    http://hl7.eu/fhir/hdr/StructureDefinition/allergyIntolerance-eu-hdr
description: This profile constrains the AllergyIntolerance resource for the purpose of this project.
package_name: hl7.fhir.eu.hdr
derivation: constraint
name: AllergyIntoleranceEuHdr
type: AllergyIntolerance
elements:
  patient:
    type: Reference
    refers: ['http://hl7.eu/fhir/base/StructureDefinition/patient-eu-core']
    index: 12
    elements:
      reference: {index: 13}
    required: [reference]
  onset:
    choices: []
    index: 15
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        onsetDateTime:
          match: {}
          schema:
            short: Onset date
            choices: [onsetDateTime]
            index: 17
          min: 0
          max: 1
  criticality: {short: Criticality, index: 10}
  clinicalStatus: {type: CodeableConcept, short: Current allergy or Intolerance status, index: 7}
  type: {short: Type of propensity, index: 9}
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        abatement:
          match: {url: null}
          schema:
            type: Extension
            url: http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement
            index: 1
            elements:
              value:
                choices: []
                index: 3
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: null
                  slices:
                    valueDateTime:
                      match: {}
                      schema:
                        short: End date
                        choices: [valueDateTime]
                        index: 5
                      min: 0
                      max: 1
              valueDateTime:
                type: dateTime
                short: End date
                choiceOf: value
                index: 6
                slicing:
                  slices:
                    valueDateTime:
                      match: {}
                      schema: {type: dateTime, short: End date, choiceOf: value, index: 6}
                      min: 0
                      max: 1
  code:
    type: CodeableConcept
    binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/allergy-intolerance-uv-ips'}
    index: 11
  onsetDateTime:
    type: dateTime
    short: Onset date
    choiceOf: onset
    index: 18
    slicing:
      slices:
        onsetDateTime:
          match: {}
          schema: {type: dateTime, short: Onset date, choiceOf: onset, index: 18}
          min: 0
          max: 1
  verificationStatus: {type: CodeableConcept, short: Certainty, index: 8}
  reaction:
    elements:
      substance:
        binding: {strength: preferred, valueSet: 'http://hl7.eu/fhir/hdr/ValueSet/allergens-eu-hdr'}
        index: 19
      manifestation:
        binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/allergy-reaction-uv-ips'}
        index: 20
      severity: {short: Reaction severity, index: 21}
package_version: 0.1.0-ballot
extensions:
  abatement:
    url: http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement
    type: Extension
    index: 1
    elements:
      value:
        choices: []
        index: 3
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: null
          slices:
            valueDateTime:
              match: {}
              schema:
                short: End date
                choices: [valueDateTime]
                index: 5
              min: 0
              max: 1
      valueDateTime:
        type: dateTime
        short: End date
        choiceOf: value
        index: 6
        slicing:
          slices:
            valueDateTime:
              match: {}
              schema: {type: dateTime, short: End date, choiceOf: value, index: 6}
              min: 0
              max: 1
class: profile
kind: resource
url: http://hl7.eu/fhir/hdr/StructureDefinition/allergyIntolerance-eu-hdr
base: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance
version: 0.1.0-ballot
required: [code]