Patient-monitoring system