You’ll need to show proof of ongoing treatment when extending your stay in Thailand with immigration. This is however not seriously checked, for now, when crossing the border again. Keep in mind that this is subject to change (or not), and no one can guarantee it will remain the same for the entire length of your visa.
The ask:thailand community, consisting of multiple Q/A groups with over 100,000 members, powers this platform. It is not an official government resource. Our members actively contribute to this resource, and while we strive for accuracy, we cannot guarantee its complete reliability. Assistance to travelers is provided as a community service.