Knowledge Hub / White Paper
White Paper — Clinical AI Governance · CareScribe Platform · 2025

The Documentation Quality Score (E7): An Explainable Composite Metric for AI-Assisted Clinical Note Generation in Ontario Home Care

Operationalizing auditability, grounding, and human oversight for PHIPA-aligned AI documentation.

Author
CareScribe Research & Clinical Informatics Team
Domain
Clinical NLP · AI Governance
Regulation
PHIPA · Ontario Home Care
Audience
Investors · Executives · Operators
Abstract

Artificial intelligence is increasingly deployed to draft clinical documentation in home and community care, yet regulators and clinicians require evidence that generated notes are accurate, traceable to source data, and subject to appropriate human oversight. We describe the Documentation Quality Score (E7), a composite, explainable metric implemented in CareScribe for AI-assisted SOAP note generation in an Ontario home-care workflow. The score integrates eight weighted dimensions totaling 100 points, stored per document with a structured breakdown of pass, warn, and fail status for each check.

Generation quality is assessed through transcript grounding, structured capture completeness, and explicit penalties for missing voice, text, task, or wellness data. SOAP section completeness and a grounding-capped AI confidence signal reduce overconfidence from uncalibrated model self-report. Workflow assurance is captured through clinical event review status, worker attestation, and audit readiness. The score is computed automatically after generation and recomputed when clinicians edit notes, review clinical events, or complete attestation — linking quality measurement to a human-in-the-loop approval pipeline. Each deduction is attributable to a named, auditable check rather than an opaque model output, supporting governance under PHIPA.

Keywords: AI clinical documentation · SOAP note generation · explainable AI · transcript grounding · PHIPA compliance · human-in-the-loop · home care informatics · documentation quality metric

Contents
  1. Introduction
  2. Related Work
  3. Methods: The Eight-Dimension Composite Score
  4. Generation & Evidence Signals (60 pts)
  5. Workflow & Compliance Signals (30 pts)
  6. Grade Bands, Aggregation & Dashboards
  7. System Implementation
  8. Discussion
  9. Limitations
  10. Conclusion

1. Introduction

1.1 The Rise of AI-Assisted Clinical Documentation

The documentation burden in home and community care is substantial. Personal Support Workers (PSWs) and registered nurses conducting home visits are expected to produce structured clinical records immediately following visits that may be both time-pressured and emotionally demanding. Incomplete or delayed documentation creates downstream risks: inaccurate billing, missed clinical escalation triggers, audit failures, and erosion of trust between care teams and the clients they serve.

Large language models (LLMs) can generate clinically plausible narrative notes from structured inputs, voice transcripts, and brief natural-language descriptions of visit activities. Ontario home care, however, presents a distinct set of regulatory and workflow constraints that generic clinical AI platforms do not fully address.

1.2 The Problem with a Single Confidence Number

The standard output of an AI documentation system is a generated note accompanied by a model confidence score — typically a self-reported probability between 0 and 1. This design conflates two fundamentally different questions: How sure is the model of its own output? and How well does that output reflect what actually happened during the visit? These are not the same question, and they require different evidence to answer.

LLM self-confidence is known to be poorly calibrated. A model generating fluent, grammatically complete prose about a visit it has no evidence for will often report high confidence precisely because the generated text is internally coherent — not because it is grounded in the clinical record. In regulated healthcare settings, a note that confidently fabricates or omits visit data is a compliance liability, not an acceptable documentation artifact.

1.3 Contributions of This Paper

  1. We describe the Documentation Quality Score (E7), a composite 0–100 metric with eight explainable weighted dimensions, implemented in CareScribe for Ontario home-care SOAP note generation.
  2. We formally define transcript grounding as a sentence-level coverage measure linking generated SOAP text to visit source evidence, distinguishing it from citation counting.
  3. We describe a grounding-capped confidence calibration approach that reduces AI overconfidence without requiring logprob access.
  4. We distinguish generation quality from workflow assurance as two interpretable sub-scores.
  5. We discuss design tradeoffs between heuristic and semantic grounding, and outline a roadmap toward empirical validation against supervisor approval outcomes.
Why this matters for investors and operators

Every deduction in the E7 score is traceable to a named, auditable check. This is not a black-box confidence number — it is a governance layer that can be surfaced to regulators, insurers, and oversight bodies as evidence of responsible AI deployment. For hospital systems and retirement-home networks operating under PHIPA, E7 provides a defensible, reproducible record of documentation quality at the document and organizational level.

3. Methods: The Eight-Dimension Composite Score

3.1 Score Architecture Overview

The Documentation Quality Score E7 is a composite integer between 0 and 100 computed automatically for each AI-generated SOAP document. The score is structured across two signal families: Generation / Evidence Signals (60 points), which assess how well the note reflects captured visit data, and Workflow / Compliance Signals (30 points), which assess whether the human-in-the-loop approval process has been followed. An additional 10 points derive from the calibrated AI confidence signal, which sits at the intersection of both families.

Each dimension has a defined weight, a pass/warn/fail threshold, and a human-readable rationale for any deduction. The full breakdown is stored in documents.doc_quality_breakdown alongside the aggregate documents.doc_quality_score, enabling per-check auditing without inspecting the model's internals.

CareScribe documentation & scoring pipeline

PSW Visit Capture → Voice / Text Transcript → Evidence & Risk Extraction → SOAP Note Generation → E7 Quality Score → Worker Review → Clinical Event Triage → Worker Attestation → Supervisor Approval → Publish to Circle of Care. E7 is first computed after SOAP generation and rescored at each subsequent human-action node (edit, event review, attestation, approval).

3.2 Dimension Weights and Thresholds

DimensionWeightFamilyPassWarnFail
Transcript Grounding20Generation≥75%≥50%<50%
Capture Completeness15Generation≥80%≥50%<50%
Capture Data Quality10GenerationNo penaltiesMinor gapNo voice & no text
SOAP Completeness15GenerationAll 4 sections3 sections<3 sections
AI Confidence (calibrated)10Both≥0.80≥0.60<0.60
Clinical Event Review10WorkflowAll reviewedPartialNone reviewed
Worker Attestation10WorkflowApprovedEditedPending / Rejected
Audit Readiness10WorkflowFull chainMinor gapMissing provenance
Table 1: Complete E7 scoring architecture. Weights sum to 100. Each dimension stores a status (pass / warn / fail), a numeric score, and a human-readable rationale string in doc_quality_breakdown.

4. Generation & Evidence Signals (60 Points)

4.1 Transcript Grounding (20 Points)

Transcript grounding is the primary evidence-quality signal in E7. Its central claim is that a high-quality AI-generated note is not merely grammatically complete — it is textually traceable to the visit source narrative. Grounding is defined at the sentence level across all four SOAP sections. A sentence is classified as grounded if any of the following holds:

  1. An evidence span explicitly linked to it has its span text present in the visit transcript.
  2. An evidence-backed statement is associated with it via the evidence extraction pipeline.
  3. The stopword-filtered token overlap between it and the full visit transcript exceeds 40%.

The grounding ratio is the proportion of grounded sentences across the note, and the transcript grounding score scales that ratio to the dimension's 20-point weight:

grounding_ratio = |grounded sentences| / |all sentences|
transcript_grounding_score = grounding_ratio × 20

Thresholds are applied as pass (≥75%), warn (≥50%), and fail (<50%). This moves beyond citation counting toward coverage of generated clinical text: a note that cites a transcript once but generates three additional ungrounded sentences is not well-grounded, even though citations exist.

The heuristic overlap threshold (40%, stopword-filtered) was chosen for operational deployability — it requires no embedding model, is deterministic and reproducible, and produces results a clinical reviewer can verify manually. Embedding-based grounding is identified as the primary future improvement.

4.2 Structured Capture Completeness (15 Points)

Home-care visits produce structured data through the PSW mobile interface: a task checklist with completion flags and wellness chip selections representing observed client states, persisted in visits.capture_metadata. Completed tasks are matched against the Objective and Plan sections; wellness chip labels are matched against the Subjective and Objective sections. The completeness ratio is:

completeness_ratio = (tasks_matched + chips_matched) / (completed_tasks + total_chips)

A note that ignores these is missing the structured foundation of the visit record, regardless of how fluent its prose may be.

4.3 Capture Data Quality Penalties (10 Points)

Note quality is a function not only of what was written, but of what raw evidence was available. This dimension encodes a graded evidence hierarchy through a cumulative penalty model:

Missing evidence conditionDeductionRationale
No voice transcript present−4Voice narrative is the highest-fidelity evidence source; its absence substantially weakens grounding potential.
No voice transcript AND no caregiver text notes−3 additionalStructured-only capture (tasks/chips) without narrative input produces thin documentation.
Planned tasks present but none completed−2Suggests incomplete visit execution or documentation failure.
No wellness observations recorded−1Wellness monitoring is a core PSW documentation requirement in Ontario home care.
Table 2: Capture data quality penalty model. Penalties are cumulative and stored with human-readable rationale in doc_quality_breakdown.

4.4 SOAP Section Completeness (15 Points)

A structurally complete SOAP note requires substantive content across all four sections — Subjective, Objective, Assessment, and Plan. Sections that are present but minimal (e.g., a single-sentence Assessment) are treated as warn-level rather than pass-level, reflecting the clinical reality that a perfunctory Assessment provides insufficient guidance for the next care provider.

4.5 Calibrated AI Confidence (10 Points)

Raw LLM self-confidence is unreliable as a quality proxy. CareScribe applies a two-stage calibration that does not require logprob access. At generation time the model's self-reported confidence is immediately capped:

stored_confidence = min(llm_self_report, grounding_ratio, capture_ratio)

At scoring time a further grounding cap is applied:

effective_confidence = min(stored_confidence, current_grounding_ratio)

This ensures that if a note is later determined to be poorly grounded, the confidence score reflects that revision rather than preserving an inflated self-report. The effective_confidence is mapped to the 10-point scale with pass (≥0.80), warn (≥0.60), and fail (<0.60) thresholds — aligning with the principle that AI confidence should never exceed the evidentiary support for the generated content.

5. Workflow & Compliance Signals (30 Points)

The workflow signals address a different governance question from the generation signals: not how well was the note written, but has the correct human oversight process been followed before this note enters the permanent clinical record?

5.1 Clinical Event Review (10 Points)

CareScribe's evidence extraction pipeline identifies clinically significant events — falls, pain reports, medication concerns, behavioral changes — and surfaces them to the PSW as a review list before submission. This dimension measures the fraction of extracted events reviewed (acknowledged, dismissed, or escalated):

event_review_score = (reviewed_events / total_events) × 10

A note with unreviewed clinical events is not safe for supervisor submission.

5.2 Worker Attestation (10 Points)

Worker attestation captures the PSW's sign-off before supervisor approval. CareScribe tracks five states:

The dimension scores 10 for approved, 7 for edited (human correction is a positive governance signal), and 0 for pending, uncertain, or rejected. Edited notes trigger a full rescore of E7, including re-evaluation of grounding and completeness against the worker's changes.

5.3 Audit Readiness (10 Points)

Audit readiness consolidates PHIPA provenance requirements into a single check with five sub-components: (1) transcript presence, (2) transcript source type recorded, (3) minimum content length, (4) evidence-chain integrity, and (5) document workflow status consistency. Each contributes proportionally to the 10-point score. The check is immutable once a document reaches published status — the final score and breakdown are frozen in the audit log alongside a compliance.scored event.

Dynamic rescoring: quality tied to human action

E7 rescores automatically at four human-action nodes: note edit, clinical event review, worker attestation change, and supervisor approval. The score shown to a supervisor at approval time reflects the current state of the document and its review pipeline — not the initial post-generation snapshot. A rise from roughly 73 to 83 points as a PSW completes review and attestation is expected and by design: it signals that governance requirements have been met.

6. Grade Bands, Aggregation & Dashboards

6.1 Grade Bands

Score rangeGradeClinical implication
90–100ExcellentWell-grounded, complete, and fully workflow-compliant; safe for publication.
75–89GoodMinor gaps in grounding or workflow; supervisor review recommended but not blocking.
60–74Needs ReviewMaterial grounding or completeness concerns; supervisor should inspect before approval.
0–59CriticalSignificant quality or workflow failures; should not be published without remediation.
Table 3: E7 grade bands. Grade thresholds are configurable at the organizational level to reflect local risk tolerance.

6.2 Score Evolution: A Representative Example

Document D-4821 · State 1 — immediately after AI generation (no human actions)
Transcript Grounding13.6 / 20
Capture Completeness11.3 / 15
Capture Data Quality7.0 / 10
SOAP Completeness12.0 / 15
AI Confidence7.0 / 10
Clinical Event Review0 / 10
Worker Attestation0 / 10
Audit Readiness3.0 / 10
Total: 53.9 — Grade: Critical
State 2 — after PSW completes clinical event review and attestation (approved)
Clinical Event Review10 / 10
Worker Attestation10 / 10
Audit Readiness9.0 / 10
Total: 82.9 — Grade: Good (ready for supervisor review)

6.3 Organizational-Level Aggregation

The organizational quality metric is the arithmetic mean of E7 scores across all published documents in a configurable time window, excluding documents without a computed score. This aggregate is available through the CareScribe supervisor and administrator dashboards, enabling quality trend monitoring at the team, site, and organization level. Compliance events are written to an immutable audit log at each score computation — recording document identifier, score, grade, fail count, and the identities of the associated worker and supervisor.

7. System Implementation

7.1 Pipeline Placement and Trigger Points

E7 computation runs automatically after SOAP note generation, risk extraction, and evidence extraction are complete, ensuring the grounding and capture-completeness checks have access to the full evidence output. Rescoring is triggered by four events: note edit, clinical event review completion, worker attestation status change, and supervisor approval. Each rescore produces a new doc_quality_breakdown record linked to the triggering event, preserving a complete audit trail of score evolution.

7.2 Data Model

The JSONB breakdown is designed for forward compatibility: new dimensions can be added without schema migration, and historical breakdowns remain queryable even after dimension weights change.

7.3 User Interface: The DocQualityPanel

The E7 score and breakdown are surfaced through the DocQualityPanel, an expandable component on both the Review and Documentation pages. It displays the aggregate score, grade band, and a per-dimension list showing status, point contribution, and rationale for any warn or fail. A supervisor reviewing a note scored 68 (Needs Review) can see immediately that the primary deductions are transcript grounding (warn: 61% grounded) and worker attestation (pending), rather than receiving an opaque low-confidence warning that provides no actionable guidance.

8. Discussion

8.1 Generation Quality vs. Workflow Assurance

The two-family architecture reflects a deliberate governance choice. Separating the sub-scores lets organizations diagnose failures at the right level: a persistent pattern of low generation sub-scores suggests a data-capture or model-quality problem, while low workflow sub-scores suggest a training or adoption problem with the PSW or supervisor population. Conflating these into a single number obscures the diagnostic information.

8.2 Heuristic Grounding vs. Semantic Methods

Stopword-filtered token overlap is transparent, deterministic, and auditable in a way embedding similarity is not — a clinical reviewer can reproduce the check manually. The limitation is real: a sentence that paraphrases a transcript with different vocabulary may be classified as ungrounded. Embedding-based semantic similarity using a domain-adapted clinical model is the natural upgrade path for E7 v2, at the cost of auditability.

8.3 Confidence Calibration

The grounding-capped approach is available through any LLM API and interpretable without statistical training, but it does not learn from feedback. Future work will explore fitting a Platt scaling or isotonic regression calibrator against supervisor approval/rejection outcomes, using the E7 score trajectory as the calibration target while preserving the grounding-capped floor as a lower bound.

8.4 Scope and Generalization

E7 is designed and validated for Ontario home-care PSW workflows. The PHIPA audit dimension, PSW attestation workflow, and wellness-chip capture structure are Ontario-specific; other jurisdictions should expect to adjust weights and thresholds. The two-family architecture and grounding-based calibration are not Ontario-specific and should generalize to other AI-assisted clinical documentation contexts.

9. Limitations

Acknowledged limitations

Lexical grounding only: token overlap is a proxy for semantic grounding, not entailment; paraphrases may be misclassified. Substring task matching: synonyms and abbreviations may not match chip labels, understating completeness. No logprob calibration loop: confidence is heuristically bounded, not probability-theoretically grounded. Mixed-signal interpretation: the composite mixes generation quality and workflow progress; sub-score reporting is recommended for diagnostics. Ontario demo data: grade-band calibration is based on Ontario pilot data. No controlled evaluation: correlation between E7 and supervisor accept/reject/edit rates has not yet been measured — the primary empirical validation gap.

10. Conclusion

We have described the Documentation Quality Score (E7), a composite, explainable 0–100 metric for AI-assisted SOAP note generation in Ontario home care. E7 integrates eight weighted dimensions across two signal families into a single governance-oriented score that updates dynamically as human-in-the-loop approval actions are completed.

The central design principle is attributability: every point deduction is traceable to a named, auditable check rather than an opaque model output. A score that cannot be explained to a PHIPA auditor, a hospital quality officer, or a retirement-home medical director is not a governance tool; it is another source of unexamined AI risk. The most important next step is correlation analysis against supervisor approval outcomes on real visit data.

Investment & deployment thesis

For hospital systems and retirement-home networks evaluating AI documentation vendors, E7 answers the question regulators and clinical risk officers will ask: "How do you know the AI is not making things up?" The answer is not "the model is confident" — it is "every sentence in this note is traceable to visit evidence, every clinical event has been reviewed, every worker has attested, and every audit log entry is immutable." That is not a feature. That is governance infrastructure.

References

  1. Sinsky C, Colligan L, Li L, et al. "Allocation of Physician Time in Ambulatory Practice." Annals of Internal Medicine, 2016. link
  2. Giorgi S, Zamani M, Jo Y, et al. "Clinical Text Generation with Large Language Models." arXiv, 2024. link
  3. Kadavath S, Conerly T, Askell A, et al. "Language Models (Mostly) Know What They Know." arXiv, 2022. link
  4. Papineni K, Roukos S, Ward T, Zhu W-J. "BLEU: A Method for Automatic Evaluation of Machine Translation." ACL 2002. link
  5. Maynez J, Narayan S, Bohnet B, McDonald R. "On Faithfulness and Factuality in Abstractive Summarization." ACL 2020. link
  6. Abacha AB, Shivade C, Demner-Fushman D. "Investigation of Transfer Learning for Named Entity Recognition." BioNLP 2019. link
  7. Kryscinski W, McCann B, Xiong C, Socher R. "Evaluating the Factual Consistency of Abstractive Text Summarization." EMNLP 2020. link
  8. Obermeyer Z, Powers B, Vogeli C, Mullainathan S. "Dissecting Racial Bias in an Algorithm Used to Manage the Health of Populations." Science, 2019. link
  9. Health Canada. "Software as a Medical Device (SaMD): Definition and Classification." 2019. link
  10. Ontario Legislative Assembly. Personal Health Information Protection Act, 2004, S.O. 2004, c. 3, Sched. A. link
  11. Guo C, Pleiss G, Sun Y, Weinberger KQ. "On Calibration of Modern Neural Networks." ICML 2017. link