Code Repositories

Find and share code repositories
Welcome to the upgraded Community! Read this blog to see What’s New!
Repo Description

Quickly spin-up an end-to-end Alarm Fatigue Demo via Cloudbreak. All services (including the "Alarm Fatigue Demo Control") will be installed/configured/running after the Cloudbreak Blueprint / Recipe executes.

Watch the Youtube installation of the Alarm Fatigue Demo:

The Alarm Fatigue Demo consists of a custom Ambari Service called "Alarm Fatigue Demo Control", which generates patient vitals every 5 seconds for 4 devices (4 patients). NiFi is used to pull the vitals (tailing the log file), stores all vitals in Hive, enriching the data (from Hive) and storing the data in Kafka. Streaming Analytics Manager then picks up the enriched patient information (with vitals) real-time, stores enriched data in HDFS, then aggregating the vitals every 1 minute, storing the aggregates in Druid cubes, and finally running rules (pulseRate > 100) and then sending notification(s) to the doctor - reducing Alarm Fatigue.

One device will consistently throw high pulse rates, from the Hive table "device" column problemPercentage between 0.0-1.0 (0-100%), where device GUID ec93da97-08c6-43c4-a0a6-cb689723cf19 will throw a high pulse rate (greater than 100), 100% of the time.

HDP services used: HDFS, YARN, MapReduce2, Tez, Hive (ACID), Zookeeper, Atlas, Cloudbreak, Ambari

HDF services used: Kafka, Druid, NiFi, Schema Registry, Streaming Analytics Manager

What is “Alarm Fatigue”?

Alarm fatigue or alert fatigue occurs when one is exposed to a large number of frequent alarms (alerts) and consequently becomes desensitized to them. Desensitization can lead to longer response times or to missing important alarms. There were 138 preventable deaths between 2010 and 2015, caused from alarm fatigue. (

How can Alarm Fatigue be reduced?

Instead of only sounding an alarm, being heard by the closest nurse or doctor, a notification should be sent to the proper doctor/nurse containing a severity level and acknowledgement.

What will HDP/HDF do to reduce Alarm Fatigue?

It all starts on the edge device, being the various sensors in a hospital room (blood pressure, pulse rate monitor, respiratory rate monitor, thermometer, etc:.). For this use-case, we will assume our target hospital contains sensors with active connections to raspberry pi device(s). The raspberry pi device will gather logs from the sensors, therefore we will install MiNiFi and tail the logs. MiNiFi will then bi-directionally communicate with a centralized NiFi instance located at the hospital.

The custom service "Alarm Fatigue Demo Control" emulates the function of Raspberry PI running MiNiFi collecting data from the sensors.

High-Level Architecture:



Repo Info
Github Repo URL
Github account name ryancicak
Repo name northcentral_hackathon.git
0 Kudos