Technology
Automation you can check, step by step.
Our approach comes down to one rule: use plain code for steps with one right answer, use a model where reading or writing language is the job, and check the evidence before anything changes. This page explains each part and how far we have built it.
Architecture
Four stages, each part owned by code, a model or a person. This is how ENT Clinical OS is built today. Other workflows would swap the parts in the first two stages and keep the rest.
1 · Capture
Speech to textModel
A hosted speech service transcribes the dictation.
Source storeCode
Keeps the transcript or typed entry as the source of record.
2 · Propose
ExtractionModel
Proposes structured findings. Each must quote its source.
Output parsingCode
A cut-off or unreadable reply stops the run. It is never read as a shorter list.
3 · Check
Policy gateCode
Allowed vocabulary, and a quote must exist.
Evidence supportCode
Quote found in the source, hedges caught, value language present.
Sufficiency rulesCode
Required facts present, such as which side.
4 · Decide and act
ReviewPerson
Accept, edit, reject, or answer the question on a held finding.
Authority checkCode
Only a clinician account can accept, and a held finding can't be accepted.
WriteCode
The accepted finding enters the note.
Workflow state machine
Every proposal has one state at a time, and only listed moves are allowed. The model never picks the next state.
Audit chain
Every move appends a row carrying a keyed hash of the row before it, so an edited or deleted row is detected.
The run
The same five steps for any workflow we build. The detail line under each step shows what it does in ENT Clinical OS today.
- 01Code
Input
Capture what happened, with its source.
In ENT Clinical OS: Dictation is transcribed by a speech-to-text API. Typed entries are kept as typed.
Built · accuracy not measured - 02Model
Interpret
Read the input and propose structured steps.
In ENT Clinical OS: A language model proposes findings. Each one must quote the doctor's words.
Built · accuracy not measured - 03Code
Verify
Check the source supports the step, and nothing required is missing.
In ENT Clinical OS: The quote is found in the transcript, hedges are caught, and the side must be stated.
Tested - 04Person
Authorize
A named person with authority accepts the step.
In ENT Clinical OS: Only a clinician account can accept a finding, and a held finding can't be accepted.
Tested - 05Code
Execute
Make the change, and record who allowed it.
In ENT Clinical OS: The finding enters the prototype's own note, with an audit row. No hospital system integration yet.
Built · prototype database
Pause and ask
The evidence supports the step, but a required fact is missing.
“Which side is this finding for: left, right, or both?”
Hold
The source is hedged or contradicts the step.
“Patient kept moving” holds a finding, however confident the rest sounds.
Escalate to review
The source partly matches. A person has to judge it.
A clinician abbreviation the word check doesn't know goes to the doctor.
Refuse
The step has no source at all, or isn't in the allowed vocabulary.
A finding for an ear nobody examined is never created.
Code where the answer is fixed. Models where language is the job.
A model can answer “is this word in the list?” correctly most of the time. Code answers it correctly every time, instantly, for free, and the same way tomorrow. We give each step to whichever does it better, and we write the choice down.
| Step | Done by | Why |
|---|---|---|
| Turn speech into text | Model | Language is messy. Rules can't cover how people talk. |
| Propose structured findings from text | Model | Needs reading comprehension, and must quote its source. |
| Is this term in the allowed vocabulary? | Code | One right answer. A lookup is exact and free. |
| Is the quote really in the transcript? | Code | String matching with a strict threshold beats asking a model. |
| Did the speaker hedge? | Code | A phrase list is auditable and gives the same answer twice. |
| Was the required side stated? | Code | A missing fact should be asked for, not inferred. |
| May this step be accepted? | Person | Authority belongs to someone who answers for it. |
Seven parts, and their status
- 01
Workflow-first design
We write the workflow down before any prompt: named states, the moves allowed between them, and who owns each move. A proposed finding in our ENT prototype goes from proposed, through evaluation, to held, under review, eligible, rejected or authorized. Nothing outside that list can happen, and every outcome points to one branch of code.
Tested in prototype - 02
Minimal, bounded reasoning
Models do the steps that need language: transcribing, reading, proposing. They don't decide the next state and they have no tool that writes to the record. When a cheap check already shows the evidence is weak, the pipeline skips the extra model call. More reasoning can't create a fact nobody recorded.
Tested in prototype - 03
Evidence provenance and support
Every proposed finding carries the words it came from. Code finds those words in the transcript and stores the transcript's version, not the model's. Then it checks support: hedge phrases hold a finding, and the quote has to contain language for the claimed value. We have also written a model second opinion that can only make a verdict more cautious. The app does not switch it on yet. These checks are word-level heuristics, not clinical judgment.
Tested · heuristic - 04
Information sufficiency and missing information
Supported isn't the same as enough. A quote can back “perforated” and still leave out which ear. Our rules catch a set of named gaps and turn each into a question a person can answer. Behind that sits a research question we are working on: can you measure, in general, whether the information you have is enough for a given action? We have not established such a measure.
Rules tested · general measure is research - 06
Human review and controlled execution
The doctor sees the draft note with each finding's source, accepts or edits findings, and signs. Held findings stay visible with the reason and the question that would clear them. Nothing reaches the signed note without a clinician's action.
Built in prototype - 07
Auditability and measurable evaluation
Every transition writes an audit row. In the prototype those rows form an append-only chain: each one carries a keyed hash of the row before it, so an edit or deletion is detected. What we can't show yet is outcome evidence. We haven't measured extraction accuracy, hold rates or time saved on real consultations. That is the next piece of work, and we won't claim results before we have them.
Audit chain tested · outcomes not measured
When something fails
A workflow that only works on the happy path isn't controlled. These are the failures the prototype handles today, and how.
- The speech or language service is down, or not configured
- The request fails and the screen says so. There is no stand-in transcript or scripted fallback, and the clinician can still write the note by hand.
- The model's reply is cut off or unreadable
- The run stops with an error. A truncated list is never read as a shorter list of findings.
- A proposal has no quote, or isn't in the vocabulary
- It never becomes a finding. Policy runs before anything else.
- The quote isn't in the transcript
- The proposal is dropped and listed with the reason. Kept quotes use the transcript's words, never the model's.
- The evidence is hedged, or a required fact is missing
- The finding is held with the reason and the question that would clear it.
- Someone tries to accept a held finding, or isn't a clinician
- The call is refused with an error rather than quietly ignored.
Limits
What this approach doesn't do yet
We would rather you read these here than discover them later.
The evidence checks are word-level heuristics
They catch a missing quote, a hedge phrase or a missing side. They don't understand clinical meaning, and they will miss contradictions phrased in ways the rules don't know.
Accuracy hasn't been measured
We haven't measured transcription or extraction accuracy on real clinic speech, in English or other Indian languages.
The vocabulary is a placeholder
The allowed ENT vocabulary has not yet been reviewed by an ENT clinician.
Sufficiency is a set of rules, not a measure
The rules catch named gaps, such as a missing side. A general way to decide whether information is enough for an action is research, not a result.
Approval isn't bound to the exact text
Designed so that an edit after approval would void it. Not built.
No adversarial testing, no clinical evaluation
No one has attacked the system on purpose, and no clinic has used it with real patients. Treat it as a prototype.
Tested in depth in one domain
ENT documentation is the only workflow built end to end. An earlier benefits-eligibility prototype suggests the pattern carries over, but that is one data point.
Deeper
The research model, briefly
For readers who want the formal version of the sufficiency question. This is a working model under study, not a result.
Show the model
Let X be what the system knows at a point in the workflow, and a the action it is about to take. A decision rule d = π(X, a) returns one of: act, ask for more, pass to a person, or refuse.
The bar for “act” depends on the consequence of a, not only on X. Showing a suggestion has a low bar. Writing to a record has a high one. Consequence sets the bar; it isn't one more term inside a score.
When X falls short, the system should ask for the fact that helps most. One way to rank candidate questions q is expected information gain about the task T: H(T | X) − Eanswer[H(T | X, answer to q)].
Our prototype runs a version of this ranking as a labelled research estimate. Its probabilities are engineer estimates, not clinical data, and it never writes to the record. Whether this framing holds up is exactly what the research is testing.