The episode is "The Choice" from Season 5.
Emma undergoes hernia repair surgery; Dr. Quinn discovers blocked fallopian tubes, making natural conception impossible.