We’ve had a functional HL7 to XML lab result xlate since 3.8.something. Right now we’re on 5.3Rev2. The upgrade from 3.8.1P to 5.3Rev1 is when all the DTD attributes started populating in the output messages.
I’m not sure if it should or shouldn’t send the #FIXED attribute defaults from the DTD. Ideally, the other side would be using the same specification and we shouldn’t have to send defaults that they already know. Then again, if the engine sends them, then at least we have the option of editing them out of the DTD.
Either way, if Mary is having problems with defaults populating intermittently, that seems like a bug.
Mary,
I looked back through my notes. If you are using the same HL7 DTD I was, then this perl regular expression should remove the attribute definitions:
perl -ne “print if not /( edited.dtd
It may be an issue with all defaults, but it may also only be an issue with #FIXED defaults. If so, you could either try removing the #FIXED keywords or replacing them with #IMPLIED. Then see what happens after you recompile. (In TEST, of course, with proper backups.)
Here is a link to the w3c spec if anybody is curious:
http://www.w3.org/TR/REC-xml/#sec-attr-defaults” class=”bbcode_url”>http://www.w3.org/TR/REC-xml/#sec-attr-defaults