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.
CarePlan
The CarePlan FHIR resource maps to the CarePlan, CarePlanDetail, CarePlanActivity, and CarePlanActivityDetail objects in Salesforce.
FHIR V4.0 - Clinical Data Model Mapping
Here’s how the fields defined by FHIR for CarePlan map to the fields in Salesforce.
| CarePlan Resource | Salesforce Field | Type | Salesforce Cardinality | Notes |
|---|---|---|---|---|
| identifier | Identifier | Object | 0.M | The identifier information for a care plan is represented as Identifier records that reference the CarePlan record using their Identifier.ParentRecordId field. |
| instantiatesCanonical | N/A | N/A | N/A | Not supported |
| instantiatesUri | N/A | N/A | N/A | Not supported |
| basedOn | CarePlanDetail.DetailType | Picklist | 0.M | Select Based On as the picklist value in detailType. . |
| CarePlanDetail.DetailRecordId | Lookup: CarePlan | Select Care Plan as the domain set in DetailRecordId. | ||
| replaces | CarePlanDetail.DetailType | Picklist | 0.M | Select Replaced Care Plan as the picklist value in detailType. . |
| CarePlanDetail.DetailRecordId | Lookup: CarePlan | Select Care Plan as the domain set in DetailRecordId. | ||
| partOf | CarePlanDetail.DetailType | Picklist | 0.M | Select Part Of as the picklist value in detailType. . |
| CarePlanDetail.DetailRecordId | Lookup: CarePlan | Select Care Plan as the domain set in DetailRecordId. | ||
| status | CarePlan.Status | Picklist | 1.1 | While FHIR defines this field as a code, the Salesforce implementation is a picklist. |
| intent | CarePlan.AuthorizationType | Picklist | 0.1 | While FHIR defines this field as a one-to-one code, the salesforce implementation is a zero-to-one picklist. |
| category | CarePlanDetail.DetailType | Picklist | 0.M | Select Category as the picklist value in detailType. . |
| CarePlanDetail.DetailCodeId | Lookup: CodeSetBundle, CodeSet | |||
| title | CarePlan.Name | Text | 1.1 | While FHIR defines this as a zero-to-one value, the Salesforce implementation is one-to-one.. |
| description | CarePlan.Description | Text Area | 0.1 | N/A |
| subject | CarePlan.ParticipantId | Lookup: Account | 1.1 | The Salesforce implementation doesn’t support Groups. |
| encounter | CarePlan.ClinicalEncounterId | Lookup: ClinicalEncounter | 0.1 | N/A |
| period | CarePlan.CreatedDate | DateTime | 0.1 | While FHIR defines this field as a Period field, the Salesforce implementation uses a pair of DateTime fields. |
| CarePlan.EndDate | DateTime | 0.1 | ||
| created | CarePlan.StartDate | Date | 0.1 | N/A |
| author | CarePlan.AuthorId | Lookup: Account, HealthcareProvider, HealthcarePractitionerFacility, CareRegisteredDevice | 0.1 | The Salesforce implementation doesn’t support careTeam calues for this field. |
| contributor | CarePlanDetail.DetailType | Picklist | 0.M | Select Part Of as the picklist value in detailType. . |
| CarePlanDetail.DetailRecordId | Lookup: Account, HealthcareProvider, HealthcarePractitionerFacility, CareRegisteredDevice | Select an appropriate domain set for DetailRecordId. | ||
| careTeam | CaseTeam | Object | 0.M | Create case teams for the Case record that’s the parent record of the CarePlan record. |
| statusReason | CarePlan.statusReason | Text | 0.1 | N/A |
| addresses | CarePlanDetail.DetailType | Picklist | 0.M | Select Addressed Item as the picklist value in detailType. |
| CarePlanDetail.DetailRecordId | Lookup: HealthCondition | Select HealthCondition as the domain set for DetailRecordId. | ||
| supportingInfo | CarePlanDetail.DetailType | Picklist | 0.M | Select Supporting Information as the picklist value in detailType. |
| CarePlanDetail.DetailRecordId | Lookup: CarePlan,Account,HealthcareProvider,HealthcarePractitionerFacility,CareRegisteredDevice,HealthCondition | Select an appropriate domain set for DetailRecordId. | ||
| goal | GoalAssignment | Object | 0.M | Associate the GoalAssignment record to its parent care plan using the ParentRecordId field. |
| activity | CarePlanActivity | Object | 0.M | The activity subset of a carePlan FHIR resource is represented in Salesforce as CarePlanActivity records that reference the care plan as its parent. |
| activity.outcomeCodeableConcept | CarePlanActivityDetail.DetailType | Picklist | 0.M | Select Outcome Code as the picklist value in detailType. . |
| CarePlanActivityDetail.DetailCodeId | Lookup: CodeSetBundle, CodeSet | N/A | ||
| activity. | ||||
| activity.outcomeReference | CarePlanActivityDetail.DetailType | Picklist | 0.M | Select Outcome Code as the picklist value in detailType. . |
| CarePlanActivityDetail.DetailRecordId | Lookup: ClinicalEncounter,PatientMedicalProcedure,HealthCondition,CareObservation,DiagnosticSummary,Account,HealthcareProvider,HealthcarePractitionerFacility,CareRegisteredDevice | Select an appropriate domain set for DetailRecordId. | ||
| activity.progress | AuthorNote | Object | 0. | Represented as AuthorNote records that reference CarePlanActivity records as their parent. |
| activity.reference | CarePlanActivity.ReferenceRecordId | Lookup: MedicationStatement,MedicationRequest,ClinicalServiceRequest | 0.1 | The Salesforce implementation of this field doesn’t support Appointment, CommunicationRequest, DeviceRequest, NutritionOrder, VisionPrescription, and RequestGroup. |
| CarePlanActivity.ReferenceTaskId | Lookup: Task | 0.1 | The Salesforce implementation implements the Task data type for this field as a separate field on the object. | |
| activity.detail.kind | CarePlanActivity.ActivityType | Picklist | 0.1 | While FHIR defines this field as a code, the Salesforce implementation is a code. |
| activity.detail.instantiatesCanonical | N/A | N/A | N/A | Not supported |
| activity.detail.instantiatesUri | N/A | N/A | N/A | Not supported |
| activity.detail.code | CarePlanActivity.ActivityCodeId | Lookup: CodeSetBundle, CodeSet | 0.1 | N/A |
| activity.detail.reasonCode | CarePlanActivityDetail.DetailType | Picklist | 0.M | Select Reason Code as the picklist value in detailType. . |
| CarePlanActivityDetail.DetailCodeId | Lookup: CodeSetBundle, CodeSet | N/A | ||
| activity.detail.reasonReference | CarePlanActivityDetail.DetailType | Picklist | 0.M | Select Reason Code as the picklist value in detailType. . |
| CarePlanActivityDetail.DetailRecordId | Lookup: HealthCondition,CareObservation,DiagnosticSummary | Select an appropriate domain set for DetailRecordId. | ||
| activity.detail.goal | GoalAssignment | Object | 0.M | Associate the GoalAssignment record to its parent care plan activity using the ParentRecordId field. |
| activity.detail.status | CarePlanActivity.Status | Picklist | 0.1 | While FHIR defines this field as a one-to-one code, the Salesforce implementation is a zero-to-one picklist. |
| activity.detail.statusReason | CarePlanActivity.StatusReasonCodeId | Lookup: CodeSetBundle, CodeSet | 0.1 | N/A |
| activity.detail.doNotPerform | CarePlanActivity.ProhibitedActivity | Picklist | 0.1 | The Salesforce implementation is a picklist with the values Default, True, and False. |
| activity.detail.scheduledTiming | CarePlanActivity.ActivityTimingId | Lookup: ActivityTiming | 0.1 | N/A |
| activity.detail.scheduledPeriod | CarePlanActivity.ScheduledPeriodStartDateTime | DateTime | 0.1 | The Salesforce implementation uses a pair of DateTime fields instead of a period field. |
| CarePlanActivity.ScheduledPeriodEndDateTime | DateTime | 0.1 | ||
| activity.detail.scheduledString | CarePlanActivity.ScheduleDescription | Text | 0.1 | N/A |
| activity.detail.location | CarePlanActivity.LocationId | Lookup: Location, HealthcareFacility | 0.1 | N/A |
| activity.detail.performer | CarePlanActivityDetail.DetailType | Picklist | 0.M | Select Reason Code as the picklist value in detailType. . |
| CarePlanActivityDetail.DetailRecordId | Lookup: Account,HealthcareProvider,HealthcarePractitionerFacility,CareRegisteredDevice | Select an appropriate domain set for DetailRecordId. The Salesforce implementation doesn’t support careTeam and healthService values for this field. | ||
| activity.detail.productCodeableConcept | CarePlanActivity.AdministeredProductCodeId | Lookup: CodeSetBundle, CodeSet | 0.1 | N/A |
| activity.detail.productReference | CarePlanActivity.AdministeredProductId | Lookup: Medication | 0.1 | N/A |
| activity.detail.dailyAmount | CarePlanActivity.DailyDoseQuantity | Number | 0.1 | Salesforce implements the quantity data type as a pair of number and unit fields. |
| CarePlanActivity.DailyDoseUnitId | Lookup: UnitOfMeasure | 0.1 | ||
| activity.detail.quantity | CarePlanActivity.SuppliedQuantity | Number | 0.1 | Salesforce implements the quantity data type as a pair of number and unit fields. |
| CarePlanActivity.SuppliedQuantityUnitId | Lookup: UnitOfMeasure | 0.1 | ||
| activity.detail.description | CarePlanActivity.Description | Text | 0.1 | N/A |
| note | AuthorNote | Object | 0. | Represented as AuthorNote records that reference CarePlan records as their parent. |