SMAT HL7 smart search
The SMAT HL7 Smart Search feature is provided in the SMAT database tool. You can search messages without knowledge of the underlying HL7/HPRIM data formats.
The SMAT HL7 Smart Search feature builds regular expressions from information provided by the user. The user enters HL7/HPRIM field descriptions such as patient name, or field locations such as PID.5, along with the search criteria. The default search is case-insensitive.
The search builds the regular expressions, searches SMAT, and returns the results. These regular expressions can be saved for future use.
You can search using two query types:
- Abstract Queries
- Logical Queries
These are translated into corresponding regular expression queries and run using regular expressions.
Queries can be arbitrarily combined with logic operators (for example,
and
or or
) and grouped
with parentheses to make up an advanced query.
Additional features include:
- Subfields use 1-based numbering.
- The MSH field starts with MSH.2 for the first field.