PackagesCanonicalsLogsProblems
    Packages
    telus.dw.emr.extract-1-1-26@1.1.26
    https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwPractitionerRole
description: null
package_name: telus.dw.emr.extract-1-1-26
derivation: constraint
name: DwPractitionerRole
type: PractitionerRole
elements:
  meta:
    elements:
      lastUpdated: {mustSupport: true, index: 1}
      source: {mustSupport: true, index: 2}
      security: {mustSupport: true, index: 3}
  specialty:
    binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/healthcareproviderspecialtycode'}
    mustSupport: true
    index: 36
    elements:
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'http://snomed.info/sct'}
            mustSupport: true
            index: 37
          code: {mustSupport: true, index: 38}
          display:
            mustSupport: true
            index: 39
            extensions:
              myExtension:
                url: http://hl7.org/fhir/StructureDefinition/translation
                type: Extension
                index: 41
                extensions: {}
                elements:
                  extension: {mustSupport: true, array: true, min: 2, index: 42}
            elements:
              extension:
                index: 40
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    myExtension:
                      match: {url: null}
                      schema:
                        type: Extension
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        index: 41
                        extensions: {}
                        elements:
                          extension: {mustSupport: true, array: true, min: 2, index: 42}
      text: {mustSupport: true, index: 43}
  organization:
    type: Reference
    mustSupport: true
    refers: ['https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwOrganization']
    index: 8
  active: {mustSupport: true, index: 6}
  id: {mustSupport: true, index: 0}
  code:
    index: 9
    slicing:
      rules: open
      discriminator:
      - {path: coding.userSelected, type: value}
      - {path: coding.system, type: pattern}
      min: null
      slices:
        HL7Role:
          match:
            coding: {userSelected: false, system: 'http://snomed.info/sct'}
          schema:
            binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/practitioner-role'}
            mustSupport: true
            array: true
            index: 10
            elements:
              coding:
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    mustSupport: true
                    index: 11
                  version: {mustSupport: true, index: 12}
                  code: {mustSupport: true, index: 13}
                  display:
                    mustSupport: true
                    index: 14
                    extensions:
                      translation:
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        type: Extension
                        index: 16
                        extensions: {}
                        elements:
                          extension: {array: true, min: 2, index: 17}
                    elements:
                      extension:
                        index: 15
                        slicing:
                          rules: open
                          ordered: false
                          discriminator:
                          - {path: url, type: value}
                          min: null
                          slices:
                            translation:
                              match: {url: null}
                              schema:
                                type: Extension
                                url: http://hl7.org/fhir/StructureDefinition/translation
                                index: 16
                                extensions: {}
                                elements:
                                  extension: {array: true, min: 2, index: 17}
                  userSelected:
                    mustSupport: true
                    pattern: {type: Boolean, value: false}
                    index: 18
                required: [system, userSelected]
              text: {mustSupport: true, index: 19}
        TelusRole:
          match:
            coding: {userSelected: true, system: null}
          schema:
            mustSupport: true
            array: true
            index: 20
            elements:
              coding:
                elements:
                  system:
                    constraint:
                      dw-practitionerrole-telusrole-system: {human: 'TelusRole coding.system must follow pattern urn:telus:emr:{emrType}:{instanceId}:clinical-role or urn:telus:emr:{emrType}:{region}:{instanceId}:clinical-role', source: 'https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwPractitionerRole', severity: warning, expression: 'matches(''urn:telus:emr:([^:]+:){2,3}clinical-role'')'}
                    mustSupport: true
                    index: 21
                  code: {mustSupport: true, index: 22}
                  display: {mustSupport: true, index: 23}
                  userSelected:
                    mustSupport: true
                    pattern: {type: Boolean, value: true}
                    index: 24
                required: [system, userSelected]
              text: {mustSupport: true, index: 25}
        InfowayRole:
          match:
            coding: {userSelected: false, system: 'https://fhir.infoway-inforoute.ca/CodeSystem/scptype'}
          schema:
            binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/healthcareproviderroletype'}
            mustSupport: true
            array: true
            index: 26
            elements:
              coding:
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://fhir.infoway-inforoute.ca/CodeSystem/scptype'}
                    mustSupport: true
                    index: 27
                  version: {mustSupport: false, index: 28}
                  code: {mustSupport: true, index: 29}
                  display:
                    mustSupport: true
                    index: 30
                    extensions:
                      translation:
                        url: http://hl7.org/fhir/StructureDefinition/translation
                        type: Extension
                        index: 32
                        extensions: {}
                        elements:
                          extension: {array: true, min: 2, index: 33}
                    elements:
                      extension:
                        index: 31
                        slicing:
                          rules: open
                          ordered: false
                          discriminator:
                          - {path: url, type: value}
                          min: null
                          slices:
                            translation:
                              match: {url: null}
                              schema:
                                type: Extension
                                url: http://hl7.org/fhir/StructureDefinition/translation
                                index: 32
                                extensions: {}
                                elements:
                                  extension: {array: true, min: 2, index: 33}
                  userSelected:
                    mustSupport: true
                    pattern: {type: Boolean, value: false}
                    index: 34
                required: [system, userSelected]
              text: {mustSupport: true, index: 35}
  identifier: {mustSupport: true, index: 5}
  practitioner:
    type: Reference
    mustSupport: true
    refers: ['https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwPractitioner']
    index: 7
  telecom:
    mustSupport: true
    index: 45
    elements:
      system: {mustSupport: true, index: 46}
      value: {mustSupport: true, index: 47}
      use: {mustSupport: true, index: 48}
  location:
    type: Reference
    mustSupport: true
    refers: ['https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwLocation']
    index: 44
  endpoint: {index: 49}
  text: {mustSupport: true, index: 4}
package_version: 1.1.26
class: profile
kind: resource
url: https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwPractitionerRole
base: http://hl7.org/fhir/StructureDefinition/PractitionerRole
version: 2.0.0
required: [practitioner, id, organization]