Written and first recorded by Moon Martin (1978).
Hit version by Robert Palmer (US #14/CAN #1/AUS #13/NZ #20 1979).
From the wiki: “‘Bad Case of Loving You (Doctor, Doctor)’ was written by Moon Martin (‘Cadillac Walk’) and first recorded for his 1978 album Shots From a Cold Nightmare. A year later the song was covered by Robert Palmer for his 1979 album Secrets and went on to become a US and Canadian hit. The main difference between Moon’s version and the cover by Robert Palmer is that Palmer’s version is in major key while Moon’s is in minor, making Martin’s original arrangement sound more ominous.”
Robert Palmer, “Bad Case of Loving You” (1979):