Medicare coverage is primarily designed to cove

Medicare coverage is primarily designed to cover you within the U.S.  Medicare supplemental plans C, D, F, G, M and N offer 60 days of coverage outside the U.S. with a maximum benefit of $50,000.00 within that 60 days.  After 60 days outside the U.S., you are uncovered.  For this reason, ex-patriots who live half the year or more outside the U.S. purchase an international private, major medical plan.
An international major medical plan will allow you to be hospitalized in Panama, or any other foreign country you may visit, without worrying about the final cost.  After your deductible is met, your costs are covered.  
It is always recommended you keep your Medicare coverage in the U.S. 

Best Places In The World To Retire