Referrals in RefX are created using Referral Link.
Referral Link is a hosted referral form that encapsulates the complex logic of referral creation, including patient details, eligibility checks, offering selection, and downstream routing to systems like HAS, Epic, PartnersBuddy and many others.
By using Referral Link, your system doesn’t need to build or maintain these forms directly. Instead, you simply generate a secure one-time link for the referrer to complete.
Generate a referral link
Your system calls the “Create or Upsert Link” endpoint and provides minimal context such as:
Launch the hosted form
The API returns a url which should be opened in a browser window or webview.
This link takes the user into the hosted referral page, prefilled with any supplied details.
User completes and submits
Once the user submits, RefX validates and routes the referral to the correct downstream service automatically.
Retrieve the editable referral link
Call the “Get referral details” endpoint and include the query parameter:
If the referral is in an editable state, the response will include an array of links that point to the different hosted referral edit pages.
Launch the edit session
Open the link in your user’s browser window or embedded frame.
User makes updates and resubmits
Once edited, RefX automatically updates the referral record and notifies the downstream system as needed.
url directly in a browser tab or iframe.
If embedding, ensure it has network access to RefX’s production domain.