Homepage › Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › Generating NTE segments based on the value of OBX|3 › Re: Generating NTE segments based on the value of OBX|3
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