← Back to team overview

dhis2-devs team mailing list archive

Re: Category combination set to default won't let me change it

 

Dear Knut,

Attached is the use case and comments of how it is implemented.


Alex

On Wed, Dec 9, 2015 at 9:33 AM, Knut Staring <knutst@xxxxxxxxx> wrote:

> Hi Alex,
> Could you provide the details of your use case?
> Knut
> On 9 Dec 2015 07:09, "Alex Tumwesigye" <atumwesigye@xxxxxxxxx> wrote:
>
>> Dear Knut,
>>
>> Thanks for this insight.
>>  I agree with Crizelle, I am building an Inventory System using the
>> tracker (2.21) and I am facing the same challenge. There is need to see how
>> we can achieve similar "category Options - categories" functionality for
>> events to avoid unnecessary hacks to the system.
>>
>> Thanks.
>>
>> Alex
>>
>> On Tue, Dec 8, 2015 at 9:40 PM, Knut Staring <knutst@xxxxxxxxx> wrote:
>>
>>> Hi Crizelle,
>>> It could be quite instructive if you could share the details of this
>>> example with us.
>>>
>>> Knut
>>> On 8 Dec 2015 7:09 pm, "Crizelle Nel" <crizellenel@xxxxxxxxx> wrote:
>>>
>>>> Hi Knut,
>>>>
>>>> (1) If unable to use use Categories for Event data elements then yes,
>>>> we have to be able to save each data value against a separate data element
>>>> for analysis. The ability to reuse Category Options though (i.e assigning
>>>> them to multiple Categories), greatly reduces the database configuration
>>>> work required. For the current database I'm configuring I would have needed
>>>> 24 Category Options, 4 Categories and 4 Cat Combos to enable each "Yes'
>>>> data value to be uniquely stored for analysis. Because Categories cannot be
>>>> used for Event data elements, I had to create 93 Data Elements instead.
>>>>
>>>> (2) If we have to live without Categories for Events, then it would be
>>>> great to have a grouping feature beyond sections like the multiple
>>>> selection box you suggested.
>>>>
>>>> --
>>>>
>>>> Regards,
>>>> Crizelle Nel
>>>>
>>>> [image: HISP_Logo_sm]
>>>> Software Development and Information Systems
>>>>
>>>>
>>>> *Health Information Systems Program (HISP) -
>>>> SA------------------------------------------------------------------------------*
>>>> Email:       crizelle@xxxxxxxx <crizellenel@xxxxxxxxx>
>>>> Cell:          +27 84 580 3342
>>>> Fax:          0866 509 502
>>>> Skype:      crizelle_nel
>>>> Website:   http://www.hisp.org
>>>>
>>>> 66 Rigel Avenue North, Waterkloof Ridge
>>>> Pretoria, 0181, South Africa
>>>> E -25.7847787 S 28.2347984
>>>>
>>>>
>>>> On Tue, Dec 8, 2015 at 3:46 PM, Knut Staring <knutst@xxxxxxxxx> wrote:
>>>>
>>>>> Isn't this two different things?
>>>>>
>>>>> 1) We need to register Yes (or Yes/No) for each selected item in order
>>>>> to analyse on each of them, thus we need a number of data elements
>>>>>
>>>>> 2) It would be nice to have a way of grouping data elements in the
>>>>> user interface even beyond sections, i.e. to use one widget for multiple
>>>>> data elements, like a multiple selection list box:
>>>>> http://www.dummies.com/how-to/content/how-to-create-a-multiple-selection-list-box-in-jav.html
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Dec 8, 2015 at 2:40 PM, Crizelle Nel <crizellenel@xxxxxxxxx>
>>>>> wrote:
>>>>>
>>>>>> Hi Lars,
>>>>>>
>>>>>> Thanks for the quick response.
>>>>>>
>>>>>> Noted that multiple selections within an option set won't be
>>>>>> supported.
>>>>>>
>>>>>> It would make sense to include "Event" as a separate option for the
>>>>>> "Domain Type". Would categories then possibly be supported for Events if
>>>>>> then not for Tracker?
>>>>>>
>>>>>> The only other alternative is to create multiple Data Elements with
>>>>>> Data Type "Yes Only" and possbly add some Program Sections to make it more
>>>>>> user-friendly. This is OK, but really lengthens and clutters the data entry
>>>>>> form.
>>>>>>
>>>>>> --
>>>>>>
>>>>>> Regards,
>>>>>> Crizelle Nel
>>>>>>
>>>>>> [image: HISP_Logo_sm]
>>>>>> Software Development and Information Systems
>>>>>>
>>>>>>
>>>>>> *Health Information Systems Program (HISP) -
>>>>>> SA------------------------------------------------------------------------------*
>>>>>> Email:       crizelle@xxxxxxxx <crizellenel@xxxxxxxxx>
>>>>>> Cell:          +27 84 580 3342
>>>>>> Fax:          0866 509 502
>>>>>> Skype:      crizelle_nel
>>>>>> Website:   http://www.hisp.org
>>>>>>
>>>>>> 66 Rigel Avenue North, Waterkloof Ridge
>>>>>> Pretoria, 0181, South Africa
>>>>>> E -25.7847787 S 28.2347984
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Dec 8, 2015 at 2:41 PM, Lars Helge Øverland <
>>>>>> larshelge@xxxxxxxxx> wrote:
>>>>>>
>>>>>>> Hi Crizelle,
>>>>>>>
>>>>>>> we do not plan to support categories for tracker. The "tracker"
>>>>>>> domain type includes both single event and tracker programs. I know it is a
>>>>>>> bit misleading, we could potentially use "events" instead.
>>>>>>>
>>>>>>> As mentioned before, we do not plan to support multiple selection
>>>>>>> within an option set, mainly because it will limit the analysis which can
>>>>>>> be done at a later stage.
>>>>>>>
>>>>>>> regards,
>>>>>>>
>>>>>>> Lars
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Dec 8, 2015 at 1:35 PM, Crizelle Nel <crizellenel@xxxxxxxxx>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Dear all,
>>>>>>>>
>>>>>>>> It's 1 year on from when this shortcoming in DHIS2 was identified.
>>>>>>>> Is the use of Category Combo supported in the Tracker now? If not, how did
>>>>>>>> you manage to get around this requirement Anne (or anyone else)?
>>>>>>>>
>>>>>>>> I have to enable the user to make multiple selections from a
>>>>>>>> lookup/drop-down list. Since this is not supported in OptionSets I opted to
>>>>>>>> use Categories Combinations linked to Data Elements of type "Yes Only". The
>>>>>>>> problem is that this is a single event without registration and hence the
>>>>>>>> Domain Type is Tracker. Any suggestions?
>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Crizelle Nel
>>>>>>>>
>>>>>>>> [image: HISP_Logo_sm]
>>>>>>>> Software Development and Information Systems
>>>>>>>>
>>>>>>>>
>>>>>>>> *Health Information Systems Program (HISP) -
>>>>>>>> SA------------------------------------------------------------------------------*
>>>>>>>> Email:       crizelle@xxxxxxxx <crizellenel@xxxxxxxxx>
>>>>>>>> Cell:          +27 84 580 3342
>>>>>>>> Fax:          0866 509 502
>>>>>>>> Skype:      crizelle_nel
>>>>>>>> Website:   http://www.hisp.org
>>>>>>>>
>>>>>>>> 66 Rigel Avenue North, Waterkloof Ridge
>>>>>>>> Pretoria, 0181, South Africa
>>>>>>>> E -25.7847787 S 28.2347984
>>>>>>>>
>>>>>>>>
>>>>>>>> On Wed, Dec 3, 2014 at 11:44 PM, Adebusoye Anifalaje <
>>>>>>>> busoye@xxxxxxxx> wrote:
>>>>>>>>
>>>>>>>>> Hi Anne,
>>>>>>>>>
>>>>>>>>> Your Domain Type is Tracker and this is not yet supported. You can
>>>>>>>>> only have Category Combinations in Aggregate.
>>>>>>>>>
>>>>>>>>> best regards,
>>>>>>>>>
>>>>>>>>> Busoye
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 27 Nov 2014, at 10:37, Anne Grace <missannegrace@xxxxxxxxx>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Dear All,
>>>>>>>>>
>>>>>>>>> I hope you are well.
>>>>>>>>>
>>>>>>>>> I am trying to edit a category combination that is set to
>>>>>>>>> default…I would like to add a new combination.
>>>>>>>>> attached is the screenshot.
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>>
>>>>>>>>> Anne-grace
>>>>>>>>> <Screen Shot 2014-11-27 at 11.30.12.png>
>>>>>>>>>
>>>>>>>>> On 25 Nov 2014, at 13:28, Abyot Gizaw <abyota@xxxxxxxxx> wrote:
>>>>>>>>>
>>>>>>>>> I see... are you sure any of the data elements listed there are of
>>>>>>>>> type date? When defining data elements there is an option to specify value
>>>>>>>>> type.
>>>>>>>>> -----
>>>>>>>>> Thank you,
>>>>>>>>> Abyot.
>>>>>>>>>
>>>>>>>>> (sent from mobile)
>>>>>>>>> On Nov 25, 2014 12:20 PM, "Anne Grace" <missannegrace@xxxxxxxxx>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Dear Abyot,
>>>>>>>>>>
>>>>>>>>>> Thanks for your prompt answer,
>>>>>>>>>> unfortunately i don't have access to date in future,see attached
>>>>>>>>>> picture.
>>>>>>>>>> <Screen Shot 2014-11-25 at 13.05.04.png>
>>>>>>>>>> On 25 Nov 2014, at 12:00, Abyot Gizaw <abyota@xxxxxxxxx> wrote:
>>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> To enable capturing of future dates, go to your Program --> View
>>>>>>>>>> program stages --> Edit then check "Date in future" for those data elements
>>>>>>>>>> you wanted to capture future date.
>>>>>>>>>>
>>>>>>>>>> I am not sure what you mean by "to be able to edit some fields
>>>>>>>>>> names" ?
>>>>>>>>>>
>>>>>>>>>> If you are in default form, field name is data element "Form
>>>>>>>>>> name" (if you have set this one) or "Name" and it is always possible to
>>>>>>>>>> edit this. If you are in custom form, you can put whatever name you want in
>>>>>>>>>> your form - both data element "Form name" and "Name" have no effect.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ---
>>>>>>>>>> Thank you,
>>>>>>>>>> Abyot.
>>>>>>>>>>
>>>>>>>>>> On Tue, Nov 25, 2014 at 10:43 AM, Anne Grace <
>>>>>>>>>> missannegrace@xxxxxxxxx> wrote:
>>>>>>>>>>
>>>>>>>>>>> Dear Admin,
>>>>>>>>>>>
>>>>>>>>>>> I am a new devoloper in DHIS.
>>>>>>>>>>> I need to make changes on an existing "new event form" I need to
>>>>>>>>>>> allow
>>>>>>>>>>> future dates and years also to be able to edit some fields names
>>>>>>>>>>> .
>>>>>>>>>>>
>>>>>>>>>>> Please help me out and guide me through.
>>>>>>>>>>>
>>>>>>>>>>> Thanks
>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>>>>>>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>>>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>>>>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>>>>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>>>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Lars Helge Øverland
>>>>>>> Lead developer, DHIS 2
>>>>>>> University of Oslo
>>>>>>> Skype: larshelgeoverland
>>>>>>> http://www.dhis2.org <https://www.dhis2.org>
>>>>>>>
>>>>>>>
>>>>>> _______________________________________________
>>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Knut Staring
>>>>> Dept. of Informatics, University of Oslo
>>>>> Norway: +4791880522
>>>>> Skype: knutstar
>>>>> http://dhis2.org
>>>>>
>>>>
>>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> 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 "
>>
>


-- 
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 "

PNG image

Attachment: HEALTH UNIT PHYSICAL INVENTORY Use Case.docx
Description: application/vnd.openxmlformats-officedocument.wordprocessingml.document


References