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.

Attachment

The Attachment FHIR resource maps to the Attachment object in Salesforce.

FHIR V4.0 - Clinical Data Model Mapping

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

Table 1. Attachment - Salesforce
Attachment Resource Salesforce Field Type Salesforce Cardinality Notes
content​Type Attachment​.Content​Type String 0.1 FHIR defines Attachment​.use as a code set. However, the Salesforce implementation of Attachment​.Content​Type is a string.
language Diagnostic​Summary​.Attachment​Language String 0.1 FHIR defines Attachment​.use as a code set. However, the Salesforce implementation of Diagnostic​Summary​.Attachment​Language is a string.
data Attachment​.Body Base64 0.1 N/A
url N/A N/A N/A Not supported
size Attachment​.Body​Length Double 0.1 N/A
hash N/A N/A N/A Not supported
title Attachment​.Name String 0.1 N/A
Creation Attachment​.Created​Date Date​Time 0.1 N/A