BOSTON — She’d just used a defibrillator to resuscitate a man whose heart had stopped, and now, in the next room, a baby’s head was crowning, the mother emitting a stream of loud, harrowing moans.