name: clinical-note-summarization description: Structure raw clinical notes into SOAP-format summaries with explicit contradictions, missing data, and ICD-linked assessments using the provided prompt + usage script. measurable_outcome: Produce SOAP markdown and JSON outputs covering all four sections with at least 95% note coverage and explicit missing information within 2 minutes per note. allowed-tools: - read_file - run_shell_command
At-a-Glance
- description (10-20 chars): SOAP builder
- keywords: clinical-notes, SOAP, guardrails, ICD10, gaps
- measurable_outcome: Produce SOAP markdown + JSON (when requested) covering all four sections with ≥95% note coverage and explicit missing info in ≤2 minutes per note.
Inputs
note_text(dictation, OCR, or EHR export) and optionalpatient_contextmetadata.output_format(markdowndefault,jsonwhen downstream validators need schema).
Outputs
- Structured SOAP summary with Subjective/Objective/Assessment/Plan bulleting.
- Alerts plus missing-information checklist.
- Optional JSON payload using schema from README.
Core Capabilities
- Before deployment, compare each generated clinical note against the source documentation for factual correctness, omissions, hallucinations, structure, clinical risk, and usability; use reviewer rubrics and report experimental benchmark methods and results.
- For urologic documentation workflows, require clinician oversight of AI-generated encounter and operative note drafts, align outputs to specialty-specific note structure, check for documentation risks such as omissions or unsupported details, and keep AI-authored content limited to reviewable documentation support rather than clinician-signed final notes.
- For urology clinic encounter and operative-note drafts, complete a human-oversight checklist before record entry: verify facts against source documentation; remove or flag unsupported additions; review diagnosis and procedure coding implications; confirm privacy and PHI handling; obtain clinician review and attestation; and route failed, uncertain, or incomplete outputs to correction or manual documentation.
- Before clinician-facing deployment, run benchmark-driven clinical-note quality evaluation that scores correctness, omissions, and harm risk, uses task-specific rubrics, adjudicates inter-rater disagreements, and maintains regression tests for generated-note changes.
- Evaluate AI-generated clinical notes using factual-consistency checks, omission detection, note completeness review, safety/harm review, rubric-based scoring, and benchmark-style comparisons of automated evaluation results against clinician review.
- Evaluate AI-generated clinical notes for correctness, completeness, omission detection, factuality, harmfulness, structure adherence, inter-rater adjudication, and benchmark-driven regression testing.
- Evaluate AI-generated clinical notes with explicit quality criteria for correctness, content omission, hallucination, risk of harm, rubric design, inter-rater review, and benchmark reporting.
- Evaluate AI-generated clinical notes with source-note traceability for factual correctness, omissions, risk of harm, structure, concision, and clinician usability; design experimental benchmarks that match the note task and report the measured quality dimensions.
- Add a clinical-note quality evaluation module for AI-generated notes that checks correctness, omission, risk of harm, factual consistency, structure adherence, rubric-based human review, and transparent benchmark reporting.
- Evaluate AI-generated SOAP and specialty clinical-note outputs for correctness, omissions, hallucinated content, temporal consistency, risk of harm, note-type-specific rubric fit, blinded clinician review, and transparent benchmark reporting.
- Compare generated notes against source notes for correctness, omissions, hallucinations, harmful content, structure, and coding/assessment consistency; use human review rubrics and track experimental benchmark results for quality evaluation.
- Use systematic-benchmark evaluation methods for generated clinical notes: test factual consistency and completeness, track note-type-specific omissions, assign risk-of-harm labels, compare clinician preferences, and maintain regression test sets for generated-note changes.
- Add benchmark-driven quality evaluation for AI-generated clinical notes that covers correctness, omissions, factual consistency, note completeness, risk-of-harm scoring, and selection of a human review rubric suited to the note task.
- Require clinical-note quality evaluation before AI-generated summaries enter clinical workflows, including note-level rubric scoring for correctness, omissions, and risk of harm, benchmark designs matched to the target note task, and human adjudication of disputed or high-risk outputs.
- Apply a clinical-note quality evaluation module for AI-generated documentation that scores correctness, omissions, hallucination and risk-of-harm, uses note-type-specific rubrics, adjudicates inter-rater disagreements, and reports benchmark methods transparently.
- Evaluate AI-generated clinical notes and SOAP summaries for correctness, omissions, factuality, harm-risk, and structure quality using rubric-based clinician review, benchmark design, inter-rater agreement checks, and regression tests before deployment.
- Build clinical-note quality evaluation modules for AI-generated documentation that check correctness, omissions, harmful hallucinations, note-specific rubric criteria, human reviewer sampling, and transparent benchmark reporting.
- Design dataset- and task-specific clinical-note quality rubrics that assess factual correctness, omissions, hallucinations, harmfulness, structure adherence, completeness, and clinician preference.
- Select evaluation methods for AI-generated clinical notes by pairing rubric-based scoring with experimental benchmark selection and reviewer agreement reporting.
- Evaluate AI-generated clinical notes with methods covering factual correctness, omissions, hallucinations, note completeness, readability, downstream safety risk, inter-rater review, and benchmark reporting templates.
- Require clinician-adjudicated evaluation of AI-generated clinical notes before downstream use, covering correctness, omissions, hallucinations, risk of harm, note completeness, and benchmark design fit for the target note task.
- Evaluate AI-generated clinical notes before deployment for correctness, completeness, harmful omission, factual consistency, and template adherence using clinician rubric review and transparent benchmark reporting.
- Apply benchmark-style quality evaluation for AI-generated clinical notes that covers correctness, completeness, omission risk, hallucinated facts, structure adherence, inter-rater review, and regression testing of generated-note changes.
- Set explicit escalation thresholds before AI-generated notes are used clinically, including correctness failures, clinically meaningful omissions, hallucinated content, elevated risk-of-harm ratings, inter-rater disagreement, or benchmark results outside the accepted review criteria.
- Evaluate AI-generated SOAP and specialty notes with methods that score correctness, omissions, redundancy, harmfulness, note-type stratification, clinician scoring rubrics, and transparent benchmark reporting.
Quality Evaluation
- For AI-generated notes, use a structured quality evaluation rubric that scores correctness, content omissions, hallucinations, and risk of harm; define the rubric for the target note type, use inter-rater review or adjudication for disputed items, and report benchmark design and measured categories transparently.
- Require every AI-generated clinical note evaluation to map claims back to the source note, measure factual correctness, omissions, risk of harm, structure, concision, and clinician usability, and document the experimental benchmark design used for the target note task.
- Score generated notes for correctness, omissions, hallucinations, risk of harm, and note completeness using explicit review rubrics; select benchmarks that match the clinical note task being tested, report reviewer agreement when multiple reviewers assess the same outputs, and require clinician adjudication before generated notes are used downstream.
- Before deployment, evaluate AI-generated clinical notes for correctness, completeness, harmful omission, factual consistency, and template adherence; use clinician rubric review and report benchmark methods transparently.
- For SOAP and specialty-note outputs, include temporal consistency checks, blinded clinician review where feasible, note-type-specific scoring criteria, and benchmark reports that state task design, reviewer process, and measured error categories without implying unsupported clinical validation.
- Maintain regression checks for generated clinical notes by re-running the same evaluation rubric across model, prompt, or workflow changes and comparing correctness, completeness, omission risk, hallucinated facts, structure adherence, and inter-rater review outcomes.
Workflow
- Load system prompt:
prompt.mdenforces no hallucinations + data gap surfacing. - Normalize input: Pre-clean vitals, labs, and timeline context when available.
- Generate summary: Call preferred LLM (OpenAI, Anthropic, Gemini, OSS) using
usage.pyas a template. - Validate: Cross-check extracted values vs. source text and ensure contradictions/missing data are spelled out.
- Deliver output: Provide markdown + JSON as required and log PHI handling steps.
Guardrails
- Never invent findings; state "not provided" explicitly.
- Mark outputs as documentation support only—not clinical decisions.
- Strip/re-mask PHI before storing prompts/responses.
References
- For detailed schema, guardrails, and integration snippets see
README.md,prompt.md, andusage.py. - https://pubmed.ncbi.nlm.nih.gov/41955894/
- https://pubmed.ncbi.nlm.nih.gov/42067659/