In this chapter:
(1) "Extreme risk protective order" means a written order, warrant, or executive order issued by a court or signed by a magistrate or other court officer that:
(A) has the primary purpose of reducing the risk of death or injury related to a firearm by:
(i) prohibiting a person from owning, possessing, or receiving a firearm; or
(ii) requiring a person to surrender a firearm or otherwise removing a firearm from a person; and
(B) is not issued on the basis of conduct that resulted in a criminal charge for the person who is the subject of the order.
(2) "Firearm" has the meaning assigned by Section 46.01, Penal Code.