The Senate Armed Services Committee's version of the annual National Defense Authorization Act extends most of the Guantanamo detainee transfer restrictions but would permit temporarily bringing detainees onto US soil for medical treatment not available at the base:
The lack of full health care facilities at the remote base has been a big problem, esp when combined with the aging detainee population. Due to the ban on bringing a detainee into the US for any reason,they have to fly specialists and equipment there, a big waste of taxpayer $.
I am reminded, though, that the Senate Armed Services Committee has voted to permit temporary medical transfers in previous NDAA cycles, but it always gets killed by House Republicans in conference. So unlikely this survives in the final bill.