New smartwatch app could improve patient safety