Why deployment documentation needs a structure
A dosing service can have a sound model and still be difficult to review if its records do not show what it is meant to do, which risks were considered, what evidence supports its behavior, and which exact configuration was released. Documentation is not a substitute for safe design or testing. Its purpose is to make the design, evidence, decisions, and accountability inspectable and reproducible.
For a model-informed dosing service, this matters because a recommendation depends on more than a model version. It may also depend on input definitions, data transformations, decision rules, display behavior, workflow, and local configuration. The earlier material on Building a Validation Plan for Clinical Deployment and Verifying Data Pipelines and User-Interface Outputs addresses planning and specific forms of evidence. Here the focus is how to organize records so reviewers can follow the chain from intended use to release decision.
The package should be proportionate to the service’s intended use and risk, and consistent with the organization’s quality system and applicable regulatory requirements. Regulatory classification and required records depend on jurisdiction, product characteristics, claims, and deployment arrangements; a generic checklist cannot determine them. Institutional review and applicable regulatory review are related but not interchangeable.
Start with a bounded intended use
The intended-use statement is the anchor for the rest of the record. It should say who uses the service, for which patients and decisions, in what setting, with which inputs, and what the service returns. It should also state important exclusions and the intended role of the output in clinical care. Broad language such as “supports individualized dosing” is insufficient if it leaves the population, workflow, or decision authority unclear.
A useful statement distinguishes the service’s recommendation from prescribing authority. It identifies whether the output is an estimate, a proposed dose, a range, or an alert; specifies whether a qualified clinician must review it; and describes limitations that affect safe use. Intended use should align with actual workflow, user-interface text, training, validation scope, and release configuration. A mismatch among these records is a substantive issue, not a wording preference.
Worked Example: Tightening an Intended-Use Statement
A hospital plans a hypothetical service that uses a patient’s recent concentration result, dose history, and selected clinical covariates to propose a maintenance dose for a specified medicine. The draft says: “The tool calculates the best dose for patients.”
Identify what is missing. “Patients” does not define the eligible population; “best” makes an unsupported performance claim; and the sentence does not identify users, setting, inputs, output, clinical review, or exclusions. A reviewer cannot tell whether the validation evidence matches the proposed use.
Rewrite within the hypothetical scope. “For adult inpatients receiving [specified medicine] at [hospital], the service provides a proposed maintenance-dose estimate to an authorized prescribing clinician using the documented dose history, eligible concentration result, and specified covariates. The clinician reviews the source data and recommendation before prescribing. The service is not intended for the excluded populations and situations listed in the controlled eligibility specification.”
The bracketed details must be replaced with approved, operational definitions before release; they are not optional blanks in a final record. The revised statement does not claim that the service independently prescribes or that every recommendation is optimal. The team should check it against the interface, workflow, eligibility rules, and evidence base before approval.
Risk records connect hazards to evidence
A risk record should be more than a list of generic concerns. For each relevant hazardous situation, record the potential harm, the sequence of events that could lead to it, the risk-control measure, the evidence that the measure is implemented and effective for its intended purpose, and the assessment of residual risk. Assign an owner and a status, and link the entry to affected requirements, tests, and relevant decisions. Use the organization’s approved risk method and acceptance criteria; do not invent a universal numerical threshold.
Risk analysis should account for the whole use pathway. A clinically plausible model output can still contribute to harm if a stale result is accepted, units are misread, a warning is not visible, or the wrong patient’s data are used. Controls may include input checks, workflow constraints, interface design, training, and monitoring. A control should be described in a way that can be checked rather than asserted. “Users will be careful” is not an adequate description of a testable control.
Worked Example: Recording a Stale-Input Risk
In a hypothetical dosing service, a concentration result can be entered from a record that is no longer current for the decision. The team identifies a hazardous situation: the service uses that result to generate a recommendation, and a clinician acts on it without noticing its age.
Risk entry. The potential harm is an inappropriate dose and consequent patient harm. The sequence is: an outdated result is available; the input is accepted without a clear age indication; the recommendation appears current; the clinician relies on it. The proposed controls are a defined eligibility rule for result age, an explicit display of result date and time, and a block or warning when the rule is not met.
Evidence and disposition. The team links the eligibility rule to a requirement, tests boundary cases around the approved age limit, checks that the date and time appear in the recommendation view, and records the observed results. It then evaluates residual risk using the organization’s approved method, including whether the controls work together in the intended workflow. If a required test fails, the risk is not closed merely because the warning exists in a design document; the failure needs disposition and retesting or another justified action.
This record makes the reasoning reviewable: the hazard is specific, the controls are identifiable, and evidence is linked to the controls. The example does not prescribe a universal acceptable result-age limit; that limit must be justified for the service and its intended use.
Risk records need lifecycle control. If an intended-use boundary, input, interface, or model changes, the team should evaluate whether affected hazards, controls, and evidence need revision. The earlier material on Change Control for Models and Clinical Software covers the change-control process; the documentation package should preserve the resulting impact assessment and approvals rather than relying on an informal verbal decision.
Keep verification and validation evidence distinct
Verification asks whether a specified requirement has been implemented correctly: did the software, data pipeline, or interface meet its documented specification? Validation asks whether the resulting service, in its intended context of use, satisfies the needs and intended use for which it is deployed. The evidence may include test records, analyses, review minutes, and workflow evaluations, but each item should say what was evaluated, against which criterion, with what configuration, by whom, and with what result.
A useful evidence record includes a unique identifier, requirement or claim addressed, test or evaluation method, test data or scenario reference, expected result, observed result, pass/fail or disposition, date, responsible reviewer, and the software/model/configuration identifiers. Preserve failures and deviations along with their resolution. A summary that reports only “testing complete” cannot establish what was tested or whether the evidence applies to the released version.
The links matter as much as the individual documents. A reviewer should be able to move from a use claim to the related requirement, from that requirement to evidence, and from a risk control to evidence supporting its implementation and assessment. A traceability matrix can provide this index, but it is not itself proof that evidence is adequate. The underlying records still need review for scope, method, configuration, and results.
Worked Example: Checking a Verification Record
A hypothetical requirement states: “When the selected patient has no eligible concentration result, the service must not display a dose recommendation.” The team tests 20 predefined scenarios: 8 with no eligible result and 12 with an eligible result.
Expected behavior. In each of the 8 scenarios without an eligible result, no recommendation is displayed and the specified explanation is shown. In the 12 eligible scenarios, the recommendation display follows the separate requirements for those cases.
Observed results. The system behaves as expected in all 8 ineligible scenarios and in 11 of the 12 eligible scenarios. In the remaining eligible scenario, the recommendation is displayed but the explanation is missing.
Disposition. The first part of the requirement has evidence of conformance for the 8 tested ineligible scenarios. However, the overall test set is not wholly successful because one eligible scenario failed its expected display behavior. The team records the failure against the relevant explanation requirement, investigates and resolves it under its quality process, and retests the corrected configuration. It should not report “20 of 20 passed,” nor treat the no-recommendation behavior as sufficient evidence for unrelated display behavior.
The record should identify the test-set version, software and configuration tested, expected and observed outcomes, and reviewer. The scenario count describes this test set; it does not by itself establish performance across all possible patients or workflows.
Assemble a release record that identifies what was approved
A release package typically brings together the approved intended-use statement; applicable requirements and traceability; current risk records and residual-risk decisions; verification and validation reports; open issue or deviation dispositions; training and operational readiness evidence where required; and release approval. It should also identify the exact version of software, model, data transformations, configuration, and controlled documents being released. The exact set of required records depends on the organization’s procedures and applicable obligations.
A release decision is stronger when it is explicit: the approving roles, date, scope, configuration identifiers, unresolved items and their rationale, and any deployment conditions are recorded. “Approved” without a stated version or scope can leave uncertainty about whether the approval applies to the system now in use. Likewise, a report written for an earlier model or interface cannot automatically support a later release.
One practical way to assess documentation completeness is to inspect every required link in the traceability chain. For each intended-use claim and requirement, ask whether applicable risks have been considered, whether evidence is identified and reviewed, whether failures have a recorded disposition, and whether the release approval names the configuration to which those decisions apply. This is a completeness check, not a mathematical proof of safety or effectiveness.
Approve the population, users, setting, inputs, output, clinical role, and exclusions.
Ensure relevant hazards have controls and that controls and intended-use needs are represented in reviewable requirements.
Check verification and validation scope, configuration, results, reviewer records, and disposition of failures.
Record approvals and conditions against the exact software, model, and configuration identifiers.
Diagnostics, alternatives, and limitations
Several signs indicate that documentation is not functioning as a reviewable control system: intended use varies across the risk file and validation report; tests lack expected results or configuration identifiers; risk controls have no evidence links; failed tests disappear from summaries; or the release approval names no version. A reviewer may also find that evidence addresses a technically convenient test case but not a stated population or workflow. These are reasons to resolve gaps before release, not reasons to infer that the service is necessarily unsafe or safe.
A single narrative report can explain rationale and decisions, while a matrix or indexed set of records makes links easier to inspect. In practice, a controlled package often uses both. A spreadsheet alone can become hard to govern, and a narrative alone can obscure missing links. Whichever format is used, records need ownership, version control, review, retention, and a defined relationship to the organization’s quality procedures.
Documentation has important limits. Complete records cannot compensate for weak evidence, an unsuitable intended use, inadequate risk controls, or an unrepresentative evaluation. A traceability matrix can reveal missing evidence but cannot make a test clinically relevant. Nor does this tutorial determine regulatory classification, prescribe a universal risk scoring method, or replace jurisdiction-specific and institutional review. The earlier material on Governance for Clinical Dosing Decision Support and Privacy and Security for Dosing Data Flows addresses related governance and data-handling responsibilities; those responsibilities should be represented in the deployment package where applicable.
Common mistakes
- Using a broad claim as the intended use. “Personalized dosing for all patients” is not operationally bounded. State the eligible use and exclusions in terms that can be checked.
- Treating verification as validation. Passing software tests shows conformance only for the tested requirements and conditions. It does not alone establish suitability for the intended clinical use.
- Closing a risk because a control is documented. A planned warning is not evidence that the warning is implemented, visible, and effective in the relevant workflow.
- Reporting only successful tests. Preserve failures, deviations, impact assessment, resolution, and retest results so the release decision has a complete basis.
- Approving an unidentified configuration. Tie the release decision to exact version identifiers and conditions; otherwise its scope is ambiguous.
Check Your Understanding
Answer each question, then compare your reasoning with the solutions.
- Why should an intended-use statement identify both the clinical user and the role of the recommendation?
- A team documents a risk control but has no test or evaluation record for it. What can and cannot be concluded?
- A software requirement test passes on one version, but the released version includes a changed input pipeline. Why is the earlier result not automatically sufficient?
- Name two elements that should connect a verification or validation result to the released service.
- Why does a complete traceability matrix not establish that a dosing service is safe?
Solutions. (1) The user and output role define the workflow and decision authority; without them, reviewers cannot judge whether the evidence and controls match the use. (2) The record shows that a control was proposed or specified, but not that it was implemented or effective; evidence and an assessment are still needed. (3) The pipeline change may affect inputs, outputs, requirements, or risks, so the team must assess applicability and obtain additional evidence if needed. (4) Examples include the requirement or claim addressed, the tested configuration identifier, test method, expected and observed results, and reviewer/date. (5) Traceability shows how records are linked; it cannot make inadequate evidence adequate or establish that the intended use, controls, and evaluation are clinically appropriate.