Every front desk knows the pile with no name on it. Plenty of what reaches a clinic arrives without a person attached to it in the software: a faxed referral, a scanned letter, a report from another office. The name is right there on the page. The system was simply never told whose it is.
On ARAGS, a patient's record shows in one place what the clinic's system holds about them: documents, dictations, calls and texts, appointments, notes. Erasing a person is a single act: the record and their appointments go, and each linked document is erased with them or kept as the clinic's own, the clinic's choice one document at a time.
A document can be filed to a person when it is uploaded. But the question can be skipped, and some days it will be. So a patient's record has a section directly under their documents called Possibly about this person. It lists the clinic's unfiled documents that actually mention the person, and it leaves the filing to someone who can read them. Here the software goes looking for a person instead of waiting to be told.
Search by meaning, decide by the words
When a record is opened, the system searches the documents it has read in, by meaning: once for the person's name, and once for the name with their phone number. It searches only documents filed to no one. A document already filed to this person is listed under their Documents; a document filed to anyone else is never read at all.
Here is the design choice I care most about. A search by meaning is good at putting the likeliest pages first. It is not good at yes or no. How closely a page scores against something as short as a name says more about what the page is about than about whether the name is written on it, so there is no score at which a page can honestly be called “about” someone, and we did not pick one. The search only decides the order. Whether a document is shown at all is decided by something plain: does a passage in it actually contain the person's name, or their number?
The name counts the way people write names: as it is on the record, last name first with a comma, or first and last alone for a name of three parts or more, whatever the capitals or accents, and only as whole words. The number counts with or without its brackets, dashes, dots or spaces, and with or without the leading 1. If the number on the record is the clinic's own, it is left out of the search, because the clinic's number is on everything the clinic writes and says nothing about the patient.
Each document gets one row: its file name, when it was added, what it mentions (the name, the number, or the name and the number), and whether it was an upload or a dictation. Rows that mention both come first. The clinic's blank templates are never listed. And a row never shows the document's words: the server reads the passage to check for the mention, and none of its text is sent to the screen.
The clinic files, and every filing has a receipt
Beside each row is Link. Pressing it reads back which file will go to whose record and waits for a confirmation. Once confirmed, the document moves up into the record's Documents and a receipt goes on the clinic's audit trail: a document was linked to a record, from the dashboard. Like the erasure receipts, it holds neither the file name nor the patient's name. Unlink reverses it, with a receipt of its own; the document goes back to being the clinic's own, and back among the suggestions.
If someone files that document to a different patient between the search and the click, Link will not move it. The section says so and searches again. A suggestion can never take a document away from the record it was filed to.
And looking is only looking. The search writes nothing, files nothing and changes nothing. The only trace it leaves is a line in our logs that counts what it read and what it listed, with no name, no number and no word of any document.
Where it stops
“Possibly” is in the name on purpose, and the limits are worth saying plainly.
- Two people can share a name or a number. Two patients with the same name, a family on one phone line. The record's page says so beside the list: another person may share either, so check each before you link it.
- A very short name can match an ordinary word. The match is on whole words, but a name that is also a common word will turn up where it is only a word. Those rows are suggestions a person checks, not facts.
- It can only find words it can read. A scanned page whose words did not come through when it was read in has nothing in it for this search to find, and this section will never suggest it.
- On a large library, it reads only the nearest passages. When the search has to stop short, the section says so in words: a document may be missing here. And if the search cannot run at all, it says that too, rather than showing an empty list that looks like “none found.”
The check runs it every night
The check that rehearses the platform every night reads this section too, on two synthetic clinics. Each night the check adds a document that names that night's made-up person, filed to no one, and confirms three things: the document is suggested before it is linked, suggested again after it is unlinked, and gone from the suggestions once it is linked back. Any one of the three failing fails the night.
So a patient's record on ARAGS shows what the clinic's system holds about a person and, under that, clearly labelled, what it might hold without knowing. The clinic is still the one who files. The software's job is to put the letter with the patient's name on it in front of someone who can decide, and to say so when it may have missed one.
Want software that shows you what it found, and leaves the filing to you? Apply for Beta Access.