The Address FHIR resource maps to the ContactPointAddress object in Salesforce.
FHIR V4.0 - Clinical Data Model Mapping
Here’s how the fields defined by FHIR for Address map to the fields in Salesforce.
Address Resource
Salesforce Field
Type
Salesforce Cardinality
Notes
use
ContactPointAddress.UsageType
Picklist
0.1
FHIR defines ContactPointAddress.use as a code set. However, the Salesforce implementation of ContactPointAddress.ContentType is a picklist.
type
N/A
N/A
N/A
Not supported
text
N/A
N/A
N/A
Not supported
line
ContactPointAddress.Street
String
0.1
While FHIR defines address.line as zero-many, Salesforce supports only one string for each record. If you have multiple lines, it’s recommended to merge them into a single string before passing it to Salesforce.
city
ContactPointAddress.City
String
0.1
N/A
district
N/A
N/A
N/A
Not supported
state
ContactPointAddress.State
String
0.1
N/A
postalCode
ContactPointAddress.PostalCode
String
0.1
N/A
country
ContactPointAddress.Country
String
0.1
N/A
period
ContactPointAddress.ActiveFromDate
Date
0.1
Because Salesforce doesn’t support a native period data type, the Salesforce implementation flattens address.period to a set of from and to dates.
period
ContactPointAddress.ActiveToDate
Date
0.1
Because Salesforce doesn’t support a native period data type, the Salesforce implementation flattens address.period to a set of from and to dates.