
Hospital discharge spans clinical documentation, medication review, and billing. Each participant needs to know which information has been reviewed and whether a finding still applies after a change. ClearPath demonstrates a shared discharge workflow for a hospital discharge coordinator. A clinician's note and proposed medicines are combined with a synthetic patient record. DeepSeek-V4-Flash, accessed through the configured AMD Radeon API, prepares a summary and review notes. Doctor approval is attached to a specific revision. Once approved, pharmacy and billing workers run concurrently through Model Context Protocol (MCP) tools and return structured findings. The demonstration includes an exact medication/allergy matching rule and a comparison of recorded consumable usage with billed quantities. Results distinguish a completed check with findings from a check that failed to run. An edit invalidates approval and existing findings, preventing results from an earlier revision from being silently reused. SQLite preserves workflow snapshots across application restarts. The implementation uses Python, FastAPI, Pydantic, FastMCP, asyncio, and SQLite. The core workflow can be exercised locally through the API and command-line examples; the browser interface provides a visual demonstration of the same workflow. This is a synthetic-data prototype. The AMD inference path has returned a valid draft in a real synthetic-input run. The pharmacy and billing checks remain deterministic. No clinical effectiveness or hospital-outcome claims are made. The pharmacy rule is deliberately narrow, not a clinical medication safety system. The workflow supports review; it does not authorize discharge. Real EHR connections, authenticated clinical approvals, insurer integrations, and production clinical validation remain future work.
18 Oct 2026