Yes IBS is a functional disorder. Psychologically it points towards fear or threat in life. It is a condition on which you will have to work with your doctor. Medications and therapy help a lot.
Next Steps
Kindly see a psychiatrist and discuss about various issues in detail.
Health Tips
IBS is treatable if not curable.