## Profile Comparison between http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole vs http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole

Left: | AU Core PractitionerRole (http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole)
Right: | AU Core PractitionerRole (http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole)

### Messages

Error | PractitionerRole.identifier | Type Mismatch: Identifier([CanonicalType[http://hl7.org/fhir/StructureDefinition/Identifier], CanonicalType[http://hl7.org.au/fhir/StructureDefinition/au-medicareprovidernumber], CanonicalType[http://hl7.org.au/fhir/StructureDefinition/au-nationalprovideridentifieratorganisation], CanonicalType[http://hl7.org.au/fhir/StructureDefinition/au-employeenumber]]) vs Identifier([CanonicalType[http://hl7.org/fhir/StructureDefinition/Identifier], CanonicalType[http://hl7.org.au/fhir/StructureDefinition/au-medicareprovidernumber], CanonicalType[http://hl7.org.au/fhir/StructureDefinition/au-nationalprovideridentifieratorganisation], CanonicalType[http://hl7.org.au/fhir/StructureDefinition/au-employeenumber]])

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org.au/fhir/StructureDefinition/au-practitionerrole |
copyright | Used by permission of HL7 International, all rights reserved Creative Commons License. HL7 Australia© 2022+; Licensed Under Creative Commons No Rights Reserved. |
description | This profile sets minimum expectations for a PractitionerRole resource to record, search, and fetch a practitioner role for a practitioner associated with a patient. It is based on the [AU Base Practitioner Role](https://hl7.org.au/fhir/5.0.0/StructureDefinition-au-practitionerrole.html) profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets that **SHALL** be present in the PractitionerRole resource when conforming to this profile. It provides the floor for standards development for specific uses cases in an Australian context. | This profile sets minimum expectations for a PractitionerRole resource to record, search, and fetch a practitioner role for a practitioner associated with a patient. It is based on the [AU Base Practitioner Role](http://build.fhir.org/ig/hl7au/au-fhir-base/StructureDefinition-au-practitionerrole.html) profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets that **SHALL** be present in the PractitionerRole resource when conforming to this profile. It provides the floor for standards development for specific uses cases in an Australian context. | Values Differ
experimental |  |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | urn:iso:std:iso:3166#AU |
kind | resource |
name | AUCorePractitionerRole |
publisher | HL7 Australia |
purpose |  |
status | active |
title | AU Core PractitionerRole |
type | PractitionerRole |
url | http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole |

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
PractitionerRole |  | 0..* | AUBasePractitionerRole | A person with formal responsibility in a role providing one or more services |  | 0..* | AUBasePractitionerRole | A person with formal responsibility in a role providing one or more services |
id | Σ | 0..1 | id | Logical id of this artifact | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language |  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
|  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements |
contained |  | 0..* | Resource | Contained, inline Resources |  | 0..* | Resource | Contained, inline Resources |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored |
Slices for identifier | SO Σ | 0..* | ??, ??, ??, ?? | Business Identifiers that are specific to a role/location Slice: Unordered, Open by pattern:type
Obligations | Actor
SHALL:populate-if-known | AU Core Responder
SHALL:no-error | AU Core Requester
| SO Σ | 0..* | ??, ??, ??, ?? | Business Identifiers that are specific to a role/location Slice: Unordered, Open by pattern:type
Obligations | Actor
SHALL:populate-if-known | AU Core Responder
SHALL:no-error | AU Core Requester
| Type Mismatch: Identifier([CanonicalType[http://hl7.org/fhir/StructureDefinition/Identifier], CanonicalType[http://hl7.org.au/fhir/StructureDefinition/au-medicareprovidernumber], CanonicalType[http://hl7.org.au/fhir/StructureDefinition/au-nationalprovideridentifieratorganisation], CanonicalType[http://hl7.org.au/fhir/StructureDefinition/au-employeenumber]]) vs Identifier([CanonicalType[http://hl7.org/fhir/StructureDefinition/Identifier], CanonicalType[http://hl7.org.au/fhir/StructureDefinition/au-medicareprovidernumber], CanonicalType[http://hl7.org.au/fhir/StructureDefinition/au-nationalprovideridentifieratorganisation], CanonicalType[http://hl7.org.au/fhir/StructureDefinition/au-employeenumber]])
active | Σ | 0..1 | boolean | Whether this practitioner role record is in active use | Σ | 0..1 | boolean | Whether this practitioner role record is in active use |
period | Σ | 0..1 | Period | The period during which the practitioner is authorized to perform in these role(s) | Σ | 0..1 | Period | The period during which the practitioner is authorized to perform in these role(s) |
practitioner | SO Σ C | 1..1 | Reference(AU Core Practitioner) | Practitioner that is able to provide the defined services for the organization Constraints: au-core-prarol-01
Obligations | Actor
SHALL:populate-if-known | AU Core Responder
SHALL:no-error | AU Core Requester
| SO Σ C | 1..1 | Reference(AU Core Practitioner) | Practitioner that is able to provide the defined services for the organization Constraints: au-core-prarol-01
Obligations | Actor
SHALL:populate-if-known | AU Core Responder
SHALL:no-error | AU Core Requester
organization | SO Σ | 0..1 | Reference(AU Core Organization) | Organization where the roles are available
Obligations | Actor
SHALL:populate-if-known | AU Core Responder
SHALL:no-error | AU Core Requester
| SO Σ | 0..1 | Reference(AU Core Organization) | Organization where the roles are available
Obligations | Actor
SHALL:populate-if-known | AU Core Responder
SHALL:no-error | AU Core Requester
code | SO Σ | 0..* | CodeableConcept | Roles which this practitioner may perform Binding: ?? (preferred)
Obligations | Actor
SHALL:populate-if-known | AU Core Responder
SHALL:no-error | AU Core Requester
| SO Σ | 0..* | CodeableConcept | Roles which this practitioner may perform Binding: ?? (preferred)
Obligations | Actor
SHALL:populate-if-known | AU Core Responder
SHALL:no-error | AU Core Requester
specialty | SO Σ | 0..* | CodeableConcept | Specific specialty of the practitioner Binding: ?? (preferred)
Obligations | Actor
SHALL:populate-if-known | AU Core Responder
SHALL:no-error | AU Core Requester
| SO Σ | 0..* | CodeableConcept | Specific specialty of the practitioner Binding: ?? (preferred)
Obligations | Actor
SHALL:populate-if-known | AU Core Responder
SHALL:no-error | AU Core Requester
location | Σ | 0..* | Reference(Location) | The location(s) at which this practitioner provides care | Σ | 0..* | Reference(Location) | The location(s) at which this practitioner provides care |
healthcareService |  | 0..* | Reference(HealthcareService) | The list of healthcare services that this worker provides for this role's Organization/Location(s) |  | 0..* | Reference(HealthcareService) | The list of healthcare services that this worker provides for this role's Organization/Location(s) |
telecom | SO Σ | 0..* | ContactPoint | Contact details that are specific to the role/location/service
Obligations | Actor
SHALL:populate-if-known | AU Core Responder
SHALL:no-error | AU Core Requester
| SO Σ | 0..* | ContactPoint | Contact details that are specific to the role/location/service
Obligations | Actor
SHALL:populate-if-known | AU Core Responder
SHALL:no-error | AU Core Requester
id |  |  |  |  |  | 0..1 | string | Unique id for inter-element referencing | Added this element
Slices for extension |  |  |  |  |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | Added this element
system |  |  |  |  | SO Σ C | 0..1 | code | phone | fax | email | pager | url | sms | other Binding: ?? (required): Telecommunications form for contact point.
Obligations | Actor
SHALL:populate-if-known | AU Core Responder
SHALL:no-error | AU Core Requester
| Added this element
value |  |  |  |  | SO Σ | 0..1 | string | The actual contact point details
Obligations | Actor
SHALL:populate-if-known | AU Core Responder
SHALL:no-error | AU Core Requester
| Added this element
use |  |  |  |  | ?!Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ?? (required): Use of contact point. | Added this element
rank |  |  |  |  | Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest) | Added this element
period |  |  |  |  | Σ | 0..1 | Period | Time period when the contact point was/is in use | Added this element
availableTime |  | 0..* | BackboneElement | Times the Service Site is available |  | 0..* | BackboneElement | Times the Service Site is available |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
daysOfWeek |  | 0..* | code | mon | tue | wed | thu | fri | sat | sun Binding: ?? (required): The days of the week. |  | 0..* | code | mon | tue | wed | thu | fri | sat | sun Binding: ?? (required): The days of the week. |
allDay |  | 0..1 | boolean | Always available? e.g. 24 hour service |  | 0..1 | boolean | Always available? e.g. 24 hour service |
availableStartTime |  | 0..1 | time | Opening time of day (ignored if allDay = true) |  | 0..1 | time | Opening time of day (ignored if allDay = true) |
id |  | 0..1 | string | xml:id (or equivalent in JSON) |  | 0..1 | string | xml:id (or equivalent in JSON) |
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
value |  | 0..1 | time | Primitive value for time |  | 0..1 | time | Primitive value for time |
availableEndTime |  | 0..1 | time | Closing time of day (ignored if allDay = true) |  | 0..1 | time | Closing time of day (ignored if allDay = true) |
id |  | 0..1 | string | xml:id (or equivalent in JSON) |  | 0..1 | string | xml:id (or equivalent in JSON) |
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
value |  | 0..1 | time | Primitive value for time |  | 0..1 | time | Primitive value for time |
notAvailable |  | 0..* | BackboneElement | Not available during this time due to provided reason |  | 0..* | BackboneElement | Not available during this time due to provided reason |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
description |  | 1..1 | string | Reason presented to the user explaining why time not available |  | 1..1 | string | Reason presented to the user explaining why time not available |
during |  | 0..1 | Period | Service not available from this date |  | 0..1 | Period | Service not available from this date |
availabilityExceptions |  | 0..1 | string | Description of availability exceptions |  | 0..1 | string | Description of availability exceptions |
endpoint |  | 0..* | Reference(Endpoint) | Technical endpoints providing access to services operated for the practitioner with this role |  | 0..* | Reference(Endpoint) | Technical endpoints providing access to services operated for the practitioner with this role |
Documentation for this format