New £18m health facility in Yorkshire will help cut wai