Some hospitals are registering patients detained by federal immigration officers under pseudonyms and prohibiting staff from contacting family members. Attorneys and health care workers say the practices facilitate rights violations and create ethical concerns. Hospitals say they’re trying to protect patients.