The Medicare Levy Surcharge

Hi everyone

Is this mandatory if one makes more than 90k a year and one doesn't have private health insurance? What if the combined income (with one's spouse) is not 180k? Or what if one makes more than 90k, but has deductions that brings the taxable income below 90k?