Filters

Historical record of a forum that was for discussion of the setup, configuration, and use of OnePacs for research and educational purposes (non-clinical use).

Please direct any support inquiries through the standard OnePacs ticketing and support system.

The "Announcements" forum will continue to be active and contain announcements related to the OnePacs system.
Locked
kgoodarzi
Posts: 50
Joined: Wed Oct 12, 2011 11:44 am

Filters

Post by kgoodarzi » Mon Oct 28, 2013 3:20 pm

Hello,

I am trying to exclude 4 facilities in a filter and it seems anything more than one would generate the following error:

Unable to parse expression: (callingAETitle<>'XXX1' and callingAETitle<>‘XXX2’) Filter is not valid.

Does anyone know why it cannot be parsed?

Best,

justin
Posts: 371
Joined: Wed Nov 26, 2008 2:34 pm

Re: Filters

Post by justin » Mon Oct 28, 2013 4:08 pm

Hi,

It looks like you're using a left/right single quote in the second comparison rather than just a plain single quote (apostrophe). If you change that it should work fine:

Code: Select all

(callingAETitle<>'XXX1' and callingAETitle<>'XXX2')
Best,

Justin

kgoodarzi
Posts: 50
Joined: Wed Oct 12, 2011 11:44 am

Re: Filters

Post by kgoodarzi » Mon Oct 28, 2013 8:49 pm

Well now I feel dumb! I looked at it a thousand times and could not see it.

Thank you very much, Justin.

Best,
KG

Locked