Skip to content
Representative workflow

Registering and scheduling a referred patient without any agent touching a clinical decision

Intake is where a patient becomes a record, and most of what delays it is administrative: a referral arrives missing a detail, the identity is ambiguous, coverage has to be confirmed, and a slot has to be found that fits what the referrer asked for. None of that is a clinical decision, and the design is built so that none of it quietly becomes one. Modeled as an orchestrated process, the administrative work runs while the instance stays open, and a person is reached when identity, coverage or availability is genuinely unresolved. The clinical content of the referral travels with the instance and is read by the clinician it was written for.

A reference architecture: how RoboAgentix would model this process on UiPath. It is not a description of a delivered project, and no client, result or metric is implied.

What starts it

A referral arrives — from a referring practice, a portal, a health information exchange feed, a monitored mailbox, or a patient completing a registration form.

A referral resolved through identity and coverage structures, an eligibility check, and a scheduling grid receiving the confirmed record

Why it is orchestrated rather than scripted

  • A referral waits on a coverage service, on a clinic's availability, and often on the referring source to send back something missing — the instance has to stay alive across all of it.
  • The line between an administrative check and a clinical decision has to be enforced in one place, as a rule people can read, rather than inside each robot's branching.
  • Which record a patient was matched to, and on what coverage finding they were booked, are questions asked long after the appointment has happened.
The process

How it runs on UiPath Maestro

The process is defined in BPMN and Maestro runs it across agents, robots and people, holding its state for as long as the work takes — including while it waits on an approver.

SYSTEMReferral receivedAGENTRead the administrative detailAGENTResolve identity and coverageMAESTROClear toschedule?PERSONIntake clerk reviewROBOTRegister and bookSYSTEMRegistered and schedulednoyes

Step by step

  1. 01

    Referral receivedSystem

    From a referring practice, a portal, a health information exchange feed, a monitored mailbox, or a patient's own registration form.

  2. 02

    Read the administrative detailAgent

    Patient identifiers, contact details, the referring source, the requested service and any stated window are classified and extracted, each field carrying a confidence score. The clinical narrative is carried forward untouched.

  3. 03

    Resolve identity and coverageAgent

    The extracted patient is matched against the master patient index, and scheme membership and the administrative coverage rules for the requested service are checked, citing the rule applied.

  4. 04

    Clear to schedule?Maestro

    The orchestrator routes on whether identity resolved to one record, whether the coverage check passed, and whether a slot exists inside the window the referral states.

  5. 05

    Intake clerk reviewPerson

    Anything unresolved reaches a clerk with the referral, the candidate patient records, the coverage finding and the availability that was searched.

  6. 06

    Register and bookRobot

    A robot writes the administrative record, books the confirmed slot, and returns the appointment reference to the referring source.

  7. 07

    Registered and scheduledSystem

    The appointment stands, the referring source holds the reference, and the identity match, the coverage finding and any human decision are written to the audit record.

Agents

What each agent is allowed to decide

An agent is only useful in a governed process if its authority is written down. Each one below has a defined input, a decision it may make on its own, and the condition that obliges it to hand over.

Referral Intake Agent

Turns a referral into the administrative fields a registration needs, and nothing more.

Reads

  • The referral and its attachments
  • The clinic's required-field list for that service
  • The service catalog as the clinic publishes it

Decides on its own

Which administrative field is which, what each one says, and how confident it is in each value.

Must escalate when

Any required field missing, unreadable or below its threshold, and any referral where naming the requested service would mean interpreting the clinical text.

Identity and Coverage Agent

Decides whether this is an existing patient, and whether the scheme covers the requested service on administrative grounds.

Reads

  • The master patient index
  • Scheme membership and coverage records
  • The scheme's administrative rules, indexed for retrieval
  • Prior referrals recorded against the same patient

Decides on its own

Whether the referral resolves to exactly one existing record or a new one is needed, and whether coverage is active for the service as written.

Must escalate when

More than one candidate record, coverage that is lapsed, conditional or ambiguous, and anything the scheme settles on clinical grounds rather than administrative ones.

Scheduling Agent

Proposes a slot that fits the referral as it was written.

Reads

  • Published clinic availability and the booking rules for that service
  • The window and priority written on the referral
  • Patient contact preferences and stated access needs

Decides on its own

A proposed slot, with the booking rules it satisfied.

Must escalate when

No slot inside the stated window, a referral that states neither window nor priority, and any case where booking would mean moving a patient who is already booked.

What the robots do

Deterministic steps stay with robots — the same action every time, including in systems that never exposed a usable API.

Registration robot

Creates or updates the patient's administrative record and attaches the referral to it.

Runs in

The patient administration system, under credentials scoped to demographic and referral fields, with no clinical record in scope.

Booking robot

Books the confirmed slot, issues the appointment notice, and writes the reference back to the referring source.

Runs in

The scheduling system and the referral channel, under credentials scoped to booking only.
The policy gate

Clear to schedule?

Identity resolved to exactly one record, coverage active for the service as written, every field the clinic requires present and above its threshold, and a slot available inside the window the referral states.

Passes
Registered and booked without a person touching it.
Does not pass
Held for the clerk, or returned to the referring source, with the process kept open until it comes back.

Modeled as a decision table, so the threshold can be changed by the people who own the policy without redeploying an automation.

Where a person is required

The human step

Who

A patient administration clerk for that clinic. Anything the design classes as clinical goes to the receiving clinical team instead, and never to the clerk.

What they see

The referral as it arrived, the administrative fields read from it, the candidate patient records side by side, the coverage finding with the rule it applied, and the availability that was searched.

What they decide

Which record the patient is, whether to accept or change the proposed slot, and whether to return the referral to its source for missing administrative detail — with a reason kept against the instance.

People are in this process because judgment or authority belongs to them — not as a fallback for a step that failed.

Boundaries

What this design deliberately does not do

An automation is only trustworthy if its limits are written down as plainly as its capabilities.

  • It does not read the clinical content of a referral for meaning. Clinical narrative is carried through to the receiving clinician and is not summarized, scored or acted on by any agent.
  • It does not triage. Urgency is whatever the referring clinician wrote on the referral; nothing in the process infers it, raises it or lowers it.
  • It does not decide medical necessity or whether the requested service is appropriate. Where a scheme requires that judgment, the instance is routed to the clinical reviewer the scheme names.
  • It does not reject a referral or deny coverage on its own. A failed check produces a registration held for a person, never a patient turned away by the process.
When it goes wrong

Failure has a defined path

Systems go down, confidence drops, approvers go on leave. Each of these is a modeled branch rather than a stuck instance.

The coverage or eligibility service is unreachable when the check is due.
The instance stays open and the check is retried on the schedule Orchestrator holds. Registration and booking do not proceed on an assumed result; if the service is still unreachable as the referral's stated window approaches, the instance is raised to the clerk queue as an unverified registration for a person to decide.
A required field is extracted below its confidence threshold, or the identity match returns more than one candidate record.
No record is created and no record is merged. The instance goes to a clerk with the candidates side by side and the fields the agent was unsure of, and the clerk's choice is stored against the instance as the resolution.
The clerk or clinical reviewer the task was assigned to never acts on it.
The task ages in Action Center and is reassigned by the rule for that clinic — to the queue rather than to another individual. If the referral states a window, the instance is raised before that window closes rather than after, and the referring source is notified that the referral is still unactioned.
No slot exists inside the window the referral states.
The process does not book outside the window and does not defer on its own. It routes to the clinic's scheduler with the referral, the stated window and the availability it searched, and holds until a person books, adds capacity, or returns the referral to its source with a reason.
Running it for real

Data, rollout, and what to watch

Data it touches

  • The process touches patient identifiers, contact details, scheme membership and whatever the referring clinician wrote. Which of those fields each component may read is set per component: the registration robot's credentials reach demographic and referral fields only, and no clinical record is in its scope.
  • Clinical narrative is carried as an attachment on the instance and handed to the receiving clinical team. It is not placed in an agent's prompt, not indexed for retrieval, and not copied into the process's own variables.
  • Context Grounding indexes the organization's own administrative material — scheme rules, clinic booking rules, the published service catalog. Patient records are not part of that index.
  • An Action Center task shows only the fields the decision in front of that person requires, and where the process runs, where its state and audit records are held, and how long they are kept follow the residency and retention rules the organization is bound by.

How it goes live

  1. 01

    Shadow

    The process runs beside the existing intake desk on real referrals and writes nothing. Agent output is recorded next to what the clerks actually did, field by field, and every identity match is compared against the record the clerk chose. The gate to the next phase is agreement on identity and coverage across the referral types and sources the clinic really receives, including the malformed ones — not across a clean sample.

  2. 02

    Supervised

    Every instance produces a proposed registration and a proposed slot, and every one is confirmed by a clerk in Action Center before a robot writes anything. What clerks change is the measurement. The gate is set per referral type and per source: a type moves on when clerks stop correcting it, and the types that keep being corrected stay supervised.

  3. 03

    Unattended with exceptions

    Referral types that cleared the gate register and book without a person. Everything else still reaches one — the types still supervised, anything below confidence, an unresolved identity, a failed coverage check, and every case the design routes to a clinician. The unattended set is an explicit list, and any type can be put back under supervision without a redeploy.

Signals worth watching

  • The share of instances that reach a person, and whether it is drifting for a particular referral source or service.
  • How often a clerk changes the identity match that was proposed — the signal worth watching most closely, because a wrong merge is harder to undo than a delay.
  • Registrations and bookings that are corrected downstream: a record merged later, an appointment amended, a patient contacted again — the errors the gate let through.
  • Referrals arriving without the administrative detail the clinic requires, grouped by source, so the gap is fixed where it originates rather than absorbed by the intake queue.

Named without target values. What good looks like depends on your volumes and your risk appetite, and is set with you rather than asserted here.

What it is built on

The UiPath components this design uses

UiPath Maestro

Runs the BPMN process and holds its state for as long as the work takes, including while it waits on a person or a system that is down.

UiPath Agent Builder

Where each agent is defined — its instructions, its tools, its inputs and outputs, and the escalation that sends work to a person.

UiPath Document Understanding

Classification and field extraction, returning a confidence score per field that the policy gate can route on.

Context Grounding

A retrieval index over your own policies and reference data, so an agent cites the rule it applied instead of recalling it.

UiPath Action Center

Where a human step actually lands. The approver gets a task with the agent's reasoning and sources attached, and the process resumes on their decision.

UiPath Orchestrator

Schedules the robots, holds queues and retries, and issues the least-privilege credentials each automation runs under.

UiPath Integration Service

Connectors to the systems of record, so the process talks to them through a maintained integration rather than a bespoke script.

Systems it touches

  • Patient administration system and its scheduling module
  • Master patient index
  • Coverage or scheme eligibility service
  • Referral channel — portal, exchange feed or monitored mailbox
  • Patient notification channel

What the run leaves behind

  • The referral as received, and the administrative fields read from it
  • Every candidate patient record considered, and which one the match resolved to
  • The coverage check, its result, and the scheme rule applied
  • Who confirmed the registration or changed the slot, on what basis, and when
  • The appointment reference written back to the referring source
UiPath, UiPath Maestro, Agent Builder, Action Center, Document Understanding, Orchestrator and Integration Service are products of UiPath. Naming them describes what we build on, not a partnership or an endorsement. The same process can be orchestrated on another platform, or on Agent Core where a lighter footprint suits you better.
Work With Us

Talk to us about a process like this.

The most useful first conversation is about a real process — where it stalls, who approves what, and which systems it touches.