Extensions for Using Data Elements from FHIR R4 in FHIR R5
0.1.0 - STU International flag

Extensions for Using Data Elements from FHIR R4 in FHIR R5 - Downloaded Version null See the Directory of published versions

Resource Profile: Profile_R4_PractitionerRole_R5

Official URL: http://hl7.org/fhir/4.0/StructureDefinition/profile-PractitionerRole Version: 0.1.0
Standards status: Trial-use Maturity Level: 0 Computable Name: Profile_R4_PractitionerRole_R5

This cross-version profile allows R4 PractitionerRole content to be represented via FHIR R5 PractitionerRole resources.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. PractitionerRole 0..* PractitionerRole(5.0.0) Roles/organizations the practitioner is associated with
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:availabilityExceptions 0..1 string R4: Description of availability exceptions (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.availabilityExceptions
Constraints: ext-1

doco Documentation for this format

Constraints

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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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 PractitionerRole.implicitRules, PractitionerRole.extension, PractitionerRole.extension:availabilityExceptions, PractitionerRole.modifierExtension All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error PractitionerRole.extension, PractitionerRole.extension:availabilityExceptions, PractitionerRole.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from PractitionerRole

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. PractitionerRole 0..* PractitionerRole(5.0.0) Roles/organizations the practitioner is associated with
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:availabilityExceptions 0..1 string R4: Description of availability exceptions (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.availabilityExceptions
... contact
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:telecom 0..* ContactPoint R4: Contact details that are specific to the role/location/service additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.telecom
... availability
.... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:daysOfWeek 0..* code R4: mon | tue | wed | thu | fri | sat | sun additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.availableTime.daysOfWeek
Binding: DaysOfWeek (required): The days of the week.
..... extension:allDay 0..1 boolean R4: Always available? e.g. 24 hour service additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.availableTime.allDay
..... extension:availableStartTime 0..1 time R4: Opening time of day (ignored if allDay = true) additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.availableTime.availableStartTime
..... extension:availableEndTime 0..1 time R4: Closing time of day (ignored if allDay = true) additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.availableTime.availableEndTime
..... extension:description 1..1 string R4: Reason presented to the user explaining why time not available additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.notAvailable.description
..... extension:during 0..1 Period R4: Service not available from this date additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.notAvailable.during

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. PractitionerRole 0..* PractitionerRole(5.0.0) Roles/organizations the practitioner is associated with
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:availabilityExceptions 0..1 string R4: Description of availability exceptions (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.availabilityExceptions
Constraints: ext-1
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier Σ 0..* Identifier Identifiers for a role/location
... active Σ 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)
... practitioner Σ 0..1 Reference(Practitioner) Practitioner that provides services for the organization
... organization Σ 0..1 Reference(Organization) Organization where the roles are available
... code Σ 0..* CodeableConcept Roles which this practitioner may perform
Binding: PractitionerRole (example): The role a person plays representing an organization.
... specialty Σ 0..* CodeableConcept Specific specialty of the practitioner
Binding: PracticeSettingCodeValueSet (preferred): Specific specialty associated with the agency.
... location Σ 0..* Reference(Location) Location(s) where the practitioner provides care
... healthcareService 0..* Reference(HealthcareService) Healthcare services provided for this role's Organization/Location(s)
... contact 0..* ExtendedContactDetail Official contact details relating to this PractitionerRole
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:telecom 0..* ContactPoint R4: Contact details that are specific to the role/location/service additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.telecom
Constraints: ext-1
.... purpose Σ 0..1 CodeableConcept The type of contact
Binding: ContactEntityType (2.0.0) (preferred): The purpose for which an extended contact detail should be used.
.... name Σ 0..* HumanName Name of an individual to contact
.... telecom Σ 0..* ContactPoint Contact details (e.g.phone/fax/url)
.... address Σ 0..1 Address Address for the contact
.... organization Σ 0..1 Reference(Organization) This contact detail is handled/monitored by a specific organization
.... period Σ 0..1 Period Period that this contact was valid for usage
... characteristic 0..* CodeableConcept Collection of characteristics (attributes)
Binding: ServiceMode (example): A custom attribute that could be provided at a service (e.g. Wheelchair accessibility).
... communication 0..* CodeableConcept A language the practitioner (in this role) can use in patient communication
Binding: AllLanguages (required): IETF language tag for a human language
Additional BindingsPurpose
CommonLanguages Starter

... availability 0..* Availability Times the Practitioner is available at this location and/or healthcare service (including exceptions)
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:daysOfWeek 0..* code R4: mon | tue | wed | thu | fri | sat | sun additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.availableTime.daysOfWeek
Binding: DaysOfWeek (required): The days of the week.
Constraints: ext-1
..... extension:allDay 0..1 boolean R4: Always available? e.g. 24 hour service additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.availableTime.allDay
Constraints: ext-1
..... extension:availableStartTime 0..1 time R4: Opening time of day (ignored if allDay = true) additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.availableTime.availableStartTime
Constraints: ext-1
..... extension:availableEndTime 0..1 time R4: Closing time of day (ignored if allDay = true) additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.availableTime.availableEndTime
Constraints: ext-1
..... extension:description 1..1 string R4: Reason presented to the user explaining why time not available additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.notAvailable.description
Constraints: ext-1
..... extension:during 0..1 Period R4: Service not available from this date additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.notAvailable.during
Constraints: ext-1
.... availableTime ΣC 0..* Element Times the {item} is available
Constraints: av-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... daysOfWeek Σ 0..* code mon | tue | wed | thu | fri | sat | sun
Binding: DaysOfWeek (required): The purpose for which an extended contact detail should be used.
..... allDay ΣC 0..1 boolean Always available? i.e. 24 hour service
..... availableStartTime ΣC 0..1 time Opening time of day (ignored if allDay = true)
..... availableEndTime ΣC 0..1 time Closing time of day (ignored if allDay = true)
.... notAvailableTime Σ 0..* Element Not available during this time due to provided reason
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... description Σ 0..1 string Reason presented to the user explaining why time not available
..... during Σ 0..1 Period Service not available during this period
... endpoint 0..* Reference(Endpoint) Endpoints for interacting with the practitioner in this role

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
PractitionerRole.language Base required All Languages 📍5.0.0 FHIR Std.
PractitionerRole.code Base example Practitioner Role 📍5.0.0 FHIR Std.
PractitionerRole.specialty Base preferred Practice Setting Code Value Set 📍5.0.0 FHIR Std.
PractitionerRole.contact.​purpose Base preferred Contact entity type 📍2.0.0 THO v7.1
PractitionerRole.characteristic Base example Service Mode 📍5.0.0 FHIR Std.
PractitionerRole.communication Base required All Languages 📍5.0.0 FHIR Std.
PractitionerRole.availability.​availableTime.daysOfWeek Base required Days Of Week 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
av-1 error PractitionerRole.availability.availableTime Cannot include start/end times when selecting all day availability. allDay.exists().not() or (allDay implies availableStartTime.exists().not() and availableEndTime.exists().not())
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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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 PractitionerRole.meta, PractitionerRole.implicitRules, PractitionerRole.language, PractitionerRole.text, PractitionerRole.extension, PractitionerRole.extension:availabilityExceptions, PractitionerRole.modifierExtension, PractitionerRole.identifier, PractitionerRole.active, PractitionerRole.period, PractitionerRole.practitioner, PractitionerRole.organization, PractitionerRole.code, PractitionerRole.specialty, PractitionerRole.location, PractitionerRole.healthcareService, PractitionerRole.contact, PractitionerRole.contact.extension, PractitionerRole.contact.extension:telecom, PractitionerRole.contact.purpose, PractitionerRole.contact.name, PractitionerRole.contact.telecom, PractitionerRole.contact.address, PractitionerRole.contact.organization, PractitionerRole.contact.period, PractitionerRole.characteristic, PractitionerRole.communication, PractitionerRole.availability, PractitionerRole.availability.extension, PractitionerRole.availability.extension:daysOfWeek, PractitionerRole.availability.extension:allDay, PractitionerRole.availability.extension:availableStartTime, PractitionerRole.availability.extension:availableEndTime, PractitionerRole.availability.extension:description, PractitionerRole.availability.extension:during, PractitionerRole.availability.availableTime, PractitionerRole.availability.availableTime.extension, PractitionerRole.availability.availableTime.daysOfWeek, PractitionerRole.availability.availableTime.allDay, PractitionerRole.availability.availableTime.availableStartTime, PractitionerRole.availability.availableTime.availableEndTime, PractitionerRole.availability.notAvailableTime, PractitionerRole.availability.notAvailableTime.extension, PractitionerRole.availability.notAvailableTime.description, PractitionerRole.availability.notAvailableTime.during, PractitionerRole.endpoint All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error PractitionerRole.extension, PractitionerRole.extension:availabilityExceptions, PractitionerRole.modifierExtension, PractitionerRole.contact.extension, PractitionerRole.contact.extension:telecom, PractitionerRole.availability.extension, PractitionerRole.availability.extension:daysOfWeek, PractitionerRole.availability.extension:allDay, PractitionerRole.availability.extension:availableStartTime, PractitionerRole.availability.extension:availableEndTime, PractitionerRole.availability.extension:description, PractitionerRole.availability.extension:during, PractitionerRole.availability.availableTime.extension, PractitionerRole.availability.notAvailableTime.extension Must have either extensions or value[x], not both extension.exists() != value.exists()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. PractitionerRole 0..* PractitionerRole(5.0.0) Roles/organizations the practitioner is associated with
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:availabilityExceptions 0..1 string R4: Description of availability exceptions (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.availabilityExceptions
Constraints: ext-1

doco Documentation for this format

Constraints

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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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 PractitionerRole.implicitRules, PractitionerRole.extension, PractitionerRole.extension:availabilityExceptions, PractitionerRole.modifierExtension All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error PractitionerRole.extension, PractitionerRole.extension:availabilityExceptions, PractitionerRole.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

This structure is derived from PractitionerRole

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. PractitionerRole 0..* PractitionerRole(5.0.0) Roles/organizations the practitioner is associated with
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:availabilityExceptions 0..1 string R4: Description of availability exceptions (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.availabilityExceptions
... contact
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:telecom 0..* ContactPoint R4: Contact details that are specific to the role/location/service additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.telecom
... availability
.... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:daysOfWeek 0..* code R4: mon | tue | wed | thu | fri | sat | sun additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.availableTime.daysOfWeek
Binding: DaysOfWeek (required): The days of the week.
..... extension:allDay 0..1 boolean R4: Always available? e.g. 24 hour service additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.availableTime.allDay
..... extension:availableStartTime 0..1 time R4: Opening time of day (ignored if allDay = true) additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.availableTime.availableStartTime
..... extension:availableEndTime 0..1 time R4: Closing time of day (ignored if allDay = true) additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.availableTime.availableEndTime
..... extension:description 1..1 string R4: Reason presented to the user explaining why time not available additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.notAvailable.description
..... extension:during 0..1 Period R4: Service not available from this date additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.notAvailable.during

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. PractitionerRole 0..* PractitionerRole(5.0.0) Roles/organizations the practitioner is associated with
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:availabilityExceptions 0..1 string R4: Description of availability exceptions (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.availabilityExceptions
Constraints: ext-1
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier Σ 0..* Identifier Identifiers for a role/location
... active Σ 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)
... practitioner Σ 0..1 Reference(Practitioner) Practitioner that provides services for the organization
... organization Σ 0..1 Reference(Organization) Organization where the roles are available
... code Σ 0..* CodeableConcept Roles which this practitioner may perform
Binding: PractitionerRole (example): The role a person plays representing an organization.
... specialty Σ 0..* CodeableConcept Specific specialty of the practitioner
Binding: PracticeSettingCodeValueSet (preferred): Specific specialty associated with the agency.
... location Σ 0..* Reference(Location) Location(s) where the practitioner provides care
... healthcareService 0..* Reference(HealthcareService) Healthcare services provided for this role's Organization/Location(s)
... contact 0..* ExtendedContactDetail Official contact details relating to this PractitionerRole
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:telecom 0..* ContactPoint R4: Contact details that are specific to the role/location/service additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.telecom
Constraints: ext-1
.... purpose Σ 0..1 CodeableConcept The type of contact
Binding: ContactEntityType (2.0.0) (preferred): The purpose for which an extended contact detail should be used.
.... name Σ 0..* HumanName Name of an individual to contact
.... telecom Σ 0..* ContactPoint Contact details (e.g.phone/fax/url)
.... address Σ 0..1 Address Address for the contact
.... organization Σ 0..1 Reference(Organization) This contact detail is handled/monitored by a specific organization
.... period Σ 0..1 Period Period that this contact was valid for usage
... characteristic 0..* CodeableConcept Collection of characteristics (attributes)
Binding: ServiceMode (example): A custom attribute that could be provided at a service (e.g. Wheelchair accessibility).
... communication 0..* CodeableConcept A language the practitioner (in this role) can use in patient communication
Binding: AllLanguages (required): IETF language tag for a human language
Additional BindingsPurpose
CommonLanguages Starter

... availability 0..* Availability Times the Practitioner is available at this location and/or healthcare service (including exceptions)
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:daysOfWeek 0..* code R4: mon | tue | wed | thu | fri | sat | sun additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.availableTime.daysOfWeek
Binding: DaysOfWeek (required): The days of the week.
Constraints: ext-1
..... extension:allDay 0..1 boolean R4: Always available? e.g. 24 hour service additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.availableTime.allDay
Constraints: ext-1
..... extension:availableStartTime 0..1 time R4: Opening time of day (ignored if allDay = true) additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.availableTime.availableStartTime
Constraints: ext-1
..... extension:availableEndTime 0..1 time R4: Closing time of day (ignored if allDay = true) additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.availableTime.availableEndTime
Constraints: ext-1
..... extension:description 1..1 string R4: Reason presented to the user explaining why time not available additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.notAvailable.description
Constraints: ext-1
..... extension:during 0..1 Period R4: Service not available from this date additional types
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-PractitionerRole.notAvailable.during
Constraints: ext-1
.... availableTime ΣC 0..* Element Times the {item} is available
Constraints: av-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... daysOfWeek Σ 0..* code mon | tue | wed | thu | fri | sat | sun
Binding: DaysOfWeek (required): The purpose for which an extended contact detail should be used.
..... allDay ΣC 0..1 boolean Always available? i.e. 24 hour service
..... availableStartTime ΣC 0..1 time Opening time of day (ignored if allDay = true)
..... availableEndTime ΣC 0..1 time Closing time of day (ignored if allDay = true)
.... notAvailableTime Σ 0..* Element Not available during this time due to provided reason
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... description Σ 0..1 string Reason presented to the user explaining why time not available
..... during Σ 0..1 Period Service not available during this period
... endpoint 0..* Reference(Endpoint) Endpoints for interacting with the practitioner in this role

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
PractitionerRole.language Base required All Languages 📍5.0.0 FHIR Std.
PractitionerRole.code Base example Practitioner Role 📍5.0.0 FHIR Std.
PractitionerRole.specialty Base preferred Practice Setting Code Value Set 📍5.0.0 FHIR Std.
PractitionerRole.contact.​purpose Base preferred Contact entity type 📍2.0.0 THO v7.1
PractitionerRole.characteristic Base example Service Mode 📍5.0.0 FHIR Std.
PractitionerRole.communication Base required All Languages 📍5.0.0 FHIR Std.
PractitionerRole.availability.​availableTime.daysOfWeek Base required Days Of Week 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
av-1 error PractitionerRole.availability.availableTime Cannot include start/end times when selecting all day availability. allDay.exists().not() or (allDay implies availableStartTime.exists().not() and availableEndTime.exists().not())
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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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 PractitionerRole.meta, PractitionerRole.implicitRules, PractitionerRole.language, PractitionerRole.text, PractitionerRole.extension, PractitionerRole.extension:availabilityExceptions, PractitionerRole.modifierExtension, PractitionerRole.identifier, PractitionerRole.active, PractitionerRole.period, PractitionerRole.practitioner, PractitionerRole.organization, PractitionerRole.code, PractitionerRole.specialty, PractitionerRole.location, PractitionerRole.healthcareService, PractitionerRole.contact, PractitionerRole.contact.extension, PractitionerRole.contact.extension:telecom, PractitionerRole.contact.purpose, PractitionerRole.contact.name, PractitionerRole.contact.telecom, PractitionerRole.contact.address, PractitionerRole.contact.organization, PractitionerRole.contact.period, PractitionerRole.characteristic, PractitionerRole.communication, PractitionerRole.availability, PractitionerRole.availability.extension, PractitionerRole.availability.extension:daysOfWeek, PractitionerRole.availability.extension:allDay, PractitionerRole.availability.extension:availableStartTime, PractitionerRole.availability.extension:availableEndTime, PractitionerRole.availability.extension:description, PractitionerRole.availability.extension:during, PractitionerRole.availability.availableTime, PractitionerRole.availability.availableTime.extension, PractitionerRole.availability.availableTime.daysOfWeek, PractitionerRole.availability.availableTime.allDay, PractitionerRole.availability.availableTime.availableStartTime, PractitionerRole.availability.availableTime.availableEndTime, PractitionerRole.availability.notAvailableTime, PractitionerRole.availability.notAvailableTime.extension, PractitionerRole.availability.notAvailableTime.description, PractitionerRole.availability.notAvailableTime.during, PractitionerRole.endpoint All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error PractitionerRole.extension, PractitionerRole.extension:availabilityExceptions, PractitionerRole.modifierExtension, PractitionerRole.contact.extension, PractitionerRole.contact.extension:telecom, PractitionerRole.availability.extension, PractitionerRole.availability.extension:daysOfWeek, PractitionerRole.availability.extension:allDay, PractitionerRole.availability.extension:availableStartTime, PractitionerRole.availability.extension:availableEndTime, PractitionerRole.availability.extension:description, PractitionerRole.availability.extension:during, PractitionerRole.availability.availableTime.extension, PractitionerRole.availability.notAvailableTime.extension Must have either extensions or value[x], not both extension.exists() != value.exists()

 

Other representations of profile: CSV, Excel, Schematron