I am trying to use a null field as a flag for additional action to take in a Translate. The issue I am running into is the original message is not sending an NTE 3. I have attempted to create an NTE three field by using the condition of if NTE 2 = L then make NTE 4 equal to COM. Now I am attempting to use the tilde (~) to look at the outputted message for the NULL value that I was trying to create in NTE3. Cloverleaf is unable to recognize the null field. Is there a better way to handle this? Is there a way to look for HEX values in a Cloverleaf translate. I could look for hex values of 4C 7C (L |).
Any help would be appreciated. Sample Message below
Thank you
Tom Schlesser
Allina Health
NTE|1|L|FOR FASTING ORDERS PATIENT SHOULD BE FASTING FOR 12 HOURS|COM
NTE|2|L
NTE|3|L|Pt is fasting