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

Left: | US Core PractitionerRole Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole)
Right: | CDex PractitionerRole Profile (http://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-practitionerrole)

### Messages

Error | StructureDefinition.url | Values for url differ: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole' vs 'http://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-practitionerrole'
Error | StructureDefinition.version | Values for version differ: '8.0.0-ballot' vs '2.1.0'
Information | StructureDefinition.name | Values for name differ: 'USCorePractitionerRoleProfile' vs 'CDexPractitionerRole'
Information | StructureDefinition.title | Values for title differ: 'US Core PractitionerRole Profile' vs 'CDex PractitionerRole Profile'
Information | StructureDefinition.date | Values for date differ: '2022-04-20' vs '2022-11-09'
Information | StructureDefinition.publisher | Values for publisher differ: 'HL7 International / Cross-Group Projects' vs 'HL7 International / Payer/Provider Information Exchange Work Group'
Information | StructureDefinition.copyright | Values for copyright differ: 'Used by permission of HL7 International, all rights reserved Creative Commons License' vs 'Used by permission of HL7 International all rights reserved Creative Commons License'
Warning | PractitionerRole.id | Elements differ in definition for mustSupport: 'false' vs 'true'
Information | PractitionerRole.id | Element minimum cardinalities differ: '0' vs '1'
Warning | PractitionerRole.code | Elements differ in definition for mustSupport: 'true' vs 'false'
Warning | PractitionerRole.specialty | Elements differ in definition for mustSupport: 'true' vs 'false'
Warning | PractitionerRole.location | Elements differ in definition for mustSupport: 'true' vs 'false'
Warning | PractitionerRole.telecom | Elements differ in definition for mustSupport: 'true' vs 'false'
Warning | PractitionerRole.endpoint | Elements differ in definition for mustSupport: 'true' vs 'false'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/PractitionerRole |
copyright | Used by permission of HL7 International, all rights reserved Creative Commons License | Used by permission of HL7 International all rights reserved Creative Commons License | Values Differ
date | 2022-04-20 | 2022-11-09 | Values Differ
description | The US Core PractionerRole Profile inherits from the FHIR [PractionerRole](https://hl7.org/fhir/R4/practionerrole.html) resource; refer to it for scope and usage definitions. This profile sets minimum expectations for the PractitionerRole Resource to record, search, and fetch the practitioner role information. It specifies which core elements, extensions, vocabularies, and value sets **SHALL** be present and constrains how the elements are used. Providing the floor for standards development for specific use cases promotes interoperability and adoption. The requirements for the US Core Practitioner were drawn from the [Argonaut Provider Directory](http://www.fhir.org/guides/argonaut/pd//release1/index.html), [IHE Healthcare Provider Directory](http://ihe.net/uploadedFiles/Documents/ITI/IHE_ITI_Suppl_HPD.pdf) and the [ONC Provider Directory Workshop](https://confluence.oncprojectracking.org/display/PDW/Workshop+Documents). | This Profile is defined as a [contained](http://hl7.org/fhir/R4/references.html) resource within the CDex Task Attachment Request Profile. It is referenced by `Task.owner` to communicate the provider ID as a unique organization/location identifier (e.g., Type 2 NPI), or unique provider identifier (e.g., Type 1 NPI), or both. It constrains the following elements to be [*must support*](attachments-conformance.html#cdex-must-support-definition) (min=0).: - A default resource ID of "practitionerrole" - A `practitioner.identifier` - An `organization.identifier` At least a practitioner identifier or organization identifier **SHALL** be present. | Values Differ
experimental | false |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | urn:iso:std:iso:3166#US |
kind | resource |
name | USCorePractitionerRoleProfile | CDexPractitionerRole | Values Differ
publisher | HL7 International / Cross-Group Projects | HL7 International / Payer/Provider Information Exchange Work Group | Values Differ
purpose |  |
status | active |
title | US Core PractitionerRole Profile | CDex PractitionerRole Profile | Values Differ
type | PractitionerRole |
url | http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole | http://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-practitionerrole | Values Differ
version | 8.0.0-ballot | 2.1.0 | Values Differ

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
PractitionerRole | C | 0..* | PractitionerRole | Roles/organizations the practitioner is associated with pd-1: SHALL have contact information or a reference to an Endpoint us-core-13: SHALL have a practitioner, an organization, a healthcare service, or a location. | C | 0..* | PractitionerRole | Roles/organizations the practitioner is associated with cdex-3: At least a practitioner.identifier or organization.identifier SHALL be present. |
id | Σ | 0..1 | id | Logical id of this artifact | S Σ | 1..1 | id | Logical id of this artifact Fixed Value: practitionerrole | Elements differ in definition for mustSupport: 'false' vs 'true' Element minimum cardinalities differ: '0' vs '1'
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 |  | 0..1 | Narrative | Text summary of the resource, for human interpretation |
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 |
identifier | Σ | 0..* | Identifier | Business Identifiers that are specific to a role/location | Σ | 0..* | Identifier | Business Identifiers that are specific to a role/location |
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 | S Σ C | 0..1 | Reference(US Core Practitioner Profile(7.0.0)) | Practitioner that is able to provide the defined services for the organization | S Σ | 0..1 | Reference(US Core Practitioner Profile(3.1.1) | US Core Practitioner Profile(6.1.0) | US Core Practitioner Profile(7.0.0)) | Practitioner that is able to provide the defined services for the organization |
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
reference |  |  |  |  | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL | Added this element
type |  |  |  |  | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model). | Added this element
identifier |  |  |  |  | S Σ C | 1..1 | Identifier | Practitioner ID (e.g., Type 1 NPI) | Added this element
display |  |  |  |  | Σ | 0..1 | string | Text alternative for the resource | Added this element
organization | S Σ C | 0..1 | Reference(US Core Organization Profile(7.0.0)) | Organization where the roles are available | S Σ | 0..1 | Reference(HRex Organization Profile(1.1.0)) | Organization where the roles are available |
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
reference |  |  |  |  | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL | Added this element
type |  |  |  |  | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model). | Added this element
identifier |  |  |  |  | S Σ C | 1..1 | Identifier | Organization ID (e.g., Type 2 NPI) | Added this element
display |  |  |  |  | Σ | 0..1 | string | Text alternative for the resource | Added this element
code | S Σ | 0..* | CodeableConcept | Roles which this practitioner may perform Binding: ?? (extensible): Indicates specific responsibility of an individual within the care team, such as Primary physician, Team coordinator, Caregiver, etc. | Σ | 0..* | CodeableConcept | Roles which this practitioner may perform Binding: ?? (example): The role a person plays representing an organization. | Elements differ in definition for mustSupport: 'true' vs 'false'
specialty | S Σ | 0..* | CodeableConcept | Specific specialty of the practitioner Binding: ?? (extensible) | Σ | 0..* | CodeableConcept | Specific specialty of the practitioner Binding: ?? (preferred): Specific specialty associated with the agency. | Elements differ in definition for mustSupport: 'true' vs 'false'
location | S Σ C | 0..* | Reference(US Core Location Profile(7.0.0)) | The location(s) at which this practitioner provides care | Σ | 0..* | Reference(Location) | The location(s) at which this practitioner provides care | Elements differ in definition for mustSupport: 'true' vs 'false'
healthcareService | C | 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 | S Σ C | 0..* | ContactPoint | Contact details that are specific to the role/location/service | Σ | 0..* | ContactPoint | Contact details that are specific to the role/location/service | Elements differ in definition for mustSupport: 'true' vs 'false'
id |  | 0..1 | string | Unique id for inter-element referencing |  |  |  |  | Removed this element
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |  |  |  |  | Removed this element
system | S Σ C | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ?? (required): Telecommunications form for contact point. |  |  |  |  | Removed this element
value | S Σ | 1..1 | string | The actual contact point details |  |  |  |  | Removed this element
use | ?!Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ?? (required): Use of contact point. |  |  |  |  | Removed this element
rank | Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest) |  |  |  |  | Removed this element
period | Σ | 0..1 | Period | Time period when the contact point was/is in use |  |  |  |  | Removed 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) |
availableEndTime |  | 0..1 | time | Closing time of day (ignored if allDay = true) |  | 0..1 | time | Closing time of day (ignored if allDay = true) |
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 | S C | 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 | Elements differ in definition for mustSupport: 'true' vs 'false'
Documentation for this format