AI can be a big help to healthcare workers, but there are legal issues to consider