Actress Anna Kendrick is going public with a health scare. The "Pitch Perfect" star suffered her a recent bout of kidney stones.

In a series of tweets on Friday, she thanked the Atlanta medical team who treated her when she was at her "most vulnerable and terrified," especially the female doctors and nurses who cared for her.

"I need to give a shout out to the Atlanta doctors and nurses who helped me through my first experience with kidney stones," she wrote before proceeding to name them all: "Renee, Sandra, Muriel, Beverly, Ashley, Nina, Callie, and... …the young woman whose name started with 'L?' "

Kendrick, 33, confessed she couldn't recall the anesthesiologist's full name – but she had a good excuse for the memory lapse. "In fairness, you were one of the people giving me the heavy (drugs) right before I went under," she told Ms. L in her trademark ribald (read: NSFW) style.

The actress gave her extra props for "laughing at my tired (expletive) 'If I die, clear my search history' joke. I appreciate that," she pointed out.

Turning serious, Kendrick said, "I was worried that my pain would turn out to be 'nothing serious' or something that I should have been able to fight through."

In her final tweet, Kendrick told her doctors and nurses, "I’m so grateful to these women. Even if we only interacted for a moment, know that the attention and kindness you give your patients is so appreciated."

Kidney stones are hard deposits generated by the organs, which are responsible for filtering waste from the bloodstream.

According to the Mayo Clinic's website, the stones usually form when urine gets concentrated, forming crystals, though they can also happen as a result of infection, dehydration, weight-loss surgery, diet or hereditary conditions. The stones can form anywhere in the urinary tract on their way from the kidneys to the bladder.

Treatment depends on how soon the stones are detected. If they're caught early, the patient may need only water and pain medication before passing the stone. But on the other end of the spectrum, surgery could be required if the stone(s) get stuck in the urinary tract.

Kendrick did not indicate whether her case required surgery and her representative did not immediately respond to USA TODAY's request for comment.

On the upside, as @HelakMelisa pointed out in the comments section, Kendrick now knows "what it's like to have a baby."

Childbirth may actually be easier, argued another commenter: "I have female relatives who are also moms and they said they would rather deliver a baby than pass another kidney stone," @AeternusValorum remarked.