A man accused of attempting to murder an off-duty PSNI officer is to undergo a psychiatric assessment before seeking release from custody, a judge was told today.