Reat time operating system for healthcare wearable device