Some providers will only cover you for medical issues due to accidents and emergencies unrelated to any pre-existing conditions. You can get travel insurance with medical conditions from JustCover.
So if you've had a hospital appointment, visited a GP or taken any medication in the last two years, you'll need travel insurance for your medical conditions.
Updated