Ran into an interesting issue today regarding searhing SMAT files using regular expressions.
In 5.7, I could use the following regular expression to find all HL7 messages with an MSH.4 value of 052 and a DG1 segment:
|052|.*DG1
In 5.8.4, if I use this same expression, it will not return any results. Doing more research, I found if I put this expression in 5.8.4, it does work:
|052|.*r.*r.*r.*rDG1
So what appears to be happening is that the carriage return is no longer considered matching the . in the regular expression.
We looked through the release notes for 5.8.5 and didn’t see that this was corrected. Is this an issue or does someone have a better expression to use in 5.8.4’s regular expression tool?
Thanks,
Mark Zebehazy
Banner Health