AI layer

Read-only and draft-and-confirm assistant

AI uses role-gated APIs, stores drafts and logs patient-level access.

Patient query API
Allowed

/api/ai/patient-query

External memory
Disabled
Write actions
Disabled

Sample answer

RAD 1 has one pending trip at Pharmacy Site A. Current confirmed patients are below breakeven, but expected fill from site history improves the forecast. Source records: Trip, Schedule, Site, Appointment.

Patient-level AI query

This records a permission-gated, read-only local synthetic command. It cannot write records or use external patient memory.

DraftTypeSourcesStatusHuman decision
Pharmacy Site A approval briefTRIP_BRIEF6DRAFT

Typed confirmation is required before the draft status changes.

Annual recall SMS sequenceOUTREACH_COPY3DRAFT

Typed confirmation is required before the draft status changes.

June survey themesNPS_SUMMARY12DRAFT

Typed confirmation is required before the draft status changes.