Use AI in Medicine From Search to Action Lesson 1 of 4 intermediate 6 min read

From Search Engines to Answer Engines: Who Assembles the Clinical Picture?

Define the clinical question before building an AI interface, and learn what a useful answer must preserve.

In This Lesson

Read with a defined objective.

View the complete course

Learning objectives

  • Distinguish clinical judgment from information assembly.
  • Contrast search retrieval against an answer engine's claims.
  • Draft a six-line answer contract with explicit question, scope, and boundaries.
  • Evaluate acceptable and unacceptable answers for hidden assumptions.

Prerequisites

  • Familiarity with clinical documentation; no coding required.

Use AI in Medicine From Search to Action

Listen to this post

From Search Engines to Answer Engines: Who Assembles the Clinical Picture?

0:00 / 0:00
On this page 8 sections
Course lessons 4 lessons

A patient’s blood glucose log arrives as a mobile phone photograph. The current medication list sits in another section of the chart. The latest portal message describes a recent dosage adjustment that has not yet reached that list.

Consider this routine review in a maternal-fetal medicine practice. The information exists across several systems. The clinician still has to assemble it manually before deciding what it means.

That assembly work is where I begin when designing better clinical software.


I. The Low-Value Tax Includes Assembly

Searching is often only the visible fraction of a larger chore. We find the document, locate the relevant sentence, check its date, cross-reference another screen, and decide whether the pieces belong together.

Some of that work is clinical judgment. Some is an administrative tax imposed by disconnected software. A useful architecture begins by separating the two.

The distinction matters because a faster search box leaves the underlying burden intact. The clinician retrieves each fragment sooner, but still performs every reconciliation by hand.

I want the interface to reflect the question that brought me to the chart.

II. Search Retrieves. An Answer Makes a Claim.

A standard search box returns every chart item containing the word “glucose.” An answer-oriented interface attempts something more specific: “What information is available for this week’s glucose review, and what remains unresolved?”

The second interface must select, organize, and interpret. Its output is a claim about the record. That transition changes the responsibility of the software.

For our glucose-review example, an honest answer might say:

A patient-submitted log covers Monday through Sunday. Two entries lack timing labels. The medication list and the latest patient message disagree about the current regimen. The regimen needs reconciliation before this summary can support a treatment decision.

That answer is valuable even though it does not recommend a medication adjustment. It organizes the evidence and exposes the next question.

An interface that simply generates “Everything looks stable” has attempted a larger clinical conclusion while providing less usable information. Fluency never compensates for missing evidence.

Answer systems also need distinctions that conversational interfaces frequently blur. A general synthesis about diabetes management during pregnancy draws on external medical literature. An answer about a specific patient requires correctly identified, current chart records. When a system provides a polished paragraph, it can conceal which of these two tasks was actually performed.

III. Write an Answer Contract

Before writing code or selecting a model, I write an answer contract: a plain-language specification of what the system must return and what it must leave unresolved.

As I argued in The Prompt Is a Clinical Specification, prompt engineering is not a contest for clever phrasing. It is the disciplined work of defining sources, constraints, and boundaries.

For our glucose-review scenario, the answer contract provides those explicit boundaries:

ElementRequired behavior
QuestionWhat information is ready for clinician review?
ScopeOne identified patient and one stated reporting interval
EvidenceOriginal log, relevant medication records, and recent messages
OutputOrganized findings with direct links to their source passages
Missing InformationExplicitly identify absent, ambiguous, or conflicting details
BoundaryDo not infer an unconfirmed regimen or issue treatment instructions

This contract serves as a testable specification. A clinical colleague can review it and spot a missing safety boundary. A developer can build against it. A reviewer can determine whether the output complies.

“Summarize this chart” provides none of those boundaries. It allows the model to decide what counts as relevant, how far back to look, and when an unresolved conflict can disappear into prose.

The contract makes those choices visible before they harden into software behavior.

IV. Keep Retrieval Within Reach

Search remains indispensable because clinicians often need to inspect the raw information landscape. A source excluded from an automated summary might change a clinical decision. An atypical reading might require inspection rather than compression.

In practice, I maintain three concurrent views of the work:

  1. The original source records
  2. The organized evidence cards
  3. The proposed clinical answer

Switching between these views must preserve the patient context, the reporting interval, and the clinical question.

A tool that produces a draft in three seconds but requires ten minutes of forensic chart checking has not saved time. It has simply relocated the burden.

V. Build the Smallest Useful Answer

The first prototype does not require software code. Use a fictional glucose log, a fictional medication list, and a contradictory patient message. Ask a colleague to produce the required output using only the answer contract.

If two clinicians cannot agree on what the answer should contain, the workflow needs definition. Adding an AI model will not resolve clinical ambiguity.

Once the expected output is stable, identify which parts require language interpretation. Reading a handwritten note or free-text message benefits from a language model. In contrast, verifying dates, counting entries, and validating required fields belong in deterministic code.

This is where physician judgment becomes a decisive design asset. We understand which missing detail halts a clinical decision. We can build that check into the system before an interface glosses over it.


Observe

Choose one repetitive chart review in your practice. List each screen you open and the specific question it answers. Use a fictional case to map the steps.

Interrogate

Label each step as retrieval, reconciliation, or clinical judgment. Which steps consume your focus because the software failed to organize the data?

Build

Draft a six-line answer contract using the table structure above. Write one acceptable output and one unacceptable output. Explain the difference in one sentence.


Share this article

Share X / Twitter Bluesky LinkedIn

Related articles

AI in Medicine

An Answer Is Not Enough: Build the Evidence Into the Interface

Design clinical AI answers that expose sources, missing context, and disagreements without asking clinicians to reconstruct the chart.

· 6 min read
answer enginesclinical aidata provenance
AI in Medicine

Design the Workflow Before You Build the Agent

Complete a clinical AI design canvas and turn it into a small, testable specification for an accountable workflow.

· 8 min read
agentic aiclinical aisystem design
AI in Medicine

From Answers to Action: The Human Checkpoint Is Part of the Architecture

Turn a clinical instruction into a bounded workflow with explicit approval, execution states, and recovery from failure.

· 7 min read
agentic aiclinical aihuman in the loop
Chukwuma Onyeije, MD, FACOG

Chukwuma Onyeije, MD, FACOG

Maternal-Fetal Medicine Specialist

MFM specialist at Atlanta Perinatal Associates. Founder of CodeCraftMD and OpenMFM.org. I write about building physician-owned AI tools, clinical software, and the case for doctors who code.