This commit allows wildcard search for clinical rule targets. Current functionality requires exact match which can be problem in case of targets such as medications that may contain dosages or delivery formats etc.
This will become important with ICD10 and its 10s of codes for same (broad) medical condition.
Hi,
Looks good. Didn't test it, but assuming testing well on your end. To ensure this feature is not lost, please add a commit that documents in function header which parameter in the 3 functions you modify support this (for example, if trail with ** and is eq comparison then will do a LIKE etc.). Just don't want to lose track of this.
thanks,
-brady
OpenEMR
Rev 1 has comments and also makes code more explicit.
One of the tests - Modify the standard PT-INR filter as "Medication Required Inclusion coumadin**" and confirm that both "coumadin" and "coumadin 1 MG TABS" trigger the rule.
Hi,
Placed some comments on github (I noted that it will break comparisons other than eq).
thanks,
-brady
ticket migrated here:
https://github.com/openemr/openemr/pull/417