← Back to team overview

dhis2-devs team mailing list archive

Re: [Dhis2-users] Indicators or Validations when using Combination of categories on DataSet

 

Hi Alex - that will work, but we are looking at using Validation Rules, so
they can be used for both, data entry and data import. Also, there are some
indicators that I need to calculate that only use as numerator a specific
DataValue that belong to one of the DataSetAttributes.

I may need to reverse the decision of using the Dataset Attributes, and
instead do it the classic way: just Data Elements and CatCambos.

R


On Tue, Mar 31, 2015 at 2:21 PM, Alex Tumwesigye <atumwesigye@xxxxxxxxx>
wrote:

> Dear Rodolfo,
>
> How about using a custom form with some jquery enforcing whatever you need?
>
>
> Alex
>
> On Tue, Mar 31, 2015 at 11:23 AM, Rodolfo Melia <rmelia@xxxxxxxxxxxx>
> wrote:
>
>> Continuation of my question:
>>
>> Is it possible to write Indicator/ Validation expressions using a syntax
>> that can refer to the DataSet Attribute, even if the UI doesn't expose it?
>>
>> Can I refer to a particular DataValue as [DataElement UID].[CatCombo
>> UID].[DataSetAttribute] ?
>>
>> Otherwise I cannot use DataSetAttributes in my design: they are visible
>> on analytics, but there are not exposed on Validations or Indicators,
>> making them difficult (sometimes impossible) to use.
>>
>> R
>>
>> *Rodolfo Meliá*
>> *Principal  |  *rmelia@xxxxxxxxxxxx
>> Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
>> www.knowming.com
>>
>> On Mon, Mar 30, 2015 at 5:50 PM, Rodolfo Melia <rmelia@xxxxxxxxxxxx>
>> wrote:
>>
>>> When using a combination of Categories on a Data Set - how can I write a
>>> validation rule that compares values between the categories used by the
>>> DataSet, rather than the total?
>>>
>>> Similarly, how can I define an Indicator that uses for the numerator one
>>> Combination of Category of the data set, and then a different one for the
>>> denominator?
>>>
>>> In neither case the category combination is exposed on the User
>>> Interface: only the DataElements and related CatCombos are exposed.
>>>
>>>
>>> Rodolfo
>>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Alex Tumwesigye
>
> Technical Advisor - DHIS2 (Consultant),
> Ministry of Health/AFENET
> Kampala
> Uganda
>
> IT Consultant - BarefootPower Uganda Ltd, SmartSolar, Kenya
>
> IT Specialist (Servers, Networks and Security, Health Information Systems
> - DHIS2 ) & Solar Consultant
>
> +256 774149 775, + 256 759 800161
>
> "I don't want to be anything other than what I have been - one tree hill "
>

Follow ups