1. Except when a medical emergency exists that prevents compliance with this subsection, an individual may not perform an abortion on a pregnant woman before determining, in accordance with standard medical practice, if the unborn child the pregnant woman is carrying has a detectable heartbeat. Any individual who performs an abortion on a pregnant woman based on the exception in this subsection shall note in the pregnant woman’s medical records that a medical emergency necessitating the abortion existed.2. If a physician performs an abortion on a pregnant woman before determining if the unborn child the pregnant woman is carrying has a detectable heartbeat, that physician is subject to disciplinary action under section 43-17-31.