Even before the Shah left, these sources say, the Panamanian government had agreed that the American medical team headed by Dr. Michael DeBakey would be permitted to operate on the Shah and would receive the full cooperation of the Panamanian medical authorities.