While Jewish doctors on television aren't rare, formerly religious ones are practically nonexistent -- but writer and producer David Shore is drawing on real life for inspiration