A preliminary hearing will be held in the case of the former first minister who faces charges including attempted rape.