PackagesCanonicalsLogsProblems
    Packages
    rs/ca.on.ehr.r4@1.0.0-snapshot8
    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: rs/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: 6
    elements:
      reference: {mustSupport: true, index: 7}
    required: [reference]
  onset:
    mustSupport: true
    choices: [onsetString]
    index: 16
    slicing:
      slices:
        onsetString:
          match: {}
          schema:
            mustSupport: true
            choices: [onsetString]
            index: 16
  category: {mustSupport: true, index: 2}
  encounter:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-encounter']
    index: 8
    elements:
      reference: {mustSupport: true, index: 9}
    required: [reference]
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      min: null
      slices:
        ext-abatement-datetime:
          match: {}
          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement', index: 1}
  recordedDate: {mustSupport: true, index: 18}
  onsetString:
    type: string
    mustSupport: true
    choiceOf: onset
    index: 17
    slicing:
      slices:
        onsetString:
          match: {}
          schema: {type: string, mustSupport: true, choiceOf: onset, index: 17}
  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', 'http://ontariohealth.ca/fhir/ehr/StructureDefinition/proifle-relatedPerson']
    index: 19
  code:
    type: CodeableConcept
    binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/pharmaceuticalbiologicproductandsubstancecode'}
    mustSupport: true
    index: 3
    elements:
      coding:
        elements:
          display:
            extensions:
              translation:
                url: null
                index: 4
                extensions: {}
                elements:
                  extension: {array: true, min: 2, index: 5}
            elements:
              extension:
                index: 4
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        index: 4
                        extensions: {}
                        elements:
                          extension: {array: true, min: 2, index: 5}
  onsetDateTime:
    type: dateTime
    mustSupport: true
    choiceOf: onset
    index: 14
    slicing:
      slices:
        onsetDateTime:
          match: {}
          schema: {type: dateTime, mustSupport: true, choiceOf: onset, index: 14}
  lastOccurrence: {mustSupport: true, index: 20}
  reaction:
    mustSupport: true
    index: 21
    elements:
      manifestation:
        type: CodeableConcept
        binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/clinicalfindingcode'}
        mustSupport: true
        index: 22
        elements:
          coding:
            elements:
              display:
                extensions:
                  translation:
                    url: null
                    index: 23
                    extensions: {}
                    elements:
                      extension: {array: true, min: 2, index: 24}
                elements:
                  extension:
                    index: 23
                    slicing:
                      slices:
                        translation:
                          match: {}
                          schema:
                            index: 23
                            extensions: {}
                            elements:
                              extension: {array: true, min: 2, index: 24}
      severity: {mustSupport: true, index: 25}
package_version: 1.0.0-snapshot8
extensions:
  ext-abatement-datetime: {url: 'http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement', 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]