Hello,

In the effort of refactoring logic to expose itself in a way based on the
calculation module i'm trying to figure out how to handle the
LogicCalculationProvider(s) and i need your views on this. The current
logic module has 2 main rule providers, the ClassRuleProvider and
RuleDefinitionRuleProvider(I'm trying to ignore the DataSourceRuleProvider
since i'm not yet sure how this is going to be incorporated). 2 questions
come to my mind,

   1. Should we have 2 separate LogicCalculationProviders equivalents for
   these?
   2. If yes, RuleDefinitionRuleProvider looks up Rules stored as tokens in
   the database which is the equivalent of TokenRegistrations in the
   calculation module, does it mean that the CalculationProvider equivalent
   for it should instead go through the TokenRegistrationService and the
   equivalent for ClassRuleProvider goes through the
   ClasspathCalculationProvider?
   3. If no, What are your suggestions?


Wyclif

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

Reply via email to