Optimization of patient care setting or improving discharge transitions