When people have the option not to purchase health insurance, so when they get sick and can't afford to pay for it, but still get needed care, and as a result I pay higher insurance premiums, that's socialism.
When the individual mandate requires everyone to buy health insurance, so everyone pays their own medical costs and don't spread the burden on others, that's capitalism.