## Profile Comparison between http://fhir.hl7.nl/zorgviewer/StructureDefinition/PractitionerRole vs http://fhir.hl7.nl/zorgviewer/StructureDefinition/PractitionerRole

Left: | PractitionerRole (http://fhir.hl7.nl/zorgviewer/StructureDefinition/PractitionerRole)
Right: | PractitionerRole (http://fhir.hl7.nl/zorgviewer/StructureDefinition/PractitionerRole)

### Messages

Information | PractitionerRole.specialty | Example/preferred bindings differ at PractitionerRole.specialty using binding from PractitionerRole
Information | StructureDefinition.short | Values for short differ: 'Contact details that are specific to the role/location/service' vs 'ContactInformation'
Information | StructureDefinition.definition | Values for definition differ: 'Contact details that are specific to the role/location/service.' vs 'Contact information includes a person's telephone numbers and email addresses. This datatype defines a common basis for expressing all contact information around the world, but adds extensions to express Dutch contacts specifically, according to the HCIM ContactInformation (v1.0, 2017). A Dutch ContactPoint still is a proper FHIR ContactPoint, which means that systems that cannot interpret the extensions will still be able to render and work with this datatype. The table below explains how the HCIM concepts are mapped to the various FHIR elements. The HCIM code itself should also be included using the TelecomType extension. | HCIM | `.ext:TelecomType` | `.system` | `.use` | |----------------------------------------------------|:------------------:|:---------:|:--------:| | Primary Home Land Line | _LL_ | _phone_ | _home_ | | Temporary Land Line | _LL_ | _phone_ | _temp_ | | Primary Work Land Line | _LL_ | _phone_ | _work_ | | | | | | | Primary Home Fax | _FAX_ | _fax_ | _home_ | | Temporary Fax | _FAX_ | _fax_ | _temp_ | | Primary Work Fax | _FAX_ | _fax_ | _work_ | | | | | | | Primary Home Mobile Phone | _MC_ | _phone_ | _home_ | | Temporary Mobile Phone | _MC_ | _phone_ | _temp_ | | Primary Work Mobile Phone | _MC_ | _phone_ | _work_ | | | | | | | Primary Home Pager | _PG_ | _pager_ | _home_ | | Temporary Pager | _PG_ | _pager_ | _temp_ | | Primary Work Pager | _PG_ | _pager_ | _work_ | | | | | | | Private email address | | _email_ | _home_ | | Work email address | | _email_ | _work_ | | | | | | | Mobile phone number undetermined private/business | | _phone_ | _mobile_ |'
Error | PractitionerRole.telecom | Type Mismatch: ContactPoint([CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-contactpoint]]) vs ContactPoint([CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-contactpoint]])
Information | PractitionerRole.telecom | StructureDefinition PractitionerRole has added constraint that is not found in PractitionerRole and it is uncertain whether they are compatible (hasValue() | (children().count() > id.count()))
Information | PractitionerRole.telecom | StructureDefinition PractitionerRole has added constraint that is not found in PractitionerRole and it is uncertain whether they are compatible (value.empty() or system.exists())

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://fhir.nl/fhir/StructureDefinition/nl-core-practitionerrole |
copyright |  |
description | De rollen van de Zorgverlener |
experimental |  |
fhirVersion | 3.0.2 |
jurisdiction |  |
jurisdiction[0] | urn:iso:std:iso:3166#NL |
kind | resource |
name | PractitionerRole |
publisher | RIVO-NN HL7NL |
purpose |  |
status | active |
title | PractitionerRole |
type | PractitionerRole |
url | http://fhir.hl7.nl/zorgviewer/StructureDefinition/PractitionerRole |

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
PractitionerRole | C | 0..* | nl-core-practitionerrole(2.0.7) | Roles/organizations the practitioner is associated with Constraints: zv-prr-1 | C | 0..* | nl-core-practitionerrole(2.0.7) | Roles/organizations the practitioner is associated with Constraints: zv-prr-1 |
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: ?? (extensible): A human language.
Additional Bindings | Purpose
?? | Max Binding
|  | 0..1 | code | Language of the resource content Binding: ?? (extensible): 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 |
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's record is in active use | Σ | 0..1 | boolean | Whether this practitioner's 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 | Σ | 0..1 | Reference(nl-core-practitioner(2.0.7)) | Practitioner that is able to provide the defined services for the organation | Σ | 0..1 | Reference(nl-core-practitioner(2.0.7)) | Practitioner that is able to provide the defined services for the organation |
organization | Σ | 0..1 | Reference(nl-core-organization(2.0.6)) | HealthcareProvider | Σ | 0..1 | Reference(nl-core-organization(2.0.6)) | HealthcareProvider |
code | S Σ | 0..* | CodeableConcept | Roles which this practitioner may perform Binding: ?? (extensible): A custom code defined by a concept map. | S Σ | 0..* | CodeableConcept | Roles which this practitioner may perform Binding: ?? (extensible): A custom code defined by a concept map. |
specialty | Σ | 0..1 | CodeableConcept | Specialty Binding: ?? (preferred): Specific specialty associated with the agency | Σ | 0..1 | CodeableConcept | Specialty Binding: ?? (preferred): Specific specialty associated with the agency | Example/preferred bindings differ at PractitionerRole.specialty using binding from PractitionerRole
id |  | 0..1 | string | xml:id (or equivalent in JSON) |  | 0..1 | string | xml:id (or equivalent in JSON) |
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 |
Slices for coding | Σ | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system | Σ | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system |
text | Σ | 0..1 | string | Plain text representation of the concept | Σ | 0..1 | string | Plain text representation of the concept |
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..* | ?? | Contact details that are specific to the role/location/service | Σ C | 0..* | ?? | ContactInformation Example Mobile business phone number. Note: the mobile nature stems from the number being an 06-* number.: {"system":"phone","value":"+31611234567","use":"work"} Example Mobile phone number undetermined private/business. Note: the mobile nature stems from the number being an 06-* number.: {"system":"phone","value":"+31611234567","use":"mobile"} Example Primary Home Land Line: {"extension":[{"url":"http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType","valueCodeableConcept":{"coding":[{"system":"urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1","code":"LL","display":"Land Line"}]}}],"system":"phone","value":"...","use":"home"} Example Temporary Land Line: {"extension":[{"url":"http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType","valueCodeableConcept":{"coding":[{"system":"urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1","code":"LL","display":"Land Line"}]}}],"system":"phone","value":"...","use":"temp"} Example Primary Work Land Line: {"extension":[{"url":"http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType","valueCodeableConcept":{"coding":[{"system":"urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1","code":"LL","display":"Land Line"}]}}],"system":"phone","value":"...","use":"work"} Example Primary Home Fax: {"extension":[{"url":"http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType","valueCodeableConcept":{"coding":[{"system":"urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1","code":"FAX","display":"Fax"}]}}],"system":"fax","value":"...","use":"home"} Example Temporary Fax: {"extension":[{"url":"http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType","valueCodeableConcept":{"coding":[{"system":"urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1","code":"FAX","display":"Fax"}]}}],"system":"fax","value":"...","use":"temp"} Example Primary Work Fax: {"extension":[{"url":"http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType","valueCodeableConcept":{"coding":[{"system":"urn:oid:2.16.840.1.113883.2.4.3.11.60.40.4.22.1","code":"FAX","display":"Fax"}]}}],"system":"fax","value":"...","use":"work"} Example Primary Home Mobile Phone: {"extension":[{"url":"http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType","valueCodeableConcept":{"coding":[{"system":"http://hl7.org/fhir/v3/AddressUse","code":"MC","display":"Mobile Phone"}]}}],"system":"phone","value":"...","use":"home"} Example Temporary Mobile Phone: {"extension":[{"url":"http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType","valueCodeableConcept":{"coding":[{"system":"http://hl7.org/fhir/v3/AddressUse","code":"MC","display":"Mobile Phone"}]}}],"system":"phone","value":"...","use":"temp"} Example Primary Work Mobile Phone: {"extension":[{"url":"http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType","valueCodeableConcept":{"coding":[{"system":"http://hl7.org/fhir/v3/AddressUse","code":"MC","display":"Mobile Phone"}]}}],"system":"phone","value":"...","use":"work"} Example Primary Home Pager: {"extension":[{"url":"http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType","valueCodeableConcept":{"coding":[{"system":"http://hl7.org/fhir/v3/AddressUse","code":"PG","display":"Pager"}]}}],"system":"pager","value":"...","use":"home"} Example Temporary Pager: {"extension":[{"url":"http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType","valueCodeableConcept":{"coding":[{"system":"http://hl7.org/fhir/v3/AddressUse","code":"PG","display":"Pager"}]}}],"system":"pager","value":"...","use":"temp"} Example Primary Work Pager: {"extension":[{"url":"http://nictiz.nl/fhir/StructureDefinition/zib-ContactInformation-TelecomType","valueCodeableConcept":{"coding":[{"system":"http://hl7.org/fhir/v3/AddressUse","code":"PG","display":"Pager"}]}}],"system":"pager","value":"...","use":"work"} Example Private email address: {"system":"email","value":"giesput@myweb.nl","use":"home"} Example Work email address: {"system":"email","value":"example@workplace.nl","use":"work"} | Type Mismatch: ContactPoint([CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-contactpoint]]) vs ContactPoint([CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-contactpoint]]) StructureDefinition PractitionerRole has added constraint that is not found in PractitionerRole and it is uncertain whether they are compatible (hasValue() | (children().count() > id.count())) StructureDefinition PractitionerRole has added constraint that is not found in PractitionerRole and it is uncertain whether they are compatible (value.empty() or system.exists())
availableTime |  | 0..* | BackboneElement | Times the Service Site is available |  | 0..* | BackboneElement | Times the Service Site is available |
id |  | 0..1 | string | xml:id (or equivalent in JSON) |  | 0..1 | string | xml:id (or equivalent in JSON) |
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 |
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 | xml:id (or equivalent in JSON) |  | 0..1 | string | xml:id (or equivalent in JSON) |
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 |
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 availablefrom this date |  | 0..1 | Period | Service not availablefrom 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