rpl121/OpenEMR — comment on commit b05bf804accfc5cd7c9271a2cd17daffbdc630af
File:  line 0
By bradymiller:

Hi,
After putting some thought into this, some users may not want this. For example, what if a user wants a different set of rules for the "diabetes" and the "borderline diabetes" patients. So, if use "diabetes" as the keyword in the above code, it will treat the "borderline diabetes" the same. Two options would be to:
1.Include above code as an option controlled by administration->globals->cdr
2.Control this at the admin CDR gui and database level. For example, if a user places the following token in the database: '%diabetes%' (and then would commit only the LIKE changes in your code above and would not modify the $code or $value values). This is nice because it also gives the user flexibility to make '%diabetes' or 'diabetes%' for more control along with other mysql wildcard tokens.

thoughts?

-brady