Attachment
The Attachment FHIR resource maps to the Attachment object in Salesforce.
Here’s how the fields defined by FHIR for Attachment map to the fields in Salesforce.
| Attachment Resource | Salesforce Field | Type | Salesforce Cardinality | Notes |
|---|---|---|---|---|
contentType | Attachment.ContentType | String | 0.1 | FHIR defines Attachment.use as a code set. However, the Salesforce implementation of Attachment.ContentType is a string. |
language | DiagnosticSummary.AttachmentLanguage | String | 0.1 | FHIR defines Attachment.use as a code set. However, the Salesforce implementation of DiagnosticSummary.AttachmentLanguage is a string. |
data | Attachment.Body | Base64 | 0.1 | N/A |
url | N/A | N/A | N/A | Not supported |
size | Attachment.BodyLength | Double | 0.1 | N/A |
hash | N/A | N/A | N/A | Not supported |
title | Attachment.Name | String | 0.1 | N/A |
| Creation | Attachment.CreatedDate | DateTime | 0.1 | N/A |