Adding information to an OBX segment for HPF/HBF

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Adding information to an OBX segment for HPF/HBF

  • Creator
    Topic
  • #48072
    Misti Wannamaker
    Participant

    We are installing HPF/HBF.  I have a Misys Lab system that we need to modify the way the results go to HPF/HBF.   I need to take the message that comes out of the engine and modify the OBX-5 segment.  I need to put the Patient Name, Acct #, MR#, Admit Dt/Time (basically PID-5, PID-3, PID-18, PV1-44) into the OBX-5 field.  Can someone tell me how to do this?  I was trying to use an xlate but it isn’t working.  Thanks for any help you can provide!

    Misti R. Wannamaker

    The Regional Medical Center

    mrwannamaker@regmed.com

    803.395.2806

Viewing 3 reply threads
  • Author
    Replies
    • #57540
      Debra Downs
      Participant

      Misti,

      We just went live with HPF/HBF, and we did this for several document types.  Use tcl; as you go through the PID and PV1 segments, assign the needed values to variables, then insert a new (or in our case several new) OBX segment(s) with the variables you’ve assgned from the PID and PV1 segments.

      If you need further help, let me know, and I’ll provide you with one of the tcl’s we used here.

    • #57541
      Jim Kosloskey
      Participant

      Misti,

      Based on your description, I don’t see why that can’t be done in the Xlate without Tcl.

      Are the various components supposed to be repetitions of the OBX-5 field, repetitions of the OBX, or concatenated together in one OBX-5?

      Thanks,

      Jim Kosloskey

      email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

    • #57542
      Misti Wannamaker
      Participant

      Jim, the repetitions are supposed to be different PID and PV1 fields concatenated into OBX-5.  I tried to do it in a Xlate … maybe I was doing it wrong.

    • #57543
      John Perks
      Participant

      Use the CONCAT action, select the input fields in their correct order, specify your separator, and select OBX.5 for the destination.

      If you really want to use OBX.5 subfields, since there are not usually subfields in OBX.5, just do a normal COPY from each of your source to OBX.5, which is essentially subfield 0, and manually change the subfield index on the 2nd and subsequent COPY lines to 1, 2, etc.

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

Forum Statistics

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