I already code a lot for the past 10 years but finance obligations, lack of good programming positions in my country(Greece) and "obstacles" like family and age(I am 37) are making the turn a little bit hard.
3-4 months ago I started applying for jobs and didn't received a single reply. You see,when your whole life you study for medicine and residency it's quite hard to persuade others that You love coding and designing apps.Being a doctor and a developer don't make a good match in third world countries like mine.
3rd world or not, it's still in the EU, and free mobility still applies. Here's how the combination of medicine and IT looks further up north: http://frogleap.se/
One thing to keep in mind - coding for a living and coding as a hobby are two VERY different things. To get a taste of what you can expect in the industry, see for example Michael O. Church's blog (https://michaelochurch.wordpress.com/)
As a doctor, wouldn't you be in a really good position to work on a medical startup? I don't know that field at all, but I understand that lots of the work of a doctor can be automatized with machine learning, for example, writing an app that performs basic health checking.