The only way to diagnose it is with surgery. That's a bit of an issue. You may be faster if you have an endometrioma, because it can be seen on an ultrasound.
But at least it should be considered if a women visits a healthcare provider with pain and bloating (as well as ovarian cancer).