A new generation of smart sensors aim to help people avert health emergencies before they happen.