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.
Flag
The Flag FHIR resource maps to the ClinicalAlert object in Salesforce.
FHIR V4.0 - Clinical Data Model Mapping
Here’s how the fields defined by FHIR for Flag map to the fields in Salesforce.
| Flag Resource | Salesforce Field | Type | Salesforce Cardinality | Notes |
|---|---|---|---|---|
| identifier | Identifier | Object | 0.M | The identifier information for a clinical alert is represented as Identifier records that reference the clinical alert record using their Identifier.ParentRecordId field. |
| status | ClinicalAlert.Status | Picklist | 0.1 | While FHIR defines Flag.status as a code, the Salesforce implementation of ClinicalAlert.Status is picklist. |
| category | ClinicalAlert.Categories | Multi-Select Picklist | 0.M | While FHIR defines Flag.category as a code set bundle, the Salesforce implementation of ClinicalAlert.Categories is a multi-select picklist. |
| code | ClinicalAlert.CodeId | Lookup: CodeSetBundle | 1.1 | While FHIR defines Flag.code as a code set bundle only, the Salesforce implementation flattens it into ClinicalAlert.Code and ClinicalAlert.CodeDescription. The latter is meant to display non-coded information to users as required. |
| ClinicalAlert.CodeDescription | String | 0.1 | ||
| subject | ClinicalAlert.Subject | Polymorphic Lookup: Location, Account HealthcareProvider, Medication, and PatientMedicalProcedure | 1.1 | The Salesforce implementation of flag.subject doesn’t support plan definitions. |
| period | ClinicalAlert.StartDate | Date Time | 0.1 | In Salesforce’s implementation, Flag.period is split into two fields, ClinicalAlert.StartDate and ClinicalAlert.EndDate. |
| ClinicalAlert.EndDate | Date Time | 0.1 | ||
| encounter | ClinicalAlert.RelatedEncounterId | Lookup: ClinicalEncounter | 0.1 | N/A |
| author | ClinicalAlert.RaisedById | Polymorphic Lookup: HealthcareProvider, CareRegisteredDevice, and HealthcarePractitionerFacility | 0.1 | The Salesforce implementation of flag.author doesn’t support patients, and organizations. |