Computer simulation of hospital discharges [electronic resource]