This chapter shall not apply when, in the best clinical judgment of the attending physician on the facts of the case before him, a medical emergency exists that so compromises the health, safety, or well-being of the mother as to require an immediate abortion. A physician who does not comply with Sections 26-21-3 and 26-21-4 by reason of this exception shall state in the medical record of the abortion, the medical indications on which his or her judgment was based.