(1) The state, a county, a city, a public health district, a public school district, or any local political subdivision thereof may not enter into any contract or commercial transaction with an abortion provider or an affiliate of an abortion provider.
(2)  Subsection (1) of this section shall not apply to:
(a)  A contract or commercial transaction that is subject to a federal law related to medicaid; or
(b)  A hospital, as defined in section 39-1301, Idaho Code.