A computer software for managing discharge of patients from a hospital to a nursing care facility has the steps of a nursing facility registers on the database, the nursing facility providing real-time updates on a current bed availability, the database is updated with the bed availability as well as features of the available bed, an up-to-date view of bed availability is provided to a hospital case managers view bed availability, and the patient is discharged and sent to the available bed. The features are selected from the group consisting of gender, isolation beds, subacute conditions, custodial beds and the presence of a ventilator.