Putting people on a pathway to independence before leaving hospital