I have a strong interest in this as my previous career was in tech industry but after extensive and exhaustive research as well as talking to physicians working in the field of health informatics and other niche positions, there are significant deterrents if you want to work in the field as full time.
From the basic point of view, look at it this way... I was paid a decent amount (good amount from my point of view) in the tech industry. We're talking maybe...low 6 figures. I was very happy with the pay, and honestly would be happy with that type of pay if I did not have astronomical loans to pay off. So there in lies your dilemma. There are copious opportunities for an MD to work in the tech industry. In fact, there is a huge need for this. Some of the others have mentioned a few... Bioinformatics, health informatics, CMIO positions, even just working as a physician and being on a few DIS committtees can be fulfilling. However, nothing and I mean nothing will replace the amount of money you can generate by being a clinician...period. Unless you were a software developer who came out with a new EHR system and marketed it to make a billion. So, you're best bet is to dabble in the field while you remain a clinician but don't have high hopes of making it full time because you will likely get overworked and not be making the amount of money you need to generate unless you work more clinical shifts.
It's a big field, with lots of opportunities. There are many health informatics or bioinformatics related fellowships if you are so interested, and I talked to several fellowship directors only to come to the conclusion that it was not a prudent decision in my case, especially if you have a great deal of prior experience whether it's health related or not.
Capitalize on opportunities during residency to get involved and try to get a feel for what you want to dabble in post residency. I plan on spending some time with our CMIO who is also a hospitalist during my last year as that's more of what I'm interested in although I enjoy developing and have a few projects on the side. Don't let it get in the way of your residency training though as that should always come first.
Hope that helps.