The 25-year-old, who shared hospital footage via social media, confirmed the diagnosis took place during her time on "Dancing With the Stars."