Re: [Dhis2-devs] [Dhis2-users] Data Elements and Category Options Not Showing Up in Form Designer

2017-11-21 Thread Laura E. Lincks
You may want to upgrade to the latest build. We had a similar problem with
2.27 (on a build from August) and we just upgraded this very minute to the
latest build 37edfc2 (Nov 8, 2017) and the problem appears fixed.

*Laura E. Lincks*
Database Manager/Developer
ICAP - Columbia University
Mailman School of Public Health
60 Haven Ave, Floor B1
New York, NY 10032
Tel: 212 304 7132

On Mon, Nov 20, 2017 at 1:13 PM, Ifeanyi Okoye 
wrote:

> Hello All,
> We are encountering this issue with the form designer where either the
> data element does not show up in the form designer i.e. after having been
> assigned to a dataset, or some of the category options do not show up.
>
>
> In this instance I have a data element disaggregated by testing
> modalities, sex, and age (age categories <1,1-4,5-9,10-14,15-19,20-24,
> 25-29,30-34,35-39,40-44,45-49,50+).
>
> The way it is showing up, a number of the age bands are missing in the
> form designer and it is not uniform. E.g. VCT has female 15-19, VCT is
> missing male 15-19.
>
> I have run maintenance, generated resource tables, run analytics, removed
> the options from the category combo and put them back again, but still not
> showing up.
>
> We use custom forms a lot and this is not the first time we are
> encountering this, but then, not to this degree.
>
>
> Can anybody please help with this?
>
> We are running DHIS2 ver 2.27 Build revision: a8283e0 Build date:
> 2017-09-21 06:25
>
> Thank you.
>
> Warm Regards,
>
> Ifeanyi
>
> Read DrMaestro's Blog
> www.ifeanyiokoye.com
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> 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


Re: [Dhis2-devs] Event Capture - option set not working

2016-08-29 Thread Laura E. Lincks
Yes, we're experiencing the same problem.

*Laura E. Lincks*
Database Manager/Developer
ICAP - Columbia University
Mailman School of Public Health
60 Haven Ave, Floor B1
New York, NY 10032
Tel: 212 304 7132

On Mon, Aug 29, 2016 at 9:32 AM, Simon Muyambo  wrote:

> I am using the latest event capture from google play and Version:2.24
> Build revision: 23585
>
> Option Set on the event capture showing as text even on programs that used
> to work on 2.22.
>
>
>
> Has anyone come across this?
>
>
>
> Regards
>
> Simon Muyambo
>
>
>
> ___
> 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


[Dhis2-devs] Looking for Human Resource System to integrate with DHIS

2016-08-26 Thread Laura E. Lincks
We are looking for a simple Human Resources tool to integrate with a DHIS
aggregate database. Little is known of the needs of the HRIS, but for now
it needs to track personnel details and groups of personnel will need to be
associated with various programs in a separate DHIS aggregate database. An
Open Source HRIS is preferable.

In searching for tools I have come across the following:
HRHIS <https://en.wikipedia.org/wiki/HRHIS>in Tanzania developed by the
HISP-TZ/University of Dar es Salaam
iHRIS <http://www.ihris.org/> developed by global Capacity Project.​

I was wondering if anyone had any knowledge of or experience with these
packages or if there were other applications that could be of use to us?

Thanks in advance to anyone with leads or information.

*Laura E. Lincks*
Database Manager/Developer
ICAP - Columbia University
Mailman School of Public Health
60 Haven Ave, Floor B1
New York, NY 10032
Tel: 212 304 7132
___
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


Re: [Dhis2-devs] Event Capture problem using Google Chrome latest version - 52.0.2743.116 m

2016-08-25 Thread Laura E. Lincks
The same thing is happening with us using Event Capture.

Version:
​ ​
2.24
​ ​
Build revision:
​ ​
23511
​Google: Version 52.0.2743.116 m

It doesn't happen in Firefox (46.0.1) -- although in Firefox we don't get
the Org Unit tree to appear without searching for a unit first.

However, we generally recommend using Chrome over Firefox. Firefox is there
as a backup.​


*Laura E. Lincks*
Database Manager/Developer
ICAP - Columbia University
Mailman School of Public Health
60 Haven Ave, Floor B1
New York, NY 10032
Tel: 212 304 7132

On Thu, Aug 25, 2016 at 5:51 AM, Antonia Bezenchek I-PRO <
anto...@informa.pro> wrote:

> -- Forwarded message --
> From: Antonia Bezenchek I-PRO 
> Date: 2016-08-25 11:45 GMT+02:00
> Subject: Event Capture problem using Google Chrome latest version -
> 52.0.2743.116 m
> To: DHIS 2 Users list 
> Cc: Antonia Bezenchekinfo 
>
>
> Dear community,
> after the last update of *Google Chrome (v. 52.0.2743.116 m),* the Event
> Capture, the primary application used by our users for data
> acquisition, presents a superposition of the two buttons - "Register event"
> and "Print list" over the Program selection drop-down list, which does not
> allow the selection of another program.
>
> [image: Immagine incorporata 1]
>
> It does not depend from the extensions installed on Chrome. The OS
> affected tested by me are: Windows 7, 8.1, 10, Android (with desktop
> browser version).
> The problem is not present on Firefox and Internet Explorer browsers, but
> the Google Chrome is the recommended browser and the majority of our users
> use it.
>
> Our *DHIS2 version is 2.22*
> Version: 2.22  Build revision: 22078   Build date: 2016-06-27 20:03User
> agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML,
> like Gecko) Chrome/52.0.2743.116 Safari/537.36
>
> The problem is not present on the Demo server with
> DHIS2 version: 2.24   Build revision: 23583   Build date: 2016-08-25 07:50
>
> Is it possible to fix this problem on the DHIS2 v.2.22?
>
> Thanks to everyone who can help us
> Antonia
>  www.informa.pro - *Seguici su *LinkedIn
> <https://www.linkedin.com/company/informapro> [image: In]
> <https://www.linkedin.com/company/informapro>
> INFORMAPRO S.r.l. - via Luigi Rava 43,  Rome 00149 , Italy
> tel. +39 06 5758926, fax +39  06 62207168, P.IVA IT08095781004
> Skype: informa_antonia.bezenchek
> Eng. Antonia Bezenchek - CIO - ICT Engineer
>
>
> ___
> 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


[Dhis2-devs] Viewing Data Element Names when creating Indicators

2016-07-05 Thread Laura E. Lincks
Version:2.22
Build revision:22077

​We noticed we can no longer resize the Edit numerator/denominator screen
when creating indicator formulas. Note in the example how data element
names are cut off. We've had to resort to changing the screen resolution in
order to see the entirety of a data element's name in some cases. This was
not an issue when using previous versions (we could simply expand this pop
up to see more of the data element names.)

Does anyone have any tips on how we can view more detail without changing
our screen resolutions?

Thanks.



*[image: Inline image 3]*

*Laura E. Lincks*

Database Manager/Developer
ICAP - Columbia University
Mailman School of Public Health
60 Haven Ave, Floor B1
New York, NY 10032
Tel: 212 304 7132
___
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


Re: [Dhis2-devs] [Dhis2-users] Data Import does not allow a combination of identifier types in 2.22

2016-06-29 Thread Laura E. Lincks
*​​Version:​​ 2.23*
*Build revision:​ ​22965*

*To follow up with this, in looking at the log, the following appears when
importing a small CSV data file with UIDs for Data Elements and Codes for
the Org Unit.*

* INFO  2016-06-29 19:11:16,540 ImportOptions{ID
Schemes=IdSchemes{idScheme=IdScheme{identifiableProperty=null,
attribute=null}, dataElementIdScheme=IdScheme{identifiableProperty=UID,
attribute=null},
categoryOptionComboIdScheme=IdScheme{identifiableProperty=UID,
attribute=null}, categoryOptionIdScheme=IdScheme{identifiableProperty=UID,
attribute=null}, orgUnitIdScheme=IdScheme{identifiableProperty=CODE,
attribute=null}, programIdScheme=IdScheme{identifiableProperty=UID,
attribute=null}, programStageIdScheme=IdScheme{identifiableProperty=UID,
attribute=null}}, Dry run=false, Preheat cache=false, Async=false, Import
strategy=NEW_AND_UPDATES, Skip existing check=false, Sharing=false, Strict
periods=false, Strict category option combos=false, Strict attr option
combos=false, Strict org units=false, Require category option combo=false,
Require attribute option combo=false} (ImportDataValueAction.java
[http-bio-443-exec-18])

* INFO  2016-06-29 19:11:16,543 Starting data value import, options:
ImportOptions{ID
Schemes=IdSchemes{idScheme=IdScheme{identifiableProperty=null,
attribute=null}, dataElementIdScheme=IdScheme{identifiableProperty=UID,
attribute=null},
categoryOptionComboIdScheme=IdScheme{identifiableProperty=UID,
attribute=null}, categoryOptionIdScheme=IdScheme{identifiableProperty=UID,
attribute=null}, orgUnitIdScheme=IdScheme{identifiableProperty=CODE,
attribute=null}, programIdScheme=IdScheme{identifiableProperty=UID,
attribute=null}, programStageIdScheme=IdScheme{identifiableProperty=UID,
attribute=null}}, Dry run=false, Preheat cache=false, Async=false, Import
strategy=NEW_AND_UPDATES, Skip existing check=false, Sharing=false, Strict
periods=false, Strict category option combos=false, Strict attr option
combos=false, Strict org units=false, Require category option combo=false,
Require attribute option combo=false}: 00:00:00.000 (Clock.java
[taskScheduler-5])

* INFO  2016-06-29 19:11:16,544 [Level: INFO, category: DATAVALUE_IMPORT,
time: Wed Jun 29 19:11:16 UTC 2016, message: Process started]
(InMemoryNotifier.java [taskScheduler-5])

* INFO  2016-06-29 19:11:16,544 Import options: ImportOptions{ID
Schemes=IdSchemes{idScheme=IdScheme{identifiableProperty=null,
attribute=null}, dataElementIdScheme=IdScheme{identifiableProperty=UID,
attribute=null},
categoryOptionComboIdScheme=IdScheme{identifiableProperty=UID,
attribute=null}, categoryOptionIdScheme=IdScheme{identifiableProperty=UID,
attribute=null}, orgUnitIdScheme=IdScheme{identifiableProperty=CODE,
attribute=null}, programIdScheme=IdScheme{identifiableProperty=UID,
attribute=null}, programStageIdScheme=IdScheme{identifiableProperty=UID,
attribute=null}}, Dry run=false, Preheat cache=false, Async=false, Import
strategy=NEW_AND_UPDATES, Skip existing check=false, Sharing=false, Strict
periods=false, Strict category option combos=false, Strict attr option
combos=false, Strict org units=false, Require category option combo=false,
Require attribute option combo=false} (DefaultDataValueSetService.java
[taskScheduler-5])

* INFO  2016-06-29 19:11:16,544 Data value set scheme:
IdScheme{identifiableProperty=null, attribute=null}, data element scheme:
IdScheme{identifiableProperty=null, attribute=null}, org unit scheme:
IdScheme{identifiableProperty=null, attribute=null}
(DefaultDataValueSetService.java [taskScheduler-5])

* INFO  2016-06-29 19:11:16,544 Scheme: IdScheme{identifiableProperty=null,
attribute=null}, data element scheme: IdScheme{identifiableProperty=null,
attribute=null}, org unit scheme: IdScheme{identifiableProperty=null,
attribute=null} (DefaultDataValueSetService.java [taskScheduler-5])

* INFO  2016-06-29 19:11:16,701 Validated outer meta-data: 00:00:00.157
(Clock.java [taskScheduler-5])

* INFO  2016-06-29 19:11:16,701 [Level: INFO, category: DATAVALUE_IMPORT,
time: Wed Jun 29 19:11:16 UTC 2016, message: Importing data values]
(InMemoryNotifier.java [taskScheduler-5])

** INFO  2016-06-29 19:11:38,989 Org unit cache heated after cache miss
threshold reached (DefaultDataValueSetService.java [taskScheduler-5])*


No message is returned to the front end. The processing box lingers with
the progress bar rotating (although nothing is happening on the backend or
in the log at this point.)
[image: Inline image 1]


*Laura E. Lincks*
Database Manager/Developer
ICAP - Columbia University
Mailman School of Public Health
60 Haven Ave, Floor B1
New York, NY 10032
Tel: 212 304 7132

On Wed, Jun 29, 2016 at 12:20 PM, Gijsbert OOMS 
wrote:

> Exactly same problem in Burundi. Was fine in 2.21, not working in 2.22.
> Haven't tested yet in 2.23.
>
> *GIJSBERT OOMS*
> EXPERT D4D - Digitalisation for Development
>
> BELGIAN DEVELOPMENT AGENCY
> RUE HAUTE 147
> 1000 BRUSSELS
> T +32 (0)2 505 38 44
> F +32

Re: [Dhis2-devs] Data Import does not allow a combination of identifier types in 2.22

2016-06-23 Thread Laura E. Lincks
Asking if anyone has experienced this problem one more time...

*Laura E. Lincks*
Database Manager/Developer
ICAP - Columbia University
Mailman School of Public Health
60 Haven Ave, Floor B1
New York, NY 10032
Tel: 212 304 7132

On Wed, Apr 20, 2016 at 5:15 PM, Laura E. Lincks <
laura.lin...@icap.columbia.edu> wrote:

> Version:2.22
> Build revision:21927
> ​​
> ​We are testing an import of data which we have routinely done in 2.20. We
> are importing a csv file with the following columns:
>
> ​​
> dataelement
> period
> ​​
>
> orgunit
> ​​
> categoryoptioncombo
> ​​
> attributeoptioncombo value
>
>
>
>
>
>
> ​
> attributeoptioncombo is blank
> ​
> ​
> ​
> dataelement  and
> ​
> categoryoptioncombo contain UIDs
> orgunit contains Code
>
> In 2.20 we were able to set the Data element ID scheme and the Org unit ID
> scheme to what we wanted without issue. In 2.22 we have the same options on
> the front end but when attempting to import a csv file with dataelement
> scheme set to UID and orgunit scheme set to Code, the import fails. If I
> take the same data file and convert the orgunits to the appropriate UID and
> then import, it succeeds.
>
> It appears that the option exists in 2.22 but is ignored when performing
> the import. Is this intentional? Perhaps it was corrected in a later build?
>
> Thanks in advance.
>
>
> *Laura E. Lincks*
> Database Manager/Developer
> ICAP - Columbia University
> Mailman School of Public Health
> 60 Haven Ave, Floor B1
> New York, NY 10032
> Tel: 212 304 7132
>
___
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


[Dhis2-devs] Searching for Event by Enrollment Date -- not working?

2016-06-08 Thread Laura E. Lincks
Version:2.21
Build revision:21018

​(We'll be upgrading to 2.23 soon)

Our Program is set up with a Stage that uses *Date of Enrollment *as
the *Report
Date to Use. *We have given the *Description of Report date *its own name.

When I search for an existing registration for an Enrollment date I KNOW
exists I get no results for mysearch (other searchable attributes *do *return
results.) Furthermore, in the search box, the text before the Date still
reads "Enrollment date" rather than taking our descriptor... this defeats
the purpose a bit of adding our own description and could prove confusing
to our users. Furthermore still, when I generate an Event Report simply
querying all data values for all data elements for the program area, the
"Event Date" can be included as one of the column dimensions gets pulled
into the output has a header reads "Event Date". But it apparently
represents "Enrollment Date". With so many date possibilities the
inconsistent naming of each really adds confusion to the whole Tracker
process. Am I misunderstanding the functionality of these date fields or
was some of this corrected in later versions of DHIS?

*Laura E. Lincks*
Database Manager/Developer
ICAP - Columbia University
Mailman School of Public Health
60 Haven Ave, Floor B1
New York, NY 10032
Tel: 212 304 7132
​r
___
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


[Dhis2-devs] Reporting with Program Indicators

2016-06-08 Thread Laura E. Lincks
Version:2.21
Build revision:21018

​(We'll be upgrading to 2.23 soon)


   1. I am building Program Indicators for the first time and have some
   very basic questions:
   2. How can I create a report using Program Indicators? It looks like I
   can include them in a Pivot Table. Will they appear as an option in Event
   Reports? Somewhere else? Is there a benefit in using an Event Report over
   Pivot Table?
   3. In a pivot table, what tracker related date is used as a Period
   filter? Date of Enrollment? What we need to filter on is a manually entered
data element of type Date. Is there a way to do that in Pivot Table? Or is
   an Event Report the only way to do that?
   4. Is tracker data only aggregated into a program indicator after
   running Analytics as is done in the aggregate portion of DHIS?
   5. What does Automated Aggregation actually aggregate? Is there a
   division in the creation of aggregated data and tracker data in regard to
   indicator generation?


*Thank you!*



*Laura E. Lincks*

Database Manager/Developer
ICAP - Columbia University
Mailman School of Public Health
60 Haven Ave, Floor B1
New York, NY 10032
Tel: 212 304 7132
___
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


Re: [Dhis2-devs] Hiding a category in a pulldown list

2016-06-08 Thread Laura E. Lincks
Thanks for pointing that out, Rodolfo. I forgot about that and have never
made use of it but that may be the simplest solution!

*Laura E. Lincks*
Database Manager/Developer
ICAP - Columbia University
Mailman School of Public Health
60 Haven Ave, Floor B1
New York, NY 10032
Tel: 212 304 7132

On Wed, Jun 8, 2016 at 3:07 AM, Rodolfo Melia  wrote:

> Category options also have star/ end date
>
>
> On Tuesday, 7 June 2016, Laura E. Lincks 
> wrote:
>
>> Great idea, Busoye. I will give it a try! Thank you!
>>
>> *Laura E. Lincks*
>> Database Manager/Developer
>> ICAP - Columbia University
>> Mailman School of Public Health
>> 60 Haven Ave, Floor B1
>> New York, NY 10032
>> Tel: 212 304 7132
>>
>> On Tue, Jun 7, 2016 at 6:53 AM, Busoye Anifalaje 
>> wrote:
>>
>>> Hi Laura,
>>>
>>> To limit access to the category option for data entry, one option would
>>> be to achieve this through sharing. You can
>>>
>>> 1) Go to the category option sharing
>>> 2) Set public to none
>>>
>>> For reporting purposes, you can create a category option group and
>>> category option group set. These can either be public (view only would be
>>> fine) or share with relevant user groups if relevant.
>>>
>>> I am assuming that you are referring to data set category options. So,
>>> Categories with Attribute Data Dimension Type.
>>>
>>> Hope this helps.
>>>
>>> Best regards,
>>>
>>> Busoye
>>>
>>> On 7 Jun 2016, at 11:44, Laura E. Lincks 
>>> wrote:
>>>
>>> Version:2.21
>>> Build revision:21018
>>>
>>> ​(We'll be upgrading to 2.23 soon)
>>>
>>> We wish to import historical data into a Category at the dataset level.
>>> This option need only exist for historical purposes... no new data will be
>>> entered into this category going forward. We would like to prevent users
>>> from accessing this category option when performing data entry  (but still
>>> have access to the other options in this same category) going forward. Is
>>> there a way to hide this one option from the data entry screen but enable
>>> it for reporting historical data along with current data?
>>>
>>> *Laura E. Lincks*
>>> Database Manager/Developer
>>> ICAP - Columbia University
>>> Mailman School of Public Health
>>> 60 Haven Ave, Floor B1
>>> New York, NY 10032
>>> Tel: 212 304 7132
>>> ___
>>> 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
>>>
>>>
>>>
>>
>
> --
> *Rodolfo Meliá*
> *Principal  |  *rme...@knowming.com
> Skype: rod.melia  |  +44 777 576 4090  |  +1 708 872 7636
> www.knowming.com
>
>
___
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


Re: [Dhis2-devs] Hiding a category in a pulldown list

2016-06-07 Thread Laura E. Lincks
Great idea, Busoye. I will give it a try! Thank you!

*Laura E. Lincks*
Database Manager/Developer
ICAP - Columbia University
Mailman School of Public Health
60 Haven Ave, Floor B1
New York, NY 10032
Tel: 212 304 7132

On Tue, Jun 7, 2016 at 6:53 AM, Busoye Anifalaje 
wrote:

> Hi Laura,
>
> To limit access to the category option for data entry, one option would be
> to achieve this through sharing. You can
>
> 1) Go to the category option sharing
> 2) Set public to none
>
> For reporting purposes, you can create a category option group and
> category option group set. These can either be public (view only would be
> fine) or share with relevant user groups if relevant.
>
> I am assuming that you are referring to data set category options. So,
> Categories with Attribute Data Dimension Type.
>
> Hope this helps.
>
> Best regards,
>
> Busoye
>
> On 7 Jun 2016, at 11:44, Laura E. Lincks 
> wrote:
>
> Version:2.21
> Build revision:21018
>
> ​(We'll be upgrading to 2.23 soon)
>
> We wish to import historical data into a Category at the dataset level.
> This option need only exist for historical purposes... no new data will be
> entered into this category going forward. We would like to prevent users
> from accessing this category option when performing data entry  (but still
> have access to the other options in this same category) going forward. Is
> there a way to hide this one option from the data entry screen but enable
> it for reporting historical data along with current data?
>
> *Laura E. Lincks*
> Database Manager/Developer
> ICAP - Columbia University
> Mailman School of Public Health
> 60 Haven Ave, Floor B1
> New York, NY 10032
> Tel: 212 304 7132
> ___
> 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


[Dhis2-devs] Hiding a category in a pulldown list

2016-06-07 Thread Laura E. Lincks
Version:2.21
Build revision:21018

​(We'll be upgrading to 2.23 soon)

We wish to import historical data into a Category at the dataset level.
This option need only exist for historical purposes... no new data will be
entered into this category going forward. We would like to prevent users
from accessing this category option when performing data entry  (but still
have access to the other options in this same category) going forward. Is
there a way to hide this one option from the data entry screen but enable
it for reporting historical data along with current data?

*Laura E. Lincks*
Database Manager/Developer
ICAP - Columbia University
Mailman School of Public Health
60 Haven Ave, Floor B1
New York, NY 10032
Tel: 212 304 7132
___
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


Re: [Dhis2-devs] [Dhis2-users] Missing app icons when upgrading to 2.21 and 2.22

2016-05-23 Thread Laura E. Lincks
Thanks for your responses. We did later notice that at least for the
upgrade from 2.20 --> 2.21 our user role(s) lost an authority. We can
easily add the authority to the appropriate roles, so problem solved.
However, is it strange that not having that authority prevents the app icon
from appearing but it does not prevent access to the app if the user knows
the URL for the app? It would appear that users could access apps they
shouldn't have access to if they can determine the URL for the app.

Knut, we haven't gotten to the 2.23 upgrade yet but I'll take note of the
new maintenance app when we get there.

Thanks for your help!
On May 23, 2016 6:08 AM, "Lars Helge Øverland"  wrote:

> Hi Laura,
>
> like you say, the settings, apps and data elements/indicators apps have
> all been replaced by new apps, and hence sort of expected to disappear ;)
>
> - Can you verify that your user has the needed authorities to see the new
> apps? Can you try with a user that has the ALL authority?
>
> - Can you try to really
> <https://www.dhis2.org/tutorials/how-to-really-clear-browser-cache> clear
> the web browser cache? Is there any server-side caches that could be
> cleared? Can you try in chrome incognito mode?
>
> - If none of the above works, can you share a login privately?
>
>
> best regards,
>
> Lars
>
>
>
>
>
>
>
>
>
> On Fri, May 20, 2016 at 11:25 PM, Laura E. Lincks <
> laura.lin...@icap.columbia.edu> wrote:
>
>> We are upgrading our 2.20 instance to a 2.22 instance (and a 2.3 instance
>> as well shortly thereafter). We are doing incremental upgrades (2.20 -->
>> 2.21, then 2.21 --> 2.22, then 2.22 --> 2.23)
>>
>> We noticed that when upgrading from 2.20 to 2.21, the Settings App icon
>> disappeared. We can access the app by entering the URL directly, but cannot
>> access it via a Settings App Icon.
>>
>> Similarly, when upgrading from 2.21 to 2.22 the icons for the App
>> Management and the Data Element/Indicators apps also disappeared (although,
>> again, we can access the apps via the URL) in addition to the Settings app
>> icon missing (still).
>>
>> I know these apps are completely new "true" apps within the respective
>> DHIS versions, per the release notes, but we are stuck on how to get the
>> app icons to reappear in the menu.
>>
>> *Note*: we updated to Java 8 and updated to the latest Ubuntu distro
>> prior to upgrading from DHIS ver. 2.20 to 2.21.
>>
>> *Version details:*
>> Version:
>> ​ ​
>> 2.20
>> ​ //
>> Build revision:
>> ​ ​
>> 20001
>> ​ --> ​
>> Version:
>> ​ ​
>> 2.21
>> ​ //
>> Build revision:
>> ​ ​
>> 21094
>>
>> Thanks in advance!
>>
>> *Laura E. Lincks*
>> Database Manager/Developer
>> ICAP - Columbia University
>> Mailman School of Public Health
>> 60 Haven Ave, Floor B1
>> New York, NY 10032
>> Tel: 212 304 7132
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> l...@dhis2.org
> http://www.dhis2.org <https://www.dhis2.org/>
>
>
___
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


[Dhis2-devs] Missing app icons when upgrading to 2.21 and 2.22

2016-05-20 Thread Laura E. Lincks
We are upgrading our 2.20 instance to a 2.22 instance (and a 2.3 instance
as well shortly thereafter). We are doing incremental upgrades (2.20 -->
2.21, then 2.21 --> 2.22, then 2.22 --> 2.23)

We noticed that when upgrading from 2.20 to 2.21, the Settings App icon
disappeared. We can access the app by entering the URL directly, but cannot
access it via a Settings App Icon.

Similarly, when upgrading from 2.21 to 2.22 the icons for the App
Management and the Data Element/Indicators apps also disappeared (although,
again, we can access the apps via the URL) in addition to the Settings app
icon missing (still).

I know these apps are completely new "true" apps within the respective DHIS
versions, per the release notes, but we are stuck on how to get the app
icons to reappear in the menu.

*Note*: we updated to Java 8 and updated to the latest Ubuntu distro prior
to upgrading from DHIS ver. 2.20 to 2.21.

*Version details:*
Version:
​ ​
2.20
​ //
Build revision:
​ ​
20001
​ --> ​
Version:
​ ​
2.21
​ //
Build revision:
​ ​
21094

Thanks in advance!

*Laura E. Lincks*
Database Manager/Developer
ICAP - Columbia University
Mailman School of Public Health
60 Haven Ave, Floor B1
New York, NY 10032
Tel: 212 304 7132
___
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


[Dhis2-devs] Manually running Analytics from front end -- which user authorities?

2016-05-09 Thread Laura E. Lincks
A quick question, hopefully...

which user roles or authorities allow for manual creation of Analytics
Tables from the front end via the Reports App? I can't find an authority
which maps to the process. I know our Superuser roles allow access to the
process but can't easily determine what, if any, other role/authority might
also allow it.

Thanks!


*Laura E. Lincks*
Database Manager/Developer
ICAP - Columbia University
Mailman School of Public Health
60 Haven Ave, Floor B1
New York, NY 10032
Tel: 212 304 7132
___
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


[Dhis2-devs] Data Import does not allow a combination of identifier types in 2.22

2016-04-20 Thread Laura E. Lincks
Version:2.22
Build revision:21927
​​
​We are testing an import of data which we have routinely done in 2.20. We
are importing a csv file with the following columns:

​​
dataelement
period
​​

orgunit
​​
categoryoptioncombo
​​
attributeoptioncombo value






​
attributeoptioncombo is blank
​
​
​
dataelement  and
​
categoryoptioncombo contain UIDs
orgunit contains Code

In 2.20 we were able to set the Data element ID scheme and the Org unit ID
scheme to what we wanted without issue. In 2.22 we have the same options on
the front end but when attempting to import a csv file with dataelement
scheme set to UID and orgunit scheme set to Code, the import fails. If I
take the same data file and convert the orgunits to the appropriate UID and
then import, it succeeds.

It appears that the option exists in 2.22 but is ignored when performing
the import. Is this intentional? Perhaps it was corrected in a later build?

Thanks in advance.


*Laura E. Lincks*
Database Manager/Developer
ICAP - Columbia University
Mailman School of Public Health
60 Haven Ave, Floor B1
New York, NY 10032
Tel: 212 304 7132
___
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


Re: [Dhis2-devs] [Dhis2-users] HOW DO I DISAGGREGATE CLIENT BASED DATA-TRACKER

2016-04-13 Thread Laura E. Lincks
Stanley, I believe that disaggregations (categories) cannot be used in
Tracker. You must create each individual data element. There is an email
from Lars regarding this and was related to a slightly older version of
DHIS (and I cannot find that email at the moment but it's here somewhere).
In working with Tracker in 2.22 recently, I found that categories I
assigned to tracker data elements did not flow through to my final program
stage form. I had to create each data element's disaggregation.
On Apr 13, 2016 11:19 AM, "Stanley Kalyati"  wrote:

> Dear Ladies and Gentlmen
>
> How do i disaggregate ages captured in tracker? I have an indicator that
> looks at number of clients tested for HIV.I want to be able to know their
> age group i.e <20,20-24,25-49 and 50+
>
> Kindly assist,am using DHIS2 2.22 Built 21763
>
> Thank you
>
> Stanley Kalyati
> MW
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> 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


Re: [Dhis2-devs] [Dhis2-users] Event Capture problems

2016-04-11 Thread Laura E. Lincks
Oh, boy, do I feel stupid!! The program assignment!!! That was it! Thank
you Abyot!!

*Laura E. Lincks*
Database Manager/Developer
ICAP - Columbia University
Mailman School of Public Health
60 Haven Ave, Floor B1
New York, NY 10032
Tel: 212 304 7132

On Mon, Apr 11, 2016 at 5:18 PM, Abyot Gizaw  wrote:

> Hi Laura,
>
> I can only think of two things
>
>- cache is cleared? every time a metadata is changed it is important
>to clear cache
>- program assigned to user role? make sure the user has access to the
>program.
>
>
>
>
> ---
> Thank you,
> Abyot.
>
> On Mon, Apr 11, 2016 at 11:13 PM, Laura E. Lincks <
> laura.lin...@icap.columbia.edu> wrote:
>
>> Version:2.22Build revision:
>> 21878
>>
>> I'm now encountering a similar issue to this original post.
>>
>> We have a program A with one program stage assigned to every facility in
>> the instance. It works properly.
>>
>> We just now added a new program B with a new program stage and assigned
>> it to every facility in the instance. Data elements have been assigned to
>> the stage and a tracked entity with 2 attributes (the same ones used for
>> Program A) have been assigned to program B.
>>
>> When I go to do data entry using Tracker Capture and pick a facility, the
>> only program available in the pull down is Program A... although Program B
>> is set up the same way. I have cleared the cache per the method outlined
>> here <https://www.dhis2.org/tutorials/how-to-really-clear-browser-cache>,
>> logged in to the instance in Incognito mode to no avail. I've even run
>> Analytics and cleared the Cache through the Data Administration app. I
>> cannot access Program B.
>>
>> Any ideas please?
>>
>>
>>
>>
>> *Laura E. Lincks*
>> Database Manager/Developer
>> ICAP - Columbia University
>> Mailman School of Public Health
>> 60 Haven Ave, Floor B1
>> New York, NY 10032
>> Tel: 212 304 7132
>>
>> On Fri, Oct 30, 2015 at 3:07 PM, Iuri Fanti  wrote:
>>
>>> Hi Abyot, thanks for your reply.
>>>
>>> I just installed the 2.21 version (on Tomcat), and I cleared the
>>> browser cache and cookies so many times, but still no luck. Just to be
>>> sure, I created a brand new database: only one option set, only one
>>> data element, only one program (without registration), only one
>>> organization unit; I assigned the option set to the data element, the
>>> data element to the program stage, and the program to the orgunit.
>>> When I click on the drop down menu of the data element "DA gender",
>>> what I get is in the picture attached.. :( Obviously I checked a
>>> hundred times the option management (also attached). I attach a dump
>>> of my db (MySQL) as well.
>>>
>>> Thanks in advance,
>>>
>>> Iuri
>>>
>>>
>>> 2015-10-29 19:03 GMT+01:00 Abyot Gizaw :
>>> > Hi Iuri,
>>> >
>>> > That shouldn't really stop you from proceeding. Which version of dhis2
>>> are
>>> > you using? Also make sure you have cleared your browser cache.
>>> >
>>> >
>>> > ---
>>> > Thank you,
>>> > Abyot.
>>> >
>>> > On Thu, Oct 29, 2015 at 2:49 PM, Iuri Fanti 
>>> wrote:
>>> >>
>>> >> Sure. When I click on "Event Capture", the console shows me these
>>> >> messages:
>>> >>
>>> >> Creating Application Cache with manifest
>>> >>
>>> http://localhost:8080/dhis/dhis-web-event-capture/cacheManifest.action
>>> >> index.html:1 Application Cache Checking event
>>> >> index.html:1 Application Cache Error event: Failed to parse manifest
>>> >>
>>> http://localhost:8080/dhis/dhis-web-event-capture/cacheManifest.action
>>> >> angular.js:87 GET
>>> >> http://localhost:8080/dhis/api/userSettings/currentStyle 404 (Not
>>> >> Found)(anonymous function) @ angular.js:87n @ angular.js:82f @
>>> >> angular.js:80(anonymous function) @ angular.js:112n.$eval @
>>> >> angular.js:126n.$digest @ angular.js:123n.$apply @ angular.js:126l @
>>> >> angular.js:81M @ angular.js:85F.onload @ angular.js:86
>>> >> dhis2.menu.ui.js:1114 Unable to load usersettings, falling back to
>>> >> systemSettings
>>> >> directives.js:12 Finished loading orgunit tree
>>> >> event-capture.js:142 Loa

Re: [Dhis2-devs] [Dhis2-users] Event Capture problems

2016-04-11 Thread Laura E. Lincks
Version:2.22Build revision:
21878

I'm now encountering a similar issue to this original post.

We have a program A with one program stage assigned to every facility in
the instance. It works properly.

We just now added a new program B with a new program stage and assigned it
to every facility in the instance. Data elements have been assigned to the
stage and a tracked entity with 2 attributes (the same ones used for
Program A) have been assigned to program B.

When I go to do data entry using Tracker Capture and pick a facility, the
only program available in the pull down is Program A... although Program B
is set up the same way. I have cleared the cache per the method outlined
here <https://www.dhis2.org/tutorials/how-to-really-clear-browser-cache>,
logged in to the instance in Incognito mode to no avail. I've even run
Analytics and cleared the Cache through the Data Administration app. I
cannot access Program B.

Any ideas please?




*Laura E. Lincks*
Database Manager/Developer
ICAP - Columbia University
Mailman School of Public Health
60 Haven Ave, Floor B1
New York, NY 10032
Tel: 212 304 7132

On Fri, Oct 30, 2015 at 3:07 PM, Iuri Fanti  wrote:

> Hi Abyot, thanks for your reply.
>
> I just installed the 2.21 version (on Tomcat), and I cleared the
> browser cache and cookies so many times, but still no luck. Just to be
> sure, I created a brand new database: only one option set, only one
> data element, only one program (without registration), only one
> organization unit; I assigned the option set to the data element, the
> data element to the program stage, and the program to the orgunit.
> When I click on the drop down menu of the data element "DA gender",
> what I get is in the picture attached.. :( Obviously I checked a
> hundred times the option management (also attached). I attach a dump
> of my db (MySQL) as well.
>
> Thanks in advance,
>
> Iuri
>
>
> 2015-10-29 19:03 GMT+01:00 Abyot Gizaw :
> > Hi Iuri,
> >
> > That shouldn't really stop you from proceeding. Which version of dhis2
> are
> > you using? Also make sure you have cleared your browser cache.
> >
> >
> > ---
> > Thank you,
> > Abyot.
> >
> > On Thu, Oct 29, 2015 at 2:49 PM, Iuri Fanti 
> wrote:
> >>
> >> Sure. When I click on "Event Capture", the console shows me these
> >> messages:
> >>
> >> Creating Application Cache with manifest
> >> http://localhost:8080/dhis/dhis-web-event-capture/cacheManifest.action
> >> index.html:1 Application Cache Checking event
> >> index.html:1 Application Cache Error event: Failed to parse manifest
> >> http://localhost:8080/dhis/dhis-web-event-capture/cacheManifest.action
> >> angular.js:87 GET
> >> http://localhost:8080/dhis/api/userSettings/currentStyle 404 (Not
> >> Found)(anonymous function) @ angular.js:87n @ angular.js:82f @
> >> angular.js:80(anonymous function) @ angular.js:112n.$eval @
> >> angular.js:126n.$digest @ angular.js:123n.$apply @ angular.js:126l @
> >> angular.js:81M @ angular.js:85F.onload @ angular.js:86
> >> dhis2.menu.ui.js:1114 Unable to load usersettings, falling back to
> >> systemSettings
> >> directives.js:12 Finished loading orgunit tree
> >> event-capture.js:142 Loading required meta-data
> >> dhis2.angular.directives.js:71 Finished loading orgunit tree
> >> event-capture.js:142 Loading required meta-data
> >> jquery.min.js:2 GET
> >>
> >>
> http://localhost:8080/dhis/api/programRules.json?paging=false&fields=id,program[id]&_=1446126435971
> >> 500 (Internal Server Error)send @ jquery.min.js:2p.extend.ajax @
> >> jquery.min.js:2getD2MetaObject @
> >> event-capture.js:509getMetaProgramRules @
> >> event-capture.js:476(anonymous function) @ jquery.min.js:2k @
> >> jquery.min.js:2l.fireWith @ jquery.min.js:2l.fire @ jquery.min.js:2k @
> >> jquery.min.js:2l.add @ jquery.min.js:2(anonymous function) @
> >> jquery.min.js:2k @ jquery.min.js:2l.fireWith @ jquery.min.js:2l.fire @
> >> jquery.min.js:2k @ jquery.min.js:2l.fireWith @ jquery.min.js:2l.fire @
> >> jquery.min.js:2(anonymous function) @ event-capture.js:527k @
> >> jquery.min.js:2l.fireWith @ jquery.min.js:2y @ jquery.min.js:2d @
> >> jquery.min.js:2
> >> event-capture.js:168 Finished loading meta-data
> >> event-capture.js:170 Started availability check
> >> jquery.min.js:2 GET
> >>
> >>
> http://localhost:8080/dhis/api/programRules.json?paging=false&fields=id,program[id]&_=1446126435981
> >> 500 (Internal Server Error)send @ jquery.min.js:2p.extend.ajax @
&

[Dhis2-devs] Pop up warning when Editing Event Detail and Screen rendering issues in Tracker/Event Capture

2016-04-07 Thread Laura E. Lincks
Version:2.22Build revision:21973


The following pop up displays every time we attempt to edit an Event Detail



We're also often having difficulty viewing data in Event Capture and
Tracker Capture... Org Unit trees don't display in their entirety...
Programs don't appear in the pulldown... existing data is invisible within
the data grid... we have to refresh the screen multiple times and/or
perform a true Clear Cache (Chrome) for all the text to render on the
screen.

This has been happening to us in 2 instances of 2.22 for Event Capture as
well as Tracker Capture.

​

*Laura E. Lincks*
Database Manager/Developer
ICAP - Columbia University
Mailman School of Public Health
60 Haven Ave, Floor B1
New York, NY 10032
Tel: 212 304 7132
___
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


Re: [Dhis2-devs] Console displays warning when Editing an Event Detail

2016-04-07 Thread Laura E. Lincks
This also happens when registering a new event.

*Laura E. Lincks*
Database Manager/Developer
ICAP - Columbia University
Mailman School of Public Health
60 Haven Ave, Floor B1
New York, NY 10032
Tel: 212 304 7132

On Thu, Apr 7, 2016 at 5:46 PM, Laura E. Lincks <
laura.lin...@icap.columbia.edu> wrote:

> Version:2.22Build revision:21973
>
> We're getting warning messages messages in the DevTools console when we
> bring up an Event Detail in edit mode:
>
> Variable #{DatacheckCD4} is linked to a dataelement that is not part of
>> the program
>> angular.js:102
>
>
> (Edit in grid does not produce the warning.)
>
> We can bring up the event details but are concerned that the message may
> indicate an underlying problem, specifically, that we cannot bring up an
> Event Program in the Event Capture app on a tablet.
>
>
> We're going to remove program rules in a test copy and see if that helps.
>
>
> Any suggestions on what we should look for?
>
>
>
> *Laura E. Lincks*
> Database Manager/Developer
> ICAP - Columbia University
> Mailman School of Public Health
> 60 Haven Ave, Floor B1
> New York, NY 10032
> Tel: 212 304 7132
>
___
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


[Dhis2-devs] Console displays warning when Editing an Event Detail

2016-04-07 Thread Laura E. Lincks
Version:2.22Build revision:21973

We're getting warning messages messages in the DevTools console when we
bring up an Event Detail in edit mode:

Variable #{DatacheckCD4} is linked to a dataelement that is not part of the
> program
> angular.js:102


(Edit in grid does not produce the warning.)

We can bring up the event details but are concerned that the message may
indicate an underlying problem, specifically, that we cannot bring up an
Event Program in the Event Capture app on a tablet.


We're going to remove program rules in a test copy and see if that helps.


Any suggestions on what we should look for?



*Laura E. Lincks*
Database Manager/Developer
ICAP - Columbia University
Mailman School of Public Health
60 Haven Ave, Floor B1
New York, NY 10032
Tel: 212 304 7132
___
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


[Dhis2-devs] [Bug 1567570] [NEW] typed Option Set entries filter too broadly

2016-04-07 Thread Laura E. Lincks
Public bug reported:

We've discovered a bug in regard to using an Option Set (at least in
regard to tracker capture forms.)

Version:
2.22
Build revision:
21878
Chrome Version 49.0.2623.110 m

We are using Tracker Capture to collect data for a simple survey (Survey
questions are set up as data elements.) All responses can range from 0
to 3, inclusive. I therefore set up an Option Set called 'Choices'.
Under Option Management I added 4 options: 0, 1, 2, 3. The data elements
are assigned to the 'Choices' Option Set.

I have a customized data entry form under a single Program Stage. The
'Choices' Option Set is available for every data element on the form.
When doing data entry, clicking the Option Set pull-down and selecting
an option with the mouse works fine. However, when using the keyboard
(our preferred method) I can tab to a data entry field, type one of the
choices (0, 1, 2 or 3), hit Enter and the value I type saves just
fine... with one exception: Every time I type '2', my selection is not
captured and the field saves a 0 on the form (and on the back end). The
only way to save the value 2 with the keyboard is to cursor down to the
'2' on the list and hit Enter. The other options in the pull-down list
do not require that the user cursor down to the option.

In my above example where I use an option set consisting of 4 numeric
responses, typing a '2' did not filter down to just the value of '2'.
Upon further inspection, it appears that when typing a value on the
option list, the control filters to the values which match that typed
entry along with the underlying uids of the individual options. So in my
above example, the number 2 was part of the uid of options 0 and 1, so
when I typed '2' in the option box, 0, 1, and 2 appear... (and unless I
cursor down to the 2 in the list, it will take the first option listed,
a 0 in this case.)

My fix was to delete and recreate the options until the system generated
uids without digits that would confuse selection of another option. Not
a perfect fix, but easy  enough to do in this small set of options.

Also note, that in this example, I now have an Option 2 which contains a
'4' in the uid. 4 is not a valid choice. But if I type a '4' the object
will select the value 2 from the list rather than reject the typed entry
as invalid. Actually, typing any character which is part of any Option's
uid will filter to that Option in the list.  I would think we would not
want the ability to filter selections by typing uid values.

** Affects: dhis2
 Importance: Undecided
 Status: New


** Tags: options optionset

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1567570

Title:
  typed Option Set entries filter too broadly

Status in DHIS:
  New

Bug description:
  We've discovered a bug in regard to using an Option Set (at least in
  regard to tracker capture forms.)

  Version:
  2.22
  Build revision:
  21878
  Chrome Version 49.0.2623.110 m

  We are using Tracker Capture to collect data for a simple survey
  (Survey questions are set up as data elements.) All responses can
  range from 0 to 3, inclusive. I therefore set up an Option Set called
  'Choices'. Under Option Management I added 4 options: 0, 1, 2, 3. The
  data elements are assigned to the 'Choices' Option Set.

  I have a customized data entry form under a single Program Stage. The
  'Choices' Option Set is available for every data element on the form.
  When doing data entry, clicking the Option Set pull-down and selecting
  an option with the mouse works fine. However, when using the keyboard
  (our preferred method) I can tab to a data entry field, type one of
  the choices (0, 1, 2 or 3), hit Enter and the value I type saves just
  fine... with one exception: Every time I type '2', my selection is not
  captured and the field saves a 0 on the form (and on the back end).
  The only way to save the value 2 with the keyboard is to cursor down
  to the '2' on the list and hit Enter. The other options in the pull-
  down list do not require that the user cursor down to the option.

  In my above example where I use an option set consisting of 4 numeric
  responses, typing a '2' did not filter down to just the value of '2'.
  Upon further inspection, it appears that when typing a value on the
  option list, the control filters to the values which match that typed
  entry along with the underlying uids of the individual options. So in
  my above example, the number 2 was part of the uid of options 0 and 1,
  so when I typed '2' in the option box, 0, 1, and 2 appear... (and
  unless I cursor down to the 2 in the list, it will take the first
  option listed, a 0 in this case.)

  My fix was to delete and recreate the options until the system
  generated uids without digits that would confuse selection of another
  option. Not a perfect fix, but easy  enough to do in this small set of
  options.

  Also not

Re: [Dhis2-devs] Option Set keyboard selection not working

2016-04-07 Thread Laura E. Lincks
We've discovered a bug in regard to using an Option Set (at least in regard
to tracker capture forms.)
In my above example where I use an option set consisting of 4 numeric
responses, typing a '2' did not filter down to just the value of '2'. It
appears that when typing a value on the option list, the control filters to
the values which match that typed entry along with the underlying uids of
the individual options. So in my above example, the number 2 was part of
the uid of of options 0 and 1, so when I typed '2' in the option box, 0, 1,
and 2 appear... (and unless I cursor down to the 2 in the list, it will
take the first option listed, a 0 in this case.)

My fix was to delete and recreate the options until the system generated
uids without digits that would confuse selection of another option. Not a
perfect fix, but easy  enough to do in this small set of options.

Also note, that in this example, I now have an Option 2 which contains a
'4' in the uid. 4 is not a valid choice. But if I type a '4' the object
will select the value 2 from the list rather than reject the typed entry as
invalid. I'm letting this one go for our immediate needs.

*Laura E. Lincks*
Database Manager/Developer
ICAP - Columbia University
Mailman School of Public Health
60 Haven Ave, Floor B1
New York, NY 10032
Tel: 212 304 7132

On Tue, Apr 5, 2016 at 12:50 PM, Laura E. Lincks <
laura.lin...@icap.columbia.edu> wrote:

> Version:2.22Build revision:21878
> We are using Tracker Capture to collect data for a simple survey (Survey
> questions are set up as data elements.) All responses can range from 0 to
> 3, inclusive. I therefore set up an Option Set called 'Choices'. Under
> Option Management I added 4 options: 0, 1, 2, 3. The data elements are
> assigned to the 'Choices' Option Set.
> I have a customized data entry form under a single Program Stage. The
> 'Choices' Option Set is available for every data element on the form. When
> doing data entry, clicking the Option Set pull-down and selecting an option
> with the mouse works fine. However, when using the keyboard (our preferred
> method) I can tab to a data entry field, type one of the choices (0, 1, 2
> or 3), hit Enter and the value I type saves just fine... with one
> exception: Every time I type '2', my selection is not captured and the
> field saves a 0 on the form (and on the back end). The only way to save
> the value 2 with the keyboard is to cursor down to the '2' on the list and
> hit Enter. The other options in the pull-down list do not require that the
> user cursor down to the option. I have no idea why that might be.
> Note the way the options display when typing the corresponding numerical
> value. The first picture is what appears when I type 2 in the Option box
> (does not work properly), the second picture is when I type a 3 (the same
> proper behavior exists when typing a 0 or 1) and the 3rd is what
> appears before I type anything.
>
>
>
>
>
> ​
>
>
> Can you shed some light? Perhaps this was fixed in a later build?
> Thank you in advance.
>
>
> *Laura E. Lincks*
> Database Manager/Developer
> ICAP - Columbia University
> Mailman School of Public Health
> 60 Haven Ave, Floor B1
> New York, NY 10032
> Tel: 212 304 7132
>
___
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


[Dhis2-devs] Option Set keyboard selection not working

2016-04-05 Thread Laura E. Lincks
Version:2.22Build revision:21878
We are using Tracker Capture to collect data for a simple survey (Survey
questions are set up as data elements.) All responses can range from 0 to
3, inclusive. I therefore set up an Option Set called 'Choices'. Under
Option Management I added 4 options: 0, 1, 2, 3. The data elements are
assigned to the 'Choices' Option Set.
I have a customized data entry form under a single Program Stage. The
'Choices' Option Set is available for every data element on the form. When
doing data entry, clicking the Option Set pull-down and selecting an option
with the mouse works fine. However, when using the keyboard (our preferred
method) I can tab to a data entry field, type one of the choices (0, 1, 2
or 3), hit Enter and the value I type saves just fine... with one
exception: Every time I type '2', my selection is not captured and the
field saves a 0 on the form (and on the back end). The only way to save
the value 2 with the keyboard is to cursor down to the '2' on the list and
hit Enter. The other options in the pull-down list do not require that the
user cursor down to the option. I have no idea why that might be.
Note the way the options display when typing the corresponding numerical
value. The first picture is what appears when I type 2 in the Option box
(does not work properly), the second picture is when I type a 3 (the same
proper behavior exists when typing a 0 or 1) and the 3rd is what
appears before I type anything.





​


Can you shed some light? Perhaps this was fixed in a later build?
Thank you in advance.


*Laura E. Lincks*
Database Manager/Developer
ICAP - Columbia University
Mailman School of Public Health
60 Haven Ave, Floor B1
New York, NY 10032
Tel: 212 304 7132
___
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


Re: [Dhis2-devs] [Dhis2-users] Incorporating complex formulas into indicators and validations

2016-03-22 Thread Laura E. Lincks
Jason, these are excellent suggestions. Thank you. And you're right about
the "A" having priority... but what if "B" is better? I asked these same
questions of our staff yesterday. We are continuing to learn exactly what
is needed. Injecting the result in a non-editable data element is an
interesting idea... however we couldn't combine all necessary "indicators"
(consisting of simple and complex indicators, the complex ones being actual
data elements) when creating a pivot table. I guess we'd have to separate
the simple ones from the complex ones to get a complete output.

I think there is a possibility of structuring a sort of IF-THEN-ELSE-like
structure by evaluating sums and multiplying or dividing them by other data
elements to result in a 0 or 1 (a false or a true) and then proceeding
accordingly with that result. It would be messy, but could possibly be done
in native DHIS ... but only if we are analyzing every data element at the
same hierarchical level (which is a big IF in our case and one we are
researching more).

For example we created another formula at the facility level that
translates to:
​Return TRUE if ​a facility's
TB Screening / Current In care
​>
 80%
​AND its
On CTX / Current in Care
​>
 80%
​, Otherwise return FALSE​

IF the SUM of the (SUM of Data Element Group A) DIVIDED BY the (SUM of Data
Element Group B) IS GREATER THAN 80%
   AND IF the SUM of the (SUM of Data Element Group C) DIVIDED BY the (SUM
of Data Element Group B) IS GREATER THAN 80%
THEN
   RETURN 1
ELSE
   RETURN 0

The formula is as follows:

​

(#{ccDP1mdtsGw.WiRMti12cez}+#{LMg3WmDU9e0.WiRMti12cez}+#{oZ1lP3c6aUy.WiRMti12cez}+#{vIYHoB1chrN.WiRMti12cez})/
(#{uRhTwUUG8Xc.WiRMti12cez}+#{m1yNfb8Pk5o.WiRMti12cez}+#{Sll1gd58DuW.WiRMti12cez}+#{q6Ifdhfa9UZ.WiRMti12cez})>.8

AND
(#{Y6x3Qc60cny.WiRMti12cez}+#{KWfnVyJ6csJ.WiRMti12cez}+#{C8xQ25DfJ4c.WiRMti12cez}+#{niVwX6llpwW.WiRMti12cez})/(#{uRhTwUUG8Xc.WiRMti12cez}+#{m1yNfb8Pk5o.WiRMti12cez}+#{Sll1gd58DuW.WiRMti12cez}+#{q6Ifdhfa9UZ.WiRMti12cez})>.8


Something like that could be applied to yet another sum of data elements,
in our case to come up with the value we need. Again, messy, but possibly
doable without making an external call.

I agree that making an external call to do the calculations is probably the
best solution ultimately if not the only solution, depending on at what
level we decide to store the data in question.

Thanks for your examples. We'll definitely study them further along with
the new Exclusive Pair operator.


*Laura E. Lincks*
Database Manager/Developer
ICAP - Columbia University
Mailman School of Public Health
60 Haven Ave, Floor B1
New York, NY 10032
Tel: 212 304 7132

On Tue, Mar 22, 2016 at 3:55 AM, Jason Pickering <
jason.p.picker...@gmail.com> wrote:

> Hi Larua,
>
> As Greg says, DHIS2 is fairly limited when it comes to performing these
> types of complex operations in indicators. There are a number of different
> approaches, but one which I have used fairly often is to perform the type
> of operation Greg mentions to calculate some indicator values, or perhaps
> some intermediate values which then need to be processed. This data can
> then be passed to something like R or Python (or really what have you) to
> perform perhaps additional calculations, and then inject this back into the
> system (via the API as a new data element) which can be processed by DHIS2.
>
> Your case is not one I have heard of before so I think you would have to
> write some custom code to accomplish this. Likely, what I would do would be
> to implemnent this logic as an SQL function and then import the processed
> value back into the system as a new data element (which would never be
> entered directly, but rather simply calculated by your custom code).
>
> Its not ideal and can be rather brittle, but with a generic piece of
> software like DHIS2, it can be tough to support all of these special
> requirements which may exist.
>
> Another option which you may want to consider, if it is an option, is the
> use of the "Exclusive pair" operator which we recently added. In your case,
> it would seem to be somewhat problematic if you have all three data
> elements. It seems "A" has priority, but what happens if "B" is "better"
> somehow? It would seem to be more efficient and increase data quality if
> you only ever had A, B or C and not all three of them, unless of course
> these are somehow used in different calculations. Anyway, just maybe
> something to consider. And of course, obviously, it is currently not
> possible to look at relationships between a facility and a sub-facility in
> a validation rule, so that's a bit of a limitation.
> sta
> Although not directly related to this case, here
> <https://github.com/dhis2/datim-dedupe/tree/master/sql/a

[Dhis2-devs] Incorporating complex formulas into indicators and validations

2016-03-21 Thread Laura E. Lincks
Hello, all,

I am posing a general question to the groups which does not necessarily
pertain to any specific version of DHIS.

We have a need to perform rather complex calculations to create indicators.
One current need of ours can be summarized as follows:

IF facility data exists for this list (A) of data elements, sum these (A)
data elements
ELSE
IF facility data exists for this list (B) of data elements, sum these (B)
data elements
ELSE
IF facility data exists for this list (C) of data elements, sum these (C)
data elements
ELSE
sum these (D) data elements captured at the SUB-facility level

We don't think native DHIS can accommodate the above example. (If it can,
please enlighten me.) We are exploring alternatives that can function with
DHIS, such as calling and external application from DHIS to perform the
calculation and returning the result to DHIS for reporting needs.

I imagine we are not alone in needing more robust formula creation and was
hoping the members of the DHIS community could share with us their
solutions. Has anyone incorporated a work around for complex formulas to
create indicators or validation rules?

Thanks in advance for your input.

*Laura E. Lincks*
Database Manager/Developer
ICAP - Columbia University
Mailman School of Public Health
60 Haven Ave, Floor B1
New York, NY 10032
Tel: 212 304 7132
___
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


[Dhis2-devs] XML Import of Org Unit Attribute

2015-10-14 Thread Laura E. Lincks
Version: 2.20
Build: 19958

I need to update existing Org Units with a new, non-existing Org Unit
attribute *values* using XML meta-data import.

I'm trying to create the simplest XML to do this, excluding tags which have
no bearing on the update. I just need to add an attribute value to each Org
Unit.

*I've noticed the following:*
I must include *openingDate*, *name* and *shortName* even though I am not
affecting any of those properties (these did not appear to be mandatory in
2.18)
If I do not include *created* a new *created* date is generated
If I do not include *(u)id* a new (u)*id* is generated (tag is "id", column
name is "uid")

I would think that generating new *uid *and *created* values could cause
problems with data integrity. Is this intentional? Are Org Unit records
being deleted and recreated when running an XML import as it appears to? I
would assume that if I don't include those tags it would retain whatever
values already exist for each record.

It seems that in order to ONLY add a non-existing attribute to each Org
Unit (and not alter the *uid* or *created*  values) I must include the
following tags in my XML file:

*For organisationUnit:*
id
created
name
shortName
openingDate

*For Org Unit Attribute:*
code
name
id
value
externalAccess (maybe??)

Can someone confirm or comment on my findings and questions?
Thanks.

*Laura E. Lincks*
Database Manager/Developer
ICAP - Columbia University
Mailman School of Public Health
60 Haven Ave, Floor B1
New York, NY 10032
Tel: 212 304 7132
___
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


[Dhis2-devs] Superuser role and adding/updating User roles

2015-09-23 Thread Laura E. Lincks
Version:2.20Build revision:19876Build date:2015-09-17 18:41

Some members of our team came across the following issue:

User logged in has Superuser role but not Administrator role
Superuser role has the following authorities (among others):

Add/Update User

Add/Update Public User Role

Add/Update Private User Role


...yet any changes the logged in user makes to another user's role do not
get saved.

Is this a bug?

*Laura E. Lincks*
Database Manager/Developer
ICAP - Columbia University
Mailman School of Public Health
60 Haven Ave, Floor B1
New York, NY 10032
Tel: 212 304 7132
___
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


[Dhis2-devs] Adding an Org Unit for Data Capture to User from back end

2015-08-25 Thread Laura E. Lincks
I'm trying to re-assign an Org Unit for Data Capture and Analysis to a user
from the Postgres backend.

I see data stored in the userdatavieworgunits table. I can insert a row
into the table and see my results when selecting from the table but the
changes don't affect what I see in the front end or the web api for the
user. The information there does not change.

Any tips on what I might be missing? Thanks.

*Laura E. Lincks*
Database Manager/Developer
ICAP - Columbia University
Mailman School of Public Health
60 Haven Ave, Floor B1
New York, NY 10032
Tel: 212 304 7132
___
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


[Dhis2-devs] DHIS2 - Add Custom Flag

2015-07-21 Thread Laura E. Lincks
We would like a flag added to the list of Appearance setting options as
well: *South Sudan*

We are currently using 2.18 but will upgrade to at least 2.19 (possibly
2.20) shortly... but I see in the demo version of 2.20 South Sudan is not
yet a flag option. Can you put it on the list for the next release?

Thank you very much.

*Laura E. Lincks*
Database Manager/Developer
ICAP - Columbia University
Mailman School of Public Health
60 Haven Ave, Floor B1
New York, NY 10032
Tel: 212 304 7132

On Wed, Jun 3, 2015 at 3:41 AM, Muhammad Tahir  wrote:

> Hi,
>
> *Apps-Settings->Appearance Settings*
>
> Option: *Flag*
>
> How can I add a flag that is not in this list?
>
> I want to set it to Pakistan's flag, but it is not in the list.
>
>
>
> *DHIS2: DHIS2-LIVEVersion: 2.18OS: Windows 7*
>
> --
> *Regards,*
> *Muhammad Tahir*
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> 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


Re: [Dhis2-devs] [Dhis2-users] how to change fisical year

2015-03-31 Thread Laura E. Lincks
Was there a resolution regarding this email? I have a request from a
country team to change the date range of a year as well, since their
external source data (which they are importing into DHIS) sees Q1 as
starting in October and not January. I'm not sure how to direct them.
They're asking me to delete some table but for the moment their message (in
email) is confusing. Thought I would ask here as to what options there may
be regarding fiscal year ranges before addressing the country team.

TIA.

On Thu, Feb 19, 2015 at 9:37 AM, rin.chann...@gmail.com <
rin.chann...@gmail.com> wrote:

> If possible, should has calendar format for change to fiscal year like
> usually they start Q1 from january and other donor start Q1 from october.
>
> Thanks
> Channara
>
>
> Lars Helge Øverland  wrote:
>
> Hi Channara,
>
> what implication does this have? Can you just go on and use the standard
> quarterly periods in DHIS 2?
>
> regards,
>
> Lars
>
> On Thu, Feb 19, 2015 at 12:21 PM, channara rin 
> wrote:
>
>> Hi all,
>> i use DHIS2 to adope calendar of USAID. so the USAID will use Q1 from
>> (Oct-Dec) and Q2 from (Jan-Mar).
>>
>> SO HOW CAN I CHANGE calendar to fix with like above?
>>
>> Thank you
>> CHANNARA
>>
>> ___
>> 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-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 

*Laura E. Lincks*
Database Manager/Developer
ICAP - Columbia University
Mailman School of Public Health
60 Haven Ave, Floor B1
New York, NY 10032
Tel: 212 304 7132
___
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