All residents of Indonesia, including immigrants residing in the country for six months or more, are obligated to obtain health insurance (BPJS Kesehatan).
If you work for a company, whether local or foreign, you will receive what is known as BPJS Ketenagakerjaan.