Hi Lars,
Finally got around to creating the blueprint here

https://blueprints.launchpad.net/dhis2/+spec/atomic-validation-rules

Regards,
Jason



On Wed, Jan 15, 2014 at 6:36 PM, Lars Helge Øverland <larshe...@gmail.com>wrote:

> Hi Jason,
>
> yes I think this makes sense. One could make a special kind of validation
> rule, with a constraint that all data elements on the left and right side
> expressions share the same category combination, and then tell the system
> to validate each and every category option combination. Feel free to write
> a blueprint.
>
> regards,
>
> Lars
>
>
>
> On Tue, Jan 14, 2014 at 3:52 PM, Jason Pickering <
> jason.p.picker...@gmail.com> wrote:
>
>> Hi Devs,
>> I came up against an issue today when looking at implementing a legacy
>> database in DHIS2. In the old system, there are about 75 rules. The rules
>> in the past have been applied at the atomic level, meaning that each and
>> every data element category combination value is compared with a counter
>> part. As an example.
>>
>> Number of persons currently receiving ART (including pregnant women)
>> is greater than or equal to
>> Number of individuals NEWLY initiating ART (including pregnant women)
>>
>> Each of these data elements are disaggregated by Gender and three age
>> groups, and the validation rules need to be applied to each respective
>> category combination options (not the totals).
>>
>> Although I do not know exactly how many rules we would need to to this,
>> it is surely at least several hundred. I have not really come up against
>> this before, and need to see if anyone has expericience with how the system
>> behaves with "large" numbers of rules.
>>
>> I think it would be good to think about how to we could make the rules be
>> applied within category combo options , without having to explicitly define
>> each and every rule. Thoughts?
>>
>> Regards,
>> Jason
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to