This article was produced in partnership with the Pulitzer Center on Crisis Reporting.

WASHINGTON — With the military putting a new focus on the health care needs of aging detainees at the Guantánamo Bay prison, Congress is considering again whether to allow the Pentagon to move wartime prisoners temporarily to the United States for emergency or complicated medical care not available at the base in Cuba.

The Senate Armed Services Committee has approved a provision in a larger military authorization bill that would allow temporary medical transfers to the United States. The panel in the Republican-controlled Senate has pushed the provision for seven years, only to see it stripped from final legislation over still-strong objections from both parties to bringing foreign terrorist suspects to American territory for treatment.

The political dynamic has shifted since last year, with Democrats having taken control of the House. Representative Adam Smith of Washington, the new chairman of the House Armed Services Committee, has consistently advocated closing of the prison and relocating some detainees to the United States. A committee spokeswoman said Mr. Smith had not decided about the provision, but advocates of the proposal are hopeful that he will include it in the House version of the military authorization bill.

Even if the provision were to be included in the final bill, it is not clear that it would win approval by President Trump. The White House declined to comment. Congress has for a decade prohibited the transfer of Guantánamo detainees to the United States for any reason.