Thanks for posting your query.
Inguinal swelling with pain and constipation
suggest Hernia, but as you took her to doctor, he/she must had physically examined and ruled out it. However, she has previous history of TB so abdominal TB must be ruled out. Sometimes Pelvic Inflammatory Disease
may present some what similarly.
You need to get some labs like Endoscopy,biopsy, chest x-ray, abdominal x-ray
and blood tests.
Hope it helps.