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

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

#57751
Arslan Khan
Participant

    Sam/Jim,

    I am little confused here. Each lab results with a data type of “FT” comes with a unique instance of OBX-5.

    Like,

    OBX|1|2|FT|4|Result comments and notes in this field||||

    Currently, LAB is sending notes and comments with ‘~’ to represent a new line, like:

    OBX|1|2|FT|4|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.||||

    My guess is if I am able to remove all the ‘~’ using a regsub command, I should be able to using “SAM’s” CALL statement to generate multiple NTE segments.

    Correct me if I am wrong in this interpretation.

    Thanks.

    Arslan