Dataset
Healthcare referral and scheduling datasets for AI training
A healthcare referral dataset is a set of patient-access records that follow each referral from the referring provider's order through intake review, insurance and authorization checks, scheduling attempts, the appointment and the consult note sent back, including cancellations, no-shows and referrals that never became a visit. SourceX sources these to a buyer's specification from established health systems' access centers, specialty groups and other organizations with rights to the records. Each dataset is de-identified before delivery and licensed for an agreed permitted use. Buyers should confirm the de-identification method and jurisdiction with counsel.
Dataset manifest
Sourced to your spec- What it is
- Referral-to-visit records: order, documents, intake, coverage checks, outreach, appointment events and loop closure
- Typical systems
- Epic Cadence, Oracle Health, athenaOne, eClinicalWorks, NextGen, referral tools such as ReferralMD, and fax servers
- Typical history
- Specified by the buyer in referrals and months; older schedule templates and unindexed faxes may not survive
- Modality
- Structured referral and appointment records, scanned fax pages and staff notes
- Delivery formats
- Agreed per order; referral-linked JSONL or Parquet, fax pages as PDF or TIFF with extracted text
- Preparation
- De-identified before delivery under a method recorded per source; the buyer specifies how provider and staff identities are keyed
- Licensing
- Permitted use agreed per license; the holder's right to license reviewed per source
- Availability
- Sourced to your spec from organizations that run patient access; supply is not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| referral_id | string | Random key tying the order, its documents, every attempt and the appointment to one referral. |
| referral_order | object | Direction (inbound, outbound or internal), channel received, referring and requested specialty, reason for referral, diagnosis codes and priority. |
| referral_documents | array | Fax transmissions and attachments with page types, the fields staff keyed from them and defects such as rotated or missing pages. |
| intake_review | object | Completeness check, items found missing and the clinical triage decision to accept, redirect or decline. |
| info_requests | array | Each chase for missing information: what was asked, of which office, by which channel, and what came back. |
| coverage_check | object | Network result, and whether a plan referral number or an authorization was needed and on file before booking. |
| outreach_attempts | array | Every attempt to reach the patient by call, text, portal message or letter, with its outcome. |
| scheduling_rules | object | Template version, visit type and the provider, insurance, age and location rules applied. |
| slots_offered | array | Slots offered to the patient and whether each was accepted, where the system logged them. |
| appointment | object | The booking: visit type, provider key, day booked and day scheduled. |
| appointment_events | array | Reminders, reschedules, cancellations with who initiated them, waitlist offers, check-in and no-show, in order. |
| loop_closure | object | Closing status and reason, elapsed days, and whether and how the consult note went back to the referring office. |
| deid | object | The de-identification method and how dates, fax page images, and provider and staff identities were treated. |
| billing_link | object | Pseudonymous encounter, claim and available line references, remittance disposition where recorded and the last observed step in the referral episode. |
Field names from the table above; values are masked placeholders.
Example record
{
"referral_id": "ref_4c81d0",
"deid": {
"method": "expert_determination",
"dates": "day_offsets_from_referral_received",
"fax_pages": "redacted_images_and_scrubbed_text"
},
"referral_order": {
"direction": "inbound_external",
"channel": "fax",
"from": {
"provider": "prov_ref_2207",
"specialty": "family_medicine"
},
"to_specialty": "rheumatology",
"priority": "routine",
"reason": "Pain and swelling in both hands for 4 months, positive ANA. Evaluate for inflammatory arthritis.",
"dx": [
"M25.541",
"M25.542",
"R76.89"
],
"patient": {
"age_band": "45-54",
"sex": "F"
}
},
"referral_documents": [
{
"doc": "fax_0091",
"page_types": [
"cover_sheet",
"referral_form",
"office_note",
"lab_report"
],
"keyed": {
"insurance_class": "commercial_hmo"
},
"issues": [
"page_4_rotated",
"insurance_card_missing"
]
}
],
"intake_review": {
"day": 1,
"complete": false,
"missing": [
"rheumatoid_factor_result",
"insurance_card"
],
"clinical_triage": {
"by": "rn_reviewer",
"decision": "accept"
}
},
"info_requests": [
{
"day": 1,
"channel": "fax",
"outcome": "no_reply"
},
{
"day": 4,
"channel": "phone",
"outcome": "received",
"doc": "fax_0102"
}
],
"coverage_check": {
"network": "in_network",
"pcp_referral_on_file": true,
"prior_auth_required": false
},
"outreach_attempts": [
{
"day": 7,
"channel": "phone",
"outcome": "voicemail"
},
{
"day": 12,
"channel": "phone",
"outcome": "reached"
}
],
"scheduling_rules": {
"template_version": "tmpl_rheum_41",
"applied": [
"Lab results on file before booking.",
"prov_sp_031 is closed to new HMO patients."
]
},
"slots_offered": [
{
"provider": "prov_sp_018",
"day": 33,
"accepted": false
},
{
"provider": "prov_sp_018",
"day": 47,
"accepted": true
}
],
"appointment": {
"appt_id": "apt_77e2",
"visit_type": "new_patient_60",
"provider": "prov_sp_018",
"booked_day": 12,
"scheduled_day": 47
},
"appointment_events": [
{
"day": 44,
"type": "rescheduled",
"initiated_by": "patient",
"new_day": 61
},
{
"day": 61,
"type": "checked_in"
}
],
"loop_closure": {
"status": "closed_seen",
"consult_note": {
"day": 63,
"channel": "fax",
"to": "prov_ref_2207"
}
}
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Train referral intake models
Fax packets paired with the keyed record teach a model to sort pages by type, extract the referral and say what is missing.
Train scheduling agents on real constraints
Referral, rules in force and open slots form the task, and the slot an experienced scheduler booked is the reference answer.
Predict no-shows and cancellations
Lead time, visit type, reminder replies and reschedule history sit beside the recorded outcome.
Prioritize outreach on stalled referrals
Attempt-level histories show which referrals closed after one more call and which were never reachable.
Follow a referral through the claim decision
Request a de-identified episode from intake and coverage review through authorization, visit, claim and remittance. Ask who can authorize each source and whether payment or denial is recorded for a claim or a line. Count joins at each step, including referrals that end before billing or remain open at the cutoff.
Use-case guides: Healthcare administration AI, Enterprise and computer-use agents, Document AI, enterprise search and RAG, Private evaluation sets
What makes this data valuable
Unscheduled referrals kept
Referrals closed without a visit are present with a reason, not filtered out.
Fax linked to record
Each referral points to the pages it arrived on and the fields staff keyed from them.
Rules as of booking
Template versions and dated protocol documents show the constraints in force at booking.
Attempt-level outreach
Every call, text and letter is a row with an outcome, not one final contact status.
Both ends of the loop
The consult note's return is recorded, so a closed referral can be told from a completed visit.
Corrections on record
Appointments moved because of a wrong visit type or provider are flagged with the reason.
Process
Healthcare referral dataset
A referral is a loop that often never closes
A referral passes through at least four hands: the clinician who writes the order, the office staff who send it, the receiving practice's intake staff who review it and check coverage, and a scheduler who has to reach the patient. It closes only when the visit happens and the consult note goes back. Every handoff is a place to stall. The fax arrives without the last office note. The plan wants a referral number from primary care. The patient never picks up. The appointment table records none of this. It holds the referrals that survived, so a dataset built from appointments alone teaches a model that every referral ends in a visit.
The records worth licensing keep the whole chain. For an outside referral that starts with the fax: a cover sheet, a referral form, office notes, lab and imaging reports, with pages rotated, resent or mixed with another patient's. Staff index each transmission to a patient and key the referral from it, which makes the page images and the keyed record a labeled pair for document models. Then come the chases for missing information, each with what was asked, of whom and whether anything came back, and a closing status with its reason, such as seen, patient declined, unable to reach, out of network, duplicate or redirected.
Ask which end of the loop the holder sits on. A specialty group sees inbound referrals and their scheduling, but not whether the referring office read the note. A primary care group sees its outbound orders and whether a note came back, but not the specialist's outreach. A referral placed and booked inside one system can usually be followed under one referral ID, while an external one depends on staff matching a fax to a patient and an appointment, so ask how each link was made. Size the request in referrals by specialty, channel and closing status, not in appointments.
Scheduling rules live in templates and in memory
Booking an appointment is constraint solving. Each provider's schedule is built from a template: sessions by day and location, blocks reserved for visit types such as new patient, follow-up or procedure, a length for each visit type, and holds that release unfilled slots close to the date. On top sit rules the template cannot express. One surgeon sees hands but not shoulders. New spine patients need imaging on file. Some departments build these into scheduling questionnaires or decision trees. Many keep them in protocol sheets and in the memory of staff who have worked the desk for years.
Without the rules, a booked appointment is an answer with no question. A record an agent can learn from has the referral, the rules in force, the slots that were open and the slot the scheduler chose. A template is a current-state object, edited whenever a provider changes hours, and the open slots a scheduler saw are generally not stored with the appointment. Ask whether the holder can rebuild the template in force on each booking date from audit history, periodic snapshots or slot-search logs, and whether its protocol documents are dated.
The outcome supplies the grade. An appointment kept in the visit type first booked is evidence the rules were applied correctly. One moved after a nurse or the provider reviewed the schedule, because the visit type was wrong or a required result was missing, is a labeled error with its correction. Clinic-initiated cancellations, often called bumps, and no-shows mean something else and belong in separate categories.
What to check before licensing
- Get in writing which de-identification method each source used and how dates were treated, since lead times need intervals. Confirm the method and jurisdiction with counsel.
- Open sample fax pages as images. Check the fax header line, handwriting, insurance card copies, letterheads and pages belonging to another patient.
- Ask how referring providers, specialists and schedulers are keyed, and search staff notes for initials, extensions and first names.
- Ask whether appointments for minors are included and how guardian names, school details and custody notes were handled. Have counsel confirm whether pediatric records need separate treatment.
- Ask whether a referral's specialty could itself disclose a sensitive condition, as with behavioral health or substance use treatment, and which specialties were left out. Have counsel confirm which rules apply.
- Establish who holds the right to license. A scheduling outsourcer or referral vendor usually works for provider clients under contracts that limit other uses, so ask whether those clients approved.
- On the sample, count referrals with a closing reason, the share closed without an appointment, and the share of bookings that carry the rules in force.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
What is a closed-loop referral, and why does it matter for training data?
A closed-loop referral is one where the referring provider learns what happened: the patient was seen and the consult note came back, or the referral was closed with a reason. It matters because many referrals stall before a visit, and a dataset built only from appointments leaves those out. Status history and closing reasons show a model where referrals stall and what staff did next.
Can a dataset include referrals that never became appointments?
Yes, and you should ask for them by name. Referrals closed as unable to reach, patient declined, out of network, duplicate or redirected sit in referral work queues, not in the appointment table, so an extract built from scheduling data drops them. Require a closing status and reason on every record. Supply depends on whether the holder's system kept those work queue records.
How are faxed referral documents de-identified?
They have to be de-identified twice, as page images and as extracted text, and the method is recorded for each source. Identifiers sit where text rules do not reach: the fax header line, handwriting, insurance card copies and another patient's pages in the same transmission. Records are de-identified before delivery, and no method is perfect, so review sample pages and confirm the method and jurisdiction with your counsel.
Do the records include the scheduling rules staff followed?
Only where the holder can supply them, so put it in the specification. Rules live in schedule templates, in scheduling questionnaires or decision trees, and in protocol documents kept by each department. Ask for all three with dates, and for the template in force when each appointment was booked. Where staff applied rules from memory, the booking and any later correction are the only evidence.
Who has the right to license scheduling and referral records?
Usually the provider organization whose patients they are, which is a point to settle for each source. Scheduling outsourcers, vendor-run access centers and referral-management companies hold the records while working for provider clients, typically under business associate agreements and contracts that limit other uses. Ask how the holder's right to license was established and whether its clients approved, and have counsel read the documents.
How reliable are no-show labels?
Less reliable than they look, so check how each status was entered. A no-show, a same-day cancellation and a late arrival who was turned away can share one status. An appointment never checked in may also be marked a no-show automatically. Ask for status definitions, who or what set each one, and who initiated each cancellation.
Related datasets
- Healthcare revenue cycle and prior authorization records
Linked prior authorizations, claims, remittances, denials and appeals for real encounters
- Payer portal eligibility and claim status records
Eligibility, benefits and claim status lookups with the payer's response, the staff note and the linked claim outcome
- Nurse triage call records
Triage call records: complaint, protocol, question path, dispositions, advice, optional audio and later encounters
- Contact center call recordings and transcripts
Recorded service and support calls with diarized transcripts, dispositions and QA scores
- Enterprise workflow and task execution histories
Linked task trajectories from request to outcome, across every tool the work touched
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 29 November 2026. Own data like this? See how companies license it to AI developers.