I had diverticulitis and had to go to Bangkok Hospital Pattaya. After I stabilized I decided to fly to Hawaii to consult with my doctor. It was about three months prior before I would renew my retirement visa so I knew I wouldn’t make it back in time. Immigration at Jomtien said they do it for 19,000 baht. That was before the pandemic so I don’t know if the policy is the same for emergency situations.