PackagesCanonicalsLogsProblems
    Packages
    telus.dw.emr.extract-1-1-21@1.1.21
    https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwPractitioner
description: '**CHR — Internal Practitioners:** Provider users are managed through **Settings → Account Info → User Management**, where clinic administrators can invite users and set user type (Practitioner or Staff).\n\n**CHR — External Contact Providers:** External practitioners from the CHR Contacts/Directory module are also extracted as DwPractitioner resources. They are contacts associated with external facilities (not the main clinic).\n\n**MA:** Practitioners are managed through the **Admin → Provider Setup** module.'
package_name: telus.dw.emr.extract-1-1-21
derivation: constraint
name: DwPractitioner
type: Practitioner
elements:
  address:
    mustSupport: true
    index: 39
    elements:
      use: {mustSupport: true, index: 40}
      type: {mustSupport: true, index: 41}
      text: {mustSupport: true, index: 42}
      line: {mustSupport: true, index: 43}
      city: {mustSupport: true, index: 44}
      state: {mustSupport: true, index: 45}
      postalCode: {mustSupport: true, index: 46}
      country: {mustSupport: true, index: 47}
  meta:
    elements:
      lastUpdated: {mustSupport: true, index: 1}
      source: {mustSupport: true, index: 2}
      security: {mustSupport: true, index: 3}
  name:
    mustSupport: true
    index: 28
    elements:
      use: {mustSupport: true, index: 29}
      text: {mustSupport: true, index: 30}
      family: {mustSupport: true, index: 31}
      given: {mustSupport: true, index: 32}
      prefix: {mustSupport: true, index: 33}
      suffix: {mustSupport: true, index: 34}
  birthDate: {index: 49}
  active: {mustSupport: true, index: 27}
  communication: {index: 51}
  id: {mustSupport: true, index: 0}
  identifier:
    index: 5
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: type.coding, type: pattern}
      min: null
      slices:
        UserId:
          match:
            type:
              coding: {code: EI, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Employee number}
          schema:
            mustSupport: true
            index: 6
            elements:
              type:
                mustSupport: true
                index: 7
                elements:
                  coding:
                    mustSupport: true
                    pattern:
                      type: Coding
                      value: {code: EI, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Employee number}
                    index: 8
                  text: {mustSupport: true, index: 9}
                required: [coding]
              system:
                constraint:
                  dw-practitioner-userid-system: {human: 'UserId system must follow pattern urn:telus:emr:{emrType}:{instanceId}:userid or urn:telus:emr:{emrType}:{region}:{instanceId}:userid', source: 'https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwPractitioner', severity: warning, expression: 'matches(''urn:telus:emr:([^:]+:){2,3}[Uu][Ss][Ee][Rr][Ii][Dd]'')'}
                mustSupport: true
                index: 10
              value: {mustSupport: true, index: 11}
            required: [value, type, system]
        ProviderId:
          match:
            type:
              coding: {code: PRN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Provider number}
          schema:
            mustSupport: true
            array: true
            index: 12
            extensions: {}
            elements:
              extension: {mustSupport: true, index: 13}
              type:
                mustSupport: true
                index: 14
                elements:
                  coding:
                    mustSupport: true
                    pattern:
                      type: Coding
                      value: {code: PRN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Provider number}
                    index: 15
                  text: {mustSupport: true, index: 16}
                required: [coding]
              system: {mustSupport: true, index: 17}
              value: {mustSupport: true, index: 18}
            required: [value, type, system]
        LicenseNumber:
          match:
            type:
              coding: {code: LN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: License number}
          schema:
            mustSupport: true
            array: true
            index: 19
            elements:
              use: {mustSupport: true, index: 20}
              type:
                mustSupport: true
                index: 21
                elements:
                  coding:
                    mustSupport: true
                    pattern:
                      type: Coding
                      value: {code: LN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: License number}
                    index: 22
                  text: {mustSupport: true, index: 23}
                required: [coding]
              system: {mustSupport: true, index: 24}
              value: {mustSupport: true, index: 25}
              assigner: {mustSupport: true, index: 26}
            required: [value, type]
  qualification: {index: 50}
  telecom:
    mustSupport: true
    index: 35
    elements:
      system: {mustSupport: true, index: 36}
      value: {mustSupport: true, index: 37}
      use: {mustSupport: true, index: 38}
  gender: {index: 48}
  text: {mustSupport: true, index: 4}
package_version: 1.1.21
class: profile
kind: resource
url: https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwPractitioner
base: http://hl7.org/fhir/StructureDefinition/Practitioner
version: 2.0.0
required: [id, name]