Reply To: Generating NTE segments based on the value of OBX|3

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Generating NTE segments based on the value of OBX|3 Reply To: Generating NTE segments based on the value of OBX|3

#57746
Rentian Huang
Participant

Arslan,

is ~ your repetition delimiter in the encoding character?

Sam


Coooooolllllll!!!!!! It worked!! 🙂)

I had no idea what you did, but it is working. Amazing!

BTW, my lab is sending “~” in OBX 5 to indicate a new line for notes/comments. Is it possible to generate NTE segments based on that “~” value?

Like if we receive the following OBX-5:

“POSITIVE~Due to the intermittent nature of~  gastrointestinal bleeding, it is recommended~  that fecal specimens on consecutive days be~ tested.  The patient should be placed on a meat~  free, high bulk diet beginning 72 hours prior~  to testing and continuing through the test~ period. All foods containing blood, such as meat and meat~  extracts, should be avoided, as well as turnips~  , horseradish and other foods containing~  peroxidase-like substances.”

Your translation will generate something like:

NTE[1] = Due to the intermittent nature of

NTE[2] = gastrointestinal bleeding, it is recommended

NTE[3] = that fecal specimens on consecutive days be

NTE[4] = tested.  The patient should be placed on a meat

NTE[5] = free, high bulk diet beginning 72 hours prior

NTE[6] = to testing and continuing through the test

NTE[7] = period. All foods containing blood, such as meat and meat NTE[8] = extracts, should be avoided, as well as turnips

NTE[9] =   , horseradish and other foods containing

NTE[10] = ~  peroxidase-like substances.

Can it be done using the same CALL statement?

Arslan

Forum Statistics

Registered Users
5,116
Forums
28
Topics
9,292
Replies
34,432
Topic Tags
286
Empty Topic Tags
10