Why are HL7V3 Messages Verbose?
Why do we need Model driven messages?
So what’s the issue?
Well, let’s take a sample example and see what exactly the issue is. The following is an extract from XML instance to represent author of a clinical document based on the discharge summary CDA schema taken from CFH-MIM6.3 available on HL7-UK Website
Now let’s look in detail at the representation of the author. The R-MIM representation of the first part is shown below
The author representation starts with the author as participant. It contains the following attributes
1. “typecode” with a fixed value of “AUT” – Indicating this class is that of author
Name – Name of the person
Well a simple XML representation of the author as described above would have probably looked something like this
Yes it is but the verbose nature of the HL7V3 problems are creating huge problems as mentioned above regarding the effect to understand and process the message correctly apart from hogging the network bandwidth and destroying one of the unique the advantage of XML messages- “Readability” which is critical for developers and testers.