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.
| 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 |