Barney and Robin bond while intervening in Ted's relationship; Marshall fears an impending bout of food poisoning; Ted acts as best man in an important wedding.
The investigation of a man stabbed to death in an alley leads the team into the kinky world of custom-made life-size rubber dolls.
Adam comes to Max's defence; Sarah explores her relationship with Gordon, creating tension with Drew and Amber; Haddie makes a discovery about Alex.
Charles' ex-wife tries to interfere with his relationship with Genevieve. Amy asks Terry for a recommendation letter. Holt and Rosa turn to Gina for help with a case.
A cyber attack creates chaos in the hospital. Meanwhile, Drew draws on his medical and military training to treat a critical patient, and TC joins on a SWAT drug raid. Also: TC contemplates returning to Syria to tie up loose ends.