SMAT searches using SMAT database

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf SMAT searches using SMAT database

  • Creator
    Topic
  • #54730
    Jason Puskar
    Participant

      Hi,

          I am new to Cloverleaf 6.1.  We are using the SMAT database.  I am trying to do a search for all A04 messages for a certain facility (REF in MSH|4) for a resend.  I am not having any luck qualifying the transactions.  Anyone have any suggestions?

      Thanks,

      Jay

    Viewing 9 reply threads
    • Author
      Replies
      • #82744
        James Cobane
        Participant

          Jason,

          Perhaps if you specify MSH.Sending Facility[MSH.4]=XXX in your HL7 Search criteria (where XXX is the Facility value), and then add some Advanced Criteria based on Message Content with a regular expression of ADT^A04

          Jim Cobane

          Henry Ford Health

        • #82745
          Jason Puskar
          Participant

            Hi Jim,

                Thanks for your reply.  I’m not following the MSH.Sending Facility aspect.  Do I use the regular expression search and specific the MSH 4 value? What would the format for that be?

            Jay

          • #82746
            Keith McLeod
            Participant

              Are you using 6.1.0.0 or 6.1.1.0?  I believe Jame’s notation is for 6.1.1.0 with the latest patch.  See example in attachment.  I am still working out details for the more complex criteria as well.  Hope this works…

            • #82747
              Jason Puskar
              Participant

                Thanks for the clarification.  We are on 6.1, hence not understanding.

              • #82748
                James Cobane
                Participant

                  Jason,

                  Sorry about that.  Keith is correct; I was referencing the functionality on 6.1.1.  I am not a regular expression expert, but maybe you could try something like:

                  MSH|*|XXX|*|ADT^A04

                  where XXX is your facility ID….

                  Jim Cobane

                  Henry Ford Health

                • #82749
                  Keith McLeod
                  Participant

                    The attached worked using CERNER and ADT^A04.

                  • #82750
                    Keith McLeod
                    Participant

                      I went to a 6.1.0.0 version and put in the same criteria.  It does work there as well, just doesn’t have the frills provided by 6.1.1.0.

                    • #82751
                      Jason Puskar
                      Participant

                        Thanks!!  Works pefectly after some tweeking

                      • #82752
                        Keith McLeod
                        Participant

                          Finding possible issues in search criteria.  When I use more than one regular expression in the criteria stack, I get varied results.

                          In the attached example over 100s of thousands of messages, I received a single ADT^A04 message as a result.  I know that thousands actually meet the criteria.

                          If I throw in save context equal to Outbound in addition to the attached criteria, I get no results….

                          Not sure what the limitations are yet, but would like others’ experiences or resolutions.

                        • #82753
                          Keith McLeod
                          Participant

                            Looks like this may have been corrected with the 6.1.1.0 patch.  I reran the query and had a substantial number of ADT^A04 messages return with multiple regular expression criteria in the stack.

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