Those who are truly invested in EMR software are not developers and developers are not invested in EMR software. So, as a developer, it's a job you take because you need a job. And if you're competent, you can get a job elsewhere eventually. If you're not, well, it's not like medical software has a deep talent pool to draw from. You can coast for a long time.
Combined with that, you have to work with doctors and nurses. Doctors especially operate under the belief that demonstrated competence in one area correlates to expertise in all areas. No one bikesheds harder than a doctor. Except a doctor who fancies himself a programmer as well.