{"id":65,"date":"2008-06-27T07:41:07","date_gmt":"2008-06-27T15:41:07","guid":{"rendered":"http:\/\/ericainsworth.com\/olmonitor\/blog\/?p=65"},"modified":"2017-09-06T02:29:10","modified_gmt":"2017-09-06T02:29:10","slug":"stop-on-match-feature-makes-inclusive-filters-play-nice-ver-139","status":"publish","type":"post","link":"https:\/\/olmonitorblog.azurewebsites.net\/?p=65","title":{"rendered":"Stop on Match feature makes Inclusive filters play nice (ver. 1.39)"},"content":{"rendered":"<blockquote><p>Eric, I am working on setting up filters in OL_Monitor for one<br \/>\nof our hospital sites and seem to be having problems. I have a worksheet<br \/>\nset in Options that should include all the possible tests we would like to<br \/>\nconsider and then I am filtering from there. I would like to<br \/>\ninclude\/exclude the following: 1. exclude all non Inpatient locations(if I<br \/>\nlist these it ends up being 2+ filters) 2. include all tests with a stat<br \/>\npriority code (we have multiple stat priority codes) 3. include all<br \/>\nlocation ER, test X 4. include tests A,B,C,D, etc; regardless of priority.<br \/>\nEvery time I try to set up these filters it seems I am missing something or<br \/>\nhave something setup wrong but cannot figure it out. Please help!<\/p><\/blockquote>\n<p>I will skip explaining why I had to add the new filter feature. Suffice to say it would have been possible to make a filter that did what you wanted with your current Ol Monitor, but it would have been very complex and difficult to maintain or change. In your current version, the first inclusive filter overrides all other filters. So unless you incorporate all possible exceptions into that filter the other filters you define can get overridden. In the new version, I have added an option for the inclusive filters to be more flexible.<\/p>\n<p>The new checkbox is called &#8216;stop on match&#8217;. Stopping on match was the default behavior in previous versions. So normally this box would be checked.<br \/>\nTo employ the type of filtering you want I keep this box Un-checked.<br \/>\nNow all of the filters will have an effect.<br \/>\n<img loading=\"lazy\" class=\"alignnone size-full wp-image-1164\" src=\"\/wp-content\/uploads\/2008\/06\/20080627-114107-1.png\" alt=\"\" width=\"222\" height=\"105\" \/><\/p>\n<p>I think you will find the new filters easier to maintain and change.<br \/>\n<!--Mime Type of File is image\/png --><\/p>\n<p class=\"postie-image-div\">\n<p><!--Mime Type of File is image\/png --><\/p>\n<p class=\"postie-image-div\"><a href=\"http:\/\/ericainsworth.com\/olmonitor\/blog\/wp-photos\/20080627-114107-2.jpg\"><img class=\"postie-image\" title=\"image002.png\" src=\"http:\/\/ericainsworth.com\/olmonitor\/blog\/wp-photos\/thumb.20080627-114107-2.jpg\" alt=\"image002.png\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Eric, I am working on setting up filters in OL_Monitor for one of our hospital sites and seem to be having problems. I have a worksheet set in Options that should include all the possible tests we would like to consider and then I am filtering from there. I would like to include\/exclude the following:<\/p>\n<p><a class=\"moretag\" href=\"https:\/\/olmonitorblog.azurewebsites.net\/?p=65\">Continue Reading&hellip;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[21],"tags":[],"_links":{"self":[{"href":"https:\/\/olmonitorblog.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/posts\/65"}],"collection":[{"href":"https:\/\/olmonitorblog.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/olmonitorblog.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/olmonitorblog.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/olmonitorblog.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=65"}],"version-history":[{"count":1,"href":"https:\/\/olmonitorblog.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/posts\/65\/revisions"}],"predecessor-version":[{"id":1174,"href":"https:\/\/olmonitorblog.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/posts\/65\/revisions\/1174"}],"wp:attachment":[{"href":"https:\/\/olmonitorblog.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=65"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/olmonitorblog.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=65"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/olmonitorblog.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=65"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}