Software to improve patient care