PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh-setp@1.0.41
    http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-allergyintolerance
description: This profile defines a set of constraints to the FHIR AllergyIntolerance resource for use in Ontario Patient Summaries (PS-ON).  It refines constraints applied to the AllergyIntollerance resource by the PS-CA project, which is informed by the constraints of the [AllergyIntolerance-UV-IPS profile](http://hl7.org/fhir/uv/ips/StructureDefinition-AllergyIntolerance-uv-ips.html) and the [Canadian Baseline Profile](http://build.fhir.org/ig/HL7-Canada/ca-baseline/branches/master/StructureDefinition-profile-allergyintolerance.html) to allow for cross-border and cross-jurisdiction sharing of Allergies and Intolerances. It 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: ca.on.oh-setp
derivation: constraint
name: AllergyIntolerancePSON
type: AllergyIntolerance
elements:
  patient:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-patient']
    index: 20
    elements:
      reference: {mustSupport: true, index: 21}
    required: [reference]
  onset:
    mustSupport: true
    choices: [onsetDateTime, onsetAge, onsetPeriod, onsetRange, onsetString]
    index: 23
  criticality: {mustSupport: false, index: 9}
  clinicalStatus: {mustSupport: true, index: 4}
  meta:
    mustSupport: true
    index: 0
    elements:
      profile: {mustSupport: true, index: 1}
    required: [profile]
  onsetRange: {type: Range, mustSupport: true, choiceOf: onset, index: 27}
  onsetAge: {type: Age, mustSupport: true, choiceOf: onset, index: 25}
  onsetPeriod: {type: Period, mustSupport: true, choiceOf: onset, index: 26}
  type: {mustSupport: true, index: 8}
  extension:
    type: Extension
    short: Abatement datetime
    url: http://hl7.org/fhir/uv/ips/StructureDefinition/abatement-dateTime-uv-ips
    index: 2
    slicing:
      slices:
        abatement-datetime:
          match: {}
          schema:
            type: Extension
            short: Abatement datetime
            url: http://hl7.org/fhir/uv/ips/StructureDefinition/abatement-dateTime-uv-ips
            index: 2
            elements:
              url:
                pattern: {type: uri, value: 'http://hl7.org/fhir/uv/ips/StructureDefinition/abatement-dateTime-uv-ips'}
                type: uri
                index: 3
  onsetString: {type: string, mustSupport: true, choiceOf: onset, index: 28}
  code:
    type: CodeableConcept
    short: Concept - reference to a terminology or just text
    binding: {strength: preferred, valueSet: 'http://fhir.infoway-inforoute.ca/io/psca/ValueSet/substanceandpharmaceuticalbiologicproductcode'}
    mustSupport: true
    index: 10
    elements:
      coding:
        mustSupport: true
        index: 11
        elements:
          display:
            extensions:
              translation:
                url: null
                index: 12
                extensions: {}
                elements:
                  extension: {array: true, min: 2, index: 13}
            elements:
              extension:
                index: 12
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        index: 12
                        extensions: {}
                        elements:
                          extension: {array: true, min: 2, index: 13}
        slicing:
          rules: open
          description: Discriminated by the bound value set
          discriminator:
          - {path: $this, type: pattern}
          min: null
          slices:
            codeAllergyCA:
              match: {}
              schema:
                short: Optional slice for code for allergy or intolerance from the SNOMED CT CA code set
                binding: {strength: required, valueSet: 'http://fhir.infoway-inforoute.ca/io/psca/ValueSet/substanceandpharmaceuticalbiologicproductcode', bindingName: codeAllergyCA}
                mustSupport: true
                index: 14
                elements:
                  display:
                    extensions:
                      translation:
                        url: null
                        index: 15
                        extensions: {}
                        elements:
                          extension: {array: true, min: 2, index: 16}
                    elements:
                      extension:
                        index: 15
                        slicing:
                          slices:
                            translation:
                              match: {}
                              schema:
                                index: 15
                                extensions: {}
                                elements:
                                  extension: {array: true, min: 2, index: 16}
            absentOrUnknownAllergyIntolerance:
              match: {}
              schema:
                short: Optional slice for 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', bindingName: absentOrUnknownAllergy}
                mustSupport: true
                index: 17
                elements:
                  display:
                    extensions:
                      translation:
                        url: null
                        index: 18
                        extensions: {}
                        elements:
                          extension: {array: true, min: 2, index: 19}
                    elements:
                      extension:
                        index: 18
                        slicing:
                          slices:
                            translation:
                              match: {}
                              schema:
                                index: 18
                                extensions: {}
                                elements:
                                  extension: {array: true, min: 2, index: 19}
  onsetDateTime: {type: dateTime, mustSupport: true, choiceOf: onset, index: 24}
  verificationStatus:
    elements:
      coding:
        mustSupport: false
        index: 5
        slicing:
          rules: open
          description: Discriminated by value set
          discriminator:
          - {path: $this, type: pattern}
          min: null
          slices:
            HL7VerificationStatus:
              match: {}
              schema:
                short: Required value set for AllergyIntolerance Verification Status.
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/allergyintolerance-verification|4.0.1'}
                index: 6
            StatusCode:
              match: {}
              schema:
                short: Code for allergy or intolerance status
                binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/allergyintolerancestatuscode'}
                index: 7
  reaction:
    mustSupport: true
    index: 29
    elements:
      substance: {index: 30}
      manifestation:
        type: CodeableConcept
        binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/clinicalfindingcode'}
        mustSupport: true
        index: 31
        elements:
          coding:
            mustSupport: true
            index: 32
            elements:
              display:
                extensions:
                  translation:
                    url: null
                    index: 33
                    extensions: {}
                    elements:
                      extension: {array: true, min: 2, index: 34}
                elements:
                  extension:
                    index: 33
                    slicing:
                      slices:
                        translation:
                          match: {}
                          schema:
                            index: 33
                            extensions: {}
                            elements:
                              extension: {array: true, min: 2, index: 34}
            slicing:
              rules: open
              description: Discriminated by the bound value set
              discriminator:
              - {path: $this, type: pattern}
              min: null
              slices:
                manifestationSCTCA:
                  match: {}
                  schema:
                    short: Optional slice for representing code for the allergy or intolerance reaction manifestation from the SNOMED CT Canadian edition value set.
                    binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/clinicalfindingcode', bindingName: manifestationSCTCA}
                    mustSupport: true
                    index: 35
                    elements:
                      display:
                        extensions:
                          translation:
                            url: null
                            index: 36
                            extensions: {}
                            elements:
                              extension: {array: true, min: 2, index: 37}
                        elements:
                          extension:
                            index: 36
                            slicing:
                              slices:
                                translation:
                                  match: {}
                                  schema:
                                    index: 36
                                    extensions: {}
                                    elements:
                                      extension: {array: true, min: 2, index: 37}
      onset: {index: 38}
      severity: {mustSupport: true, index: 39}
package_version: 1.0.41
extensions:
  abatement-datetime:
    url: http://hl7.org/fhir/uv/ips/StructureDefinition/abatement-dateTime-uv-ips
    type: Extension
    short: Abatement datetime
    index: 2
    elements:
      url:
        pattern: {type: uri, value: 'http://hl7.org/fhir/uv/ips/StructureDefinition/abatement-dateTime-uv-ips'}
        type: uri
        index: 3
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-allergyintolerance
base: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance
version: 0.10.0
required: [code, meta]