A former workhouse building which later became part of the Barony Hospital in Nantwich looks set to be converted into flats.