Rule-first clinical assistance agent
Complex clinical records need structuring while generative outputs must remain reviewable and fail safely.
Original public conceptual diagram; not an internal topology or interface specification.
01 / Technical challenge
Complex clinical records need structuring while generative outputs must remain reviewable and fail safely.
02 / Contribution and approach
Led requirements and iterations; defined the roles of document parsing, deterministic rules, retrieval, controlled generation and clinician review.
03 / Results and verification limits
Archive records eight iterations and an increase from 12 to 23 passing automated tests. Clinician trial version completed; production acceptance unsigned. Tests were recorded, not rerun here.
04 / Engineering takeaway
Separate draft suggestions from clinical decisions, with deterministic fallback on failure.
Architecture principles
Rules handle deterministic decisions; retrieval supplies evidence; generative models draft constrained suggestions; clinicians retain final judgment. Model failure should leave rule and retrieval paths intact, rather than make critical judgments depend on probabilistic generation.
Verification design
The archive records separating generation from batch import and testing that import does not depend on model calls. Verification focuses on fallback, human review, version records and delivery boundaries, not only chatbot output.