The former SNP CEO is scheduled to appear for a narrative hearing at the High Court in Edinburgh on Tuesday.