Moving Sepsis and Arrhythmia Inference onto the Device Without Losing the Ability to Fail Loudly

Moving arrhythmia and sepsis inference off the central server and onto the wearable is hard, and accuracy is not the main reason. The real problem is making sure a broken device never looks like a healthy patient. In the legacy stack, raw ECG and vitals streamed to a central monitoring server, so the nurse station saw every gap in the stream. Once feature extraction and classification run on the device, what reaches the station is a sparse series of conclusions, and silence can mean a stable patient or a dead sensor. Most of the migration budget goes to removing that ambiguity.

What the old stack gave you for free

Central analysis had one useful property: loss of signal was obvious, because the server either received every sample or received nothing. That property cost radio power, bandwidth on crowded ward Wi-Fi, and classification latency that rose and fell with network load, which is why edge inference is attractive in the first place. Sending features instead of waveforms cuts radio energy sharply. As an estimate, it removes most of an order of magnitude of transmit time per patient. In exchange you lose the implicit liveness check, so every line of the edge budget should be tracked against two numbers: the radio energy and infrastructure load you stop paying for, and the engineering you have to add to make missing data explicit again. If the second number grows faster than the first, the migration is costing more than it saves.

The failure that does not crash anything

The failure mode that matters is lead-off or motion artifact that slips past the on-device feature extractor. The extractor outputs a flattened, regular RR interval series, the classifier labels it normal sinus rhythm, and the sepsis model, seeing stable heart rate variability, lowers its deterioration score. Nothing crashes. The gateway receives well-formed, signed, on-time frames reporting a stable patient. In the central architecture the same artifact would have reached a clinician as an obviously corrupted waveform, but at the edge it has already been reduced to a confident label. The fix is to make signal quality a first-class output of the pipeline: every inference frame carries a quality index computed over the same window, and any verdict below the quality threshold is reported as 'cannot assess' and raised as a technical alarm, never as normal.

Decision rule

Move a function to the device only when every way it can fail ends in an explicit 'cannot assess' state at the nurse station, and keep it on the server while any of its failures can still resolve to 'no alarm'.

Keeping the ward covered when a layer drops

Degraded operation has to be designed one layer at a time. The device keeps a local haptic and audible alarm path that does not depend on the gateway, and it buffers raw ECG around every detected event so the central side can reconstruct the waveform once the link returns. The gateway enforces a liveness deadline of 30 s per device, and a missing signed heartbeat inside that window becomes a technical alarm at the station, which restores the liveness check the continuous stream used to provide. If the gateway itself fails, devices fall back to raw streaming over a secondary path into the legacy server. That is why decommissioning the old server early is the most tempting saving and the most expensive one. Budget for running both systems in parallel, as an estimate two to three quarters for a mid-sized ward deployment, because that overlap also produces the clinical comparison evidence required under medical device software lifecycle and risk management standards such as IEC 62304 and ISO 14971. Every model update reopens that comparison, so the real recurring cost is revalidation per release, and the open decision is how often you are willing to pay for it to ship a better classifier.

Can the legacy central server be kept only as a cold fallback to save operating cost?

Only if the fallback path is exercised regularly under load, because a fallback that has not carried real traffic for months has the same silent failure profile as an artifact-blind classifier, and the operating cost you save has to be weighed against the cost of finding that out during an actual gateway outage.

Back to SmartIoMT · Domains

← Back to SmartIoMT
Engineering & Architecture Brief

Moving Sepsis and Arrhythmia Inference onto the Device Without Losing the Ability to Fail Loudly

Moving arrhythmia and sepsis inference off the central server and onto the wearable is hard, and accuracy is not the main reason. The real problem is making sure a broken device never looks like a healthy patient. In the legacy stack, raw ECG and vitals streamed to a central monitoring server, so the nurse station saw every gap in the stream. Once feature extraction and classification run on the device, what reaches the station is a sparse series of conclusions, and silence can mean a stable patient or a dead sensor. Most of the migration budget goes to removing that ambiguity.

What the old stack gave you for free

Central analysis had one useful property: loss of signal was obvious, because the server either received every sample or received nothing. That property cost radio power, bandwidth on crowded ward Wi-Fi, and classification latency that rose and fell with network load, which is why edge inference is attractive in the first place. Sending features instead of waveforms cuts radio energy sharply. As an estimate, it removes most of an order of magnitude of transmit time per patient. In exchange you lose the implicit liveness check, so every line of the edge budget should be tracked against two numbers: the radio energy and infrastructure load you stop paying for, and the engineering you have to add to make missing data explicit again. If the second number grows faster than the first, the migration is costing more than it saves.

The failure that does not crash anything

The failure mode that matters is lead-off or motion artifact that slips past the on-device feature extractor. The extractor outputs a flattened, regular RR interval series, the classifier labels it normal sinus rhythm, and the sepsis model, seeing stable heart rate variability, lowers its deterioration score. Nothing crashes. The gateway receives well-formed, signed, on-time frames reporting a stable patient. In the central architecture the same artifact would have reached a clinician as an obviously corrupted waveform, but at the edge it has already been reduced to a confident label. The fix is to make signal quality a first-class output of the pipeline: every inference frame carries a quality index computed over the same window, and any verdict below the quality threshold is reported as 'cannot assess' and raised as a technical alarm, never as normal.

Decision rule

Move a function to the device only when every way it can fail ends in an explicit 'cannot assess' state at the nurse station, and keep it on the server while any of its failures can still resolve to 'no alarm'.

Keeping the ward covered when a layer drops

Degraded operation has to be designed one layer at a time. The device keeps a local haptic and audible alarm path that does not depend on the gateway, and it buffers raw ECG around every detected event so the central side can reconstruct the waveform once the link returns. The gateway enforces a liveness deadline of 30 s per device, and a missing signed heartbeat inside that window becomes a technical alarm at the station, which restores the liveness check the continuous stream used to provide. If the gateway itself fails, devices fall back to raw streaming over a secondary path into the legacy server. That is why decommissioning the old server early is the most tempting saving and the most expensive one. Budget for running both systems in parallel, as an estimate two to three quarters for a mid-sized ward deployment, because that overlap also produces the clinical comparison evidence required under medical device software lifecycle and risk management standards such as IEC 62304 and ISO 14971. Every model update reopens that comparison, so the real recurring cost is revalidation per release, and the open decision is how often you are willing to pay for it to ship a better classifier.

Technical FAQ: Can the legacy central server be kept only as a cold fallback to save operating cost?

Only if the fallback path is exercised regularly under load, because a fallback that has not carried real traffic for months has the same silent failure profile as an artifact-blind classifier, and the operating cost you save has to be weighed against the cost of finding that out during an actual gateway outage.

Related Architecture Specifications (HEALTHVIGILANCE): telepresencesys.com · samdops.com · aitelemonitoring.com

More Technical Articles on smartiomt.com

Engineering TinyML Applications for Class C Medical Devices: Safety, Power, and Precision →Edge AI vs. Cloud in Critical Care: Why Sub-Second Physiological Ingestion Requires Local Compute →Moving Sepsis and Arrhythmia Inference Onto the Wearable Without Blowing the Power Envelope →