PackagesCanonicalsLogsProblems
    Packages
    ca.on.patient@summary-0.0.1-alpha
    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.patient
derivation: constraint
name: AllergyIntolerancePSON
type: AllergyIntolerance
elements:
  patient:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-patient']
    index: 14
    elements:
      reference: {mustSupport: true, index: 15}
    required: [reference]
  criticality: {mustSupport: true, index: 9}
  clinicalStatus: {type: CodeableConcept, mustSupport: true, index: 4}
  meta:
    mustSupport: true
    index: 1
    elements:
      profile: {mustSupport: true, index: 2}
    required: [profile]
  type: {mustSupport: true, index: 8}
  asserter: {mustSupport: true, index: 17}
  note: {index: 18}
  extension:
    type: Extension
    short: Extension for representing Abatement datetime
    mustSupport: true
    url: http://hl7.org/fhir/uv/ips/StructureDefinition/abatement-dateTime-uv-ips
    index: 3
    slicing:
      slices:
        abatement-datetime:
          match: {}
          schema: {type: Extension, short: Extension for representing Abatement datetime, mustSupport: true, url: 'http://hl7.org/fhir/uv/ips/StructureDefinition/abatement-dateTime-uv-ips', index: 3}
          max: 1
  id: {index: 0}
  code:
    short: Concept - reference to a terminology or just text
    type: CodeableConcept
    mustSupport: true
    binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/allergy-intolerance-substance-condition-uv-ips'}
    index: 10
    slicing:
      rules: open
      description: Discriminated by the bound value set
      discriminator:
      - {path: $this, type: pattern}
      min: 1
      max: 1
      slices:
        allergyIntoleranceGPSCode:
          match: {}
          schema:
            short: Optional slice for 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'}
            mustSupport: false
            index: 11
          max: 1
        codeSCTCA:
          match: {}
          schema:
            short: Optional slice for code for allergy or intolerance from the SNOMED CT CA code set
            binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/allergy-intolerance-substance-condition-ca-ps'}
            mustSupport: true
            index: 12
          max: 1
        absentOrUnknownAllergyIntolerance:
          match: {}
          schema:
            short: Optional slice for code for absent or unknown allergy or intolerance
            mustSupport: true
            binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/absent-or-unknown-allergies-uv-ips'}
            index: 13
          max: 1
  onsetDateTime: {mustSupport: true, index: 16}
  verificationStatus:
    type: CodeableConcept
    mustSupport: true
    index: 5
    slicing:
      rules: open
      description: Discriminated by value set
      discriminator:
      - {path: $this, type: pattern}
      min: 0
      max: 1
      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'}
            _required: true
            index: 6
          min: 1
          max: 1
        StatusCode:
          match: {}
          schema:
            short: Code for allergy or intolerance status
            binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/allergyintolerancestatuscode'}
            index: 7
          max: 1
  reaction:
    mustSupport: true
    index: 19
    elements:
      substance: {index: 20}
      manifestation:
        type: CodeableConcept
        mustSupport: true
        index: 21
        slicing:
          rules: open
          description: Discriminated by the bound value set
          discriminator:
          - {path: $this, type: pattern}
          min: null
          slices:
            allergyIntoleranceReactionManifestationGPSCode:
              match: {}
              schema:
                short: Code for the allergy or intolerance reaction manifestation from the SNOMED CT GPS code set
                type: CodeableConcept
                mustSupport: false
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/allergy-reaction-gps-uv-ips'}
                index: 22
              max: 1
            manifestationSCTCA:
              match: {}
              schema:
                type: CodeableConcept
                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/SNOMEDCT-CA-ClinicalFinding'}
                index: 23
              max: 1
      onset: {index: 24}
      severity: {mustSupport: true, index: 25}
package_version: summary-0.0.1-alpha
extensions:
  abatement-datetime: {url: 'http://hl7.org/fhir/uv/ips/StructureDefinition/abatement-dateTime-uv-ips', max: 1, type: Extension, short: Extension for representing Abatement datetime, mustSupport: true, 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.0.1
required: [meta, code]