Federal Health Coordinating Official for the 2018 UAC Reunification Effort Cmdr. Jonathan White testifies as the Senate Judiciary Committee holds a hearing on the Trump administration's policies on immigration enforcement and family reunification efforts, on Capitol Hill in Washington, Tuesday, July 31, 2018. (AP Photo/J. Scott Applewhite)
Federal Health Coordinating Official for the 2018 UAC Reunification Effort Cmdr. Jonathan White testifies as the Senate Judiciary Committee holds a hearing on the Trump administration's policies on immigration enforcement and family reunification efforts, on Capitol Hill in Washington, Tuesday, July 31, 2018. (AP Photo/J. Scott Applewhite) Credit: J. Scott Applewhite

WASHINGTON — A Department of Health and Human Services official told senators Tuesday that his agency had warned the Trump administration that separating families would be dangerous for children. But some of the government’s top immigration officials used a Senate hearing to largely defend how the policy has been implemented, with one comparing family detention centers to “a summer camp.”

One official told the Senate Judiciary Committee that while the Trump administration was developing its immigration policies, Health and Human Services officials said they were worried “about any policy which would result in family separation due to concerns we had about the best interests of the child.” Commander Jonathan D. White of the U.S. Public Health Service Commissioned Corps, a branch of HHS, said they were also uncertain their department had enough resources to handle large numbers of detained immigrants.

“There’s no question that separation of children from parents entails significant potential for traumatic psychological injury to the child,” White said.

Asked by Sen. Richard Blumenthal, D-Conn., what response HHS officials got from administration policymakers, White said, “The answer was there was no policy which would result in separation of children from family units.” White is a career official at HHS who has served in three administrations.

White’s remarks came as the Judiciary committee questioned officials about what has become an election-year liability for the Republicans and the White House — President Donald Trump’s separation of migrant children from detained families. Trump dropped the policy more than a month ago under fire from Democrats and Republicans alike. But of more than 2,500 children who were initially separated from parents and guardians, hundreds remain in federal custody including more than 400 whose parents left the U.S. without them.

Matthew Albence, an executive associate director at U.S. Immigration and Customs Enforcement, told the lawmakers that “the best way to describe” conditions at family detention centers was “like a summer camp.” He said the facilities undergo rigorous inspections and offer basketball and other forms of recreation, food and water around the clock and medical and dental care.

“We do not leave our humanity behind when we report for duty,” Carla L. Provost, acting chief of the U.S. Border Patrol, told members of the committee.

At one point, Sen. Mazie Hirono, D-Hawaii, asked witnesses whether they would want their children to stay in one of the government’s family detention centers.

“I think we’re missing the point,” answered Albence. “These individuals are there because they have broken a law.”

While some Republicans offered measured criticism of the problem, Democrats ridiculed Trump’s immigration policies as cruel and bungling. No. 2 Senate Democratic leader Richard Durbin of Illinois said Homeland Security Secretary Kirstjen Nielsen should resign and that someone “has to accept responsibility” for policies that show “the extremes this administration will go to.”

Sen. Patrick Leahy, D-Vt., chided the administration for not having an adequate system for matching separated children with their parents. He cited the often frantically crowded Chuck E. Cheese children’s restaurants as having procedures that work.

When Sen. Sheldon Whitehouse, D-R.I., asked the witnesses “what went wrong” when the government began having trouble matching detained children with parents or guardians, the most specific answer came from the public health service’s White.

“Children were separated from their parents and referred as unaccompanied alien children when in fact they were accompanied,” White said.

The officials said they keep records of children in their custody and can document decisions by hundreds of detained parents to willingly leave the U.S. without their children, an assertion that has drawn skepticism from lawmakers. Some migrants separated from their children have said they did not understand what they were signing.

White called a family’s decision to leave children behind “a desperate last act of a parent” that he said is “unfathomable until you’ve walked in those parents’ shoes.”