---
schema_version: "1"
id: a39637c6bc3b80820b62c591e4c4d8fd946b1d2490029465252ddc56b31326a8
title: Sync Referrals Automatically Between Your EHR and Agentforce Health
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/release-notes/264-0-0/rn_health_referral_management_ehr_sync.md
canonical_url: https://help.salesforce.com/s/articleView?id=release-notes.rn_health_referral_management_ehr_sync.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: b8250b8cbe35f7662f594555cb9d810db196d76817a6372637142a20d770ac82
description: Keep referrals in sync between your electronic health record (EHR) system and Agentforce Health in near real time, with no manual reentry. Agentforce Health now listens to HL7 messages from your EHR to create referral records automatically, updates the record status as appointments are scheduled and completed, and writes referrals back to the EHR. Your teams track internal and external referrals from one source of truth instead of piecing them together across separate systems.
products:
  - Cross Cloud
release: "264"
---
# Sync Referrals Automatically Between Your EHR and Agentforce Health

Keep referrals in sync between your electronic health record (EHR) system and Agentforce Health in near real time, with no manual reentry. Agentforce Health now listens to HL7 messages from your EHR to create referral records automatically, updates the record status as appointments are scheduled and completed, and writes referrals back to the EHR. Your teams track internal and external referrals from one source of truth instead of piecing them together across separate systems.

**Where:** This change applies to Lightning Experience in Enterprise and Unlimited editions with Health Cloud and MuleSoft.

**Who:** This feature is available to users with the Health Cloud Appointment Management permission set and the MuleSoft Administrator user permission.

**How:** From Setup, find and select **MuleSoft Direct**. Then, enable, configure, and deploy the HL7 V2 ORM Process API - Implementation Template and the HL7 V2 SIU Process API - Implementation Template.

#### See Also

- [_MuleSoft Exchange:_ Health Cloud HL7 v2 SIU Listener - Implementation Template](https://anypoint.mulesoft.com/exchange/org.mule.examples/hls-sfdc-siu-listener/minor/1.3/)