Episode 511, "Fit For Duty"
SEASON 4, EPISODE 401 - "Continuing where 313 leaves off, as Ed is shot multiple times on the street by an unknown killer. He is raced to the hospital just as his estranged wife is in labor and having problems delivering their new baby there too. He is able to sit with Sophie as she is rushed into an emergency C section. The team is hunting for the gunman that shot Ed. They trace him to a drug kingpin who has used him as a way to ship opium in from Afghanistan. His wife finally gives the Team his whereabouts, and he is taken down. Baby Girl Lane is delivered safely, with Ed and son Clark present."