House passes legislation to give protections to health workers