How real-time patient data can identify medical issues before complications arise