Back to all insights

The Day Someone Asks About Your Database

A referral intake assistant, connected to a clinic's scheduling system one link at a time, shows how to test a first connection with a person confirming every entry.


Cover for The Day Someone Asks About Your Database, with a glowing gold database cylinder above the byline Celera Group.

In week six of a clinic’s AI pilot, the questions at the staff meeting change. Nobody asks whether it makes things up anymore. Someone asks whether it can read the scheduling system, and someone else asks why it cannot see the spreadsheet everyone actually uses.

Summary: A fictional referral intake assistant lets you test a first connection to real records against four traits. You will be able to recognize when a pilot has become engineering work, and to build the link so a person confirms every change.

The running example is invented. A clinic has an intake assistant that reads an incoming referral and proposes entries for the scheduling system. A staff member reads each proposal and confirms it. The assistant has earned its place on the trust questions, and now the clinic wants it connected to real records.

That shift means the tool has earned a place in the work. It also means the project has changed. The people involved will now spend less time on prompts and more on plumbing, and the clinic’s records will start showing every untidy habit they have accumulated. Nothing in this post was run against a live scheduling system. The trace below is a design, written so you can test your own.

Notice when the questions change

Trust questions ask whether the tool is accurate and whether it can really do that. Integration questions ask what it can read, what it can write, and which system holds the truth. The second set is good news, because people only ask it about tools they want to keep.

Two panels compare early trust questions with later integration questions.

The figure puts the two sets side by side. When you hear the right-hand questions, stop treating the project as a demo. Demos run on tidy inputs, and real systems hold years of inconsistent field formats, duplicate entries, free-text notes, and exports that only one person knows how to run.

Write the questions down as they arrive. The clinic’s list after week six has three lines: can it read the schedule, can it write to the schedule, and which is right when the spreadsheet and the schedule disagree. Each line has a name beside it, the person who would know. A question with no name beside it is a project risk, not a curiosity.

The first two questions are different in kind. Reading is low risk: the assistant looks at the schedule to find a match and changes nothing. Writing is where mistakes become records. Start with read access, and add write access only after the proposals have been right for a few weeks. Say what “right” means before you start. For the clinic it means the proposed fields match what the referral prints, on a week of real referrals, with the coordinator’s corrections counted and written down. Even then, the write happens after a person confirms, never before.

Stop waiting for clean data

The first reaction to messy records is often to conclude the data must be fixed before anything else can happen. That conclusion is usually wrong, or at least badly timed. Data cleanup with no working use case attached has no end point and no feedback, and teams that wait for clean data frequently never begin.

The spreadsheet question belongs here too. The sheet everyone uses holds knowledge the schedule lacks, such as which referring offices send incomplete faxes. Do not connect it on day one. Ask who maintains it and what would break if it moved. Treat it as the second link, and only if the first one is dependable.

Let the first connected workflow show you which data problems matter, and fix those. In the clinic, a mismatch in how patient names are typed is a more useful lead when it blocks a real referral than when it appears on an abstract audit, because it comes with a consequence attached.

Here is the mismatch in the fixture. The referral fax prints the patient as “Ellis, Jordan”. The scheduling system stores the same person as “Jordan Ellis”. A second chart exists for “Jordan Ellis Jr”. No audit would have ranked this on a list of forty problems. A referral that cannot be matched by name will rank it first.

Keep a short list of the data problems the pilot actually hits. Each line has the referral that exposed it, the consequence and an owner. “Name order differs between fax and schedule: blocked matching on two referrals, coordinator to confirm the rule.” That list is the cleanup plan. It is short because it was earned, and it grows only when the system meets a new problem.

Choose one connection and test it against four traits

Choose a single link between the assistant and one system, and make it dependable before adding another. Score the candidate against the four traits in the figure.

Table: four traits of a good first connection, each with what it looks like at the clinic.

First, a named owner who feels the pain of the current process, here the scheduling coordinator. Second, a bounded set of data, small enough to inspect by hand. Third, a clear approval step, so a person sees the result before it affects anything outside the team. Fourth, a way to tell when something went wrong, such as an alert or a log someone actually reads. In a healthcare setting, the sensitive data stays inside systems that have appropriate agreements, and the human check is built in from day one.

Score each trait yes or no, and write the evidence next to the answer. “Bounded data: yes, referrals only, no billing fields.” “Notice failure: no, nobody reads the log yet.” A candidate with two no answers is not ready. Fix those first, or pick a smaller link.

Candidate: referral intake -> scheduling entry
Named owner:      yes, scheduling coordinator
Bounded data:     yes, referrals only, no billing fields
Approval step:    yes, coordinator confirms each entry
Notice failure:   no, nobody reads the log yet   <- fix before launch

The answer to the last line is a task, not a verdict. Give the log a reader and a schedule, and rerun the score.

Trace one referral from fax to scheduling entry

Pick a single referral and write down what the assistant should propose before you run anything. The figure shows where the confirmation sits.

Sequence diagram: the referral reaches the assistant, the assistant proposes an entry, staff confirm, and only then does the schedule change.

Input: referral fax, one page, typed text
Assistant proposes: patient name, referring provider, requested service
If a field is blank: leave it empty and flag it for staff
Staff confirms: every entry, before it is written to the schedule

Read the diagram from the top. Nothing reaches the schedule until the last arrow, and the last arrow belongs to a person. The assistant proposes. The coordinator disposes. That split is the whole safety design for the first link. If the assistant misreads a fax, the coordinator sees it on screen before it becomes a record. Fixing a proposal costs seconds. Fixing a wrong entry that a patient already acted on costs far more.

An acceptable result lists only the fields the referral actually contains, flags the blank ones, and writes nothing until a person confirms. A result that fills a missing field with a plausible guess has failed the test.

Should and should not table: fields the assistant should propose from the referral, and things it should not do.

The table turns the block into a checklist. The coordinator uses it to grade a proposal in seconds. For the clean fixture, the expected proposal is below. It is written before any run, and every field in it comes from the referral.

Patient name:      Ellis, Jordan   (as printed; match step comes next)
Referring provider: as printed on the fax
Requested service: physical therapy evaluation, left knee
Flags:             none

The coordinator confirms or corrects each line. If the referral names a provider, the proposal names that provider. If it names none, the field stays empty and carries a flag.

Test the near-miss: two records with one name

Now run the neighbor case. The fax says “Ellis, Jordan” and the schedule holds two charts that could match. The expected result is a proposal that lists both candidates, picks neither, and asks the coordinator to choose. A proposal that links the referral to one chart by itself has failed, even if it guessed right this time.

Decision tree: one matching chart is proposed for confirmation, two possible charts are listed for staff to choose, none means a new entry is flagged.

The tree shows three branches. One match goes to the coordinator with the match shown. Two or more go to the coordinator as a short list. No match goes to the coordinator as a flagged new entry. Every branch ends in a person. The branches differ in what the person is asked to decide.

What to count: out of a week of real referrals, how many proposals carried the right fields, and how many went to the coordinator as a list or a flag. What the count does not show: whether the confirmed entries were right. A coordinator who clicks confirm in two seconds on every proposal may be trusting the assistant or may be skipping the read. Check how long confirmation takes, and ask her which proposals she corrected.

The owner of this check is the coordinator. She keeps the list of proposals she changed, and she brings it to the weekly look. The person who built the assistant does not grade it.

Build for revision

Expect the first version to be imperfect. The aim is a system that is easy to correct. Keep the instructions in readable files, keep a record of what each run did, and keep a short list of test cases that grows as surprises appear.

Flowchart: a run is logged, a surprise becomes a new test case, the fix is made, and the loop repeats.

This is the harness in practice: the context that gets fetched, the tools the model is allowed to call, the guardrails that stop a bad write, and the evaluation that catches regressions. Systems built this way improve month over month, whereas systems built for a flawless launch tend to be brittle and expensive to alter.

On a bad day, the scheduling system changes a field format, and writes start failing. The log shows it, and the alert tells the coordinator before the first patient notices. That is trait four doing its work. If nobody reads the log, the failure waits for a patient to find it.

Each surprise becomes a saved case with its expected result. After the name mismatch, the clinic’s set holds three:

1. Clean referral, one chart match       -> proposes fields, shows the match
2. "Ellis, Jordan", two possible charts  -> lists both, picks neither
3. Referral with no provider printed     -> leaves provider blank, flags it

Rerun the set whenever the instructions change. A case that passed last month and fails today is a regression, and the log should say which change caused it.

Run it for a few weeks, then decide on the next connection

Three numbers are worth writing down each week. The first is how many referrals the assistant handled. The second is how many proposals the coordinator corrected. The third is how many failures the log caught before a person did. Each number has its denominator in plain view, so “four corrected of thirty” is never shortened to a percentage. None of them shows whether patients were scheduled sooner. The clinic would need a different measure for that, and this post does not claim one.

Resist the pull toward a large data program. Build the one connection that would remove the most repeated effort, with a human approval step. Watch it for a few weeks, note what breaks, and fix those things.

The organizations that get through this stage rarely have tidier data than the ones that stall. They start with the records they have, accept visible flaws, and keep correcting them while the system does useful work. Your next action is to write the four-line referral trace above for your own intake step and show it to the person who would confirm the entries.

About Celera Group

Celera Group is a founder-led practice based in Franklin, Tennessee. We build and run practical AI systems for owner-led businesses, and provide a senior, part-time AI and data lead for mid-size organizations. One workflow at a time, with a person approving the output that matters.