Wi-Fi patient and staff badge for patient flow, staff protection and other RTLS applications