Dozens of victims of a doctor who secretly filmed hospital staff have stared him down in court as he was led into custody.