Segregation Under IEC 62304: Designing a Prescription Digital Therapeutic That Fails Toward the Validated Protocol
Clause 5.3.5 of IEC 62304 asks the manufacturer to identify the segregation between software items that a risk control depends on. In a prescription digital therapeutic, that one line decides whether the closed-loop adaptation engine can ever act on bad input. If segregation is claimed but not designed in, the reviewer will find the gap in your architecture document long before a patient does.
What the clause actually asks for
Read on its own, the clause looks like a modularity requirement. In practice it is a claim you have to prove: when a risk control in your ISO 14971 file says that a failed component cannot alter therapeutic content, the architecture has to show the mechanism that stops the propagation, and the verification record has to show it working. Process isolation, separate data stores, and a one-way interface from the biometric ingestion service to the adaptation engine all count, but only if the boundary is enforced at runtime and not just drawn in a diagram. The rest of the family fills in around it. The quality system under ISO 13485 governs how the evidence is controlled, the risk management standard defines why the boundary exists, and the software lifecycle standard defines what has to be documented at the architecture level. Treat them as one argument with three owners, not three checklists.
The stale signal that keeps dosing
The failure mode that justifies segregation in most closed-loop PDTs is quiet: the wearable's heart rate variability stream stalls over a dropped Bluetooth link, the ingestion layer caches the last good value, and the adaptation engine keeps escalating an exposure exercise because the cached reading still says the patient is calm. Nothing crashes, nothing logs an error, and the therapy drifts away from the protocol that was validated in the trial. The fix is to make freshness a property of the data contract instead of an assumption in the consumer. Every biometric sample carries a source timestamp, and the engine refuses any input older than a freshness window of 30 s, at which point it hands control to a static, pre-validated session plan with no adaptation at all. That fallback lives in a separate item with its own content store, so a corrupted personalisation model cannot reach it, and that separation is exactly what clause 5.3.5 lets you write down as the risk control.
The decision rule is simple: if a component's failure can change the therapeutic content a patient receives, it must be segregated and must fail to the validated static protocol, and if it can only degrade convenience, such as sync, analytics or reminders, it may degrade in place and be documented as such.
Evidence a reviewer will accept
The architecture description should name each segregated item, the mechanism that enforces the boundary, and the hazard it controls, with traceability from the hazard analysis down to the test case. The verification record that persuades reviewers is fault injection, not unit tests: kill the ingestion process, freeze the timestamp source, feed malformed samples, and show the engine entering the static plan every time within the freshness window. Expect the segregated fallback path to add roughly a fifth to the verification effort for the adaptation subsystem, as an estimate, because it needs its own requirements and regression suite. The trade-off that remains is clinical rather than technical. Every minute a patient spends on the static plan is a minute of non-personalised therapy, and if fallback rates in the field run high, the efficacy you demonstrated in the randomised trial may no longer describe the product people actually use, so the next decision is whether fallback frequency becomes a monitored post-market metric with a threshold that triggers a design review.
Technical FAQ: Does a software safety class lower than C remove the need to document segregation?
The explicit segregation requirement is tied to the higher safety class, but once you cite an architectural boundary as a risk control in the risk file, you have to verify it at whatever class you claim. Downgrading the class through segregation and then skipping the evidence for that segregation is the most common inconsistency reviewers flag.