Home / Insights / AI Agents and Automation

AI Agents and Automation

AI Referral Processing in a Clinical Operations Platform: How We Turn Unstructured Imaging Referrals into Structured Triage

Imaging referrals often arrive as documents written for people, not systems. This is how we approach AI-assisted referral processing in the Clinical Operations Platform Suite we built for an Australian healthcare client: what the AI does, what staff still decide, and the controls that keep it safe.

TopicsAI Agents and AutomationGenerative AI and LLMsBusiness Operations and Integration

Key takeaways

  • The goal of AI referral processing is a structured, reviewable referral record and an urgency signal, not an automated clinical decision.
  • Design the target data model first; a referral record aligned with a recognised structure such as the HL7 FHIR ServiceRequest keeps later integration simpler.
  • Urgent-referral flagging should err towards over-flagging and always put a person in front of the flag, with the reasons visible.
  • Every extracted field needs provenance (where in the document it came from) so staff can verify quickly instead of re-reading the whole referral.
  • Privacy and audit controls under the Australian Privacy Principles are part of the architecture, not a compliance step at the end.

A referral is the start of almost every imaging appointment. It tells the practice who the patient is, who referred them, what examination is requested, why, and how urgently. In much of healthcare that information still arrives as a document designed to be read by a person: a scanned letter, a PDF exported from practice software, a printed form, sometimes a fax. Booking staff then re-key details, interpret handwriting and decide which referrals need attention first.

As part of the Clinical Operations Platform Suite we designed and built for an Australian company whose healthcare customers operate across Australia and New Zealand, one of the six platforms is an AI-assisted imaging referral and booking system in which urgent referrals are flagged automatically. This article explains how we approach that kind of workflow as engineers. It is written for clinical operations leads, practice managers, CTOs and product owners in healthcare who are considering similar automation. We describe our general engineering approach rather than client-specific configuration, and we do not quote performance figures, because the right targets depend on each provider’s referral mix and clinical governance. If you are exploring document automation more broadly, our document processing services cover capture, recognition, validation with confidence scoring, review interfaces and integration with downstream systems.

Why are referrals hard to automate?

Referrals look simple until you try to process them by machine. The difficulty is not one hard problem but many small ones that combine.

  • Format variety. Referrals come from many referrers using different practice systems, templates and habits. Some are typed, some handwritten, some a mix with stamps and signatures.
  • Channel variety. Documents arrive through secure messaging, email, upload portals, scanning and, still in places, fax. The Australian Digital Health Agency’s secure messaging guidance notes that using post, fax and email to share patient and clinical information puts it at risk, and positions secure messaging as the foundation for safely exchanging referrals and reports. Even so, a practice usually has to handle every channel its referrers use.
  • Clinical language. The reason for referral, relevant history and the requested examination are written in free text, abbreviations and shorthand that vary by specialty.
  • Urgency is implicit. A referrer may tick an “urgent” box, write “please expedite”, or simply describe findings that a clinician would recognise as time-sensitive.
  • Errors are costly. A wrong date of birth can attach a referral to the wrong patient record; a missed urgent referral can delay care.

The design principle that follows is straightforward: automation should reduce re-keying and surface risk early, while leaving clinical judgement and final booking decisions with qualified staff.

What should the system produce?

Before choosing any model, we define what a “processed referral” is. That target record drives the extraction design, the review screen and the integrations.

A structured referral record

It helps to align the record with a recognised healthcare structure even if you are not exchanging FHIR messages yet. The HL7 FHIR R4 ServiceRequest resource describes a request for a diagnostic or other service, including referrals. Its elements map well to what booking teams need: a status and intent, a priority with the codes routine, urgent, asap and stat, a code for the requested service, reasonCode and reasonReference for the clinical justification, and supportingInfo for additional clinical information.

Field groupExamplesWhy it matters
Patient identityName, date of birth, contact details, identifiers on the referralMatching to an existing patient record without creating duplicates
ReferrerName, practice, provider number where present, contactValidity checks and sending results back
Requested serviceModality and body region, as written and as mappedBooking the right equipment, time and preparation
Clinical reasonFree-text reason, relevant history, questions for the radiologistProtocol choice and urgency assessment
PriorityExplicit urgency markers and AI-suggested flag with reasonsOrdering the work queue
ProvenancePage and region for each extracted value, confidenceFast human verification and audit

Action: agree this record with booking staff and clinicians before building anything. If the people who use it cannot read the record and decide, the extraction is solving the wrong problem.

How does the processing pipeline work?

We structure referral processing as a pipeline of small, testable stages rather than one large AI call. Each stage has clear inputs, outputs and failure handling.

  1. Intake. Collect referrals from every channel into one queue, store the original document unchanged and record when and how it arrived.
  2. Normalisation. Convert files to a consistent format, split multi-referral uploads, detect page orientation and quality problems, and reject unreadable files back to a person rather than guessing.
  3. Recognition. Extract text and layout. For clean digital PDFs this is direct; for scans and handwriting it needs OCR or a vision-capable model.
  4. Field extraction. Populate the target record. We ask the model for a fixed schema with evidence for each field, and we validate the output against that schema in code before anything is saved.
  5. Validation. Apply deterministic checks: date formats, plausible dates of birth, required fields, known referrer details, matches against existing patients. Rules are cheaper and more predictable than models for these checks.
  6. Urgency assessment. Combine explicit markers with an AI-suggested urgency flag and the reasons for it.
  7. Human review. Present the record beside the original document, with low-confidence fields and flags highlighted.
  8. Booking and hand-off. Once confirmed, the referral moves into booking, and the confirmed data feeds downstream systems.

Why a pipeline rather than one prompt

Separating the stages lets us test each one with its own evaluation set, swap a recognition engine without touching validation, and explain exactly where an error was introduced. It also means that when a model is unavailable or uncertain, the referral still flows to a person with the original document instead of being stuck. We cover how we build those evaluation sets in testing AI features with evaluation sets and regression checks.

How should urgent referrals be flagged?

Automatic urgent-referral flagging is the feature with the most clinical weight, so it gets the most conservative design.

Principles we apply

  • Flag, do not decide. The system raises a flag and moves the referral up the queue; a qualified person confirms urgency and acts. The AI never downgrades an urgency stated by the referrer.
  • Prefer false alarms to misses. Thresholds are tuned so that the system errs towards flagging. A false alarm costs a minute of staff time; a miss may cost much more.
  • Show the reasons. Each flag links to the words or markers that triggered it, so staff can judge it quickly.
  • Combine signals. Explicit urgency boxes and phrases are handled by rules; language that implies urgency without stating it is where a model adds value.
  • Keep the clinical rules owned by clinicians. What counts as urgent for a given service is a governance decision, documented and versioned, not something engineers infer.

Is this a medical device question?

Software that prioritises or triages clinical work can raise regulatory questions about whether it is a medical device, depending on what it does and how its output is used. Those questions belong with the provider’s regulatory and legal advisers. Our engineering contribution is to keep the boundary clear: the software organises and highlights information for qualified staff, and every flag is reviewable and logged.

Action: write down, with your clinical lead, which signals must always trigger a flag, which may trigger one, and who confirms. Test those rules with real, de-identified examples before go-live.

What does good human review look like?

The review screen decides whether automation saves time or simply moves work around. If staff have to re-read every referral from scratch, the extraction has added a step rather than removing one.

  • Side-by-side view. The original document on one side, the structured record on the other, with each field linked to its location in the document.
  • Attention where it is needed. Low-confidence fields, failed validation rules and urgency flags are highlighted; high-confidence fields that pass validation are visible but not demanding.
  • Fast correction. Staff can correct any field in place; corrections are recorded with who made them and when.
  • Clear outcomes. Confirm, return to referrer for clarification, or escalate to a clinician, each with a reason.
  • Feedback into quality. Corrections are aggregated so the team can see which fields, referrers or document types cause most errors and improve the pipeline.

Handwriting and poor scans deserve special attention. We discuss setting realistic accuracy targets and review loops for those documents in handwritten and scanned documents with modern AI.

For example, a practice receiving a mix of typed PDFs and handwritten forms might decide that typed referrals with all fields above a confidence threshold need only a quick confirmation, while every handwritten referral gets a full field-by-field check. That is an illustrative policy, not a recommendation for any specific practice.

Which privacy and audit controls are built in?

Referrals contain health information, which is sensitive information under Australian privacy law. The Australian Privacy Principles, summarised by the OAIC’s quick reference, set the frame: APP 6 governs use and disclosure, APP 8 the steps required before disclosing personal information overseas, APP 11 the reasonable steps to protect information from misuse, loss and unauthorised access, and APP 12 a person’s right to access information held about them.

How that translates into the system

ConcernEngineering control
Unauthorised accessRole-based access, least privilege, encryption in transit and at rest, session controls
Who saw or changed whatImmutable audit log of views, edits, flags, confirmations and exports
AI service data handlingModel providers and regions chosen with the client; contractual terms checked for retention and training use; only the data needed is sent
Overseas disclosureHosting and processing locations documented so the client can assess APP 8 obligations with its advisers
RetentionOriginal documents and derived records kept and deleted according to the client’s policy
Testing with real dataDe-identified or synthetic referrals for development and evaluation wherever possible

Audit is a recurring theme across the suite: the incident and risk portal, for example, carries a full audit trail, and the radiology dictation-to-report workflow uses locked review sessions. The referral system follows the same pattern. Our broader thinking on AI in clinical records is in AI in electronic health records.

For AI risk governance more generally, we use the NIST AI Risk Management Framework, released in January 2023 with a Generative AI Profile added in July 2024, as a checklist for mapping, measuring and managing risks alongside the client’s own clinical governance. None of this is legal advice; providers should confirm their obligations with their own advisers.

How do you roll it out and keep it reliable?

A step-by-step rollout

  1. Collect a representative sample. Gather de-identified referrals across referrers, channels, modalities and quality levels, including the awkward ones.
  2. Label the ground truth. Have booking staff and clinicians record the correct fields and urgency for each sample.
  3. Measure field by field. Report accuracy per field and per document type rather than one overall score, and track urgent-referral misses separately.
  4. Run in shadow mode. Process live referrals in parallel while staff work as usual, and compare.
  5. Go live with review on everything. Start with every referral reviewed; relax only where evidence supports it and governance approves.
  6. Monitor continuously. Watch correction rates, flag confirmation rates, processing time and failures by channel. Re-run the evaluation set whenever a model, prompt or rule changes.

Risks to plan for

  • Silent model changes. Pin model versions and re-test before upgrading.
  • Template drift. A large referrer changing its template can shift accuracy overnight; monitoring by referrer catches it.
  • Over-trust. As accuracy improves, reviewers may stop checking. Periodic audits of confirmed records keep review meaningful.
  • Integration failures. Downstream booking or accounting integrations need retries, alerts and a manual fallback.

Readiness checklist

  • Target referral record agreed with booking staff and clinicians.
  • Urgency rules documented, versioned and owned by a clinical lead.
  • Evaluation set built from de-identified, representative referrals.
  • Review screen tested with real users for speed and clarity.
  • Privacy, hosting and AI provider terms reviewed against the APPs with the provider’s advisers.
  • Audit logging, monitoring and manual fallback in place before go-live.

Frequently asked questions

Does the AI decide which referrals are urgent?

No. In our approach the system flags referrals that appear urgent and moves them up the queue, showing the reasons. A qualified person confirms urgency and decides what happens next, and the system never downgrades urgency stated by the referrer.

Can this work with handwritten and faxed referrals?

Yes, with lower confidence than clean digital documents. Handwritten or poor-quality scans are routed to more thorough human review, and unreadable documents are returned to a person instead of being guessed.

Do we need FHIR to use AI referral processing?

No. Aligning your referral record with a structure like the FHIR ServiceRequest resource simply makes later integration easier. The system can feed existing booking and practice systems through whatever interfaces they support.

Where is patient data processed?

That is a design decision made with each client. We document hosting and AI processing locations and provider terms so the healthcare organisation can assess its obligations under the Australian Privacy Principles with its own advisers.

How do you know the extraction is accurate enough?

We measure accuracy per field and per document type against a labelled, de-identified sample, run the system in shadow mode before go-live, and keep monitoring correction rates after launch. The acceptable threshold is set with the client’s clinical governance.

Sources and methodology

Guidance reflects PoliteTech delivery experience. The external references below informed specific points in this article.

  1. Australian Digital Health Agency: Secure messaging — accessed 10 November 2026. Risks of sharing clinical information by post, fax and email, and secure messaging as the foundation for exchanging referrals and reports.
  2. HL7 FHIR R4: ServiceRequest resource — accessed 10 November 2026. Structure of a referral or service request, including status, intent, priority codes (routine, urgent, asap, stat), reason and supporting information.
  3. OAIC: Australian Privacy Principles quick reference — accessed 10 November 2026. APP 6 use and disclosure, APP 8 cross-border disclosure, APP 11 security and APP 12 access.
  4. NIST: AI Risk Management Framework — accessed 10 November 2026. AI RMF release in January 2023 and the Generative AI Profile (NIST AI 600-1) in July 2024, used as a risk governance checklist.

Could AI-assisted intake reduce re-keying in your referral workflow?

Tell us how referrals reach your team today, and we will help you scope a safe, reviewable first step.