Skip to main content

LivingLink is a prototype and not a medical service. Please don’t enter real medical information in an account yet.

LivingLink
Epic EHR integration

Launch LivingLink from Epic

A clinician refers a potential living kidney donor from the patient’s chart. LivingLink opens inside the Epic workflow with SMART on FHIR, shows what it will collect, and gathers the relevant records once, with the clinician’s confirmation.

Verified end to end in the Epic on FHIR sandbox, December 2026

Overview

LivingLink uses Epic’s standard SMART on FHIR EHR launch. There is no custom interface, no HL7v2 feed and no standing connection: each launch authorizes one read-only collection for the patient in context, and the access token is discarded when it finishes.

One click from the chart

The clinician opens LivingLink from the patient's chart, with the patient and visit already in context.

Clinician confirms

LivingLink shows the patient, the clinician and exactly what it will collect before anything is read.

Read-only, once

LivingLink reads the records once, never writes back to Epic, and keeps no access to the chart afterwards.

Prototype status: LivingLink is not yet live with any Epic customer. Collection from production EHRs stays switched off until security, privacy, clinical and legal review is complete.

Verified in the Epic on FHIR sandbox

In December 2026 the full workflow ran against Epic’s public sandbox, using Epic’s LaunchPad tool to simulate a launch from Hyperspace with a synthetic test patient.

  1. 1Launched from Epic. Epic's LaunchPad opened LivingLink with the FHIR base URL and a one-time launch value.
  2. 2Clinician authorized. LivingLink exchanged the code and verified Epic's OpenID Connect id_token: signature, issuer, audience and expiry.
  3. 3Context received. Epic supplied the patient and the encounter, and identified the clinician as an Epic Practitioner.
  4. 4Plan shown. The launch screen listed every data type it could collect under the scopes Epic granted.
  5. 5Records collected. One collection run finished in about two seconds and stored 22 records across six resource types.
  6. 6Token discarded. LivingLink deleted its Epic access token when collection ended. No refresh token was issued.
What was collected for the test patient (22 records)
DataRecords storedNote
Demographics1
Lab results31 more was returned and left out because its test is not on the lab allowlist
Vital signs7
Smoking and pregnancy status1
Problem list2
Visit diagnoses4
Medications2
Allergies1
Launch encounter1
Health concerns, procedures, family history0Nothing on file for this test patient

How the launch works

  1. 1Epic chart to LivingLink

    Clinician opens LivingLink

    From the chart, with iss and a one-time launch value

  2. 2LivingLink to Epic sign-in and FHIR

    Find Epic's endpoints

    Checks iss is a registered hospital, reads smart-configuration

  3. 3LivingLink to Epic sign-in and FHIR

    Ask for authorization

    launch, aud, scopes, state and PKCE S256

  4. 4Epic sign-in and FHIR to LivingLink

    Return an authorization code

    Redirect to /smart/callback with code and state

  5. 5LivingLink to Epic sign-in and FHIR

    Exchange the code

    Gets the access token, id_token, patient and encounter

  6. 6LivingLink

    Verify who launched

    id_token signature, issuer, audience and expiry; patient required

  7. 7LivingLink to Epic chart

    Show the launch screen

    Patient, clinician and collection plan; the clinician confirms

  8. 8LivingLink to Epic sign-in and FHIR

    Collect the records once

    Read-only searches for the patient in context

  9. 9LivingLink

    Store and forget the token

    Records encrypted, access token deleted, optional invite email

The SMART on FHIR EHR launch between the clinician's Epic chart, LivingLink, and Epic's authorization server and FHIR API.
Show the requests
Epic (Hyperspace or LaunchPad)
  -> GET https://livingdonorlink.com/api/ingest/v1/smart/launch
       ?iss=<your FHIR base URL>&launch=<one-time value>
LivingLink
  checks iss is a registered, enabled hospital
  reads <iss>/.well-known/smart-configuration
  -> Epic /oauth2/authorize  (launch, aud=<iss>, scopes, state, PKCE S256)
Epic
  -> https://livingdonorlink.com/api/ingest/v1/smart/callback?code&state
LivingLink
  exchanges the code, verifies the id_token, requires a patient in context
  shows the launch screen; the clinician confirms
  collects the records once, stores them encrypted, deletes the access token

Epic grants scopes from the APIs enabled on the app, not from the scopes LivingLink requests. LivingLink plans collection from what is actually granted, so a disabled API simply appears as “Not permitted” instead of failing the launch.

LivingLink’s Epic app listing

The app is registered on Epic’s developer site as LivingLink - Provider, with these settings:

SettingValueWhy
Application audienceClinicians or Administrative UsersLivingLink opens from a patient's chart
Use caseGeneralNot a CMS payer or prior-authorization app
SMART on FHIR versionR4LivingLink reads the R4 endpoint only
SMART scope versionSMART v2LivingLink requests read and search scopes such as patient/Observation.rs
FHIR ID generation64-character-limited FHIR IDsStandard-length IDs that stay stable
Client typePublic client with PKCENo shared secret to manage; the code exchange is protected by PKCE S256
Outgoing APIsNoneEpic does not call LivingLink in this workflow

URLs to configure in Epic

Launch URL
https://livingdonorlink.com/api/ingest/v1/smart/launch

Redirect URI
https://livingdonorlink.com/api/ingest/v1/smart/callback

What your organization sets up

  • Activate LivingLink for your non-production environment first, then production, using the matching client ID for each.
  • Confirm the APIs in the next section are enabled for LivingLink.
  • Add a launch point where clinicians refer donors, such as an activity tab or a chart toolbar button, with patient context.
  • Share your FHIR base URL for each environment. Register it at /ehr/register so LivingLink accepts launches from it.
  • Provide a test clinician account and synthetic test patients for validation.
  • Name a technical contact and a security contact.

Never send client secrets, access tokens, patient identifiers or PHI through the public registration form.

Data collected

All APIs are FHIR R4 and read-only. Searches are always limited to the patient in context, and lab results and social history are further limited to an allowlist of relevant tests.

Show the 13 Epic APIs and their SMART scopes
Epic APIUsed forSMART scope
Patient.Read (Demographics)Demographicspatient/Patient.r
Observation.Search (Labs)Lab resultspatient/Observation.s, laboratory
Observation.Search (Vital Signs)Vital signspatient/Observation.s, vital-signs
Observation.Search (Social History)Smoking and pregnancy statuspatient/Observation.s, social-history
Condition.Search (Problems)Problem listpatient/Condition.s, problem-list-item
Condition.Search (Encounter Diagnosis)Visit diagnosespatient/Condition.s, encounter-diagnosis
Condition.Search (Health Concerns)Health concernspatient/Condition.s, health-concern
MedicationRequest.Search (Signed Medication Order)Medicationspatient/MedicationRequest.s
Procedure.Search (Orders) and (Surgeries)Procedurespatient/Procedure.s
AllergyIntolerance.Search (Patient Chart)Allergiespatient/AllergyIntolerance.s
FamilyMemberHistory.SearchFamily historypatient/FamilyMemberHistory.s
Encounter.Read (Patient Chart)The visit LivingLink was launched frompatient/Encounter.r
Practitioner.Read (Organizational Directory)The launching clinician (optional)user/Practitioner.r

Security and privacy

  • Launches are accepted only from FHIR base URLs registered as enabled hospitals.
  • The OAuth handshake uses state bound to the browser and PKCE S256; codes and tokens are never logged.
  • Epic's id_token is verified against the keys Epic publishes in its discovery document.
  • The Epic access token is encrypted at rest and deleted when collection ends. LivingLink keeps no standing access to the chart.
  • Collected records are encrypted with AES-256-GCM and bound to their hospital and record type.
  • Every launch, view and collection is recorded in an audit log without tokens or clinical content.
  • Sandbox testing uses Epic's synthetic patients only.

Testing it yourself

In the Epic on FHIR sandbox

Epic’s public sandbox includes LaunchPad, which opens an app the way Hyperspace does from a patient’s chart. This is how LivingLink is tested end to end, from the launch to the invite email the patient receives.

Epic lists an app in LaunchPad only for the fhir.epic.com account that owns it, so LivingLink will not appear in your own LaunchPad. Request a live demo and we will run the launch with you, and send the invite to your email so you can see the patient side too.

Request a live demo
  1. 1

    Open Epic’s LaunchPad

    Sign in on fhir.epic.com and open Launching Your App . Next to SMART on FHIR (OAuth 2.0), click Try It.

    Epic's Launching Your App page with the SMART on FHIR (OAuth 2.0) LaunchPad dialog open, and the Try It button on the right of the page.Click Try It to open LaunchPad
    The Try It button opens the LaunchPad dialog shown in the next step.
  2. 2

    Fill in LaunchPad and launch

    1. 1App: LivingLink - Provider.
    2. 2Patient: any test patient, such as Cadence, Anna or Grand Central, John. All are synthetic.
    3. 3Launch URL: https://livingdonorlink.com/api/ingest/v1/smart/launch
    4. 4Click Launch. The tokens field can stay as it is; LivingLink does not use it.
    The LaunchPad dialog with LivingLink - Provider chosen as the app, Grand Central, John as the patient, the LivingLink launch URL, and the Launch button.Step 1: the appStep 2: the patientStep 3: the launch URLStep 4: click Launch
  3. 3

    Confirm the patient and collect

    LivingLink opens on Refer a potential living kidney donor, showing the patient, the clinician and what it will collect. Tick the confirmation and click Start data collection. Each data type completes in a few seconds.

  4. 4

    Send the invite

    Under Invite this person to LivingLink to see their records, choose Another email, type an address you can open, and click Send invite. Test patients have no real email address.

  5. 5

    Open the invite as the patient

    An email titled You’re invited to LivingLink arrives from DoNotReply@mail.livingdonorlink.com; check spam if it does not appear within a minute. Click Accept invite, create an account with the code sent to that address, and My health records shows the test patient’s collected records.

Sandbox FHIR base URL: https://fhir.epic.com/interconnect-fhir-oauth/api/FHIR/R4. Invites expire after 7 days and the email carries no clinical information.

In your non-production environment

  1. Log in to Hyperspace as the test clinician and open a synthetic patient’s chart.
  2. Launch LivingLink from the configured launch point.
  3. Confirm the patient banner, the clinician and the plan match the chart, then start collection.
  4. Repeat with a patient who lacks some data types; those should show “Nothing on file”, not an error.
  5. Launch from a view with no patient; LivingLink should refuse with PATIENT_CONTEXT_MISSING.

Troubleshooting

What you seeLikely causeWhat to do
Epic shows "Invalid OAuth 2.0 request"The redirect URI is not on the app listing, or a recent change has not reached your environment yetCheck the URI matches exactly; allow up to an hour in the sandbox and up to 12 hours at an organization
LivingLink shows ISSUER_NOT_REGISTEREDYour FHIR base URL is not registered as an enabled hospital in LivingLinkSubmit or update your registration at /ehr/register
LivingLink shows PATIENT_CONTEXT_MISSINGThe app was launched without a patient in contextLaunch from within a patient's chart, not from a schedule or in-basket view
A data type shows "Not permitted"Epic did not grant the matching APIConfirm the API is enabled for LivingLink in your environment
LivingLink shows TOKEN_EXCHANGE_FAILEDEpic rejected the code exchange, often a client ID or redirect URI mismatchConfirm the client ID registered in LivingLink matches the environment you launched from
LivingLink shows ID_TOKEN_INVALIDThe OpenID Connect id_token failed verificationContact LivingLink support with the time of the launch

Current limitations

  • Confidential clients signing with a private key (private_key_jwt) are not yet supported. Public clients and client secrets are.
  • Only the Epic sandbox has been verified. Each customer environment needs its own validation.
  • Collection from production EHRs is switched off until approved.
  • Epic’s per-client endpoint overrides (the Epic-Client-ID header on discovery) are not yet sent.

Ready to connect your Epic environment?

Submit your non-production FHIR base URL first. Launches stay disabled until an administrator approves it.

Open registration