No. Despite the show's penchant for putting main characters in peril, Chief Medical Examiner Dr. Melinda Warner (Tamara Tunie) is never shot in SVU or the original Law & Order series.
You may be conflating her with another character—perhaps a victim, a different M.E., or an episode from a similar procedural. If you recall a specific scene (a hostage situation, a courtroom shooting), share the details and I can help identify the correct show or character.