SMAT lookup

  • Creator
    Topic
  • #49587
    Ken Seachrist
    Participant

    I am trying to find records in a SMAT file that have to meet 2, possibly 3 criteria.  EACH message must have all of the information being used in the search.  I am looking for messages that have a YH in the MSH, then an ORM in the EVN, and finally EKG in another segment.  

    I am using the “Include Those” and have it formatted as:

    YH.*ORM.*EKG

    Is this the correct format, because I keep getting messages that does not meet all of the criteria?  Thanks for any help you can provide!

Viewing 1 reply thread
  • Author
    Replies
    • #62607
      Terry Hagen
      Participant

      First do a add specified messages to view that meet the first criteria.  Now remove specified messages that do NOT meet the second criteria, then remove specified messages that do NOT meet the 3rd criteria, and so on.

    • #62608
      Paul Johnston
      Participant

      Ken ,

      I believe when using the  “Include Those” option to search for multiple items you treat them like a regexp.

      Try

      YH|ORM|EKG

      But this will search for each of these anywhere in the message.

      Paul

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

Forum Statistics

Registered Users
5,125
Forums
28
Topics
9,294
Replies
34,439
Topic Tags
287
Empty Topic Tags
10