States considering offering legal protection to hospitals