## Profile Comparison between http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole vs http://hl7.org/fhir/us/directory-query/StructureDefinition/NatlDirEndpointQry-PractitionerRole

Left: | US Core PractitionerRole Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole)
Right: | National Directory Endpoint Qry Exchange PractitionerRole (http://hl7.org/fhir/us/directory-query/StructureDefinition/NatlDirEndpointQry-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/directory-query/StructureDefinition/NatlDirEndpointQry-PractitionerRole'
Error | StructureDefinition.version | Values for version differ: '6.0.0-ballot' vs '1.0.0-ballot'
Information | StructureDefinition.name | Values for name differ: 'USCorePractitionerRoleProfile' vs 'NatlDirEndpointQryPractitionerRole'
Information | StructureDefinition.title | Values for title differ: 'US Core PractitionerRole Profile' vs 'National Directory Endpoint Qry Exchange PractitionerRole'
Information | StructureDefinition.date | Values for date differ: '2022-04-20' vs '2022-12-08T23:00:33+00:00'
Information | StructureDefinition.publisher | Values for publisher differ: 'HL7 International - Cross-Group Projects' vs 'HL7 International - Patient Administration Work Group'
Warning | PractitionerRole | Elements differ in definition: '\-' vs 'A specific set of Roles/Locations/specialties/services that a practitioner may perform at an organization for a period of time.'
Information | PractitionerRole.meta.lastUpdated | Element minimum cardinalities differ: '0' vs '1'
Warning | PractitionerRole.extension | Elements differ in short: 'Additional content defined by implementations' vs 'Extension'
Warning | PractitionerRole.extension | Elements differ in definition: 'May be used to represent additional information that is not part of the basic definition of the resource. 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.' vs 'An Extension'
Warning | PractitionerRole.identifier | Elements differ in definition for mustSupport: 'false' vs 'true'
Information | PractitionerRole.active | Element minimum cardinalities differ: '0' vs '1'
Information | PractitionerRole.practitioner | Element minimum cardinalities differ: '0' vs '1'
Information | PractitionerRole.organization | Element minimum cardinalities differ: '0' vs '1'
Warning | PractitionerRole.healthcareService | Elements differ in definition for mustSupport: 'false' vs 'true'
Warning | PractitionerRole.telecom | Elements differ in definition for mustSupport: 'true' vs 'false'
Warning | PractitionerRole.telecom.system | Elements differ in definition for mustSupport: 'true' vs 'false'
Warning | PractitionerRole.telecom.value | 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 |  | Removed the item 'Used by permission of HL7 International, all rights reserved Creative Commons License'
date | 2022-04-20 | 2022-12-08T23:00:33+00:00 | Values Differ
description | This profile sets minimum expectations for the PractitionerRole Resource to record, search, and fetch the practitioner role for a practitioner to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies, and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific use cases. 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). | PractionerRole describes details about a provider, which can be a practitioner or an organization. When the provider is a practitioner, there may be a relationship to an organization. A provider renders services to patients at a location. When the provider is a practitioner, there may also be a relationship to an organization. Practitioner participation in healthcare provider insurance networks may be direct or through their role at an organization. | Values Differ
experimental | false |  | Removed the item 'false'
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | urn:iso:std:iso:3166#US |
kind | resource |
name | USCorePractitionerRoleProfile | NatlDirEndpointQryPractitionerRole | Values Differ
publisher | HL7 International - Cross-Group Projects | HL7 International - Patient Administration Work Group | Values Differ
purpose |  |
status | active |
title | US Core PractitionerRole Profile | National Directory Endpoint Qry Exchange PractitionerRole | Values Differ
type | PractitionerRole |
url | http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole | http://hl7.org/fhir/us/directory-query/StructureDefinition/NatlDirEndpointQry-PractitionerRole | Values Differ
version | 6.0.0-ballot | 1.0.0-ballot | Values Differ

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | L Type | L 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 practitioner-or-organization-or-healthcareservice-or-location: If NatlDirPractitionerRole.practitioner is absent ( NatlDirPractitionerRole.organization, NatlDirPractitionerRole.healthcareservice, NatlDirPractitionerRole.location) must be present | Elements differ in definition: '\-' vs 'A specific set of Roles/Locations/specialties/services that a practitioner may perform at an organization for a period of time.'
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 |
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 |
versionId | Σ | 0..1 | id | Version specific identifier | Σ | 0..1 | id | Version specific identifier |
lastUpdated | Σ | 0..1 | instant | When the resource version last changed | Σ | 1..1 | instant | When the resource version last changed | Element minimum cardinalities differ: '0' vs '1'
source | Σ | 0..1 | uri | Identifies where the resource comes from | Σ | 0..1 | uri | Identifies where the resource comes from |
profile | Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to |
security | Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. |
tag | Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". |
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: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
|  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | 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 | Extension Slice: Unordered, Open by value:url | Elements differ in short: 'Additional content defined by implementations' vs 'Extension' Elements differ in definition: 'May be used to represent additional information that is not part of the basic definition of the resource. 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.' vs 'An Extension'
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 | S Σ | 0..* | Identifier | Business Identifiers that are specific to a role/location | Elements differ in definition for mustSupport: 'false' vs 'true'
active | Σ | 0..1 | boolean | Whether this practitioner role record is in active use | Σ | 1..1 | boolean | Whether this practitioner role record is in active use | Element minimum cardinalities differ: '0' vs '1'
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) | Practitioner that is able to provide the defined services for the organization | S Σ | 1..1 | Reference(National Directory Endpoint Qry Exchange Practitioner) | Practitioner that is able to provide the defined services for the organization | Element minimum cardinalities differ: '0' vs '1'
organization | S Σ C | 0..1 | Reference(US Core Organization Profile) | Organization where the roles are available | S Σ | 1..1 | Reference(National Directory Endpoint Qry Exchange Organization) | Organization where the roles are available | Element minimum cardinalities differ: '0' vs '1'
code | S Σ | 0..* | CodeableConcept | Roles which this practitioner may perform Binding: US Core Provider Role (NUCC) (extensible): Provider role codes consisting of NUCC Health Care Provider Taxonomy Code Set for providers. | S Σ | 0..* | CodeableConcept | Roles which this practitioner may perform Binding: PractitionerRole Code Value Set (required) |
specialty | S Σ | 0..* | CodeableConcept | Specific specialty of the practitioner Binding: Healthcare Provider Taxonomy (extensible) | S Σ | 0..* | CodeableConcept | Specific specialty of the practitioner Binding: Individual and Group Specialties (required) |
location | S Σ C | 0..* | Reference(Location) | The location(s) at which this practitioner provides care | S Σ | 0..* | Reference(National Directory Endpoint Qry Exchange Location) | The location(s) at which this practitioner provides care |
healthcareService | C | 0..* | Reference(HealthcareService) | The list of healthcare services that this worker provides for this role's Organization/Location(s) | S | 0..* | Reference(National Directory Endpoint Qry Exchange HealthcareService) | The list of healthcare services that this worker provides for this role's Organization/Location(s) | Elements differ in definition for mustSupport: 'false' vs 'true'
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 |  | 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 |
system | S Σ C | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. | Σ C | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. | Elements differ in definition for mustSupport: 'true' vs 'false'
value | S Σ | 1..1 | string | The actual contact point details | Σ | 1..1 | string | The actual contact point details | Elements differ in definition for mustSupport: 'true' vs 'false'
use | ?!Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. | ?!Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. |
rank | Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest) | Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest) |
period | Σ | 0..1 | Period | Time period when the contact point was/is in use | Σ | 0..1 | Period | Time period when the contact point was/is in use |
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: DaysOfWeek (required): The days of the week. |  | 0..* | code | mon | tue | wed | thu | fri | sat | sun Binding: DaysOfWeek (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 | S | 0..* | Reference(National Directory Endpoint Qry Exchange Endpoint) | Technical endpoints providing access to services operated for the practitioner with this role |
Documentation for this format