Speaking after being discharged from hospital, the actress said: "It was basically a respiratory infection and para-typhoid. I was in hospital for four days."
Bollywood's fashionista also posted a picture of herself on a social networking site with a drip attached to her hand.
Though, her father and actor Anil was in Los Angeles when Sonam was unwell, Anil kept a tab on her health.
"He was naturally very worried when he heard I was in hospital. It's not a nice thing for a father to hear his daughter is unwell when he's not in the country.
"I had no intentions of going public about my health setback. But then for some technical reasons I had to put a picture up of me in hospital. My father has been messaging me every day non-stop," she said.
The actress also noted that her co-star Salman Khan was also very anxious about her state of health.
"He (Salman) is one of the kindest and most considerate co-stars I've worked with. He keeps an eye on me, asks if I am okay when I am quiet. We had worked together in my first film 'Saawariya'. I guess he has been protective of me since then," she said.
Sonam is now back to work. She started shooting for Barjatya's films Wednesday, and also attended an awards function in the evening.