A general model can talk about medicine. It does not know your formulary, your payer's cutoff or which note in this chart is the signed one. "What if AI knew healthcare" is a design question, not a slogan.
The useful version is a list of what the system must be given, and what it must refuse to guess.
What would it mean for AI to know healthcare?
An AI system knows healthcare, for a real workflow, when it can use your codes, your chart and your rules, and when it stops if one of those is missing. Agnotic Technologies builds that boundary so the model extracts and drafts, and a rule or a person decides.
The NIST AI Risk Management Framework is a voluntary framework that organizes AI risk work into four functions: Govern, Map, Measure and Manage.
Deciding what the model is allowed to know?
We map the data, the decision and the human review before a prompt is treated as a product.
What does the system need before it answers?
It needs context from your environment, not a longer prompt about medicine in general. Without that context the answer can sound clinical and still be wrong for this patient and this payer.
- Identity: which patient, which encounter, and which document is signed.
- Codes: the diagnosis, procedure, lab and drug identifiers your systems already use.
- Local rules: formulary, prior authorization and the cutoff your program uses.
- Permission: what this user may see, and what the model may not call on its own.
The HIPAA Security Rule requires administrative, physical and technical safeguards for electronic protected health information.
How do teams approach this without boiling the ocean?
Pick one decision that already has a written rule. Give the model only the facts that decision needs, with a pointer back to the chart. Keep the yes or no in the rule. Our post on letting the AI read the chart and letting the rules decide is that pattern in detail.
What still goes wrong when the model sounds sure?
A fluent answer can hide a missing fact. The failure mode is not a bad sentence. It is an action: a code, a message to a patient, or a coverage decision that nobody reviewed. Limit what the system can do, and log what it proposed.
OWASP defines excessive agency as the vulnerability that lets an LLM application take damaging actions in response to unexpected, ambiguous or manipulated model output, usually caused by excessive functionality, permissions or autonomy.
Which terminologies does the system need to speak?
The system needs the same code systems your records already use, passed in with each fact. A diagnosis given as plain words loses the precision that billing, quality reporting and decision rules depend on.
- Diagnoses: ICD-10-CM for claims and SNOMED CT for clinical problem lists.
- Procedures: CPT and HCPCS, as billed.
- Labs and observations: LOINC, with the value and its unit kept together.
- Medications: RxNorm, mapped from whatever the pharmacy system stores.
- Local codes: your own order and department codes, with a maintained mapping table.
Pass each code with its code system and display name. A terminology service that answers whether one code falls under another is more dependable than asking a language model to recall the hierarchy, and its answers can be tested.
Which parts of the chart give the right context?
The right context is a small, dated slice of the chart chosen for the task. A full record dump makes the input longer and the answer worse, because old and draft material competes with current facts.
- Active problems and medications, with start dates and the last time each was reviewed.
- Allergies and intolerances, marked as confirmed or patient-reported.
- Recent results with collection time, reference range and unit.
- Encounter type and setting, so an emergency visit is not read as a routine follow-up.
- Document status and author, so a signed note outranks an unsigned draft.
Who is allowed to act on the output?
Only the person whose role permits that action. The AI should run with the signed-in user's access and never with a broader service account, so it cannot show a nurse what only a physician may see or file an order no one could sign.
A SMART on FHIR launch passes the user, the patient and the granted scopes to the app, which gives a clean way to carry that boundary. Map each proposed action to the role that may approve it, and show the approver's name with the result.
Workflow timing
The same fact is useful at one moment and noise at another. A gap in screening matters during pre-visit planning, not in the middle of a medication reconciliation, so the product needs to know where in the day the user is.
- Before the visit: summaries, open gaps and questions to ask.
- During the visit: short prompts tied to what the clinician is documenting.
- After the visit: coding suggestions, patient instructions and follow-up tasks.
- Around deadlines: prior authorization packets and referrals that expire if not sent.
What does a product built this way look like?
It looks like a set of small services around the model rather than a chat box. Each service supplies one kind of knowledge, and the model only drafts inside the space they define.
- Context builder: pulls the chart slice for the task through FHIR APIs.
- Terminology service: resolves and groups codes.
- Policy store: holds payer criteria, formulary and local protocols, with versions.
- Model: extracts and drafts, citing the record it used.
- Action gateway: checks the user's role before anything is written back.
- Review screen: shows the draft beside its sources for approval.
What does this look like for a prior authorization packet?
Take an imaging order that needs prior authorization. The context builder gathers the order, the relevant notes, earlier imaging and the treatment already tried, and the model drafts a summary that links each statement to its note.
The policy store then checks that summary against the payer's current criteria and lists any that are not met. A staff member reviews the packet, fixes gaps and submits it. The model never decides whether the request qualifies.
How do you keep that knowledge current?
Version every source of knowledge and record which version each output used. Code sets, payer policies, formularies and local protocols change on their own schedules, and an answer is only as current as the version behind it.
Assign an owner to each source, and rerun your test cases when a source changes. A formulary update that quietly changes many drafts should be caught by those tests, not by a pharmacist on the floor. Show the version on the review screen, too, so the approver can see how fresh the rule was.
Which knowledge should stay outside the model?
Anything with a precise answer should live in code or a reference table, not in the model's weights. Dosing limits, coverage criteria, eligibility windows and code hierarchies are lookups, and lookups do not need to be predicted.
Leave the model the work that is truly about language: reading free-text notes, pulling facts out of faxed letters, and drafting summaries and messages. That split keeps the precise parts testable and the language parts reviewable.
A quick test for the split: if two experts would give the same answer from the same table, put it in the table. If they would each phrase it differently but agree on the substance, the model can draft it for a person to approve.
Who owns each source of knowledge?
- Clinical informatics: problem list rules, order sets and local protocols.
- Pharmacy: formulary, interaction tables and substitution rules.
- Revenue cycle: code mappings and payer criteria.
- Compliance and privacy: which roles may see which records.
- Build team: the services that combine those sources and the logs that show what was used.
What are best practices for AI that knows healthcare?
- Pass codes, not just words: include code system and display name with every fact.
- Send a dated slice: give the task the chart context it needs and nothing older or unsigned.
- Inherit the user's access: never let the AI see or do more than the person using it.
- Fit the moment: surface each fact at the point in the workflow where it changes a decision.
- Version the knowledge: track which policy and code versions produced each output.
How Agnotic can help
Agnotic builds AI features for healthcare teams around their own codes, records and rules. We design the context builder, the policy store and the action gateway, then put the model inside them.
Build context-aware healthcare AI with Agnotic
We give the model your terminology, chart context and permissions before it drafts anything.
Related reading on Agnotic
Where generic models fail, how chart review should split, and HIPAA for an AI app.


