hcpd-practitionerrole
type: StructureDefinition
node role: treeRoot
id:
  v: hcpd-practitionerrole
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition hcpd-practitionerrole Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> PractitionerRole <a style="padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;; padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;" href="http://hl7.org/fhir/R4/conformance-rules.html#constraints" title="This element has or is affected by constraints ( inv-01-identifier-registration-required, inv-02-identifier-registration-match )">C 0..* AUCorePractitionerRole(2.0.0) A person with formal responsibility in a role providing one or more services #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:practitioner-role-communication SO 0..* CodeableConcept Practitioner role communication preferences URL: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/practitioner-role-communication Binding: Common Languages in Australia (required) Obligations Actor SHALL:populate-if-known Health Connect Provider Directory Responder Actor SHOULD:handle Health Connect Provider Directory Requester Actor #xD; extension:alternate-name SO 0..1 HumanName Alternate name for this practitioner role URL: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/alternate-name Obligations Actor SHALL:populate-if-known Health Connect Provider Directory Responder Actor SHOULD:handle Health Connect Provider Directory Requester Actor #xD; Slices for identifier O 1..* Identifier(4.0.1), AUMedicareProviderNumber(6.0.0), AUNationalProviderIdentifierAtOrganisation(6.0.0), AUEmployeeNumber(6.0.0) Business Identifiers that are specific to a role/location Slice: Unordered, Open by pattern:type Obligations Actor SHALL:populate-if-known Health Connect Provider Directory Responder Actor SHOULD:handle Health Connect Provider Directory Req…
url:
  v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  l: hcpd-practitionerrole
version:
  v: 26.0.0
name:
  v: HCPD_PractitionerRole
title:
  v: HCPD PractitionerRole
status:
  v: active
experimental:
  v: false
date:
  v: 2026-04-30T11:47:54+10:00
publisher:
  v: Australian Digital Health Agency
contact:
  name:
    v: Australian Digital Health Agency
  telecom:
    system:
      v: url
    value:
      v: https://www.digitalhealth.gov.au/
  telecom:
    system:
      v: email
contact:
  name:
    v: Australian Digital Health Agency
  telecom:
    system:
      v: email
    use:
      v: work
description:
  v: This profile defines a Health Connect Provider Directory entry for a practitioner role within an organisation.
use context:
  code:
    system:
      v: http://terminology.hl7.org/CodeSystem/usage-context-type
      l: usage-context-type
    code:
      v: jurisdiction
  value: CodeableConcept
    coding:
      system:
        v: urn:iso:std:iso:3166
        l: 3166
      code:
        v: AU
      display:
        v: Australia
purpose:
  v: This profile addresses the business requirement to define practitioner roles within healthcare organizations in the provider directory, enabling the representation of practitioner-organization-location relationships and associated service offerings for referral and directory search purposes.
copyright:
  v: Copyright © 2026 Australian Digital Health Agency - All rights reserved. This content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/.
fhir version:
  v: 4.0.1
mapping:
  identity:
    v: v2
  uri:
    v: http://hl7.org/v2
    l: v2
  name:
    v: HL7 v2 Mapping
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
    l: v3
  name:
    v: RIM Mapping
mapping:
  identity:
    v: servd
  uri:
    v: http://www.omg.org/spec/ServD/1.0/
    l: http://www.omg.org/spec/ServD/1.0/
  name:
    v: ServD
mapping:
  identity:
    v: w5
  uri:
    v: http://hl7.org/fhir/fivews
    l: fivews
  name:
    v: FiveWs Pattern Mapping
kind:
  v: resource
abstract:
  v: false
type:
  v: PractitionerRole
  l: PractitionerRole
base definition:
  v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
  l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
derivation:
  v: constraint
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 2.0.0
  element:
    id:
      v: PractitionerRole
    path:
      v: PractitionerRole
    short:
      v: A person with formal responsibility in a role providing one or more services
    definition:
      v: Directory entry for a provider at a location for an organisation.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: PractitionerRole
      min:
        v: 0
      max:
        v: *
    constraint:
      key:
        v: dom-2
      severity:
        v: error
      human:
        v: If the resource is contained in another resource, it SHALL NOT contain nested Resources
      expression:
        v: contained.contained.empty()
      xpath:
        v: not(parent::f:contained and f:contained)
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource|4.0.1
        l: http://hl7.org/fhir/StructureDefinition/DomainResource
    constraint:
      key:
        v: dom-3
      severity:
        v: error
      human:
        v: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
      expression:
        v: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
      xpath:
        v: not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource|4.0.1
        l: http://hl7.org/fhir/StructureDefinition/DomainResource
    constraint:
      key:
        v: dom-4
      severity:
        v: error
      human:
        v: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
      expression:
        v: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
      xpath:
        v: not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource|4.0.1
        l: http://hl7.org/fhir/StructureDefinition/DomainResource
    constraint:
      key:
        v: dom-5
      severity:
        v: error
      human:
        v: If a resource is contained in another resource, it SHALL NOT have a security label
      expression:
        v: contained.meta.security.empty()
      xpath:
        v: not(exists(f:contained/*/f:meta/f:security))
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource|4.0.1
        l: http://hl7.org/fhir/StructureDefinition/DomainResource
    constraint:
      extension:
        value: Boolean
      extension:
        value: Markdown
      key:
        v: dom-6

Boolean
v: true

Markdown
v: When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time.

v: warning

v: A resource should have narrative for robust management

v: text.`div`.exists()

v: exists(f:text/h:div)

key:
  v: inv-01-identifier-registration-required
severity:
  v: error
human:
  v: Either Ahpra or PRN identifier SHALL exist, but not both. While a practitioner can have more than one professional registration and professions (e.g. nurse and midwife), the relevant registration that is applicable for this role only is captured.
expression:
  v: (identifier.type.coding.where(code = 'AHPRA').exists() and identifier.type.coding.where(code = 'PRN').exists().not()) or (identifier.type.coding.where(code = 'PRN').exists() and identifier.type.coding.where(code = 'AHPRA').exists().not())
source:
  v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
  l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole

key:
  v: inv-02-identifier-registration-match
severity:
  v: warning
human:
  v: PractitionerRole registration identifiers SHOULD match with the referenced Practitioner's registration identifiers in qualifications
expression:
  v: practitioner.resolve().qualification.identifier.where(type.coding.where(code = 'AHPRA').exists()).value.intersect(identifier.where(type.coding.where(code = 'AHPRA').exists()).value).exists() or practitioner.resolve().qualification.identifier.where(type.coding.where(code = 'PRN').exists()).value.intersect(identifier.where(type.coding.where(code = 'PRN').exists()).value).exists()
source:
  v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
  l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole

v: false

v: false

identity:
  v: rim
map:
  v: Entity. Role, or Act

identity:
  v: v2
map:
  v: PRD (as one example)

identity:
  v: rim
map:
  v: Role

identity:
  v: servd
map:
  v: ServiceSiteProvider

id:
  v: PractitionerRole.id
path:
  v: PractitionerRole.id
short:
  v: Logical id of this artifact
definition:
  v: The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
comment:
  v: The only time that a resource does not have an id is when it is being submitted to the server using a create operation.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: id
      l: id
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: true

id:
  v: PractitionerRole.meta
path:
  v: PractitionerRole.meta
short:
  v: Metadata about the resource
definition:
  v: The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.meta
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Meta
    l: Meta
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true

id:
  v: PractitionerRole.implicitRules
path:
  v: PractitionerRole.implicitRules
short:
  v: A set of rules under which this content was created
definition:
  v: A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.
comment:
  v: Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.implicitRules
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: true
is modifier reason:
  v: This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation
is summary:
  v: true

id:
  v: PractitionerRole.language
path:
  v: PractitionerRole.language
short:
  v: Language of the resource content
definition:
  v: The base language in which the resource is written.
comment:
  v: Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.language
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet
      l: elementdefinition-maxValueSet
    value: Canonical
      v: http://hl7.org/fhir/ValueSet/all-languages|4.0.1
      l: http://hl7.org/fhir/ValueSet/all-languages
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: Language
  strength:
    v: preferred
  description:
    v: A human language.
  value set:
    v: http://hl7.org/fhir/ValueSet/languages|4.0.1
    l: http://hl7.org/fhir/ValueSet/languages

id:
  v: PractitionerRole.text
path:
  v: PractitionerRole.text
short:
  v: Text summary of the resource, for human interpretation
definition:
  v: A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.
comment:
  v: Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later.
alias:
  v: narrative
alias:
  v: html
alias:
  v: xhtml
alias:
  v: display
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Narrative
    l: Narrative
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: Act.text?

id:
  v: PractitionerRole.contained
path:
  v: PractitionerRole.contained
short:
  v: Contained, inline Resources
definition:
  v: These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.
comment:
  v: This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.
alias:
  v: inline resources
alias:
  v: anonymous resources
alias:
  v: contained resources
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.contained
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Resource
    l: Resource
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: PractitionerRole.extension
path:
  v: PractitionerRole.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false

id:
  v: PractitionerRole.extension:practitioner-role-communication
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.extension
slice name:
  v: practitioner-role-communication
short:
  v: Practitioner role communication preferences
definition:
  v: Communication preferences and available modes for a practitioner in this role.
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/practitioner-role-communication|26.0.0
    l: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/practitioner-role-communication
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Extension
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false

id:
  v: PractitionerRole.extension:alternate-name
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.extension
slice name:
  v: alternate-name
short:
  v: Alternate name for this practitioner role
definition:
  v: Name by which a practitioner chooses to be known in the context of the delivery of a specific healthcare service.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/alternate-name|26.0.0
    l: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/alternate-name
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Extension
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false

id:
  v: PractitionerRole.modifierExtension
path:
  v: PractitionerRole.modifierExtension
short:
  v: Extensions that cannot be ignored
definition:
  v: May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: PractitionerRole.identifier
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:no-error
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.identifier
slicing:
  discriminator:
    type:
      v: pattern
    path:
      v: type
  ordered:
    v: false
  rules:
    v: open
short:
  v: Business Identifiers that are specific to a role/location
definition:
  v: Business Identifiers that are specific to a role/location.
requirements:
  v: Often, specific identities are assigned for the agent.
min:
  v: 1
max:
  v: *
base:
  path:
    v: PractitionerRole.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
    l: Identifier
  profile:
    v: http://hl7.org/fhir/StructureDefinition/Identifier|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Identifier
  profile:
    v: http://hl7.org.au/fhir/StructureDefinition/au-medicareprovidernumber|6.0.0
    l: http://hl7.org.au/fhir/StructureDefinition/au-medicareprovidernumber
  profile:
    v: http://hl7.org.au/fhir/StructureDefinition/au-nationalprovideridentifieratorganisation|6.0.0
    l: http://hl7.org.au/fhir/StructureDefinition/au-nationalprovideridentifieratorganisation
  profile:
    v: http://hl7.org.au/fhir/StructureDefinition/au-employeenumber|6.0.0
    l: http://hl7.org.au/fhir/StructureDefinition/au-employeenumber
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.identifier
mapping:
  identity:
    v: v2
  map:
    v: PRD-7 (or XCN.1)
mapping:
  identity:
    v: rim
  map:
    v: .id
mapping:
  identity:
    v: servd
  map:
    v: ./Identifiers

id:
  v: PractitionerRole.identifier:medicareProvider
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:no-error
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.identifier
slice name:
  v: medicareProvider
short:
  v: Medicare provider number
definition:
  v: Business Identifiers that are specific to a role/location.
requirements:
  v: Often, specific identities are assigned for the agent.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: PractitionerRole.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
    l: Identifier
  profile:
    v: http://hl7.org.au/fhir/StructureDefinition/au-medicareprovidernumber|6.0.0
    l: http://hl7.org.au/fhir/StructureDefinition/au-medicareprovidernumber
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.identifier
mapping:
  identity:
    v: v2
  map:
    v: PRD-7 (or XCN.1)
mapping:
  identity:
    v: rim
  map:
    v: .id
mapping:
  identity:
    v: servd
  map:
    v: ./Identifiers

id:
  v: PractitionerRole.identifier:HCPD_Local_Identifier
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:no-error
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.identifier
slice name:
  v: HCPD_Local_Identifier
short:
  v: Local identifier for the PractitionerRole attributed by HC
definition:
  v: Local identifier for the PractitionerRole attributed by Health Connect. Used for system reference and internal business logic.
requirements:
  v: Often, specific identities are assigned for the agent.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: PractitionerRole.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
    l: Identifier
  profile:
    v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-local-identifier|26.0.0
    l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-local-identifier
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.identifier
mapping:
  identity:
    v: v2
  map:
    v: PRD-7 (or XCN.1)
mapping:
  identity:
    v: rim
  map:
    v: .id
mapping:
  identity:
    v: servd
  map:
    v: ./Identifiers

id:
  v: PractitionerRole.identifier:peakbodyregistrationnumber
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:no-error
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.identifier
slice name:
  v: peakbodyregistrationnumber
short:
  v: Professional association / Peak body association (for non-Ahpra registered practitioners), as recorded against the HPI-I record
definition:
  v: Business Identifiers that are specific to a role/location.
requirements:
  v: Often, specific identities are assigned for the agent.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: PractitionerRole.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
    l: Identifier
  profile:
    v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-pbprn|26.0.0
    l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-pbprn
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.identifier
mapping:
  identity:
    v: v2
  map:
    v: PRD-7 (or XCN.1)
mapping:
  identity:
    v: rim
  map:
    v: .id
mapping:
  identity:
    v: servd
  map:
    v: ./Identifiers

id:
  v: PractitionerRole.identifier:ahpraregistrationnumber
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:no-error
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.identifier
slice name:
  v: ahpraregistrationnumber
short:
  v: Ahpra Registration Number
definition:
  v: Business Identifiers that are specific to a role/location.
requirements:
  v: Often, specific identities are assigned for the agent.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: PractitionerRole.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
    l: Identifier
  profile:
    v: http://hl7.org.au/fhir/StructureDefinition/au-ahpraregistrationnumber|6.0.0
    l: http://hl7.org.au/fhir/StructureDefinition/au-ahpraregistrationnumber
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.identifier
mapping:
  identity:
    v: v2
  map:
    v: PRD-7 (or XCN.1)
mapping:
  identity:
    v: rim
  map:
    v: .id
mapping:
  identity:
    v: servd
  map:
    v: ./Identifiers

id:
  v: PractitionerRole.active
path:
  v: PractitionerRole.active
short:
  v: Whether this practitioner role record is in active use
definition:
  v: Whether this practitioner role record is in active use.
comment:
  v: If this value is false, you may refer to the period to see when the role was in active use. If there is no period specified, no inference can be made about when it was active.
requirements:
  v: Need to be able to mark a practitioner role record as not to be used because it was created in error, or otherwise no longer in active use.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: PractitionerRole.active
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
meaning when missing:
  v: This resource is generally assumed to be active if no value is provided for the active element
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.status
mapping:
  identity:
    v: v2
  map:
    v: STF-7
mapping:
  identity:
    v: rim
  map:
    v: .statusCode

id:
  v: PractitionerRole.period
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.period
short:
  v: The period during which the practitioner is active in this role.
definition:
  v: The period during which the person is authorized to act as a practitioner in these role(s) for the organization.
requirements:
  v: Even after the agencies is revoked, the fact that it existed must still be recorded.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: PractitionerRole.period
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
    l: Period
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.done[x]
mapping:
  identity:
    v: v2
  map:
    v: PRD-8/9 / PRA-5.4
mapping:
  identity:
    v: rim
  map:
    v: .performance[@typeCode <= 'PPRF'].ActDefinitionOrEvent.effectiveTime
mapping:
  identity:
    v: servd
  map:
    v: (ServD maps Practitioners and Organizations via another entity, so this concept is not available)

id:
  v: PractitionerRole.practitioner
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:no-error
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.practitioner
short:
  v: Practitioner in the role
definition:
  v: Australian practitioner directory entry in this role.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: PractitionerRole.practitioner
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitioner|26.0.0
    l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitioner
condition:
  v: au-core-prarol-01
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: au-core-prarol-01
  severity:
    v: error
  human:
    v: At least a reference, identifier or display shall be present, or, if neither is available, the Data Absent Reason extension shall be present
  expression:
    v: (reference.exists() or identifier.exists() or display.exists()) xor extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()
  xpath:
    v: (exists(f:reference) or exists(f:display) or exists(f:identifier)) and not(exists(f:extension[@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason'])) or not(exists(f:reference) or exists(f:display) or exists(f:identifier)) and exists(f:extension[@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason'])
  source:
    v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
    l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .player

id:
  v: PractitionerRole.organization
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:no-error
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.organization
short:
  v: Organisation providing this role. Reference to be the same organisation as the referenced HealthcareService for this role.
definition:
  v: Australian organisation directory entry providing this role.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: PractitionerRole.organization
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-organization|26.0.0
    l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-organization
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .scoper

id:
  v: PractitionerRole.code
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:no-error
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.code
short:
  v: The primary role of the practitioner
definition:
  v: Roles which this practitioner is authorized to perform for the organization.
comment:
  v: A person may have more than one role.
requirements:
  v: Need to know what authority the practitioner has - what can they do?
min:
  v: 1
max:
  v: 1
base:
  path:
    v: PractitionerRole.code
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
binding:
  strength:
    v: preferred
  value set:
    v: https://healthterminologies.gov.au/fhir/ValueSet/practitioner-role-1
    l: practitioner-role-1
mapping:
  identity:
    v: v2
  map:
    v: PRD-1 / STF-18 / PRA-3 / PRT-4 / ROL-3 / ORC-12 / OBR-16 / PV1-7 / PV1-8 / PV1-9 / PV1-17
mapping:
  identity:
    v: rim
  map:
    v: .code
mapping:
  identity:
    v: servd
  map:
    v: (ServD maps Practitioners and Organizations via another entity, so this concept is not available)

id:
  v: PractitionerRole.specialty
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:no-error
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.specialty
short:
  v: Specific specialty of the practitioner
definition:
  v: Specific specialty of the practitioner.
min:
  v: 0
max:
  v: *
base:
  path:
    v: PractitionerRole.specialty
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
binding:
  strength:
    v: preferred
  value set:
    v: https://healthterminologies.gov.au/fhir/ValueSet/clinical-specialty-1
    l: clinical-specialty-1
mapping:
  identity:
    v: v2
  map:
    v: PRA-5
mapping:
  identity:
    v: rim
  map:
    v: .player.HealthCareProvider[@classCode = 'PROV'].code
mapping:
  identity:
    v: servd
  map:
    v: ./Specialty

id:
  v: PractitionerRole.location
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.location
short:
  v: Location at which this role is provided. Reference to be the same Location as the referenced HealthcareService for this role.
definition:
  v: Location details describing where the role is being provided.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: PractitionerRole.location
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-location|26.0.0
    l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-location
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.where[x]
mapping:
  identity:
    v: rim
  map:
    v: .performance.ActDefinitionOrEvent.ServiceDeliveryLocation[@classCode = 'SDLOC']
mapping:
  identity:
    v: servd
  map:
    v: (ServD maps Practitioners and Organizations via another entity, so this concept is not available) However these are accessed via the Site.ServiceSite.ServiceSiteProvider record. (The Site has the location)

id:
  v: PractitionerRole.healthcareService
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.healthcareService
short:
  v: Healthcare service at which this role is provided.
definition:
  v: Healthcare details describing where the role is being provided.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: PractitionerRole.healthcareService
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
    l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: v2
  map:
    v: EDU-2 / AFF-3
mapping:
  identity:
    v: rim
  map:
    v: .player.QualifiedEntity[@classCode = 'QUAL'].code

id:
  v: PractitionerRole.telecom
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:no-error
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.telecom
short:
  v: Contact details for the practitioner in this role.
definition:
  v: Details for contacting the practitioner in this role.
requirements:
  v: Often practitioners have a dedicated line for each location (or service) that they work at, and need to be able to define separate contact details for each of these.
min:
  v: 0
max:
  v: *
base:
  path:
    v: PractitionerRole.telecom
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: ContactPoint
    l: ContactPoint
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .telecom

id:
  v: PractitionerRole.telecom.id
path:
  v: PractitionerRole.telecom.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: PractitionerRole.telecom.extension
path:
  v: PractitionerRole.telecom.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: PractitionerRole.telecom.system
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:no-error
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.telecom.system
short:
  v: phone | fax | email | pager | url | sms | other
definition:
  v: Telecommunications form for contact point - what communications system is required to make use of the contact.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ContactPoint.system
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
condition:
  v: cpt-2
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ContactPointSystem
  strength:
    v: required
  description:
    v: Telecommunications form for contact point.
  value set:
    v: http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1
    l: http://hl7.org/fhir/ValueSet/contact-point-system
mapping:
  identity:
    v: v2
  map:
    v: XTN.3
mapping:
  identity:
    v: rim
  map:
    v: ./scheme
mapping:
  identity:
    v: servd
  map:
    v: ./ContactPointType

id:
  v: PractitionerRole.telecom.value
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:no-error
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester|2.0.0
      l: http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.telecom.value
short:
  v: The actual contact point details
definition:
  v: The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).
comment:
  v: Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value.
requirements:
  v: Need to support legacy numbers that are not in a tightly controlled format.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ContactPoint.value
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: XTN.1 (or XTN.12)
mapping:
  identity:
    v: rim
  map:
    v: ./url
mapping:
  identity:
    v: servd
  map:
    v: ./Value

id:
  v: PractitionerRole.telecom.use
path:
  v: PractitionerRole.telecom.use
short:
  v: home | work | temp | old | mobile - purpose of this contact point
definition:
  v: Identifies the purpose for the contact point.
comment:
  v: Applications can assume that a contact is current unless it explicitly says that it is temporary or old.
requirements:
  v: Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ContactPoint.use
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: true
is modifier reason:
  v: This is labeled as "Is Modifier" because applications should not mistake a temporary or old contact etc.for a current/permanent one
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ContactPointUse
  strength:
    v: required
  description:
    v: Use of contact point.
  value set:
    v: http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1
    l: http://hl7.org/fhir/ValueSet/contact-point-use
mapping:
  identity:
    v: v2
  map:
    v: XTN.2 - but often indicated by field
mapping:
  identity:
    v: rim
  map:
    v: unique(./use)
mapping:
  identity:
    v: servd
  map:
    v: ./ContactPointPurpose

id:
  v: PractitionerRole.telecom.rank
path:
  v: PractitionerRole.telecom.rank
short:
  v: Specify preferred order of use (1 = highest)
definition:
  v: Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values.
comment:
  v: Note that rank does not necessarily follow the order in which the contacts are represented in the instance.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ContactPoint.rank
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: positiveInt
    l: positiveInt
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: n/a
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: PractitionerRole.telecom.period
path:
  v: PractitionerRole.telecom.period
short:
  v: Time period when the contact point was/is in use
definition:
  v: Time period when the contact point was/is in use.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ContactPoint.period
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
    l: Period
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: N/A
mapping:
  identity:
    v: rim
  map:
    v: ./usablePeriod[type="IVL<TS>"]
mapping:
  identity:
    v: servd
  map:
    v: ./StartDate and ./EndDate

id:
  v: PractitionerRole.availableTime
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.availableTime
short:
  v: Times that the practitioner provides the healthcare service in this role at this location.
definition:
  v: Times that the practitioner provides the healthcare service in this role at this location.
comment:
  v: More detailed availability information may be provided in associated Schedule/Slot resources.
min:
  v: 0
max:
  v: *
base:
  path:
    v: PractitionerRole.availableTime
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime

id:
  v: PractitionerRole.availableTime.id
path:
  v: PractitionerRole.availableTime.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: PractitionerRole.availableTime.extension
path:
  v: PractitionerRole.availableTime.extension
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: PractitionerRole.availableTime.modifierExtension
path:
  v: PractitionerRole.availableTime.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: PractitionerRole.availableTime.daysOfWeek
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.availableTime.daysOfWeek
short:
  v: mon | tue | wed | thu | fri | sat | sun
definition:
  v: Indicates which days of the week are available between the start and end Times.
min:
  v: 0
max:
  v: *
base:
  path:
    v: PractitionerRole.availableTime.daysOfWeek
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: code
    l: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: DaysOfWeek
  strength:
    v: required
  description:
    v: The days of the week.
  value set:
    v: http://hl7.org/fhir/ValueSet/days-of-week|4.0.1
    l: http://hl7.org/fhir/ValueSet/days-of-week
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime

id:
  v: PractitionerRole.availableTime.allDay
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.availableTime.allDay
short:
  v: Always available? e.g. 24 hour service
definition:
  v: Is this always available? (hence times are irrelevant) e.g. 24 hour service.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: PractitionerRole.availableTime.allDay
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime

id:
  v: PractitionerRole.availableTime.availableStartTime
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.availableTime.availableStartTime
short:
  v: Opening time of day (ignored if allDay = true)
definition:
  v: The opening time of day. Note: If the AllDay flag is set, then this time is ignored.
comment:
  v: The timezone is expected to be for where this HealthcareService is provided at.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: PractitionerRole.availableTime.availableStartTime
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: time
    l: time
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime

id:
  v: PractitionerRole.availableTime.availableStartTime.id
path:
  v: PractitionerRole.availableTime.availableStartTime.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false

id:
  v: PractitionerRole.availableTime.availableStartTime.extension
path:
  v: PractitionerRole.availableTime.availableStartTime.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false

id:
  v: PractitionerRole.availableTime.availableStartTime.extension:timeZone
path:
  v: PractitionerRole.availableTime.availableStartTime.extension
slice name:
  v: timeZone
short:
  v: IANA Timezone Code per BCP 175
definition:
  v: An IANA timezone code for the timezone offset per BCP 175. For data types allowing the offset (all except date and time), this extension SHALL agree with the offset if provided and cannot be used in place of the offset if the precision expressed requires an offset. Where an offset is provided, this extension provides a more legible display of the zone associated with the offset. Where an offset is not present, this extension can be used to provide zone information not otherwise available.
comment:
  v: Use [Australian Time Zone Usage](https://hl7.org.au/fhir/6.0.0/StructureDefinition-au-timezone-usage.html) for Australian state and territory time zone offsets.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/StructureDefinition/timezone|5.2.0
    l: http://hl7.org/fhir/StructureDefinition/timezone
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false

id:
  v: PractitionerRole.availableTime.availableStartTime.value
path:
  v: PractitionerRole.availableTime.availableStartTime.value
representation:
  v: xmlAttr
short:
  v: Primitive value for time
definition:
  v: The actual value
min:
  v: 0
max:
  v: 1
base:
  path:
    v: time.value
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: time
      l: time
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/regex
      l: regex
    value: String
      v: ([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]+)?
  code:
    v: http://hl7.org/fhirpath/System.Time
    l: System.Time
is modifier:
  v: false
is summary:
  v: false

id:
  v: PractitionerRole.availableTime.availableEndTime
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.availableTime.availableEndTime
short:
  v: Closing time of day (ignored if allDay = true)
definition:
  v: The closing time of day. Note: If the AllDay flag is set, then this time is ignored.
comment:
  v: The timezone is expected to be for where this HealthcareService is provided at.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: PractitionerRole.availableTime.availableEndTime
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: time
    l: time
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime

id:
  v: PractitionerRole.availableTime.availableEndTime.id
path:
  v: PractitionerRole.availableTime.availableEndTime.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false

id:
  v: PractitionerRole.availableTime.availableEndTime.extension
path:
  v: PractitionerRole.availableTime.availableEndTime.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false

id:
  v: PractitionerRole.availableTime.availableEndTime.extension:timeZone
path:
  v: PractitionerRole.availableTime.availableEndTime.extension
slice name:
  v: timeZone
short:
  v: IANA Timezone Code per BCP 175
definition:
  v: An IANA timezone code for the timezone offset per BCP 175. For data types allowing the offset (all except date and time), this extension SHALL agree with the offset if provided and cannot be used in place of the offset if the precision expressed requires an offset. Where an offset is provided, this extension provides a more legible display of the zone associated with the offset. Where an offset is not present, this extension can be used to provide zone information not otherwise available.
comment:
  v: Use [Australian Time Zone Usage](https://hl7.org.au/fhir/6.0.0/StructureDefinition-au-timezone-usage.html) for Australian state and territory time zone offsets.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/StructureDefinition/timezone|5.2.0
    l: http://hl7.org/fhir/StructureDefinition/timezone
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false

id:
  v: PractitionerRole.availableTime.availableEndTime.value
path:
  v: PractitionerRole.availableTime.availableEndTime.value
representation:
  v: xmlAttr
short:
  v: Primitive value for time
definition:
  v: The actual value
min:
  v: 0
max:
  v: 1
base:
  path:
    v: time.value
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: time
      l: time
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/regex
      l: regex
    value: String
      v: ([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\.[0-9]+)?
  code:
    v: http://hl7.org/fhirpath/System.Time
    l: System.Time
is modifier:
  v: false
is summary:
  v: false

id:
  v: PractitionerRole.notAvailable
path:
  v: PractitionerRole.notAvailable
short:
  v: Not available during this time due to provided reason
definition:
  v: The practitioner is not available or performing this role during this period of time due to the provided reason.
min:
  v: 0
max:
  v: *
base:
  path:
    v: PractitionerRole.notAvailable
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime

id:
  v: PractitionerRole.notAvailable.id
path:
  v: PractitionerRole.notAvailable.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: PractitionerRole.notAvailable.extension
path:
  v: PractitionerRole.notAvailable.extension
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: PractitionerRole.notAvailable.modifierExtension
path:
  v: PractitionerRole.notAvailable.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: PractitionerRole.notAvailable.description
path:
  v: PractitionerRole.notAvailable.description
short:
  v: Reason presented to the user explaining why time not available
definition:
  v: The reason that can be presented to the user as to why this time is not available.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: PractitionerRole.notAvailable.description
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: PractitionerRole.notAvailable.during
path:
  v: PractitionerRole.notAvailable.during
short:
  v: Service not available from this date
definition:
  v: Service is not available (seasonally or for a public holiday) from this date.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: PractitionerRole.notAvailable.during
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
    l: Period
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime

id:
  v: PractitionerRole.availabilityExceptions
path:
  v: PractitionerRole.availabilityExceptions
short:
  v: Description of availability exceptions
definition:
  v: A description of site availability exceptions, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as details in the available Times and not available Times.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: PractitionerRole.availabilityExceptions
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime

id:
  v: PractitionerRole.endpoint
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.endpoint
short:
  v: Technical endpoints for this practitioner role.
definition:
  v: Details for service based communication with the practitioner in this role. This can include web services, messaging profiles and other protocol based communication.
requirements:
  v: Organizations have multiple systems that provide various services and ,ay also be different for practitioners too. So the endpoint satisfies the need to be able to define the technical connection details for how to connect to them, and for what purpose.
min:
  v: 0
max:
  v: *
base:
  path:
    v: PractitionerRole.endpoint
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-endpoint|26.0.0
    l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-endpoint
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

element:
  id:
    v: PractitionerRole
  path:
    v: PractitionerRole
  definition:
    v: Directory entry for a provider at a location for an organisation.
  constraint:
    key:
      v: inv-01-identifier-registration-required
    severity:
      v: error
    human:
      v: Either Ahpra or PRN identifier SHALL exist, but not both. While a practitioner can have more than one professional registration and professions (e.g. nurse and midwife), the relevant registration that is applicable for this role only is captured.
    expression:
      v: (identifier.type.coding.where(code = 'AHPRA').exists() and identifier.type.coding.where(code = 'PRN').exists().not()) or (identifier.type.coding.where(code = 'PRN').exists() and identifier.type.coding.where(code = 'AHPRA').exists().not())
    source:
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  constraint:
    key:
      v: inv-02-identifier-registration-match
    severity:
      v: warning
    human:
      v: PractitionerRole registration identifiers SHOULD match with the referenced Practitioner's registration identifiers in qualifications
    expression:
      v: practitioner.resolve().qualification.identifier.where(type.coding.where(code = 'AHPRA').exists()).value.intersect(identifier.where(type.coding.where(code = 'AHPRA').exists()).value).exists() or practitioner.resolve().qualification.identifier.where(type.coding.where(code = 'PRN').exists()).value.intersect(identifier.where(type.coding.where(code = 'PRN').exists()).value).exists()
    source:
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
element:
  id:
    v: PractitionerRole.extension
  path:
    v: PractitionerRole.extension
  slicing:
    discriminator:
      type:
        v: value
      path:
        v: url
    ordered:
      v: false
    rules:
      v: open
element:
  id:
    v: PractitionerRole.extension:practitioner-role-communication
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:populate-if-known
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
        l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHOULD:handle
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
        l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  path:
    v: PractitionerRole.extension
  slice name:
    v: practitioner-role-communication
  short:
    v: Practitioner role communication preferences
  definition:
    v: Communication preferences and available modes for a practitioner in this role.
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: Extension
      l: Extension
    profile:
      v: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/practitioner-role-communication|26.0.0
      l: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/practitioner-role-communication
  must support:
    v: true
element:
  id:
    v: PractitionerRole.extension:alternate-name
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:populate-if-known
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
        l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHOULD:handle
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
        l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  path:
    v: PractitionerRole.extension
  slice name:
    v: alternate-name
  short:
    v: Alternate name for this practitioner role
  definition:
    v: Name by which a practitioner chooses to be known in the context of the delivery of a specific healthcare service.
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Extension
      l: Extension
    profile:
      v: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/alternate-name|26.0.0
      l: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/alternate-name
  must support:
    v: true
element:
  id:
    v: PractitionerRole.identifier
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:populate-if-known
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
        l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
    extension:
      url:
        v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
        l: snapshot-source
      value: Canonical
        v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
        l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHOULD:handle
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
        l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect

v: PractitionerRole.identifier

discriminator:
  type:
    v: pattern
  path:
    v: type
description:
  v: Slice based on identifier system: must include at least one HCPD Location Identifier known to this profile
ordered:
  v: false
rules:
  v: open

v: 1

id:
  v: PractitionerRole.identifier:medicareProvider
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.identifier
slice name:
  v: medicareProvider
short:
  v: Medicare provider number

id:
  v: PractitionerRole.identifier:HCPD_Local_Identifier
path:
  v: PractitionerRole.identifier
slice name:
  v: HCPD_Local_Identifier
short:
  v: Local identifier for the PractitionerRole attributed by HC
definition:
  v: Local identifier for the PractitionerRole attributed by Health Connect. Used for system reference and internal business logic.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Identifier
    l: Identifier
  profile:
    v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-local-identifier|26.0.0
    l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-local-identifier
must support:
  v: true

id:
  v: PractitionerRole.identifier:peakbodyregistrationnumber
path:
  v: PractitionerRole.identifier
slice name:
  v: peakbodyregistrationnumber
short:
  v: Professional association / Peak body association (for non-Ahpra registered practitioners), as recorded against the HPI-I record
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Identifier
    l: Identifier
  profile:
    v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-pbprn|26.0.0
    l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-pbprn
must support:
  v: true

id:
  v: PractitionerRole.identifier:ahpraregistrationnumber
path:
  v: PractitionerRole.identifier
slice name:
  v: ahpraregistrationnumber
short:
  v: Ahpra Registration Number
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Identifier
    l: Identifier
  profile:
    v: http://hl7.org.au/fhir/StructureDefinition/au-ahpraregistrationnumber|6.0.0
    l: http://hl7.org.au/fhir/StructureDefinition/au-ahpraregistrationnumber
must support:
  v: true

id:
  v: PractitionerRole.period
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.period
short:
  v: The period during which the practitioner is active in this role.
must support:
  v: true

id:
  v: PractitionerRole.practitioner
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.practitioner
short:
  v: Practitioner in the role
definition:
  v: Australian practitioner directory entry in this role.
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitioner|26.0.0
    l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitioner

id:
  v: PractitionerRole.organization
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole|2.0.0
      l: http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.organization
short:
  v: Organisation providing this role. Reference to be the same organisation as the referenced HealthcareService for this role.
definition:
  v: Australian organisation directory entry providing this role.
min:
  v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-organization|26.0.0
    l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-organization

id:
  v: PractitionerRole.code
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-practitionerrole
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.code
short:
  v: The primary role of the practitioner
min:
  v: 1
max:
  v: 1

id:
  v: PractitionerRole.location
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.location
short:
  v: Location at which this role is provided. Reference to be the same Location as the referenced HealthcareService for this role.
definition:
  v: Location details describing where the role is being provided.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-location|26.0.0
    l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-location
must support:
  v: true

id:
  v: PractitionerRole.healthcareService
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.healthcareService
short:
  v: Healthcare service at which this role is provided.
definition:
  v: Healthcare details describing where the role is being provided.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice|26.0.0
    l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-healthcareservice
must support:
  v: true

id:
  v: PractitionerRole.telecom
path:
  v: PractitionerRole.telecom
short:
  v: Contact details for the practitioner in this role.
definition:
  v: Details for contacting the practitioner in this role.

id:
  v: PractitionerRole.availableTime
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.availableTime
short:
  v: Times that the practitioner provides the healthcare service in this role at this location.
definition:
  v: Times that the practitioner provides the healthcare service in this role at this location.
must support:
  v: true

id:
  v: PractitionerRole.availableTime.daysOfWeek
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.availableTime.daysOfWeek
must support:
  v: true

id:
  v: PractitionerRole.availableTime.allDay
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.availableTime.allDay
must support:
  v: true

id:
  v: PractitionerRole.availableTime.availableStartTime
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.availableTime.availableStartTime
must support:
  v: true

id:
  v: PractitionerRole.availableTime.availableEndTime
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.availableTime.availableEndTime
must support:
  v: true

id:
  v: PractitionerRole.endpoint
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/responder-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect|26.0.0
      l: http://digitalhealth.gov.au/fhir/hcpd/ActorDefinition/requester-actor-health-connect
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: PractitionerRole.endpoint
short:
  v: Technical endpoints for this practitioner role.
definition:
  v: Details for service based communication with the practitioner in this role. This can include web services, messaging profiles and other protocol based communication.
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-endpoint|26.0.0
    l: http://digitalhealth.gov.au/fhir/hcpd/StructureDefinition/hcpd-endpoint
must support:
  v: true