While Cobie Smulders Was Shooting How I Met Your Mother, She Endured Multiple Life-saving Surgeries