Goal
The Goal FHIR resource maps to the GoalAssignment and GoalAssignmentDetail objects in Salesforce.
FHIR V4.0 - Clinical Data Model Mapping
Here’s how the fields defined by FHIR for Goal map to the fields in Salesforce.
| Goal Resource | Salesforce Field | Type | Salesforce Cardinality | Notes |
|---|---|---|---|---|
| Identifier | N/A | N/A | N/A | Not supported |
| lifecycleStatus | GoalAssignment.Status | Picklist | 0.1 | While FHIR defines this field as a one-to-one code value, the Salesforce implementation is a zero-to-one picklist. |
| achievementStatus | GoalAssignment.ProgressionStatus | Picklist | 0.1 | While FHIR defines this value as a codeable concept, the Salesforce implementation is a picklist. |
| category | N/A | N/A | N/A | Not supported |
| continuous | GoalAssignment.IsContinuousGoal | Boolean | 0.1 | N/A |
| priority | GoalAssignment.Priority | Picklist | 0.1 | While FHIR defines this field as a codeable concept, the Salesforce implementation is a picklist. |
| description | GoalAssignment.Description | Text Area | 0.1 | While FHIR defines this field as a one-to-one codeable concept, the salesforce implementation supports both zero-to-one text values and zero-to-one codeable concept and codeset values. |
| GoalAssignment.DescriptionCodeId | Lookup: CodeSetBundle, CodeSet | 0.1 | ||
| subject | GoalAssignment.ParentRecordId | Lookup: Account, CarePlan. GoalAssignment, CarePlanActivity | 1.1 | The Salesforce implementation additionally supports goal and carePlan as valid subject values for goal. |
| start | GoalAssignment.StartDate | Date | 0.1 | N/A |
| GoalAssignment.StartEventCodeId | Lookup: CodeSetBundle, CodeSet | 0.1 | N/A | |
| target | N/A | N/A | N/A | Not Supported |
| statusDate | GoalAssignment.StatusDate | DateTime | 0.1 | The Salesforce Implementation uses the DateTime data type instead of Date. |
| statusReason | GoalAssignment.statusReason | Text | 0.1 | N/A |
| expressedBy | GoalAssignment.AssignedById | Lookup: Account, Contact, Healthcare Provider, Healthcare Practitioner Facility | 0.1 | The Salesforce implementation doesn’t support careTeam values for this field. |
| addresses | GoalAssignmentDetail.DetailType | Picklist | 0.M | Select Addressed Item as the picklist value in detailType and select one of the supported domain sets in detailRecord. |
| GoalAssignmentDetail.DetailRecordId | Lookup: HealthCondition, CareObservation, MedicationStatement, MedicationRequest, ClinicalServiceRequest | The Salesforce implementation doesn’t support procedure, nutritionOrder, and RiskAssessment values. | ||
| outcomeCode | GoalAssignmentDetail.DetailType | Picklist | 0.M | Select Outcome Code as the picklist value in detailType. |
| GoalAssignmentDetail.DetailCodeId | Lookup: CodeSetBundle, CodeSet | N/A | ||
| outcomeReference | GoalAssignmentDetail.DetailType | Picklist | 0.M | Select Outcome Reference as the picklist value in detailType. |
| GoalAssignmentDetail.DetailRecordId | Lookup: CareObservation | Select Care Observation as the domain set in DetailRecordId. | ||
| note | N/A | N/A | N/A | Not supported |