I've gotten that before, in birth and non-birth contexts. "Don't scream, it increases tension." (I was moaning, BTW, not screaming. I just have a high voice.) And "Don't scream so loud, you're scaring the other patients." (Well, you're the one who left the door open so they could hear.)