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.

Coding

The Coding FHIR resource maps to the CodeSet object in Salesforce.

FHIR V4.0 - Clinical Data Model Mapping

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

Table 1. Coding - Salesforce
Coding Resource Salesforce Field Type Salesforce Cardinality Notes
system CodeSet​.Source​System String 0.1 FHIR defines coding​.system as a URI. However, the Salesforce implementation of CodeSet​.Source​System is a string because Salesforce doesn’t support the URI data type.
version CodeSet​.System​Version String 0.1 N/A
code CodeSet​.Code String 0.1 FHIR defines coding​.code as a code data type. However, the Salesforce implementation of CodeSet​.Code is a string because Salesforce doesn’t support the Code data type.
display CodeSet​.Name String 0.1 N/A
user​Selected CodeSet​.IsPrimary Boolean 0.1 N/A