---
schema_version: "1"
id: 20220f1eccca53013700f1362abb8490eaae23735becd00a50c8f7c1be95bb83
title: Subscription
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/health_cloud_object_reference/map_fhir_subscription.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/map_fhir_subscription.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 03eab30107db741b8e9355f91f99fbd81ba69829a70a9067292f4602a373b013
description: The Subscription FHIR resource maps to the InteropTopicSubscription, InteropTopicSubscriptionDtl, InteropTopicSubcrParameter, and InteropTopicSubcrFilterobjects in Salesforce.
---
# Subscription

The Subscription FHIR resource maps to the InteropTopicSubscription, InteropTopicSubscriptionDtl, InteropTopicSubcrParameter, and InteropTopicSubcrFilterobjects in Salesforce.

## FHIR V4.0 - FHIR Subscription Data Model Mapping

Here’s how the fields defined by FHIR for [Subscription](https://build.fhir.org/subscription.html) map to the fields in Salesforce.

Table 1. Subscription - Salesforce
| subscription Resource | Salesforce Field | Type | Salesforce Cardinality | Notes |
| --- | --- | --- | --- | --- |
| identifier | N/A | N/A | N/A | Not supported |
| name | InteropTopicSubscription. Name | Text | 0.1 | N/A |
| status | InteropTopicSubscription.Status | Picklist | 0.1 | While FHIR defines status as a code, the Salesforce implementation of InteropTopicSubscription.Status is a picklist. |
| topic | InteropTopicSubscription.InteropTopicId | Lookup: InteropTopic | 1.1 | N/A |
| contact | InteropTopicSubscriptionDtl.DetailType | Picklist | 1.1 | Select Contact as the picklist value. |
| contact | InteropTopicSubscriptionDtl.DetailRecordId | Lookup: ContactPointPhone, ContatcPointEmail | 1.1 | Reference an email or phone number as the contact record. |
| end | N/A | N/A | N/A | Not supported |
| managingEntity | InteropTopicSubscription.SubscribedById | Lookup: Account, HealthcareProvider | 1.1 | N/A |
| reason | InteropTopicSubscription.Reason | Text | 0.1 | N/A |
| filterBy | InteropTopicSubcrFilter | Object | 1.1 | N/A |
| filterBy.resource | N/A | N/A | N/A | Not supported |
| filterBy.filterParameter | InteropTopicSubcrFilter.InteropTopicFilterId | Lookup: InteropTopicFilter | 1.1 | N/A |
| filterBy.comparator | InteropTopicSubcrFilter.OperatorType | Picklist | 0.1 | N/A |
| filterBy.modifier | InteropTopicSubcrFilter.QueryOperatorType | Picklist | 0.1 | N/A |
| filterBy.value | InteropTopicSubcrFilter.Value | String | 1.1 | N/A |
| filterBy.event | N/A | N/A | N/A | Not supported |
| channelType | InteropTopicSubscription.ChannelTypeCodeId | Lookup: CodeSet | 1.1 | N/A |
| endpoint | InteropTopicSubscription.ChannelIdentifier | TextArea | 0.1 | N/A |
| parameter | InteropTopicSubcrParameter | Object | 1.1 | N/A |
| parameter.name | InteropTopicSubcrParameter.ParameterName | String | 1.1 | N/A |
| parameter.value | InteropTopicSubcrParameter.ParameterValue | TextArea | 1.1 | N/A |
| heartbeatPeriod | InteropTopicSubscription.CheckInInterval | Integer | 0.1 | N/A |
| timeout | InteropTopicSubscription.NotificationTimeout | Integer | 0.1 | N/A |
| contentType | InteropTopicSubscription.PayloadFormatType | Picklist | 0.1 | N/A |
| content | InteropTopicSubscription.PayloadContentType | Picklist | 0.1 | N/A |
| maxCount | InteropTopicSubscription.MaximumEventCount | Integer | 0.1 | N/A |