Safety Kernel & Command Envelopes
The safety kernel is the guarded path that delivers a command to equipment after clinician authorisation.
Command classification
- Green — the command is sent to the equipment without clinician authorisation.
- Yellow — commands with a pre-validated clinical context. The action executes by default; it can be cancelled within a set window (timeout).
- Red — high-risk commands or irreversible changes to equipment settings. They require explicit clinical acknowledgement from the clinician.
Seven checks before command execution
Before writing any command to the equipment, the safety kernel evaluates:
- Rule provenance — compiled bundle is approved and release-bound
- Device identity — target device matches the rule’s device specification
- Parameter envelope — proposed value is within validated clinical range
- State coherence — device state matches the assumed pre-condition
- Conflict check — no contradictory command in flight for the same device
- Audit slot — audit record can be written (fail-safe)
- Clinician authorisation — the clinician’s account is authorised for this command class (red and yellow commands)
Failure of any check cancels the command, the failure reason is logged, and the clinical team is notified.
Fail-safe defaults
- If the clinician neither confirms nor cancels a yellow command within the timeout: the command executes under the clinical envelope’s rules; it can be cancelled within the set window.
- If the audit log is unavailable: all write-path commands are suspended; advisory mode only.
- If the compiled bundle fails integrity check at startup: the system halts and alerts the clinician.
Audit requirements
Every command event — proposed, accepted, rejected, timed out, cancelled — is recorded as durable audit material and can be projected as a FHIR AuditEvent resource through the clinical-data facade. Minimum retention follows the deploying institution’s clinical records policy.
Documents
HealthOS ICU: Full Concept → · Safety Kernel and Device-Control Commands →
Discuss a phased rollout at your institution or integrating your equipment. Contact the team →