(a) Definitions. As used in this act: (i) "Designated examiner" means a licensed psychiatrist, or other physician with forensic training or a licensed psychologist with forensic training; (ii) "Facility" means the Wyoming state hospital or other facility designated by the court or the department of health that can adequately provide for the security, examination or treatment of the accused. A "facility" shall include a county jail that is subject to a written contractual agreement under W.S. 7-11-308; (iii) "Mental deficiency" means a defect attributable to intellectual disability, brain damage and cognitive disabilities; (iv)