SMAT Database Search

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf SMAT Database Search

  • Creator
    Topic
  • #54498
    Usman Azher
    Participant

    Is there anyway I can search for multiple patients in a single search criteria using regular expression? If I have multiple search criterion, I do not get any results. It might be because it is doing an ‘AND’ with the criterias?

Viewing 2 reply threads
  • Author
    Replies
    • #81743
      Richard Gibbs
      Participant

      For example, we would like to create a single search for multiple patient ID’s as follows:

      “123|345|789”

      Cloverleaf’s implementation of “regular expressions” does not appear to allow  us to use “|” or “OR” operations.

      Also, I haven’t figured out how to search for more than one text string in a message.  For example, if I want to find OBR and ROUT, I can use “OBR.*ROUT”, but I can’t use “OBR|ROUT”.

    • #81744
      Elisha Gould
      Participant

      Hi,

      Is this in relation to routing? If so take a look at the documentation for wild card routing.

      With the routing cloverleaf will add ^ and $ to the start/end of the statement.

      ie OBR|ROUT becomes ^OBR|ROUT$

      so it looks for OBR at the start of the text or ROUT at the end of the text.

      To use in the Routing wild card routing use:

      (OBR|ROUT) to look for the exact match of OBR or ROUT

      (.*OBR.*|.*ROUT.*) will look for a match containing OBR or ROUT

    • #81745
      Usman Azher
      Participant

      Elisha,

      Thank you for your response. After using the parenthesis in the search criteria we were able to solve our problem. We can now search for multiple messages using just one search criteria. Re-sending messages is much quicker now!

      Thank you!

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

Forum Statistics

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