The Supreme Court has ruled in favor of healthcare subsidies under the Affordable Care Act, otherwise known as Obamacare.