DK MedCom Core
3.0.1 - release
DK MedCom Core, published by MedCom. This guide is not an authorized publication; it is the continuous build for version 3.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/medcomdk/dk-medcom-core/ and changes regularly. See the Directory of published versions
| Official URL: http://medcomfhir.dk/ig/core/StructureDefinition/medcom-core-practitionerrole | Version: 3.0.1 | |||
| Active as of 2025-10-29 | Computable Name: MedComCorePractitionerRole | |||
PractitionerRole resource used to describe the role of a healthcare professional or another actor involved in citizen or patient care.
This profile describes the MedComCorePractitionerRole which is used to describe a practitioner's role in a MedCom standard. If a practitioner is referenced from MedComCorePractitionerRole it shall be a MedComCorePractitioner.
Just as it is in the original FHIR ressource, the MedComCorePractitionerRole is broadly defined and describes services a practitioner is able to provide for the organization.
It is prefered to use a code from MedComCorePractitionerRoles. If these does not cover the needs, the roles can be included in a string at PractitionerRole.code.text.
Please refer to the tab "Snapshot Table(Must support)" below for the definition of the required content of a MedComCorePractitionerRole.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | PractitionerRole | Roles/organizations the practitioner is associated with | |||||
![]() ![]() |
SOΣ | 0..1 | id | Logical id of this artifact
| ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
S | 0..1 | Narrative | The narrative text SHALL always be included when exchanging a MedCom FHIR Bundle. This profile does not constrain the narrative in regard to content, language, or traceability to data elements | ||||
![]() ![]() ![]() |
S | 1..1 | code | generated | extensions | additional | empty Binding: NarrativeStatus (required): The status of a resource narrative. | ||||
![]() ![]() ![]() |
SC | 1..1 | xhtml | Limited xhtml content Constraints: txt-1, txt-2 | ||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
SOΣ | 0..1 | Reference(MedComCorePractitioner) | Practitioner that is able to provide the defined services for the organization
| ||||
![]() ![]() |
SOΣ | 0..1 | Reference(MedComCoreOrganization) {b} | Organization where the roles are available
| ||||
![]() ![]() |
SΣ | 0..* | CodeableConcept | Roles which this practitioner may perform Binding: MedComCorePractitionerRoles (example) | ||||
![]() ![]() ![]() |
SOΣ | 0..* | Coding | Code defined by a terminology system
| ||||
![]() ![]() ![]() |
SOΣ | 0..1 | string | Plain text representation of the concept
| ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| PractitionerRole.text.status | Base | required | NarrativeStatus | 📍4.0.1 | FHIR Std. |
| PractitionerRole.code | Base | example | MedComCorePractitionerRoles | 📦2.0.0 | DK MedCom Terminology v2.0 |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | PractitionerRole | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | PractitionerRole | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | PractitionerRole | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | PractitionerRole | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | PractitionerRole | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| txt-1 | error | PractitionerRole.text.div | The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes |
htmlChecks()
|
| txt-2 | error | PractitionerRole.text.div | The narrative SHALL have some non-whitespace content |
htmlChecks()
|
This structure is derived from PractitionerRole
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | PractitionerRole | Roles/organizations the practitioner is associated with | |||||
![]() ![]() |
SO | 0..1 | id | Logical id of this artifact
| ||||
![]() ![]() |
S | 0..1 | Narrative | The narrative text SHALL always be included when exchanging a MedCom FHIR Bundle. | ||||
![]() ![]() ![]() |
S | 1..1 | code | generated | extensions | additional | empty | ||||
![]() ![]() ![]() |
S | 1..1 | xhtml | Limited xhtml content | ||||
![]() ![]() |
SO | 0..1 | Reference(MedComCorePractitioner) | Practitioner that is able to provide the defined services for the organization
| ||||
![]() ![]() |
SO | 0..1 | Reference(MedComCoreOrganization) {b} | Organization where the roles are available
| ||||
![]() ![]() |
S | 0..* | CodeableConcept | Roles which this practitioner may perform Binding: MedComCorePractitionerRoles (example) | ||||
![]() ![]() ![]() |
SO | 0..* | Coding | Code defined by a terminology system
| ||||
![]() ![]() ![]() |
SO | 0..1 | string | Plain text representation of the concept
| ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| PractitionerRole.code | Base | example | MedComCorePractitionerRoles | 📦2.0.0 | DK MedCom Terminology v2.0 |
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | PractitionerRole | Roles/organizations the practitioner is associated with | |||||
![]() ![]() |
SOΣ | 0..1 | id | Logical id of this artifact
| ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
S | 0..1 | Narrative | The narrative text SHALL always be included when exchanging a MedCom FHIR Bundle. This profile does not constrain the narrative in regard to content, language, or traceability to data elements | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
S | 1..1 | code | generated | extensions | additional | empty Binding: NarrativeStatus (required): The status of a resource narrative. | ||||
![]() ![]() ![]() |
SC | 1..1 | xhtml | Limited xhtml content Constraints: txt-1, txt-2 | ||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 0..* | Identifier | Business Identifiers that are specific to a role/location | ||||
![]() ![]() |
Σ | 0..1 | boolean | Whether this practitioner role record is in active use | ||||
![]() ![]() |
Σ | 0..1 | Period | The period during which the practitioner is authorized to perform in these role(s) | ||||
![]() ![]() |
SOΣ | 0..1 | Reference(MedComCorePractitioner) | Practitioner that is able to provide the defined services for the organization
| ||||
![]() ![]() |
SOΣ | 0..1 | Reference(MedComCoreOrganization) {b} | Organization where the roles are available
| ||||
![]() ![]() |
SΣ | 0..* | CodeableConcept | Roles which this practitioner may perform Binding: MedComCorePractitionerRoles (example) | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SOΣ | 0..* | Coding | Code defined by a terminology system
| ||||
![]() ![]() ![]() |
SOΣ | 0..1 | string | Plain text representation of the concept
| ||||
![]() ![]() |
Σ | 0..* | CodeableConcept | Specific specialty of the practitioner Binding: PracticeSettingCodeValueSet (preferred): Specific specialty associated with the agency. | ||||
![]() ![]() |
Σ | 0..* | Reference(Location) | The location(s) at which this practitioner provides care | ||||
![]() ![]() |
0..* | Reference(HealthcareService) | The list of healthcare services that this worker provides for this role's Organization/Location(s) | |||||
![]() ![]() |
Σ | 0..* | ContactPoint | Contact details that are specific to the role/location/service | ||||
![]() ![]() |
0..* | BackboneElement | Times the Service Site is available | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
0..* | code | mon | tue | wed | thu | fri | sat | sun Binding: DaysOfWeek (required): The days of the week. | |||||
![]() ![]() ![]() |
0..1 | boolean | Always available? e.g. 24 hour service | |||||
![]() ![]() ![]() |
0..1 | time | Opening time of day (ignored if allDay = true) | |||||
![]() ![]() ![]() |
0..1 | time | Closing time of day (ignored if allDay = true) | |||||
![]() ![]() |
0..* | BackboneElement | Not available during this time due to provided reason | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
1..1 | string | Reason presented to the user explaining why time not available | |||||
![]() ![]() ![]() |
0..1 | Period | Service not available from this date | |||||
![]() ![]() |
0..1 | string | Description of availability exceptions | |||||
![]() ![]() |
0..* | Reference(Endpoint) | Technical endpoints providing access to services operated for the practitioner with this role | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| PractitionerRole.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| PractitionerRole.text.status | Base | required | NarrativeStatus | 📍4.0.1 | FHIR Std. |
| PractitionerRole.code | Base | example | MedComCorePractitionerRoles | 📦2.0.0 | DK MedCom Terminology v2.0 |
| PractitionerRole.specialty | Base | preferred | Practice Setting Code Value Set | 📍4.0.1 | FHIR Std. |
| PractitionerRole.availableTime.daysOfWeek | Base | required | DaysOfWeek | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | PractitionerRole | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | PractitionerRole | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | PractitionerRole | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | PractitionerRole | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | PractitionerRole | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| txt-1 | error | PractitionerRole.text.div | The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes |
htmlChecks()
|
| txt-2 | error | PractitionerRole.text.div | The narrative SHALL have some non-whitespace content |
htmlChecks()
|
This structure is derived from PractitionerRole
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | PractitionerRole | Roles/organizations the practitioner is associated with | |||||
![]() ![]() |
SOΣ | 0..1 | id | Logical id of this artifact
| ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
S | 0..1 | Narrative | The narrative text SHALL always be included when exchanging a MedCom FHIR Bundle. This profile does not constrain the narrative in regard to content, language, or traceability to data elements | ||||
![]() ![]() ![]() |
S | 1..1 | code | generated | extensions | additional | empty Binding: NarrativeStatus (required): The status of a resource narrative. | ||||
![]() ![]() ![]() |
SC | 1..1 | xhtml | Limited xhtml content Constraints: txt-1, txt-2 | ||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
SOΣ | 0..1 | Reference(MedComCorePractitioner) | Practitioner that is able to provide the defined services for the organization
| ||||
![]() ![]() |
SOΣ | 0..1 | Reference(MedComCoreOrganization) {b} | Organization where the roles are available
| ||||
![]() ![]() |
SΣ | 0..* | CodeableConcept | Roles which this practitioner may perform Binding: MedComCorePractitionerRoles (example) | ||||
![]() ![]() ![]() |
SOΣ | 0..* | Coding | Code defined by a terminology system
| ||||
![]() ![]() ![]() |
SOΣ | 0..1 | string | Plain text representation of the concept
| ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| PractitionerRole.text.status | Base | required | NarrativeStatus | 📍4.0.1 | FHIR Std. |
| PractitionerRole.code | Base | example | MedComCorePractitionerRoles | 📦2.0.0 | DK MedCom Terminology v2.0 |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | PractitionerRole | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | PractitionerRole | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | PractitionerRole | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | PractitionerRole | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | PractitionerRole | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| txt-1 | error | PractitionerRole.text.div | The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes |
htmlChecks()
|
| txt-2 | error | PractitionerRole.text.div | The narrative SHALL have some non-whitespace content |
htmlChecks()
|
Differential View
This structure is derived from PractitionerRole
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | PractitionerRole | Roles/organizations the practitioner is associated with | |||||
![]() ![]() |
SO | 0..1 | id | Logical id of this artifact
| ||||
![]() ![]() |
S | 0..1 | Narrative | The narrative text SHALL always be included when exchanging a MedCom FHIR Bundle. | ||||
![]() ![]() ![]() |
S | 1..1 | code | generated | extensions | additional | empty | ||||
![]() ![]() ![]() |
S | 1..1 | xhtml | Limited xhtml content | ||||
![]() ![]() |
SO | 0..1 | Reference(MedComCorePractitioner) | Practitioner that is able to provide the defined services for the organization
| ||||
![]() ![]() |
SO | 0..1 | Reference(MedComCoreOrganization) {b} | Organization where the roles are available
| ||||
![]() ![]() |
S | 0..* | CodeableConcept | Roles which this practitioner may perform Binding: MedComCorePractitionerRoles (example) | ||||
![]() ![]() ![]() |
SO | 0..* | Coding | Code defined by a terminology system
| ||||
![]() ![]() ![]() |
SO | 0..1 | string | Plain text representation of the concept
| ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| PractitionerRole.code | Base | example | MedComCorePractitionerRoles | 📦2.0.0 | DK MedCom Terminology v2.0 |
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | PractitionerRole | Roles/organizations the practitioner is associated with | |||||
![]() ![]() |
SOΣ | 0..1 | id | Logical id of this artifact
| ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
S | 0..1 | Narrative | The narrative text SHALL always be included when exchanging a MedCom FHIR Bundle. This profile does not constrain the narrative in regard to content, language, or traceability to data elements | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
S | 1..1 | code | generated | extensions | additional | empty Binding: NarrativeStatus (required): The status of a resource narrative. | ||||
![]() ![]() ![]() |
SC | 1..1 | xhtml | Limited xhtml content Constraints: txt-1, txt-2 | ||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 0..* | Identifier | Business Identifiers that are specific to a role/location | ||||
![]() ![]() |
Σ | 0..1 | boolean | Whether this practitioner role record is in active use | ||||
![]() ![]() |
Σ | 0..1 | Period | The period during which the practitioner is authorized to perform in these role(s) | ||||
![]() ![]() |
SOΣ | 0..1 | Reference(MedComCorePractitioner) | Practitioner that is able to provide the defined services for the organization
| ||||
![]() ![]() |
SOΣ | 0..1 | Reference(MedComCoreOrganization) {b} | Organization where the roles are available
| ||||
![]() ![]() |
SΣ | 0..* | CodeableConcept | Roles which this practitioner may perform Binding: MedComCorePractitionerRoles (example) | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SOΣ | 0..* | Coding | Code defined by a terminology system
| ||||
![]() ![]() ![]() |
SOΣ | 0..1 | string | Plain text representation of the concept
| ||||
![]() ![]() |
Σ | 0..* | CodeableConcept | Specific specialty of the practitioner Binding: PracticeSettingCodeValueSet (preferred): Specific specialty associated with the agency. | ||||
![]() ![]() |
Σ | 0..* | Reference(Location) | The location(s) at which this practitioner provides care | ||||
![]() ![]() |
0..* | Reference(HealthcareService) | The list of healthcare services that this worker provides for this role's Organization/Location(s) | |||||
![]() ![]() |
Σ | 0..* | ContactPoint | Contact details that are specific to the role/location/service | ||||
![]() ![]() |
0..* | BackboneElement | Times the Service Site is available | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
0..* | code | mon | tue | wed | thu | fri | sat | sun Binding: DaysOfWeek (required): The days of the week. | |||||
![]() ![]() ![]() |
0..1 | boolean | Always available? e.g. 24 hour service | |||||
![]() ![]() ![]() |
0..1 | time | Opening time of day (ignored if allDay = true) | |||||
![]() ![]() ![]() |
0..1 | time | Closing time of day (ignored if allDay = true) | |||||
![]() ![]() |
0..* | BackboneElement | Not available during this time due to provided reason | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
1..1 | string | Reason presented to the user explaining why time not available | |||||
![]() ![]() ![]() |
0..1 | Period | Service not available from this date | |||||
![]() ![]() |
0..1 | string | Description of availability exceptions | |||||
![]() ![]() |
0..* | Reference(Endpoint) | Technical endpoints providing access to services operated for the practitioner with this role | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| PractitionerRole.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| PractitionerRole.text.status | Base | required | NarrativeStatus | 📍4.0.1 | FHIR Std. |
| PractitionerRole.code | Base | example | MedComCorePractitionerRoles | 📦2.0.0 | DK MedCom Terminology v2.0 |
| PractitionerRole.specialty | Base | preferred | Practice Setting Code Value Set | 📍4.0.1 | FHIR Std. |
| PractitionerRole.availableTime.daysOfWeek | Base | required | DaysOfWeek | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | PractitionerRole | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | PractitionerRole | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | PractitionerRole | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | PractitionerRole | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | PractitionerRole | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| txt-1 | error | PractitionerRole.text.div | The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes |
htmlChecks()
|
| txt-2 | error | PractitionerRole.text.div | The narrative SHALL have some non-whitespace content |
htmlChecks()
|
This structure is derived from PractitionerRole
Other representations of profile: CSV, Excel, Schematron