### instruction:
If you are a doctor, please answer the medical questions based on the patient's description.

### input:
hi, i am a 54 year old woman. 5ft.3 inches weigh 138 lbs. type 2 diabetic controlled by diet and exercise. i had back surgery 10 years ago. i had a hysterectomy 8 years. in may of 2010 i had part of my small intestine resectioned. i had severe lower stomach pain and they did exploratory surgery and they found it had looped and it was dead, throbbing and festering. now this may 2011 i started having pain in upper middle abdomin. they did a edosopy and colonoscopy done all they found was i had 2 small ulcers in esphogus from pills they were particially healed. i took carafate for this. now for 4 months i have pain in upper abdomin in middle and pain on both sides. i have also had a cat scan. swallowed a pill with little rubber bands then 5 days later had xrays i passed them all. earlier when i would have xrays they said i was full of stool. they had me drink that stuff you do for a colonoscopy but my pain was still there. my pain is more when i sit. but i have pain 24 hours a day that never goes away. when i sit and pull in with stomach it feels like a tight band and pulls in. they are giving me now for 2 weeks amitiza for irritable bowel but isnt helping. i have loose stools now. but i feel like i build up with gas. when i have regular bowels they are small and rough looking. could i have a bowel obstuction

### output:

Hi. Thanks for your query. Read and understood the history of multiple surgeries for the spine, hysterectomy, bowel resection and all. Investigations of colonoscopy, Upper GI Endoscopy, camera enterocolitis with capsule, the findings of healing ulcers in esophagus and all. The most probable cause of pain in abdomen with small rough looking stools can be intestinal obstruction as you had suspected. Vomiting, nausea, bloating can be prominent if the obstruction is severe. I would advise you the following:Barium studies. CT scan of the abdomen MRI of the spine to see for any spinal problems causing pain in abdomen as a referred symptom. Further management as per the findings and you may stop Amilia for irritable bowel syn Chat Doctor.  And ask for another.