Scott Smith

Forum Replies Created

Viewing 13 replies – 1 through 13 (of 13 total)
  • Author
    Replies
  • in reply to: Multiple FT1 within DFT^P03 #68688
    Scott Smith
    Participant

      I had already fixed, but after I posted code online.

      in reply to: Multiple FT1 within DFT^P03 #68686
      Scott Smith
      Participant

        thanks guys.  I got it working now.  I moved suppress to beginning and moved continue to after second iterate.

        in reply to: Tps testing error #68619
        Scott Smith
        Participant

          Moving the brackets fixed one error now I get:

          rong # args: no script following “{[string equal $MSH8 “A08″] && [string equal $PV13” argument’

          in reply to: Tps testing error #68616
          Scott Smith
          Participant

            I found them they are there, just after 2 echos I put in here is the entire statement:

            if {[string equal $MSH8 “A08″]} && {[string equal $PV131 ” “]} {

                                       set dispList

                                      }

                                      else {

                                         set dispList

                                     }

                                   

                                     if {[string equal $PV132 “B7E”]} {

                                         set dispList

                                     } else {

                                         set dispList

               

                                   

               

               echo $mh    

               echo $dispList

               }

            in reply to: Multiple values for Table Lookup #65990
            Scott Smith
            Participant

              Actually I want to search a table with values from OBR 16 and OBR 28.  these values might not be the same.

              in reply to: Testing error #65919
              Scott Smith
              Participant

                For some reason I had created xlate and varaint for 2.3.1 while the message was 2.2.  When I changed it to correct verison everything worked out.

                in reply to: Messages not routing with proc in place #65749
                Scott Smith
                Participant

                  Mike,

                  I like those.  I was trying to use a already proc and modify it.  That looks much better.

                  And Bob thanks for the debugging help – I finally got it going.

                  in reply to: Messages not routing with proc in place #65746
                  Scott Smith
                  Participant

                    Bob,

                    It  must be one of those weeks.  I changed both “sets” to lappend and now I get the “bogus msgStrId…: error.  

                    Could it have something to with that I am killing the message by default and if it is found in table to continue the msg?

                    in reply to: Messages not routing with proc in place #65744
                    Scott Smith
                    Participant

                      Thanks Bob.

                      I fixed that error, now I getting

                      [0:TEST] ‘CONTINUE’ (returned by ‘tpsfilterdoccw_tbl ‘) does not match { }

                      [0:TEST] ‘message0’ (returned by ‘tpsfilterdoccw_tbl ‘) does not match { }

                      I don’t think I have seen this one before, do you know what it means?

                      in reply to: Provider ID #65737
                      Scott Smith
                      Participant

                        Thanks Mike.  worked like a charm.

                        in reply to: Provider ID #65734
                        Scott Smith
                        Participant

                          Jim,

                          Actually I doing thru TCL.  I thought I found a piece of code, but it is still pulling the whole field instead of data before first separator.  Here is what I have so far:

                                   # get the field separator from the hl7 message

                                     set fieldSeparator [crange $msg 3 3]

                                     # get the field from the hl7 message

                                     set OBRsegment [getHL7Segment $msg OBR]

                                     set drNumber [getHL7Field $OBRsegment 16 $fieldSeparator]

                          set obrFlds [split $OBRsegment $fieldSeparator]

                                      set obr16 [lindex $obrFlds 16]

                          echo $obr16

                             set drNumber [crange $drNumber 0 3]

                            set drNumberList $drNumber

                          echo drNum:<$drNumber>

                          Any help?

                          in reply to: Route messages based doctor #65691
                          Scott Smith
                          Participant

                            That’s the idea I was looking for.

                            in reply to: Route messages based doctor #65689
                            Scott Smith
                            Participant

                              So Dennis,

                              Could I put the dr ID on the left and KILL, CONTINUE. etc on the right and use that value to match on each route.  Then I would put the proc in each route, right?

                            Viewing 13 replies – 1 through 13 (of 13 total)