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