The Tax Cuts and Jobs Act of 2017 repealed the shared responsibility payment, which is a penalty for not having minimum essential health coverage (and not being exempt from this requirement). But the repeal doesn’t impact 2018; it only provides relief after 2018.
The length of time that an asset is owned and that generally determines long- or short-term capital gain treatment.