http://www.hl7.org/implement/standards/product_brief.cfm?pro...
http://www.hl7.org/implement/standards/product_brief.cfm?pro...
So a CCD produced by Nextgen won't always come into Epic the way it's intended (not picking on those 2, just an example).
I've come to realize that even though the CCD tries to be all things to all people, it suffes from the same issue as many of the vocabularies themselves: data precision is an afterthough. Clinical informatics lives in a utopia where everything is precisely represented and perfectly documented. Actual clinicals deal with partially-known information, imprecise or unrefined representation of diagnosises, procedures, meds, etc; and just have to make the best with what they have.
But certainly testing is needed to ensure proper end-to-end interoperability. And of course if the users don't enter the data correctly in the first place then no interchange format can fix that.
http://www.hl7.org/fhir/us/ccda/
Healthcare data is fundamentally complex. It is impossible to come up with a single canonical way of representing everything we might want to record about a patient. The standards reflect that essential complexity.