Simulations for Optimizing Patient Transfer between Hospital and Nursing Home