A pair of carers charged with neglecting a mentally ill hospital patient over several days have appeared in court.