No contradictions at all, If I wanted to take the medcine i would and it won't be a problem; All sick are allowed to take the medcine and for chronique desease you don't have to fast at all like you said cause Islam tell us to take care of ourselfs first.
In my situation it's a choice cause i could have taking the medcine and by the end of Ramadan fast a day to make for it, but i've chosen to swallow the pain for one hour and take medcine after IFTAR.