Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
EpisodeOfCare
The episodeOfCare FHIR resource maps to the
CareEpisode and CareEpisodeDetail objects in Salesforce.
FHIR V4.0 - Clinical Data Model Mapping
Here’s how the fields defined by FHIR for episodeOfCare map to the fields in Salesforce.
| Goal Resource | Salesforce Field | Type | Salesforce Cardinality | Notes |
|---|---|---|---|---|
| identifier | Identifier | Object | 0.M | The identifier information for an episode of care is represented as Identifier records that reference the CareEpisode record using their Identifier.ParentRecordId field. |
| status | CareEpisode.Status | Picklist | 1.1 | While FHIR defines this field as a code value, the Salesforce implementation is a picklist. |
| statusHistory | N/A | N/A | N/A | Not supported |
| type | CareEpisode.Type | Multi-Select Picklist | 0.M | While FHIR defines this field as a codeable concept, the Salesforce implementation is a multi-select picklist. |
| diagnosis.condition | CareEpisodeDetail.DetailType | Picklist | 0.M | Select Diagnosis as the picklist value in detailType. |
| CareEpisodeDetail.DetailRecordId | Lookup: HealthCondition | |||
| diagnosis.role | CareEpisodeDetail.RoleCodeId | Lookup: CodeSetBundle, CodeSet | 0.1 | N/A |
| diagnosis.rank | CareEpisodeDetail.Rank | Number | 0.1 | N/A |
| patient | CareEpisode.PatientId | Master-Detail: Account | 1.1 | N/A |
| managingOrganization | CareEpisode.ResponsibleOrganizationId | Lookup: Account, HealthcareProvider | 0.1 | N/A |
| period | CareEpisode.StartDateTime | DateTime | 0.1 | The Salesforce implementation implements the Period data type as a pair of DateTime fields. |
| CareEpisode.EndEndDateTime | DateTime | 0.1 | ||
| referralRequest | CareEpisodeDetail.DetailType | Picklist | 0.1 | Select Referral Request as the picklist value in detailType. |
| CareEpisodeDetail.DetailRecordId | Lookup: ClinicalServiceRequest | Select ClinicalServiceRequest as the domain set for ReferenceRecordId. | ||
| careManager | CareEpisode.CareCoordinatorId | Lookup: HealthcareProvider, HealthcarePractitionerFacility | 0.1 | N/A |
| team | N/A | N/A | N/A | Not supported |
| account | N/A | N/A | N/A | Not supported |