The aim of this paper is to present our approach (MEDIA)on the CLEF-2020 eHealth Task 1. The task consists in automatically assigning ICD10 codes (CIE-10, in Spanish) to clinical case documents,evaluating  the  prediction  against  manually  generated  ICD10  codifications. Our system took part in two different subtasks: one corresponding to  Diagnosis  Coding  (CodiEsp-D)  and  the  other  to  Procedure  Coding(CodiEsp-P).