---
schema_version: "1"
id: ba9264ed186fe77f5425ef4a41242d4b2fba60d48b138ebec6848aee32e5c8c0
title: Coding
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/life_sciences_dev_guide/map_fhir_Coding.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/map_fhir_Coding.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: bde25fbbed389b85efef6e046f52e76bc88b73c28ddad04c92cc52b52b66c8ee
description: The Coding FHIR resource maps to the CodeSet object in Salesforce.
---
# 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](https://www.hl7.org/fhir/datatypes.html#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 |

#### See Also

- [CodeSet](https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/hc_r4_api_objects_CodeSet.htm "Represents various industry defined codes in the context of their systems and versions of those systems. These codes are used in all sorts of digital records. This object is available in API version 50.0 and later.")