Overview
Syllabus
Intro: Orchestrating Agent State Machines for Clinical Documentation
What “Agentic” Means Engineering View: Nodes, State, and Routing
The Clinical Scribe Use Case + 4-Agent Pipeline Overview SOAP
Why This Matters: Documentation Burden, Burnout, and System Impact
Why Not One Big Prompt: Accuracy, Auditability, and Debuggable Workflows
Why Clinical Notes Are Hard: Messy Dialog, Negation, Time, Uncertainty
What We’re Building: Inputs/Outputs, Pipeline, and Two Key Design Choices
Why LangGraph: State Machines for Branching, Retries, and Traceability
LangGraph Vocabulary Crash Course: State, Nodes, Edges, Routers, Cycles
The Shared MedicalScribeState: Audit Logs, Errors, and Testability
Schemas & Structured Extraction: Pydantic Models as an API Contract
Node Implementation Template + Transcription Agent Responsibilities
Extraction Agent Deep Dive: Validation Retries and Negation Handling
Negation, temporal qualifiers & deterministic normalization in extraction
From structured encounter to SOAP note: summarization constraints & editable sections
Reducing hallucinations: structured inputs, no-new-facts prompts & low temperature
Consistency agent: catching omissions, contradictions & invented facts
Consistency checks taxonomy: hard rules vs semantic judging vs safety scans
Graph orchestration with LangGraph: explicit routing, safe failures & debugging
End-to-end demo walkthrough: transcription → extraction → SOAP → consistency
Retrieval grounding: mapping diagnoses to ICD-10/SNOMED as a pipeline node
Measuring quality per agent: datasets, metrics & iteration strategy
Production readiness: PHI, redaction, prompt injection, monitoring & human review
Setup, key takeaways & next steps feedback loop, better grounding
Taught by
Conf42