They passed the bill / Obamacare based on it being a revenue increase seeing as how you are fined, or in their words taxed if you don’t purchase healthcare insurance. They can’t constitutionally force you to buy healthcare insurance or punish you for not having healthcare insurance, but they can tax you. So, they passed Obamacare in their words, being considered a tax. That’s how they got it passed.
But since the individual mandate tax has since been eliminated, a federal judge in Texas has ruled Obamacare unconstitutional based on their own words of how they got it passed. They considered it an appropriations bill in essence. A revenue bill that taxed you for not having healthcare insurance, but not forcing you to buy healthcare insurance or punishing you for not having healthcare insurance. That crucial mechanism in which got the bill passed has been eliminated thus making the bill entirely unconstitutional.
It’s semantics at the end of the day but this is where it gets interesting. Even if that tax / individual mandate was still in Obamacare, it would still be unconstitutional because of, The Origination Clause, sometimes called the Revenue Clause. It is Article I, Section 7, Clause 1 of the United States Constitution. This clause says that all bills for raising revenue must start in the House of Representatives. And as I stated earlier, Obamacare originated in the Senate not the House. So, no matter how you slice it or spin it, Obamacare is unconstitutional.