Originally posted by Rob Galino
Hello folks, in the process of converting HL7 ADTs to VRL. Requirement is to pass all fields valued or not, in "". In the VRL field properties, for each field bing copied is a Prefix and Postfix of ", Escape Pair of "".
When a field is valued, data is written to the VRL in "data" format but when a field is unvalued, the "" does not pass through, here's an example:
"31871805","20070320",,,,
What is being requested is
"31871805","20070320","","","",""
I am successfuly able to do the following by including the following Pre Tcl in the xlate: if {[cequal $xlateInVals "{}"]} {set xlateOutVals " "} but don't want that a blank or white space in between the ""...
"31871805","20070320"," "," "," "," "
If anyone knows how to make a "" output on a VRL for unvalued fields, your assistance is kindly requested.
Thanks,
- Rob