Text this: A platform for inpatient safety management based on iot technology