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

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

### Messages

Error | StructureDefinition.version | Values for version differ: '2.0.0' vs '2.1.0'
Information | StructureDefinition.publisher | Values for publisher differ: 'HL7 International - Patient Care Work Group' vs 'HL7 International / Payer/Provider Information Exchange Work Group'

### 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 |
date | 2022-11-09 |
description | This Profile is defined to be [contained](http://hl7.org/fhir/R4/references.html) within the CDex Task Attachment Request Profile. It is referenced by `Task.owner` to communicate the provider ID as either 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. | 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 | CDexPractitionerRole |
publisher | HL7 International - Patient Care Work Group | HL7 International / Payer/Provider Information Exchange Work Group | Values Differ
purpose |  |
status | active |
title | CDex PractitionerRole Profile |
type | PractitionerRole |
url | http://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-practitionerrole |
version | 2.0.0 | 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 cdex-3: At least a practitioner.identifier or organization.identifier SHALL be present. | C | 0..* | PractitionerRole | Roles/organizations the practitioner is associated with cdex-3: At least a practitioner.identifier or organization.identifier SHALL be present. |
id | S Σ | 1..1 | id | Logical id of this artifact Fixed Value: practitionerrole | S Σ | 1..1 | id | Logical id of this artifact Fixed Value: practitionerrole |
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 Σ | 0..1 | Reference(US Core Practitioner Profile) | 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 |  | 0..1 | string | Unique id for inter-element referencing |
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
reference | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL |
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). | Σ | 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). |
identifier | S Σ C | 1..1 | Identifier | Practitioner ID (e.g., Type 1 NPI) | S Σ C | 1..1 | Identifier | Practitioner ID (e.g., Type 1 NPI) |
display | Σ | 0..1 | string | Text alternative for the resource | Σ | 0..1 | string | Text alternative for the resource |
organization | S Σ | 0..1 | Reference(US Core Organization Profile) | 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 |  | 0..1 | string | Unique id for inter-element referencing |
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
reference | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL |
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). | Σ | 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). |
identifier | S Σ C | 1..1 | Identifier | Organization ID (e.g., Type 2 NPI) | S Σ C | 1..1 | Identifier | Organization ID (e.g., Type 2 NPI) |
display | Σ | 0..1 | string | Text alternative for the resource | Σ | 0..1 | string | Text alternative for the resource |
code | Σ | 0..* | CodeableConcept | Roles which this practitioner may perform Binding: ?? (example): The role a person plays representing an organization. | Σ | 0..* | CodeableConcept | Roles which this practitioner may perform Binding: ?? (example): The role a person plays representing an organization. |
specialty | Σ | 0..* | CodeableConcept | Specific specialty of the practitioner Binding: ?? (preferred): Specific specialty associated with the agency. | Σ | 0..* | CodeableConcept | Specific specialty of the practitioner Binding: ?? (preferred): Specific specialty associated with the agency. |
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 | Σ | 0..* | ContactPoint | Contact details that are specific to the role/location/service | Σ | 0..* | ContactPoint | Contact details that are specific to the role/location/service |
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 |  | 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