PackagesCanonicalsLogsProblems
    Packages
    ca.on.ehr.r4@1.0.0-snapshot3
    http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-allergyIntolerance
description: Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance.
package_name: ca.on.ehr.r4
derivation: constraint
name: AllergyIntoleranceEHR
type: AllergyIntolerance
elements:
  patient:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-patient']
    index: 4
    elements:
      reference: {mustSupport: true, index: 5}
    required: [reference]
  onset:
    mustSupport: true
    choices: [onsetString]
    index: 14
    slicing:
      slices:
        onsetString:
          match: {}
          schema:
            mustSupport: true
            choices: [onsetString]
            index: 14
          min: 0
          max: 1
  category: {mustSupport: true, index: 2}
  encounter:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-encounter']
    index: 6
    elements:
      reference: {mustSupport: true, index: 7}
    required: [reference]
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        Abatement-DateTime:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement', index: 1}
          min: 0
          max: 1
  recordedDate: {mustSupport: true, index: 16}
  onsetString:
    type: string
    mustSupport: true
    choiceOf: onset
    index: 15
    slicing:
      slices:
        onsetString:
          match: {}
          schema: {type: string, mustSupport: true, choiceOf: onset, index: 15}
          min: 0
          max: 1
  recorder:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-patient', 'http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitioner', 'http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitionerRole']
    index: 17
  code:
    type: CodeableConcept
    binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/pharmaceuticalbiologicproductandsubstancecode'}
    mustSupport: true
    index: 3
  onsetDateTime:
    type: dateTime
    mustSupport: true
    choiceOf: onset
    index: 12
    slicing:
      slices:
        onsetDateTime:
          match: {}
          schema: {type: dateTime, mustSupport: true, choiceOf: onset, index: 12}
          min: 0
          max: 1
  lastOccurrence: {mustSupport: true, index: 18}
  reaction:
    mustSupport: true
    index: 19
    elements:
      manifestation:
        type: CodeableConcept
        binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/clinicalfindingcode'}
        mustSupport: true
        index: 20
      severity: {mustSupport: true, index: 21}
package_version: 1.0.0-snapshot3
extensions:
  Abatement-DateTime: {url: 'http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement', min: 0, max: 1, type: Extension, index: 1}
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-allergyIntolerance
base: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance
version: 1.0.0
required: [code]