PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.au.base@1.0.0
    http://hl7.org.au/fhir/StructureDefinition/au-practitionerrole
description: Base profile for Australian context Practitioner Role (Individual Provider)
package_name: hl7.fhir.au.base
derivation: constraint
name: AUBasePractitionerRole
type: PractitionerRole
elements:
  identifier:
    short: Practitioner role identifiers
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      - {path: type, type: value}
      min: null
      slices:
        providerNumber:
          match: {system: 'http://ns.electronichealth.net.au/id/medicare-provider-number', type: null}
          schema:
            short: Australian Provider Number
            index: 1
            elements:
              type:
                short: Coded identifier type for provider number
                index: 2
                elements:
                  coding:
                    index: 3
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://hl7.org.au/fhir/v2/0203'}
                        index: 4
                      code:
                        pattern: {type: Code, value: UPIN}
                        index: 5
                    required: [system, code]
                  text:
                    pattern: {type: String, value: Medicare Provider Number}
                    index: 6
              system:
                short: Namespace for Medicare provider number
                pattern: {type: Uri, value: 'http://ns.electronichealth.net.au/id/medicare-provider-number'}
                index: 7
              value: {short: Medicare provider number, index: 8}
            required: [value, system]
        nationalProviderAtOrganisation:
          match: {system: 'http://hl7.org.au/id/npio', type: null}
          schema:
            short: National Provider at Organisation Identifier
            index: 9
            elements:
              type:
                short: Coded identifier type for national provider identifier at organisation
                index: 10
                elements:
                  coding:
                    index: 11
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://hl7.org.au/fhir/v2/0203'}
                        index: 12
                      code:
                        pattern: {type: Code, value: NPIO}
                        index: 13
                    required: [system, code]
                  text:
                    pattern: {type: String, value: NPIO}
                    index: 14
              system:
                short: Namespace for national provider identifier (HPI-I) at organisation with national identifier (HPI-O)
                pattern: {type: Uri, value: 'http://hl7.org.au/id/npio'}
                index: 15
              value:
                short: National provider identifier at organisation in the form HPI-I@HPI-O
                constraint:
                  inv-npio-0: {human: NPIO length is exactly 33 characters, severity: error, expression: value.length() = 33}
                index: 16
            required: [value, system]
        employeeNumber:
          match: {system: null, type: null}
          schema:
            short: Employee Number
            index: 17
            elements:
              type:
                short: Coded identifier type for employee number
                index: 18
                elements:
                  coding:
                    index: 19
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://hl7.org/fhir/v2/0203'}
                        index: 20
                      code:
                        pattern: {type: Code, value: EI}
                        index: 21
                    required: [system, code]
                  text:
                    pattern: {type: String, value: Employee Number}
                    index: 22
                required: [coding, text]
              value: {short: Employee number, index: 23}
              assigner:
                short: Employing organisation
                index: 24
                elements:
                  display: {short: Employing organisation name, index: 25}
                required: [display]
            required: [assigner, value, type]
  specialty:
    short: Practitioner specialties
    index: 26
    elements:
      coding:
        short: Specialty codings for a role
        index: 27
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            snomedctSpecialty:
              match: {system: null}
              schema: {short: SNOMED CT Practitioner Specialty, index: 28}
package_version: 1.0.0
class: profile
kind: resource
url: http://hl7.org.au/fhir/StructureDefinition/au-practitionerrole
base: http://hl7.org/fhir/StructureDefinition/PractitionerRole
version: 1.0.0