Levi Jung Ruivivar’s Olympic dreams were nearly put on hold after the gymnast suffered a serious health scare just days before the opening ceremony in Paris. 

Ruivivar, a former member of the U.S. women’s gymnastics team set to compete for Team Philippines this summer, detailed the moment she went into anaphylactic shock on Monday because of a "severe" allergy to tree nuts. 

Levi Jung-Ruivivar during competition

Levi Jung-Ruivivar concentrates during the 2023 U.S. Gymnastics Championships at SAP Center on Aug. 25, 2023. (Kyle Terada-USA TODAY Sports)

"This Monday I was taking an evening walk when I began to have an anaphylactic reaction. I didn’t ingest tree nuts (to which I am allergic) or suffer from a bug bite, but for some reason I suffered from a severe allergic reaction," she said in a post on Instagram, sharing a picture of herself receiving medical care. 

CLICK HERE FOR MORE SPORTS COVERAGE ON foxnews.1eye.us

"On the way to the treatment center my allergy symptoms escalated rapidly and my breathing became significantly labored, my throat began to constrict, my chest was itching, and I had severe swelling."

Ruivivar explained that her symptoms were bad enough that she eventually decided to use her EpiPen on the way to the medical center. 

Levi Jung-Ruivivar on uneven bars

Levi Jung-Ruivivar competes in the Uneven Bars routine during the women's senior division of the U.S. Classic at Maverik Center on July 30, 2022 in West Valley City, Utah. (Alex Goodlett/Getty Images)

SIMONE BILES NAILS DIFFICULT VAULT, STICKS PERFECT LANDING DURING OLYMPICS TRAINING SESSION

"I just want to let everyone know that I am 100% safe and healthy. My muscles are fatigued and it definitely took a toll on my body, but I am doing everything I can to recover and perform at my best possible level." 

Ruivivar added that she will still compete in women’s gymnastics, which is set to begin on Sunday with the qualifying rounds. 

Levi Jung-Ruivivar performs

Levi Jung-Ruivivar at the Mixed Cup on March 20, 2022. (Marijan Murat/picture alliance via Getty Images)

CLICK HERE TO GET THE FOX NEWS APP

Ruivivar is one of three gymnasts competing for the Philippines. She announced on social media in September that she would be representing the country her grandfather emigrated from, going forward in her career. 

Follow Fox News Digital’s sports coverage on X, and subscribe to the Fox News Sports Huddle newsletter