PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.psca@2.0.0-DFT-Ballot-alpha2
    http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/allergyintolerance-notsupported-ca-ps
description: This profile represents the constraints applied to the Allergyintolerance resource by the PS-CA projectto communicate that a system can not produce content for the condition section because it does not currently support that domain in this version of the release. This profile is being put forward as an alternative to the existing pattern in IPS-UV for communicating that a concept is absent/unknown because that pattern does not adequately address systems that are at a lower maturity in supporting the full set of patient summary sections and their respective profiles. This profile is maintained exclusively for this scenario and will eventually be retired at a later version when the ability for systems to support those sections is met.
package_name: ca.infoway.io.psca
derivation: constraint
name: AllergyIntoleranceNotSupportedPSCA
type: AllergyIntolerance
elements:
  code:
    short: Concept - reference to a terminology or just text
    mustSupport: true
    index: 0
    elements:
      coding:
        mustSupport: true
        array: true
        min: 2
        max: 2
        index: 1
        slicing:
          rules: closed
          description: Discriminated by the coding pattern
          discriminator:
          - {path: $this, type: pattern}
          min: 2
          max: 2
          slices:
            noAllergyInfo:
              match: {code: no-allergy-info, system: 'http://hl7.org/fhir/uv/ips/CodeSystem/absent-unknown-uv-ips'}
              schema:
                short: Slice for code for no allergy or intolerance information
                mustSupport: true
                pattern:
                  type: Coding
                  value: {code: no-allergy-info, system: 'http://hl7.org/fhir/uv/ips/CodeSystem/absent-unknown-uv-ips'}
                _required: true
                index: 2
              min: 1
              max: 1
            notSupported:
              match: {code: not-supported, system: 'http://fhir.infoway-inforoute.ca/io/psca/CodeSystem/ContentNotSupported'}
              schema:
                mustSupport: true
                pattern:
                  type: Coding
                  value: {code: not-supported, system: 'http://fhir.infoway-inforoute.ca/io/psca/CodeSystem/ContentNotSupported'}
                _required: true
                index: 3
              min: 1
              max: 1
  patient:
    type: Reference
    mustSupport: true
    refers: ['http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/patient-ca-ps']
    index: 4
    elements:
      reference: {mustSupport: true, index: 5}
    required: [reference]
package_version: 2.0.0-DFT-Ballot-alpha2
class: profile
kind: resource
url: http://fhir.infoway-inforoute.ca/io/psca/StructureDefinition/allergyintolerance-notsupported-ca-ps
base: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance
version: 1.0.0
required: [code]