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.
- 1Launched from Epic. Epic's LaunchPad opened LivingLink with the FHIR base URL and a one-time launch value.
- 2Clinician authorized. LivingLink exchanged the code and verified Epic's OpenID Connect id_token: signature, issuer, audience and expiry.
- 3Context received. Epic supplied the patient and the encounter, and identified the clinician as an Epic Practitioner.
- 4Plan shown. The launch screen listed every data type it could collect under the scopes Epic granted.
- 5Records collected. One collection run finished in about two seconds and stored 22 records across six resource types.
- 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)
| Data | Records stored | Note |
|---|---|---|
| Demographics | 1 | |
| Lab results | 3 | 1 more was returned and left out because its test is not on the lab allowlist |
| Vital signs | 7 | |
| Smoking and pregnancy status | 1 | |
| Problem list | 2 | |
| Visit diagnoses | 4 | |
| Medications | 2 | |
| Allergies | 1 | |
| Launch encounter | 1 | |
| Health concerns, procedures, family history | 0 | Nothing on file for this test patient |
How the launch works
Epic chart
Clinician in Hyperspace
LivingLink
livingdonorlink.com
Epic sign-in and FHIR
OAuth 2.0 and R4 API
1Clinician opens LivingLink
From the chart, with iss and a one-time launch value
2Find Epic's endpoints
Checks iss is a registered hospital, reads smart-configuration
3Ask for authorization
launch, aud, scopes, state and PKCE S256
4Return an authorization code
Redirect to /smart/callback with code and state
5Exchange the code
Gets the access token, id_token, patient and encounter
6Verify who launched
id_token signature, issuer, audience and expiry; patient required
7Show the launch screen
Patient, clinician and collection plan; the clinician confirms
8Collect the records once
Read-only searches for the patient in context
9Store and forget the token
Records encrypted, access token deleted, optional invite email
1Epic chart to LivingLink
Clinician opens LivingLink
From the chart, with iss and a one-time launch value
2LivingLink to Epic sign-in and FHIR
Find Epic's endpoints
Checks iss is a registered hospital, reads smart-configuration
3LivingLink to Epic sign-in and FHIR
Ask for authorization
launch, aud, scopes, state and PKCE S256
4Epic sign-in and FHIR to LivingLink
Return an authorization code
Redirect to /smart/callback with code and state
5LivingLink to Epic sign-in and FHIR
Exchange the code
Gets the access token, id_token, patient and encounter
6LivingLink
Verify who launched
id_token signature, issuer, audience and expiry; patient required
7LivingLink to Epic chart
Show the launch screen
Patient, clinician and collection plan; the clinician confirms
8LivingLink to Epic sign-in and FHIR
Collect the records once
Read-only searches for the patient in context
9LivingLink
Store and forget the token
Records encrypted, access token deleted, optional invite email
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 tokenEpic 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:
| Setting | Value | Why |
|---|---|---|
| Application audience | Clinicians or Administrative Users | LivingLink opens from a patient's chart |
| Use case | General | Not a CMS payer or prior-authorization app |
| SMART on FHIR version | R4 | LivingLink reads the R4 endpoint only |
| SMART scope version | SMART v2 | LivingLink requests read and search scopes such as patient/Observation.rs |
| FHIR ID generation | 64-character-limited FHIR IDs | Standard-length IDs that stay stable |
| Client type | Public client with PKCE | No shared secret to manage; the code exchange is protected by PKCE S256 |
| Outgoing APIs | None | Epic 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/callbackWhat 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 API | Used for | SMART scope |
|---|---|---|
| Patient.Read (Demographics) | Demographics | patient/Patient.r |
| Observation.Search (Labs) | Lab results | patient/Observation.s, laboratory |
| Observation.Search (Vital Signs) | Vital signs | patient/Observation.s, vital-signs |
| Observation.Search (Social History) | Smoking and pregnancy status | patient/Observation.s, social-history |
| Condition.Search (Problems) | Problem list | patient/Condition.s, problem-list-item |
| Condition.Search (Encounter Diagnosis) | Visit diagnoses | patient/Condition.s, encounter-diagnosis |
| Condition.Search (Health Concerns) | Health concerns | patient/Condition.s, health-concern |
| MedicationRequest.Search (Signed Medication Order) | Medications | patient/MedicationRequest.s |
| Procedure.Search (Orders) and (Surgeries) | Procedures | patient/Procedure.s |
| AllergyIntolerance.Search (Patient Chart) | Allergies | patient/AllergyIntolerance.s |
| FamilyMemberHistory.Search | Family history | patient/FamilyMemberHistory.s |
| Encounter.Read (Patient Chart) | The visit LivingLink was launched from | patient/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
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.
Click Try It to open LaunchPadThe Try It button opens the LaunchPad dialog shown in the next step. - 2
Fill in LaunchPad and launch
- 1App: LivingLink - Provider.
- 2Patient: any test patient, such as Cadence, Anna or Grand Central, John. All are synthetic.
- 3Launch URL:
https://livingdonorlink.com/api/ingest/v1/smart/launch - 4Click Launch. The tokens field can stay as it is; LivingLink does not use it.
Step 1: the appStep 2: the patientStep 3: the launch URLStep 4: click Launch - 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
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
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
- Log in to Hyperspace as the test clinician and open a synthetic patient’s chart.
- Launch LivingLink from the configured launch point.
- Confirm the patient banner, the clinician and the plan match the chart, then start collection.
- Repeat with a patient who lacks some data types; those should show “Nothing on file”, not an error.
- Launch from a view with no patient; LivingLink should refuse with PATIENT_CONTEXT_MISSING.
Troubleshooting
| What you see | Likely cause | What 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 yet | Check the URI matches exactly; allow up to an hour in the sandbox and up to 12 hours at an organization |
| LivingLink shows ISSUER_NOT_REGISTERED | Your FHIR base URL is not registered as an enabled hospital in LivingLink | Submit or update your registration at /ehr/register |
| LivingLink shows PATIENT_CONTEXT_MISSING | The app was launched without a patient in context | Launch 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 API | Confirm the API is enabled for LivingLink in your environment |
| LivingLink shows TOKEN_EXCHANGE_FAILED | Epic rejected the code exchange, often a client ID or redirect URI mismatch | Confirm the client ID registered in LivingLink matches the environment you launched from |
| LivingLink shows ID_TOKEN_INVALID | The OpenID Connect id_token failed verification | Contact 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