Sarah Hyland's medical struggle is NOT over and she's being open -- kind of -- about it on social media. The 27-year-old Modern Family actress posted a selfie (right), showing a bloated face and dark circles around her eyes, from her hospital bed on Thursday.

"Sometimes a selfie is more than just a good angle or feelin cute. This time for #NationalSelfieDay, I’ve decided to share my truth. As painful as it is. So here is my face that was torn from work against my will. But I’m very grateful it was. Health should always come first."

Hyland didn't reveal, in her Instagram story, what illness she suffers from, but she did reveal she had a kidney transplant in 2012 after online trolls shamed her for promoting anorexia. She came clean to explain that her illness keeps her from retaining muscle mass and that she had to learn to love her body as it is.

In this recent battle with her mystery illness, she said it was her beloved pup who alerted her she needed to seek treatment: "Can’t wait to come back to my precious angel princess. She’s perfect and knows exactly what I need at all times,” she wrote on a shot of her in bed with her dog. ”This was taken this past Sunday. Day before hospitalization. She was literally telling me to get treatment.”

In a 2015 interview, the Charmed star told Seventeen magazine she was "born with so many health issues." Here's to better health for Sarah!!