Characterisation of Complete Orthonormal Systems