A man accused of stabbing a worker in a random attack on a busy city street has had his bail revoked following fresh medical material.