As you say, as pre existing med con, so no point in contacting Insurers.
I thought the EHIC covered you for use of the Spanish national health services, but you would have to pay the relevant costs for medicines.
Perhaps the place you visited was not part of the Spanish state system, but was private, hence not knowing about EHIC. Or they wanted to earn the relevant fees, so didn't want to deal with the EHIC. I may be wrong but I think with EHIC, the Spanish would have an arrangement to bill the UK government for treatment, so they would have paperwork to do.