Thanks all of you!
We are heading toward the solution.
i) We start putting interenal data too in WM.
ii) For time period matching I simply write a method in Fact class, which
calls using the exact name matching fucntionality.
iii) For complex code matching including exact number match, Range match,
wildcard match. I created the customEvalutor, usning new operator
codeChecker, to handle all required scenarios, as follows:
exists (Diagnosis(name == "diag3" || ( code codeChecker "V100-V200" &&
codeSystem == "2.16.840.1.113883.6.96" ) ))
Ques: I need suggestion how to use my custom Evaluator codeChecker in
following suggested OR combination using in. As you know that if we don't
use "in" then we have to add so many ORed patterns.
exists (Diagnosis(name in ( "Vibrio abc splendidus" , "kash") || ( code in
( "243327005", "243327005") && codeSystem == "2.16.840.1.113883.6.96" ) ) )
-Kash
--
View this message in context: http://n3.nabble.com/Weblogic-rules-to-Drools-rules-tp126265p181432.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users