PractitionerRole

The practitionerRole FHIR resource maps to the HealthcarePractitionerFacility and CareProviderFacilitySpecialty objects in Salesforce​.

The practitionerRole resource in FHIR is represented as a combination of HealthcarePractitionerFacility and CareProviderFacilitySpecialty records, where the HealthcarePractitionerFacility record is the base. The CareProviderFacilitySpecialty record is associated to the HealthcarePractitionerFacility record by referencing the HealthcarePractitionerFacility record using the PractitionerFacilityId field on CareProviderFacilitySpecialty.

FHIR V4​.0 - Clinical ​Data Model Mapping 

Here’s how the fields defined by FHIR for PractitionerRole map to the fields in Salesforce​.

Practitioner ResourceSalesforce FieldTypeSalesforce CardinalityNotes
identifierIdentifierObject0​.MThe identifier information for a practitioner​Role is represented as Identifier records that reference the Healthcare​Practitioner​Facility record using their Identifier​.Parent​RecordId field​.
activeHealthcare​Practitioner​Facility​.IsActiveBoolean0​.1N/A
periodHealthcare​Practitioner​Facility​.Effective​FromDate0​.1Because Salesforce doesn’t support a native period data type, the practitioner​Role​​.period FHIR resource is flattened to a set of from and to dates​.
periodHealthcare​Practitioner​Facility​.Effective​ToDate0​.1Because Salesforce doesn’t support a native period data type, the practitioner​Role​​.period FHIR resource is flattened to a set of from and to dates​.
practitionerHealthcare​Practitioner​Facility​.Healthcare​Provider​IdLookup: Healthcare​Provider0​.1N/A
organizationHealthcare​Practitioner​Facility​.Account​​IdLookup: Account0​.1N/A
codeCareProvider​Facility​Specialty​.Specialty​RolePicklist0​.MWhile FHIR defines practitioner​Role​.code as a code set bundle, its Salesforce implementation is a picklist​.
Zero-to-many values can be associated by creating multiple CareProvider​Facility​Specialty​ records that reference a Healthcare​Practitioner​Facility​ record. However, a single CareProvider​Facility​Specialty​ record can have only one combination of role and specialty.
specialtyCareProvider​Facility​Specialty​.Specialty​IdLookup: CareSpecialty0​.MWhile FHIR defines practitioner​Role​.code as a code set bundle, its Salesforce implementation is a CareSpecialty reference​.
Zero-to-many values can be associated by creating multiple CareProvider​Facility​Specialty​ records that reference a Healthcare​Practitioner​Facility​ record. However, a single CareProvider​Facility​Specialty​ record can have only one combination of role and specialty.
locationHealthcare​Practitioner​Facility​.Healthcare​Facility​IdLookup: Healthcare​Facility0​.1The Salesforce implementation supports only one practitioner​Role​.location reference for each practitioner role.
healthcare​ServiceN/AN/AN/ANot supported
telecomN/AN/AN/ANot supported
availableTimeHealthcare​Practitioner​Facility​.Operating​HoursIdOperating​Hours0.MEven though only one Operating​Hours record can be referenced from a Healthcare​Practitioner​Facility record, multiple time slots can be added to that Operating​Hours record. As such, zero-to-many available time values can be added to a single Healthcare​Practitioner​Facility record through a single Operating​Hours reference.
not​AvailableN/AN/AN/ANot supported
availability​ExceptionsHealthcare​Practitioner​Facility​.Avialability​ExceptionsString0​.1N/A
endPointN/AN/AN/ANot supported

Sample Record Diagram 

Here’s a diagram that shows an example of how this resource is represented in Salesforce.

A diagram that shows how Carol Peterson's practice at Goodly Healthification is represented in Salesforce.