I’ve got an HL7 message and I’m trying to extract a field 4 in the QRF message:
.QRF||||SEX^~DOB^||||
I’m doing this is an xlate copying into a temporary variable. I’m then want to split the field on the ~ and check for a SEX code or DOB after each ^. Unfortunately when I use a xlate Tcl to read the temporary value all I get is SEX (no silly comments please). I’m using xlateInVals, should I use xlateInList or am I doing something wrong in trying to parse HL7 this way.
Thanks
Garry