5.8.5 regexp search consitions in SMAT

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf 5.8.5 regexp search consitions in SMAT

  • Creator
    Topic
  • #53287
    Bob Schmid
    Participant

      😳

    Viewing 6 reply threads
    • Author
      Replies
      • #77156
        Bob Schmid
        Participant

          Runnign 5.8.5

          searching SMAT file with following message:

          INCLUDE

          specified: regex of ORU.*Rel  

          I did NOT get a hit.

          One of the messages in the SMAT is:

          MSH:;~&:HBOX:E:PCM:E:201208301315::ORU;R01;41:4299886:D:2.2:4299886:

          PID::01969187:01322089;;;E:””:TEST;BABY;BOY;””:””:20110105:M::7:250 FEDERAL PALZA;””;YOUNGSTOWN;OH;44406;””;C;””~””;””;””;””;””;””;P;””::(330)884-7152::*ENGLISH;E:S:CAT;””:1125600001;;;E:””:

          OBR:1:0000002159E30015;HBOX:0000002159E30015;HBOX:30015;ABDOMEN SINGLE VIEW/KUB;RDE:::201208301306:””:::::””::;;;;:477;;;;;;;PHY::::::201208301314::RDE-AE:F:::::31:””;TESTING OT:DR01371;RAJUL PANDYA M.D.&&;;;;;;EMPX:::UH03367;McCaslin&&;;;;;;EMPX:

          NTE:1:L:””

          OBX:1:ST:Exam32Room94;Exam Room:1:RM 3:::””::::

          OBX:2:TS:Exam32Start36;Exam Start:1:201208301314:::””::::

          OBX:3:TS:Exam32Stop36;Exam Stop:1:201208301314:::””::::

          OBX:4:CE:Films32Used94;Films Used:1:NONE:::””::::

          OBX:5:TX:Report42;Report:1:””:::””::::

          OBX:5:TX:Report42;Report:1:This is a test report:::””::::

          OBX:5:TX:Report42;Report:2: :::””::::

          OBX:5:TX:Report42;Report:3:     Transcriptionist- LMM :::””::::

          OBX:5:TX:Report42;Report:4:     Read By- RAJUL PANDYA M.D.:::””::::

          OBX:5:TX:Report42;Report:5:     Released By- RAJUL PANDYA M.D.:::””::::

          OBX:5:TX:Report42;Report:6:     Released Date Time- 08/30/12 1315:::””::::

          OBX:5:TX:Report42;Report:7:


          :::””::::

          OBX:6:CN:Read32by33;Read by:1:DR01371;RAJUL PANDYA M.D.;;:::””::::

          OBX:7:CN:Released32by33;Released by:1:DR01371;RAJUL PANDYA M.D.;;:::””::::

        • #77157
          Bob Schmid
          Participant

            In attempting to figure this out….when I type in: ORU.*2.2…i get hits……when I type in ORU.*PID….no hits…….diff might be the the carriage return between segments throws off the regexp search?  😕

          • #77158
            Robert Milfajt
            Participant

              That’s funny, because ORU.*PID works just fine for me in 5.5 rev1.

              Robert Milfajt
              Northwestern Medicine
              Chicago, IL

            • #77159
              Bob Schmid
              Participant

                Bob,

                I believe you are correct…not sure if that was intended …..but will take the explanation……only problem is….the following pattern HANGS the SMAT tool……

                Not into debugging this for Lawson..i entered a ticket…no response yet.

                ORU(.*[^.])*OBX

              • #77160
                Bob Schmid
                Participant

                  trying to make regexp option in smat searching work for HL7 and i cant get it working past the first segment….how do i account for the r….Roberts example above hangs the search in 5.8.

                  if i have a message – A01 and at the bottom in the IN1 i want to include any IN1 that has a BROWN in the segment…so show me all A01’s with the word BROWN in the message……I cant get it to work…..

                  Ive tried:

                  A01.*(r)*BROWN  and all sorts of variations…..no hits!  🙁

                  Help

                • #77161
                  David Barr
                  Participant

                    How about this?

                    A01(.*r)*IN1.*BROWN

                  • #77162
                    Bob Schmid
                    Participant

                      ….the old expressions (pre 5.8) do not work as well….I presume more questions on this as time goes on and people arent getting hits like they used to.

                      Thanks guys!

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