Medical standards and practice vary between CAAs, especially with mental issues. The standards are generally available on the web, but how they are interpreted can vary. Your national Owners and Pilots Association might have a medical panel that would be very worthwhile contacting.
Certain diagnoses can preclude your ever flying in particular countries.