It's cause Epic/McKesson has complete control over the EMR world so everything has to work with them to some degree.
GNU health is great but I haven't seen where it could support the massive amount of legal and monetary hoops that Epic and co have to jump through as well.
For some reason there just isn't a lot of volunteer efforts/space for open source development in the healthcare world.