HI-IQ Charge Interface

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf HI-IQ Charge Interface

  • Creator
    Topic
  • #52249
    Henry Bauer
    Participant

      Seeing an odd character in smat. Also the message appears to have carriage returns and Lie feeds after every segment. HI_IQ says this is their standard HL7 message. My question is besides removing the carriage return in TCL to get the segment list by splitting the $msg by r, would I do that first or remove the line feeds first or is there a better way of accomplishing this. The company states any change to their standard HL7 message is custom coding and incurs a charge, so i have been charged with fixing this to a more palatable format. Plus the odd character at the end I see in smat.

      MSH|^~@|HI-IQ||||201011021126||FTx:FirstSend

      PID|5602160||5602160||Zzpmtest^Jessica^ ||05/20/1991|Female|||52055^^Ocdtvxg^MO^32034|||||||656271836FINFIN NBR|

      PV1||P|003^RM1^RADOP|||||||3954|||||||||121682705|

      FT1|1|||20101102||CG||Muscle biopsy, percutaneous needle, incl soft tissue||3|0|||||||||^TEST^Vicki|||121682705|||20206^  |

      FT1|1|||20101102||CG||Fluoroscopy (sep. proc.), up to one hour MD time||1|0|||||||||^TEST^Vicki|||121682705|||76000^  |

      FT1|1|||20101102||CG||US guidance for biopsy, S&I||3|0|||||||||^Keck^Vicki|||121682705|||76942^  |

      CO7|121682705||

    Viewing 0 reply threads
    • Author
      Replies
      • #73572
        Robert Milfajt
        Participant

          Two things.

          First you need to identify what the odd character is.  If you were on AIX, the od command would help you do this, assuming you have the message in a file.

          Once known, you can strip out that character and the line feeds in the TPS Inbound Data section via a TCL proc, using regsub or string map.

          Hope this helps,

          Robert Milfajt
          Northwestern Medicine
          Chicago, IL

      Viewing 0 reply threads
      • The forum ‘Cloverleaf’ is closed to new topics and replies.