Many labs still receive a large share of orders on paper: faxed requisitions from small practices, scanned forms from nursing homes, and printouts patients carry to a draw station. Each one is typed into the laboratory information system by hand, and every typing error becomes a wrong test, a wrong patient or a billing hold.
This post is for lab operations and engineering teams automating that order entry. It covers field extraction, matching tests to the compendium, patient and provider matching, the verification queue, incomplete requisitions and how to measure the result.
What is lab prescription automation using AI?
Connecting order sources to your LIS?
Our lab integration team connects fax intake, client EHRs and reference labs to laboratory information systems.
Lab prescription automation using AI is the process of turning faxed, scanned or photographed test requisitions into orders in a laboratory information system, with OCR and a model extracting the fields and a person verifying them. Agnotic Technologies builds these pipelines for labs that still receive paper orders from clients.
This is the receiving side of lab ordering. The lab cannot change how a small client writes its orders, so the system has to read whatever arrives, from typed forms to handwriting on a client's own template.
What fields does a requisition carry?
A requisition carries who the patient is, who ordered the tests, which tests, why, and who pays. The extraction model needs a target list of fields, each with a type and a rule for what counts as complete.
- Patient: name, date of birth, sex, address and phone, plus any client account number.
- Ordering provider: name, practice, NPI and a contact for critical results.
- Tests: ticked boxes on a printed menu, or names written by hand.
- Diagnoses: ICD-10-CM codes or written reasons for each test.
- Billing: insurance name, member id, or client or patient billing.
- Specimen: collection date and time, source and who collected it.
Write the completeness rule for each field with lab operations and billing before any model work starts. Some gaps stop testing, such as a missing test or patient, while others only stop billing, and the queue should treat them differently.
How does OCR and field extraction work?
OCR turns the page image into text with positions, and an extraction step maps that text to the requisition fields. Known forms and unknown forms need different approaches.
- Known client forms: a template per form version, with checkbox positions mapped to tests.
- Unknown forms: a layout model or language model that finds fields by label and context.
- Handwriting: read with a handwriting-capable OCR engine, and always sent for review.
- Every field: the value, its position on the page and a confidence score.
Keep the position of each value. The verification screen uses it to highlight where a value came from, which is what makes review fast.
Fax quality varies, so clean the image before OCR: straighten skewed pages, remove fax headers and noise, and detect pages that arrived upside down. Poor scans should go to review with a warning rather than produce confident wrong values.
Matching tests to the compendium
Test matching turns what the client wrote or ticked into the lab's own order codes. It is the step where a wrong guess costs most, because it decides what the lab actually runs.
For template forms, map each checkbox to a compendium code once, and review the map when the client changes its form. For written names, match against a synonym list per test, built from past orders, and let the model choose only from codes in the compendium, never generate one.
Treat near matches as questions, not answers. "CBC" and "CBC with differential" are different orders, and a written "thyroid panel" may mean different tests to different clients, so ambiguous names go to the verification queue with candidate codes listed.
How do you match the patient and the ordering provider?
Match the patient against the lab's records for that client using name, date of birth and any account number, and match the provider by NPI. A new patient is created only after verification, never automatically.
HIPAA requires covered health care providers to obtain a National Provider Identifier (NPI) and use it on standard transactions, such as claims, wherever a provider identifier is required.
Look the NPI up against the lab's provider file and a public registry copy, and check that the name matches. A missing or mismatched NPI is a common reason for billing holds, so flag it at intake rather than after testing.
What belongs in the verification queue?
The verification queue holds every draft order until a trained staff member confirms it against the image. It shows the page and the draft order side by side, with low-confidence and unmatched fields highlighted.
The CLIA test request standard, 42 CFR 493.1241(e), says that if a laboratory transcribes or enters test requisition or authorization information into a record system or a laboratory information system, it must ensure the information is transcribed or entered accurately.
- Required fields: the order cannot be released until each one is confirmed or held.
- Highlights: fields below the confidence threshold, ambiguous tests and new patients.
- Shortcuts: keyboard actions to accept, correct or hold, so review stays quick.
- Record: the extracted value, the confirmed value and who confirmed it.
When the requisition is incomplete
An incomplete requisition goes on hold with a clear reason, and the lab contacts the client. The model must never fill a missing diagnosis, test or signature with a likely value.
Build the hold list into the queue: missing field, client contacted, time and outcome. When the client replies by fax, the new page should attach to the held order instead of creating a second one.
How does a verified requisition become an LIS order?
A verified requisition becomes an LIS order through the LIS API or an inbound order message, such as HL7 v2, created only when staff release it. The LIS assigns the accession number and the source image is attached to the order.
Intake also splits multi-page faxes into one record per order, because a single fax often holds several patients. After release, the LIS prints specimen labels, and the audit trail keeps every extracted and confirmed value with the name of the person who confirmed it.
Lab requisition automation failure points
Most failures come from trusting extraction too early or losing track of pages.
- Auto-release: orders sent to the LIS without review because confidence looked high.
- Merged pages: two patients' requisitions read as one order.
- Invented codes: a model allowed to produce test codes outside the compendium.
- Stale form maps: a client changes its checkbox layout and ticks map to the wrong tests.
- Duplicate orders: the same requisition faxed twice and entered twice.
Add a duplicate check on patient, tests and collection date, and alert when a known client form stops matching its template. Both catch problems before a specimen is tested against the wrong order.
A worked example: a nursing home's weekly draw orders
A regional lab receives a weekly fax from a nursing home with thirty requisitions on the home's own form. Intake splits the fax into thirty records and applies the home's form template.
Twenty-six orders arrive with all required fields matched and go to the queue with nothing highlighted. Three have handwritten test names flagged as ambiguous, and one is missing a diagnosis, so it goes on hold and the lab calls the home.
A staff member confirms the clean orders quickly, picks the right tests for the three ambiguous ones, and releases twenty-nine orders. The phlebotomist arrives with labels already printed.
Who owns each step of requisition automation?
Requisition automation crosses lab operations, client services and engineering.
- Lab operations: verification rules, staff training, hold handling and release.
- Client services: form templates, synonym lists and contact with clients about missing data.
- Compliance and billing: required fields, record retention and billing holds.
- Engineering: OCR, extraction, matching, the queue, the LIS connection and monitoring.
Give client services a simple way to add or update a client form template and its checkbox map. They see form changes first, and a template that waits weeks for an engineer means weeks of wrong or slow entries.
How do you measure requisition automation?
Measure accuracy per field and the work saved in the queue, not just how many pages were read. A field that staff correct often is a field the model or template has not learned.
- Field correction rate: confirmed values that differ from extracted values, by field.
- Queue time: minutes from fax arrival to order release.
- Hold rate: orders held for missing data, by client.
- Downstream errors: wrong test or wrong patient events traced to entry.
Share hold rates with clients. A practice that sees its own missing diagnosis count usually starts filling the field in.
What are requisition automation best practices?
Extract every field with its position and confidence, match tests only to compendium codes, match providers by NPI and create new patients only after review. Keep a person in the loop for every release.
Hold incomplete orders instead of guessing, check for duplicates, maintain a template per client form and track correction rates by field.
How can Agnotic help automate faxed lab requisitions?
Agnotic builds requisition automation for clinical and reference labs: fax and scan intake, extraction, compendium and NPI matching, verification queues and the connection to your LIS. Staff stay in control of every release, and the audit trail shows how each order was entered.
Automate requisition entry for your lab
We build intake and verification tools around your LIS and your clients' forms.
Related reading on Agnotic
Lab operations, fax intake and AI document work.


