Ariz. Rev. Stat. § 36-725
G. An afflicted person admitted pursuant to an emergency custody order shall be released from custody if the medical director of the receiving institution or facility, with the advice and consent of the tuberculosis control officer or a local health officer, determines that the afflicted person is any of the following: