PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.au.core@0.2.0-preview
    http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
description: This profile sets minimum expectations for a PractitionerRole resource to record, search, and fetch a practitioner role for a practitioner associated with a patient. It is based on the [AU Base Practitioner Role](http://build.fhir.org/ig/hl7au/au-fhir-base/StructureDefinition-au-practitionerrole.html) profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets that **SHALL** be present in the PractitionerRole resource when conforming to this profile. It provides the floor for standards development for specific uses cases in an Australian context.
package_name: hl7.fhir.au.core
derivation: constraint
name: AUCorePractitionerRole
type: PractitionerRole
elements:
  specialty: {mustSupport: true, index: 7}
  organization:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-organization']
    index: 5
  active:
    pattern: {type: Boolean, value: true}
    index: 3
  code: {mustSupport: true, index: 6}
  identifier:
    mustSupport: true
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: type, type: pattern}
      min: 1
      slices:
        hpii:
          match: {type: null}
          schema: {type: Identifier, mustSupport: true, index: 1}
          max: 1
        medicareProvider:
          match: {type: null}
          schema: {type: Identifier, mustSupport: true, index: 2}
          max: 1
  practitioner:
    type: Reference
    constraint:
      au-core-prarol-01: {human: 'At least a reference, identifier or display shall be present', source: 'http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole', severity: error, expression: reference.exists() or identifier.exists() or display.exists()}
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitioner']
    index: 4
  telecom: {mustSupport: true, index: 10}
  location:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-location']
    index: 8
  healthcareService:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org.au/fhir/core/StructureDefinition/au-core-healthcareservice']
    index: 9
package_version: 0.2.0-preview
class: profile
kind: resource
url: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
base: http://hl7.org.au/fhir/StructureDefinition/au-practitionerrole
version: 0.2.0-preview
required: [practitioner, identifier]