PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.psca@2.0.3-DFT-Ballot
    http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/allergyintolerance-ca-ps
description: This profile represents the constraints applied to the AllergyIntolerance resource by the PS-CA project, which is informed by the constraints of the [AllergyIntolerance IPS-UV 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.infoway.io.psca
derivation: constraint
name: AllergyIntolerancePSCA
type: AllergyIntolerance
elements:
  patient:
    type: Reference
    mustSupport: true
    refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/patient-ca-ps']
    index: 13
    elements:
      reference: {mustSupport: true, index: 14}
    required: [reference]
  onset:
    choices: []
    index: 16
  clinicalStatus:
    index: 2
    elements:
      coding:
        index: 3
        slicing:
          rules: open
          description: Discriminated by the bound value set
          discriminator:
          - {path: $this, type: pattern}
          min: 1
          slices:
            HL7AllergyIntoleranceClinicalStatus:
              match: {}
              schema:
                short: Required value set for AllergyIntolerance Clinical Status.
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/allergyintolerance-clinical'}
                _required: true
                index: 4
              min: 1
              max: 1
            statusCodeSCTCA:
              match: {}
              schema:
                short: Code for allergy or intolerance status
                binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/allergyintolerancestatuscode'}
                index: 5
            ActStatusCodeV3:
              match: {}
              schema:
                short: HL7 V3 ActStatus code
                binding: {strength: required, valueSet: 'http://terminology.hl7.org/ValueSet/v3-ActStatus'}
                index: 6
    required: [coding]
  type: {index: 11}
  extension:
    index: 0
    slicing:
      rules: open
      description: Extensions are always sliced by (at least) url
      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}
          max: 1
  code:
    short: Concept - reference to a terminology or just text
    type: CodeableConcept
    mustSupport: true
    binding: {strength: preferred, valueSet: 'http://fhir.infoway-inforoute.ca/io/psca/ValueSet/substanceandpharmaceuticalbiologicproductcode'}
    index: 12
  onsetDateTime: {mustSupport: true, index: 17}
  verificationStatus:
    index: 7
    elements:
      coding:
        index: 8
        slicing:
          rules: open
          description: Discriminated by the bound value set
          discriminator:
          - {path: $this, type: pattern}
          min: 1
          slices:
            HL7VerificationStatus:
              match: {}
              schema:
                short: Required value set for AllergyIntolerance Verification Status.
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/allergyintolerance-verification'}
                _required: true
                index: 9
              min: 1
            statusCodeSCTCA:
              match: {}
              schema:
                short: Code for allergy or intolerance status
                binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/allergyintolerancestatuscode'}
                index: 10
    required: [coding]
  reaction:
    mustSupport: true
    index: 18
    elements:
      substance: {index: 19}
      manifestation:
        type: CodeableConcept
        binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/clinicalfindingcode'}
        mustSupport: true
        index: 20
      severity: {index: 21}
package_version: 2.0.3-DFT-Ballot
extensions:
  abatement: {url: 'http://hl7.org/fhir/StructureDefinition/allergyintolerance-abatement', max: 1, type: Extension, index: 1}
class: profile
kind: resource
url: http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/allergyintolerance-ca-ps
base: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance
version: null
required: [code]