Child molestation at hospital goes to court