Assessing patient health from sensor waveforms