Re: [Dhis2-users] Importing data to tracker app

2018-04-08 Thread David Muturi
Hi John,
One way is to use the api and create a json/xml payload via scripts then
upload using curl. There is more information here.
https://docs.dhis2.org/2.25/en/developer/html/dhis2_developer_manual_full.html#webapi_events_csv_import_export
rgds
David

On Sun, 8 Apr 2018, 14:50 John Ondenge,  wrote:

> Hi, is there a way to import data to tracker app?
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Indicator: Numerator and Denominator objects not found.

2018-03-16 Thread David Muturi
Hi Isaiah,
The uid showing on the screen should be that of the data element (please
check that it is correct). Also it should be enclosed in the chars as shown
#{uid}.
rgds
David


On Fri, 16 Mar 2018, 08:11 Isaiah Nyabuto,  wrote:

> Dear Dhis2 users,
>
> I recently imported a few indicators using an API.  When I check the
> indicator numerator from the maintenance, it shows the data element
> description and ID but no valid object found. I suspect this could be a
> problem with my metadata version. If so, how do I ensure I get the right
> version of data elements metadata?
>
> Thank you.
>
>
> ==
> Isaiah Nyabuto
> +254729572616
> Bsc. Health Records Management and Informatics
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] TAB IN CUSTOM FORMS

2017-12-15 Thread David Muturi
Hi Stanley,
Here is a script as well to create custom tabs.


   jQuery(document).ready( function() {

  jQuery( '#tabs' ).tabs({ collapsible : true });

});




Page 1 
Page 2
Page 3



--HTML CODE--


--HTML CODE--


--HTML CODE--



rgds
David

2017-12-14 5:20 GMT+03:00 Stanley Kalyati :
> Hi John,
>
> Thank you for your responses.You really help.
>
> Now,how about collapsing sections in a custom form? How do I go about it?
>
> Thank you all once again
>
> On Dec 8, 2017 10:31 AM, "John Mukulu"  wrote:
>>
>> Hello Stanley,
>> There's a section form feature that supports tabs horizontal or vertical.
>>
>> But if it doesn't suit you, you can write your html form and use jQuery
>> tab feature so it's rendered as custom form.
>>
>> See this link
>> https://jqueryui.com/tabs/
>>
>>
>> John Francis Mukulu
>> Lead Developer, HISPTZ
>> University of Dar es salaam
>> http://hisptanzania.org/
>>
>> On Dec 8, 2017 8:38 AM, "Stanley Kalyati"  wrote:
>>>
>>> Hi all,
>>>
>>> Anyone to share how one can create custom froms with tubs?
>>>
>>> Thanks
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-users@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-d...@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-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Installation of DHIS2 on Windows 10 Laptop

2017-10-05 Thread David Muturi
Hi Fran,
Have you managed to resolve this? I have not seen further email trail on
it, from the log file, it seems the dhis2 home folder is not writable. What
are the permissions on this folder i.e. /home/dhis/config ? you can use ls
-lrt to list the permissions for the config directory

* INFO  2017-10-04 21:38:41,989 Directory /home/dhis/config is not
writeable (DefaultLocationManager.java [localhost-startStop-1])
rgds
David
2017-10-04 21:55 GMT+03:00 Fran Kimonye <fkimo...@gmail.com>:

> Hi Team,
>  Am running DHIS2 2.27 on Ubuntu 16.04
>
> This the error i get when i start tomcat 8. Attached.
>
> Regards,
> Francis
>
>
>
>
> On Thu, Sep 14, 2017 at 1:10 PM, Fran Kimonye <fkimo...@gmail.com> wrote:
>
>> Received. Thanks David. Let me look at it
>>
>> On Thu, Sep 14, 2017 at 12:43 PM, David Muturi <dnmut...@gmail.com>
>> wrote:
>>
>>> Hi Fran,
>>> Please see attached dhis2 installation guide on Windows with
>>> screenshots, hope it helps.
>>> rgds
>>> David
>>>
>>>
>>> 2017-09-14 11:04 GMT+03:00 Knut Staring <knu...@gmail.com>:
>>>
>>>> Hi Francis,
>>>>
>>>> It is still connecting to H2 instead of Postgres (database type: H2).
>>>>
>>>> One possibility is that this is because your file has aquired an
>>>> unwanted extension like .txt. It looks to you as if it is called dhis.conf,
>>>> but in reality it is called dhis.conf.txt
>>>>
>>>> You can also just delete the top rows in dhis.conf, those that relate
>>>> to H2.
>>>>
>>>> Knut
>>>>
>>>> On Wed, Sep 13, 2017 at 4:44 PM, Fran Kimonye <fkimo...@gmail.com>
>>>> wrote:
>>>>
>>>>> plus the two log file
>>>>>
>>>>> On Wed, Sep 13, 2017 at 5:41 PM, Fran Kimonye <fkimo...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Have deleted and the error still persist.
>>>>>>
>>>>>> Attached find my dhis.config file
>>>>>>
>>>>>>
>>>>>> On Wed, Sep 13, 2017 at 5:21 PM, Knut Staring <knu...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Or just delete the environment variable
>>>>>>>
>>>>>>> On Wed, Sep 13, 2017 at 4:20 PM, Fran Kimonye <fkimo...@gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> My database name is dhis2.
>>>>>>>>
>>>>>>>> I should set my Environment variable DHIS_HOME: C:/PATH/Projects/DH
>>>>>>>> IS2/1/dhis-live/conf
>>>>>>>>
>>>>>>>> On Wed, Sep 13, 2017 at 5:09 PM, Knut Staring <knu...@gmail.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> So your database is called dhis2?
>>>>>>>>>
>>>>>>>>> And dhis.conf is in C:/PATH/Projects/DHIS2/1/dhis-live/conf ?
>>>>>>>>>
>>>>>>>>> Then I think the problem may be that you have set the Environment
>>>>>>>>> variable DHIS2_HOME: C:\DHIS2, which is a different location.
>>>>>>>>>
>>>>>>>>> On Wed, Sep 13, 2017 at 4:04 PM, Fran Kimonye <fkimo...@gmail.com>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Knut,
>>>>>>>>>>
>>>>>>>>>> kindly assist
>>>>>>>>>> *dhis.config file.*
>>>>>>>>>>
>>>>>>>>>> connection.dialect = org.hibernate.dialect.PostgreSQLDialect
>>>>>>>>>> connection.driver_class = org.postgresql.Driver
>>>>>>>>>> connection.url = jdbc:postgresql:dhis2
>>>>>>>>>> connection.username = dhis
>>>>>>>>>> connection.password = Dhis2017
>>>>>>>>>>
>>>>>>>>>> connection.schema = update
>>>>>>>>>>
>>>>>>>>>> *PostgreSQL connection*
>>>>>>>>>>
>>>>>>>>>> username: dhis
>>>>>>>>>> password: Dhis2017
>>>>>>>>>>
>>>>>>>>>> 

Re: [Dhis2-users] USERS NOT ABLE TO ADD GRAPHS AND TABLES ON THE DASHBOARD

2017-08-29 Thread David Muturi
Hi Stanley,
Are the users in a group? If yes, you need to share the dashboard with this
group and ensure that the can "edit and View"  the dashboard while sharing
the dashboard with them.
rgds
David

2017-08-29 12:39 GMT+03:00 Stanley Kalyati :

> We are using DHIS2 2.26 build aaae441 Build date:2017-07-06 04:05
>
> As a super user i am able to populate the dashboard but other users can
> not.
>
> I have looked at the roles and authorities but i am not sure what role or
> authority i am missing that i need to allocate the other users to do the
> same.
>
> Anyone with a quick answer?
>
> Thanks
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Loop hole in updating data values for completed Data Sets

2017-06-15 Thread David Muturi
Hi Dennis,
This is a know dhis2 bug see  dhis2 JIRA link (DHIS2-1362
).
rgds
David

2017-06-15 20:50 GMT+03:00 Dennis Banga :

> Greetings,
>
> Here is an issue we have noted, on the data entry form I can update
> individual data values when the data set is completed without first
> incompleting , update the values and then complete. When I run the data set
> report at the same level the I can see the updated values, but on the audit
> trail I can only see the first value entered.
>
> I don't know why this works this way or it's a system bug. I would propose
> once a data set is completed the data entry fields should be disabled in
> the data entry form and for any updates the user must incomplete, update
> values and the complete again.
>
> We have seen users taking advantage of this loop hole, whereby they
> complete blank data sets and then update the values later. So when running
> reporting rates summary you'll see those facilities have reported which is
> not the case.
>
> Kindly advise on this.
>
>
> Thanks,
>
>
> Dennis
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@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-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] DHIS2 Version 2.6 Problems after update

2017-04-20 Thread David Muturi
Hi Eudson,
I suspect that you upgraded to version 2.26 and not 2.6 like you have
specified in your description above. I have a few questions,
1) Do you have a back up of your last working database on 2.19?
2) was the upgrade done incrementally, i.e. 2.19,2.202.26 ?
rgds
David


2017-04-20 18:19 GMT+03:00 Eudson Bambo :

> Hi all,
>
>
> I'm managing a DHIS2 instance in my company. We were using the version
> 2.19 but the management decided that it should be updated and the IT team
> did update to version 2.6. Since this update the Option Set for my data
> elements are not working anymore and also the Indicators on the data sets
> are not been calculated automatically when a value is introduced to the
> data elements on the same data set (but i checked the data with data
> visualizer and the indicators have values there).
>
>
> Any help will be appreciated.
>
>
> Thanks
>
> Eudson Bambo
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Interoperability of 2 DHIS2 instances to pull data from one to other

2017-02-25 Thread David Muturi
Hi Vunda,
There are many options to this using a suitable  language e.g. python, php,
Java e.t.c. Using Dhis2 robust Api one can achieve a customized d2d ix
similar to you the one below.
rgds
David


On 25 Feb 2017 3:03 pm, "vunda limbe"  wrote:

Dear DHIS2 all,

I want to interoperate two instance. the first is running version 2.22 and
the second is running v.2.23. I have a specific data elements, indicators
that I want them pull automatically monthly data to the second Instance.
I'm looking for a script or something else that can make its possible and
the way  and where to set up.
Your help is welcome,


Thanks.

___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListH

___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] About and Home Menu's hidden in the Pivot table

2017-02-07 Thread David Muturi
Hi Devs,
Another UI issue is that the about and Home menu links get hidden within
the pivot table once one clicks on options. The only solution for now is to
reload the page. This is happening on both versions 2.25 and 2.26. I have
attached a screenshot of the same.
rgds
David
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] How to reduce table columns

2017-01-09 Thread David Muturi
Hi Paul,
You can use custom forms, reduce the width of the text boxes as well as use
tabs to split the data entry form.
rgds
David

2017-01-09 17:29 GMT+03:00 Paul Baloyi :

> I am new to DHIS2 andI have a data entry form which does not fit onto the
> screen below;
>
>
> I want to reduce the size of the columns and the text boxes so that that
> it fits properly.
>
> Your assistance is greatly appreciated.
>
> regards,
>
> Paul
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] AVERAGE of YES/NO Values

2016-11-30 Thread David Muturi
Hi Devs,
I have some data elements that are of type YES/NO for example, in the
attached screen shot the "EPRU -Pre-Plan Approved EPP in Place" is of
yes/no type with the aggregation operator set as average (yes/no). It only
has one value set to true/yes in the system. I have seen this post here -
http://osdir.com/ml/dhis2-devs/2012-02/msg00346.html with the explanation
regarding this issue. However is it possible to have
i) Average operator that does not convert the values to (%) , this is
important when creating indicators since one has to keep dividing yes/no
values by 100.
ii) Display (%) sign in the Pivot Table so that users can be able to see
that the average value has been converted to a percentage

rgds
David
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Displaying dates for weekly Periods in the Pivot table as well as download

2016-11-22 Thread David Muturi
Hi Jan,
Many thanks.
rgds
David

On 23 Nov 2016 12:23 am, "Jan Henrik Øverland" <j...@dhis2.org> wrote:

> Hi Muturi,
>
> We'll look into that.
>
> Jan
>
> On 22 November 2016 at 14:10, David Muturi <dnmut...@gmail.com> wrote:
>
>> Hi team,
>> Is it possible to display dates for weekly periods in the pivot table as
>> shown in the attached image (image003(1).jpg)  instead of the way it
>> appears now (image004.jpg) i.e. 2016W44. The week number shown is difficult
>> to correlate to a date period for any user, the same applies to the
>> downloaded data as well.
>> rgds
>> David
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-d...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Jan Henrik Øverland
> Software developer, DHIS 2
> University of Oslo
> http://www.dhis2.org <https://www.dhis2.org/>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Displaying dates for weekly Periods in the Pivot table as well as download

2016-11-22 Thread David Muturi
Hi team,
Is it possible to display dates for weekly periods in the pivot table as
shown in the attached image (image003(1).jpg)  instead of the way it
appears now (image004.jpg) i.e. 2016W44. The week number shown is difficult
to correlate to a date period for any user, the same applies to the
downloaded data as well.
rgds
David
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Average Sum in Org unit Hierarchy

2016-11-18 Thread David Muturi
Hi Lars,
Many thanks, we will eagerly wait for a solution. I have noticed there is a
blue print related to this i.e. although it does not directly fix it but
might be an alternative solution as we wait for this feature.
https://blueprints.launchpad.net/dhis2/+spec/last-value-aggregation-operator
rgds
David

2016-11-18 14:29 GMT+03:00 Lars Helge Øverland <l...@dhis2.org>:

> Hi Muturi,
>
> yes I see you point. This is something we could look into supporting as a
> setting (include only periods with data in average denominator). I get's a
> bit tricky to implement as we need to weigh the values according to the
> number of days in the data period, and since we need to calculate all this
> with acceptable performance. We will look into it.
>
> Lars
>
>
> On Thu, Nov 17, 2016 at 7:02 PM, David Muturi <dnmut...@gmail.com> wrote:
>
>> Hi Lars,
>> Many thanks for your response. Adding a bi-weekly period type will
>> definitely be a good feature to have. However in my example screen shot the
>> value for one month e.g. July is 20 and since it was collected for one week
>> then the average is 20/1 which is 20. What the system is doing is 20
>> /(31/7) = 4.5,given July has 31 days which means the system is including
>> weeks in which no data was collected and mathematically this is incorrect.
>> If formula for calculating this can be fixed to be a count of the weeks in
>> which data is entered (including zeroes) then it would be mathematically
>> correct instead of including periods in which no data is collected.
>> rgds
>> David
>>
>> 2016-11-17 20:49 GMT+03:00 Lars Helge Øverland <l...@dhis2.org>:
>>
>>> Hi David,
>>>
>>> the way the average+sum aggregation works is roughly this:
>>>
>>>
>>> sum( [days in data period] X data value ) / [days-in-aggregation-period]
>>>
>>>
>>> In other words, we take the sum of the product of no of days in the data
>>> value period and data value, divided by no of days in aggregation period.
>>>
>>> Data value period is the period for which the raw data is collected
>>> (weekly in your case). Aggregation period is the period which is requested
>>> in analytics (monthly and quarterly in your case).
>>>
>>> So in this case, the problem is that you capture data by weeks which in
>>> reality represent bi-weeks - this confuses the aggregation output. The
>>> holes in the data (you have many weeks without data) will pull down the
>>> average score. Based on the rules outlined the results seems correct from
>>> what I can see.
>>>
>>>
>>> We could rather look into adding support for a bi-weekly period type.
>>>
>>>
>>> best regards,
>>>
>>> Lars
>>>
>>>
>>>
>>> On Wed, Nov 16, 2016 at 2:24 PM, David Muturi <dnmut...@gmail.com>
>>> wrote:
>>>
>>>> Hi Lars,
>>>> Many thanks for your response, since we do not have biweekly defined as
>>>> a dhis2 period type(which would be great to have), we have configured the
>>>> dataset to be weekly but only that data is entered on a biweekly basis,
>>>> meaning one week will miss data while another will have based on when it
>>>> was collected. I have attached an excel download from the datavalues table
>>>> as well as a screen shot showing the weekly periods that data is collected.
>>>> rgds
>>>> David
>>>>
>>>> 2016-11-16 14:08 GMT+03:00 Lars Helge Øverland <l...@dhis2.org>:
>>>>
>>>>> Hi David,
>>>>>
>>>>> sounds strange indeed. We need some more info. Can you include
>>>>> bi-weekly periods in your screenshot so that we can see what the original
>>>>> captured value is?
>>>>>
>>>>> regards,
>>>>>
>>>>> Lars
>>>>>
>>>>>
>>>>>
>>>>> On Mon, Nov 14, 2016 at 8:50 PM, David Muturi <dnmut...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Team,
>>>>>> I have a data element set us Average sum in org unit hierarchy and
>>>>>> collected on a bi weekly basis, when I select the data in the pivot 
>>>>>> table,
>>>>>> the average values are bizarre(see attachment). Is this how the above
>>>>>> aggregation operator is meant to work or its a bug?
>>>>>> rgds
>>>>>> David
>>>>>>
&

Re: [Dhis2-users] [Dhis2-devs] Average Sum in Org unit Hierarchy

2016-11-16 Thread David Muturi
Hi Lars,
Many thanks for your response, since we do not have biweekly defined as a
dhis2 period type(which would be great to have), we have configured the
dataset to be weekly but only that data is entered on a biweekly basis,
meaning one week will miss data while another will have based on when it
was collected. I have attached an excel download from the datavalues table
as well as a screen shot showing the weekly periods that data is collected.
rgds
David

2016-11-16 14:08 GMT+03:00 Lars Helge Øverland <l...@dhis2.org>:

> Hi David,
>
> sounds strange indeed. We need some more info. Can you include bi-weekly
> periods in your screenshot so that we can see what the original captured
> value is?
>
> regards,
>
> Lars
>
>
>
> On Mon, Nov 14, 2016 at 8:50 PM, David Muturi <dnmut...@gmail.com> wrote:
>
>> Hi Team,
>> I have a data element set us Average sum in org unit hierarchy and
>> collected on a bi weekly basis, when I select the data in the pivot table,
>> the average values are bizarre(see attachment). Is this how the above
>> aggregation operator is meant to work or its a bug?
>> rgds
>> David
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-d...@lists.launchpad.net
>> 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
> l...@dhis2.org
> http://www.dhis2.org <https://www.dhis2.org/>
>
>


GR-HEA-WASH- Bathing facilities.xlsx
Description: MS-Excel 2007 spreadsheet
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Average Sum in Org unit Hierarchy

2016-11-14 Thread David Muturi
Hi Team,
I have a data element set us Average sum in org unit hierarchy and
collected on a bi weekly basis, when I select the data in the pivot table,
the average values are bizarre(see attachment). Is this how the above
aggregation operator is meant to work or its a bug?
rgds
David
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Meta data import

2016-10-05 Thread David Muturi
Hi Devs,
Dhis2 currently supports import of the following object types:-

1.  Data elements
2·   Data element groups
  3·   Category options
  4 · Category option groups
  5.·  Organisation units
  6·   Organisation unit groups
  7·  Validation rules
  8.  Option sets
Are there plans to include the following object types in future?

a)  Indicators and indicator groups

b)  Categories and Category Combinations

c)   Indicators and Indicator groups

d)  Users

e)  Tracked entity Instance

f)   Enrollments

g)  Events

I have relied on developing scripts to import the above missing objects
such as users via the API, is there an app that already does this? This
affects initial project configs where the above object types are many and
any manual upload is bound to take a lot of time.

rgds

David
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Meta data import

2016-10-05 Thread David Muturi
Hi Morten,
I am using version 2.22, but will upgrade soon. Are there plans to support
CSV import ?  I have often used the api to send in a json  payload for
these objects is the syntax for these objects the same as the one sent via
the api ?
rgds
David

2016-10-05 20:56 GMT+03:00 Morten Olav Hansen <mor...@dhis2.org>:

> Hi
>
> Which version of DHIS 2 are you on? all object types should be supported
> for JSON/XML.
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
> On Thu, Oct 6, 2016 at 12:51 AM, David Muturi <dnmut...@gmail.com> wrote:
>
>> Hi Devs,
>> Dhis2 currently supports import of the following object types:-
>>
>> 1.  Data elements
>> 2·   Data element groups
>>   3·   Category options
>>   4 · Category option groups
>>   5.·  Organisation units
>>   6·   Organisation unit groups
>>   7·  Validation rules
>>   8.  Option sets
>> Are there plans to include the following object types in future?
>>
>> a)  Indicators and indicator groups
>>
>> b)  Categories and Category Combinations
>>
>> c)   Indicators and Indicator groups
>>
>> d)  Users
>>
>> e)  Tracked entity Instance
>>
>> f)   Enrollments
>>
>> g)  Events
>>
>> I have relied on developing scripts to import the above missing objects
>> such as users via the API, is there an app that already does this? This
>> affects initial project configs where the above object types are many and
>> any manual upload is bound to take a lot of time.
>>
>> rgds
>>
>> David
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-d...@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-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Looking for Human Resource System to integrate with DHIS

2016-10-05 Thread David Muturi
Hi Laura,
I was part of the team that rolled out iHRIS manage in Kenya while working
for the capacity Project, afterwards I worked with the MOH HIS team in
managing dhis2 thus got a technical view of both worlds. I provided
technical assistance last year that enabled the iHRIS manage to send
monthly summaries to the MOH dhis2 system.
rgds
David

2016-09-02 16:23 GMT+03:00 Carl Leitner :

> Dear Laura,
>
> I help to oversee the iHRIS software.  We have done a lot of work
> 
>  on integrating
>  iHRIS to
> DHIS2, including reporting HRH indicators into DHIS2.
>
> Please let me introduce you to John Liebhardt, our iHRIS community
> manager.  We would be happy to have a conversation with you early next week
> about your need.
>
> Cheers,
> -carl
> Assoc. Director, Digital Health
> IntraHealth International
>
> Skype: litlfred_intra
> Google: litlf...@gmail.com
>
>
> On Aug 26, 2016, at 2:31 PM, Laura E. Lincks  edu> wrote:
>
> 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 in Tanzania developed by the
> HISP-TZ/University of Dar es Salaam
> iHRIS  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-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] SQL view question

2016-08-25 Thread David Muturi
Hi Angela,
Its usually easier to write the queries using a copy of the database stored
locally and using the database access tools described above, test them
before copying them over to the SQL VIEW for front end access using dhis2,
one is able to easily troubleshoot any errors in the scripts and fix than
when using sql view directly.
rgds
David

2016-08-25 14:53 GMT+03:00 David Muturi <dnmut...@gmail.com>:

> Hi Angela,
> You will need to access the database, ideally having a local copy on your
> laptop and using GUI tools i.e. Pgadmin, Navicat for PostgresSQl or other
> tools will allow you to access the backend. From there the names for the
> tables can serve as a guide e.g. datalement for dataelements, dataset for
> datasets, e.t.c For data, DHIS2 uses the "long and skinny" or EAV model so
> the dataelement,Source(orgunit),category (i.e. meta data) are stored
> together with  the data in the datavalues table.
> In case of any question regarding writing sql queries please free to get
> in touch with me.
> rgds
> David
>
> 2016-08-25 14:21 GMT+03:00 Hinds, Ms. Angela (CAR) <hinds...@carpha.org>:
>
>> Hi
>>
>>
>>
>> I have not used the SQL view before and after perusing the documentation,
>> I am still not clear on
>>
>> 1.   Which name references are to be used in the SQL statement for
>> the elements and table?  My current element names and short names used by
>> the forms have spaces
>>
>> 2.   Using the web.api how do I get a list of the relevant reference
>> names to use for the particular dataset
>>
>>
>>
>> Regards,
>>
>>
>>
>> Thank you.
>>
>>
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] SQL view question

2016-08-25 Thread David Muturi
Hi Angela,
You will need to access the database, ideally having a local copy on your
laptop and using GUI tools i.e. Pgadmin, Navicat for PostgresSQl or other
tools will allow you to access the backend. From there the names for the
tables can serve as a guide e.g. datalement for dataelements, dataset for
datasets, e.t.c For data, DHIS2 uses the "long and skinny" or EAV model so
the dataelement,Source(orgunit),category (i.e. meta data) are stored
together with  the data in the datavalues table.
In case of any question regarding writing sql queries please free to get in
touch with me.
rgds
David

2016-08-25 14:21 GMT+03:00 Hinds, Ms. Angela (CAR) :

> Hi
>
>
>
> I have not used the SQL view before and after perusing the documentation,
> I am still not clear on
>
> 1.   Which name references are to be used in the SQL statement for
> the elements and table?  My current element names and short names used by
> the forms have spaces
>
> 2.   Using the web.api how do I get a list of the relevant reference
> names to use for the particular dataset
>
>
>
> Regards,
>
>
>
> Thank you.
>
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Program Indicators

2016-08-03 Thread David Muturi
Hi Elmarie,
Many thanks for this great work around, I will try it out. Hopefully a fix
will be out soon because I dont think it was intended to work this.
rgds
David
On 4 Aug 2016 08:06, "Elmarie Claasen" <elma...@hisp.org> wrote:

> Hi David,
>
> You can add your calculation string at the bottom where the attribute is
> available and then just cut and paste it to the top. Hope that helps.
>
> Elmarie
>
> On 03 Aug 2016 19:30, "David Muturi" <dnmut...@gmail.com> wrote:
>
>>  Hi,
>> I am creating some program indicators to calculate age from date of birth
>> for a child. The date of birth is an attribute. However when I get to the
>> attributes tab for the expression non of the attributes are showing (See
>> ScreenShot). The attributes are however displayed in the filters section.
>> Any one with an idea why this is the case.
>>
>> On a separate note the label for program indicator details has a trailing
>> "sadasd" (see attachment)
>>
>> rgds
>> David
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-d...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
> *This message and any attachments are subject to a disclaimer published at
> http://www.hisp.org/policies.html#comms_disclaimer
> <http://www.hisp.org/policies.html#comms_disclaimer>.  Please read the
> disclaimer before opening any attachment or taking any other action in
> terms of this electronic transmission.  If you cannot access the
> disclaimer, kindly send an email to disclai...@hisp.org
> <disclai...@hisp.org> and a copy will be provided to you. By replying to
> this e-mail or opening any attachment you agree to be bound by the
> provisions of the disclaimer.*
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Program Indicators

2016-08-03 Thread David Muturi
 Hi,
I am creating some program indicators to calculate age from date of birth
for a child. The date of birth is an attribute. However when I get to the
attributes tab for the expression non of the attributes are showing (See
ScreenShot). The attributes are however displayed in the filters section.
Any one with an idea why this is the case.

On a separate note the label for program indicator details has a trailing
"sadasd" (see attachment)

rgds
David
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Sharing DEs and other objects via the API

2016-07-27 Thread David Muturi
Hi Morten,
This is on version 2.22, I am looking at the guide here
http://dhis2.github.io/dhis2-docs/2.22/en/developer/html/dhis2_developer_manual_full.html

 rgds
David

2016-07-27 16:12 GMT+03:00 Morten Olav Hansen <mor...@dhis2.org>:

> Hi
>
> What version of DHIS2 are you on?
>
> To share objects with a N number of user they would have to be put into
> their own user group, then all you have to do is to add:
>
> "userGroupAccesses": [
>   {"userGroup": {"id": "user-group-ID"}, "access": "rw--" }
> ]
>
> To the objects
>
> (assuming read-write, r--- if not)
>
> This would have to be sent to /api/23/metadata or /api/24/metadata
> (depending on which version you are on)
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
> On Wed, Jul 27, 2016 at 3:03 PM, David Muturi <dnmut...@gmail.com> wrote:
>
>> Hi Dhis2 Team,
>> I am trying to share a large number of data elements among st numerous
>> user groups and it would be easier to bootstrap this via a script through
>> the API, I am looking through the documentation and cannot find proper
>> Payload syntax of sharing DES to multiple users. Any one who has done this
>> before or atleast knows the syntax?
>> rgds
>> David
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-d...@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-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Sharing DEs and other objects via the API

2016-07-27 Thread David Muturi
Many Thanks David,
Glad you have pointed the right chapter. I will proceed with generating the
payload.
rds
David

2016-07-27 16:10 GMT+03:00 David Huser <dhu...@baosystems.com>:

> Hi David, you can find the docs here:
> https://dhis2.github.io/dhis2-docs/2.24/en/developer/html/dhis2_developer_manual_full.html#d7439e13183
>
> On Wed, Jul 27, 2016 at 3:03 PM, David Muturi <dnmut...@gmail.com> wrote:
>
>> Hi Dhis2 Team,
>> I am trying to share a large number of data elements among st numerous
>> user groups and it would be easier to bootstrap this via a script through
>> the API, I am looking through the documentation and cannot find proper
>> Payload syntax of sharing DES to multiple users. Any one who has done this
>> before or atleast knows the syntax?
>> rgds
>> David
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-d...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
>
>
> *David Huser*
> DHIS2 Support Specialist
> dhu...@baosystems.com | https://baosystems.com | Skype: dafhus | 2900 K
> Street, Suite 404, Washington D.C. 20007
>
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Sharing DEs and other objects via the API

2016-07-27 Thread David Muturi
Hi Dhis2 Team,
I am trying to share a large number of data elements among st numerous user
groups and it would be easier to bootstrap this via a script through the
API, I am looking through the documentation and cannot find proper Payload
syntax of sharing DES to multiple users. Any one who has done this before
or atleast knows the syntax?
rgds
David
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Tracker Relationship API

2016-07-26 Thread David Muturi
Hello Dhis2 team,
Is there a way of creating relationships between enrolled TEI's via the API
similar to enrollment as described in the dhis2 docs here
http://dhis2.github.io/dhis2-docs/master/en/developer/html/dhis2_developer_manual_full.html#d7532e12063

rgds
David
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Error in documentation - TEI JSON syntax

2016-07-13 Thread David Muturi
Hi Devs,
I am trying to generate a json output file for transferring data via the
api to a dhis instance. I have tried using the guide on
http://dhis2.github.io/dhis2-docs/2.24/en/developer/html/dhis2_developer_manual_full.html#d7439e12065
 found that the syntax for  "Create and enroll tracked entity instances" is
wrong i.e. it reads dateOfEnrollment and dateOfIncident.  These should
read enrollmentDate
and incidentDate for the attached json snippet to work. Also IS it possible
to do multiple TEI's and enrollments in the same payload and how would the
syntax look like, since the attached snippet is for one  TEI.
Thanks
David
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Tracker Data Approval

2016-06-30 Thread David Muturi
Hi Lars,
Many thanks for your response. We will wait for it.I have seen it here
https://blueprints.launchpad.net/dhis2/+spec/approval-for-event-data in the
blue print. I should have checked earlier though.
rgds
David

2016-06-30 18:55 GMT+03:00 Lars Helge Øverland <l...@dhis2.org>:

> Hi David,
>
> unfortunately we do not support approval for programs at the moment. It is
> definitely on the list though - many have requested this. We are still
> consolidating requirements.
>
> regards,
>
> Lars
>
>
> On Thu, Jun 30, 2016 at 3:48 PM, David Muturi <dnmut...@gmail.com> wrote:
>
>> Hi Dhis2 team,
>> Has any one been able to set up data approval workflow for a program I
>> would like to request  for  some quick steps on how to make this work. I
>> have not found any documentation so far that can serve clearly as a guide.
>> Thanks
>> David
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@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-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Tracker Data Approval

2016-06-30 Thread David Muturi
Hi Dhis2 team,
Has any one been able to set up data approval workflow for a program I
would like to request  for  some quick steps on how to make this work. I
have not found any documentation so far that can serve clearly as a guide.
Thanks
David
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Tracker Linking a Child to more than one Mother

2016-06-23 Thread David Muturi
Hi Devs,
I have noticed that it is possible to link a child enrolled in a child
program to more than one mother. I have even tested on the online dhis2
demo using the mnch and child programmes. Is it possible to prevent this or
atleast show a message that the child is already linked to a mother so that
the user knows that they are double linking the child ?
rgds
David
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Program rule does not seem to be working

2015-10-01 Thread David Muturi
Hi Markus and team,
I am writing a program rule that evaluates a yes only value and hides
another field I am wondering which response to use i.e. ==true or =='yes'.
Is there anywhere these rules are documented for each of the data values?

rgds
David


2015-09-23 9:46 GMT+03:00 Markus Bekken <markus.bek...@gmail.com>:

> Hi Ese, there is no limit to the number of rules. I have one usecase with
> about 150 rules running on a program
> What does you second rule look like? There is probably something that
> prevents the second rule from working correctly.
>
> 23. sep. 2015 kl. 08.39 skrev Ese Egerega <e...@cis.com.ng>:
>
> Hello,
>
> Please is there a limit to the number of rules I can have on a single
> form? For example, I have a rule which hides some fields based on if the
> patient is HIV positive. I created a second rule which is meant to hide
> other fields based on if the patients HIV status is previously known. Only
> the first rule seem to be working in Tracker Capture.
>
> Thanks,
> Ese
>
> On Tue, Sep 22, 2015 at 2:59 PM, David Muturi <dnmut...@gmail.com> wrote:
>
>> Thanks team  !#{location} or #{location} == false works for boolean
>> questions.
>> rgds
>> David
>>
>> 2015-09-22 16:09 GMT+03:00 Abyot Gizaw <aby...@gmail.com>:
>>
>>> oh yes, thanks Markus. I mixed up :(
>>>
>>>
>>> ---
>>> Thank you,
>>> Abyot.
>>>
>>> On Tue, Sep 22, 2015 at 2:53 PM, Markus Bekken <markus.bek...@gmail.com>
>>> wrote:
>>>
>>>> Hi guys,
>>>> Try !#{location} or #{location} == false
>>>>
>>>> Best regards,
>>>> Markus
>>>>
>>>> 22. sep. 2015 kl. 14.49 skrev Abyot Gizaw <aby...@gmail.com>:
>>>>
>>>> Hi David,
>>>>
>>>> If value "No" is type boolean, then try 'true' instead of no. It should
>>>> work. That is something we planned to address.
>>>>
>>>>
>>>> ---
>>>> Thank you,
>>>> Abyot.
>>>>
>>>> On Tue, Sep 22, 2015 at 2:45 PM, David Muturi <dnmut...@gmail.com>
>>>> wrote:
>>>>
>>>>> Hi Abyot,
>>>>> I have placed a rule see attachment but it doesn't work under data
>>>>> entry when value no is selected.
>>>>> rgds
>>>>> David
>>>>>
>>>>> 2015-09-22 14:49 GMT+03:00 Abyot Gizaw <aby...@gmail.com>:
>>>>>
>>>>>> Hi David,
>>>>>>
>>>>>> In 2.20 we have hiding only for data elements (during data entry).
>>>>>>
>>>>>> Hiding attributes (during registration) is available only in trunk.
>>>>>>
>>>>>> ---
>>>>>> Thank you,
>>>>>> Abyot.
>>>>>>
>>>>>> On Tue, Sep 22, 2015 at 1:47 PM, David Muturi <dnmut...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Abyot
>>>>>>> Tracker Capture, I am using version 2.20 build 19884. I upgraded
>>>>>>> after seeing the online demo working on event capture. I have cleared 
>>>>>>> the
>>>>>>> Cache.
>>>>>>> rgds
>>>>>>> David
>>>>>>>
>>>>>>> 2015-09-22 14:42 GMT+03:00 Abyot Gizaw <aby...@gmail.com>:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> Some questions for pin-point the problem:
>>>>>>>>
>>>>>>>>- Is this on event or tracker capture app?
>>>>>>>>- Which version of DHIS 2 are you using - both version and
>>>>>>>>revision number?
>>>>>>>>- Have you tried this after clearing your browser cache?
>>>>>>>>
>>>>>>>>
>>>>>>>> ---
>>>>>>>> Thank you,
>>>>>>>> Abyot.
>>>>>>>>
>>>>>>>> On Tue, Sep 22, 2015 at 1:38 PM, David Muturi <dnmut...@gmail.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Same here, I have put a rule that hides a question based on an
>>>>>>>>> answer to a different one i.e {location}=='No'  and it doesn't seem 
>>>>>>>>

Re: [Dhis2-users] [Dhis2-devs] Program rule does not seem to be working

2015-10-01 Thread David Muturi
Hi Markus,
Many thanks, yes I am well aware of the documentation but some of the
questions raised is due to the fact one is unable to find the answers in
the documentation.
rgds
David

2015-10-01 15:48 GMT+03:00 Markus Bekken <markus.bek...@gmail.com>:

> Hi David!
> As you probably know, the program rules has their own chapter in the user
> documentation.
>
> https://www.dhis2.org/doc/snapshot/en/user/html/dhis2_user_manual_en_full.html#d5e7293
> But you have probably also noticed that the doc is pretty thin still.
> There will be more doc added in next release.
>
> As for your question, for the "Yes only" and "Yes/No" datapoints you will
> have to use #{yesNoValue}==true, or just #{yesNoValue}
>
> If you on the other hand had created an optionset with the values "Yes",
> "No" and "Unkown", you would have to use the name in your expression:
> #{yesNoUnknownOptionSet} = 'Yes'
>
> Markus
>
> 1. okt. 2015 kl. 14.25 skrev David Muturi <dnmut...@gmail.com>:
>
> Hi Markus and team,
> I am writing a program rule that evaluates a yes only value and hides
> another field I am wondering which response to use i.e. ==true or =='yes'.
> Is there anywhere these rules are documented for each of the data values?
>
> rgds
> David
>
>
> 2015-09-23 9:46 GMT+03:00 Markus Bekken <markus.bek...@gmail.com>:
>
>> Hi Ese, there is no limit to the number of rules. I have one usecase with
>> about 150 rules running on a program
>> What does you second rule look like? There is probably something that
>> prevents the second rule from working correctly.
>>
>> 23. sep. 2015 kl. 08.39 skrev Ese Egerega <e...@cis.com.ng>:
>>
>> Hello,
>>
>> Please is there a limit to the number of rules I can have on a single
>> form? For example, I have a rule which hides some fields based on if the
>> patient is HIV positive. I created a second rule which is meant to hide
>> other fields based on if the patients HIV status is previously known. Only
>> the first rule seem to be working in Tracker Capture.
>>
>> Thanks,
>> Ese
>>
>> On Tue, Sep 22, 2015 at 2:59 PM, David Muturi <dnmut...@gmail.com> wrote:
>>
>>> Thanks team  !#{location} or #{location} == false works for boolean
>>> questions.
>>> rgds
>>> David
>>>
>>> 2015-09-22 16:09 GMT+03:00 Abyot Gizaw <aby...@gmail.com>:
>>>
>>>> oh yes, thanks Markus. I mixed up :(
>>>>
>>>>
>>>> ---
>>>> Thank you,
>>>> Abyot.
>>>>
>>>> On Tue, Sep 22, 2015 at 2:53 PM, Markus Bekken <markus.bek...@gmail.com
>>>> > wrote:
>>>>
>>>>> Hi guys,
>>>>> Try !#{location} or #{location} == false
>>>>>
>>>>> Best regards,
>>>>> Markus
>>>>>
>>>>> 22. sep. 2015 kl. 14.49 skrev Abyot Gizaw <aby...@gmail.com>:
>>>>>
>>>>> Hi David,
>>>>>
>>>>> If value "No" is type boolean, then try 'true' instead of no. It
>>>>> should work. That is something we planned to address.
>>>>>
>>>>>
>>>>> ---
>>>>> Thank you,
>>>>> Abyot.
>>>>>
>>>>> On Tue, Sep 22, 2015 at 2:45 PM, David Muturi <dnmut...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Abyot,
>>>>>> I have placed a rule see attachment but it doesn't work under data
>>>>>> entry when value no is selected.
>>>>>> rgds
>>>>>> David
>>>>>>
>>>>>> 2015-09-22 14:49 GMT+03:00 Abyot Gizaw <aby...@gmail.com>:
>>>>>>
>>>>>>> Hi David,
>>>>>>>
>>>>>>> In 2.20 we have hiding only for data elements (during data entry).
>>>>>>>
>>>>>>> Hiding attributes (during registration) is available only in trunk.
>>>>>>>
>>>>>>> ---
>>>>>>> Thank you,
>>>>>>> Abyot.
>>>>>>>
>>>>>>> On Tue, Sep 22, 2015 at 1:47 PM, David Muturi <dnmut...@gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi Abyot
>>>>>>>> Tracker Capture, I am using version 2.20 build 19884. I upgraded
>>>>>>>> after seeing the online demo working on e

Re: [Dhis2-users] Attribute with value as option list not getting saved on tracker App

2015-09-26 Thread David Muturi
Dear All,
Does anyone have a work around for saving attributes with value option list
on the tracker Android App?
Thanks
David
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Program rule does not seem to be working

2015-09-22 Thread David Muturi
Hi Abyot
Tracker Capture, I am using version 2.20 build 19884. I upgraded after
seeing the online demo working on event capture. I have cleared the Cache.
rgds
David

2015-09-22 14:42 GMT+03:00 Abyot Gizaw <aby...@gmail.com>:

> Hi,
>
> Some questions for pin-point the problem:
>
>- Is this on event or tracker capture app?
>- Which version of DHIS 2 are you using - both version and revision
>number?
>- Have you tried this after clearing your browser cache?
>
>
> ---
> Thank you,
> Abyot.
>
> On Tue, Sep 22, 2015 at 1:38 PM, David Muturi <dnmut...@gmail.com> wrote:
>
>> Same here, I have put a rule that hides a question based on an answer to
>> a different one i.e {location}=='No'  and it doesn't seem to be working.
>> rgds
>> David
>>
>> 2015-09-22 5:53 GMT+03:00 Pramil Liyanage <prami...@gmail.com>:
>>
>>> You are welcome. Same thing happened in an earlier build and I replaced
>>> with the latest at that time which was 19876 and worked for me. Did not try
>>> 19884. May be the same issue repeating.
>>>
>>> Pramil
>>>
>>> On Mon, Sep 21, 2015 at 9:01 PM, Ese Egerega <e...@cis.com.ng> wrote:
>>>
>>>> Thanks Pramil,
>>>>
>>>> Using single quotes and clearing my cache fixed the problem for me.
>>>>
>>>> However, it appears that the very latest build version 19884 has a
>>>> problem with program rules. When you create and add a rule, it
>>>> disappears. I tested this on dhis2 demo site and got the same result. I
>>>> have copied the developers list in case this is a bug that needs to be
>>>> fixed.
>>>>
>>>> Thanks again,
>>>>
>>>> -Ese
>>>>
>>>> On Mon, Sep 21, 2015 at 4:06 AM, Ese Egerega <e...@cis.com.ng> wrote:
>>>>
>>>>> Thanks so much Pramil. I will try that now.
>>>>>
>>>>> -Ese
>>>>>
>>>>> On Mon, Sep 21, 2015 at 3:45 AM, Pramil Liyanage <prami...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Dear Ese,
>>>>>>
>>>>>> Try with single quotations 'Female' and clear the cache and try.
>>>>>> If not working, get the latest build and try. I also had a similar
>>>>>> issue with an older build, but when I replaced with the latest, worked 
>>>>>> fine.
>>>>>>
>>>>>> Regards
>>>>>> Pramil
>>>>>>
>>>>>> On Mon, Sep 21, 2015 at 8:00 AM, Ese Egerega <e...@cis.com.ng> wrote:
>>>>>>
>>>>>>> Dear all,
>>>>>>>
>>>>>>> The Program Rule feature does not seem to be working for me. I am
>>>>>>> trying to hide a section in the tracker based on if the Gender selected
>>>>>>> during program registration is Female.
>>>>>>>
>>>>>>> To achieve this, I created a program rule that should hide the
>>>>>>> section but nothing seem to happen in Tracker Capture. The section is 
>>>>>>> still
>>>>>>> displayed as if there is no rule set.
>>>>>>>
>>>>>>> In program rule I entered Gender as source field and used the
>>>>>>> following as my expression:
>>>>>>>
>>>>>>> A{Gender} == "Female"
>>>>>>>
>>>>>>> I will appreciate any assistance.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Ese
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ___
>>>>>>> Mailing list: https://launchpad.net/~dhis2-users
>>>>>>> Post to : dhis2-users@lists.launchpad.net
>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> <http://hissl.lk/index.php/2015-conference>
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> <http://hissl.lk/index.php/2015-conference>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-d...@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-d...@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-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Program rule does not seem to be working

2015-09-22 Thread David Muturi
Same here, I have put a rule that hides a question based on an answer to a
different one i.e {location}=='No'  and it doesn't seem to be working.
rgds
David

2015-09-22 5:53 GMT+03:00 Pramil Liyanage :

> You are welcome. Same thing happened in an earlier build and I replaced
> with the latest at that time which was 19876 and worked for me. Did not try
> 19884. May be the same issue repeating.
>
> Pramil
>
> On Mon, Sep 21, 2015 at 9:01 PM, Ese Egerega  wrote:
>
>> Thanks Pramil,
>>
>> Using single quotes and clearing my cache fixed the problem for me.
>>
>> However, it appears that the very latest build version 19884 has a
>> problem with program rules. When you create and add a rule, it
>> disappears. I tested this on dhis2 demo site and got the same result. I
>> have copied the developers list in case this is a bug that needs to be
>> fixed.
>>
>> Thanks again,
>>
>> -Ese
>>
>> On Mon, Sep 21, 2015 at 4:06 AM, Ese Egerega  wrote:
>>
>>> Thanks so much Pramil. I will try that now.
>>>
>>> -Ese
>>>
>>> On Mon, Sep 21, 2015 at 3:45 AM, Pramil Liyanage 
>>> wrote:
>>>
 Dear Ese,

 Try with single quotations 'Female' and clear the cache and try.
 If not working, get the latest build and try. I also had a similar
 issue with an older build, but when I replaced with the latest, worked 
 fine.

 Regards
 Pramil

 On Mon, Sep 21, 2015 at 8:00 AM, Ese Egerega  wrote:

> Dear all,
>
> The Program Rule feature does not seem to be working for me. I am
> trying to hide a section in the tracker based on if the Gender selected
> during program registration is Female.
>
> To achieve this, I created a program rule that should hide the section
> but nothing seem to happen in Tracker Capture. The section is still
> displayed as if there is no rule set.
>
> In program rule I entered Gender as source field and used the
> following as my expression:
>
> A{Gender} == "Female"
>
> I will appreciate any assistance.
>
> Thanks,
> Ese
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@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-d...@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-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Program rule does not seem to be working

2015-09-22 Thread David Muturi
Thanks team  !#{location} or #{location} == false works for boolean
questions.
rgds
David

2015-09-22 16:09 GMT+03:00 Abyot Gizaw <aby...@gmail.com>:

> oh yes, thanks Markus. I mixed up :(
>
>
> ---
> Thank you,
> Abyot.
>
> On Tue, Sep 22, 2015 at 2:53 PM, Markus Bekken <markus.bek...@gmail.com>
> wrote:
>
>> Hi guys,
>> Try !#{location} or #{location} == false
>>
>> Best regards,
>> Markus
>>
>> 22. sep. 2015 kl. 14.49 skrev Abyot Gizaw <aby...@gmail.com>:
>>
>> Hi David,
>>
>> If value "No" is type boolean, then try 'true' instead of no. It should
>> work. That is something we planned to address.
>>
>>
>> ---
>> Thank you,
>> Abyot.
>>
>> On Tue, Sep 22, 2015 at 2:45 PM, David Muturi <dnmut...@gmail.com> wrote:
>>
>>> Hi Abyot,
>>> I have placed a rule see attachment but it doesn't work under data entry
>>> when value no is selected.
>>> rgds
>>> David
>>>
>>> 2015-09-22 14:49 GMT+03:00 Abyot Gizaw <aby...@gmail.com>:
>>>
>>>> Hi David,
>>>>
>>>> In 2.20 we have hiding only for data elements (during data entry).
>>>>
>>>> Hiding attributes (during registration) is available only in trunk.
>>>>
>>>> ---
>>>> Thank you,
>>>> Abyot.
>>>>
>>>> On Tue, Sep 22, 2015 at 1:47 PM, David Muturi <dnmut...@gmail.com>
>>>> wrote:
>>>>
>>>>> Hi Abyot
>>>>> Tracker Capture, I am using version 2.20 build 19884. I upgraded after
>>>>> seeing the online demo working on event capture. I have cleared the Cache.
>>>>> rgds
>>>>> David
>>>>>
>>>>> 2015-09-22 14:42 GMT+03:00 Abyot Gizaw <aby...@gmail.com>:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Some questions for pin-point the problem:
>>>>>>
>>>>>>- Is this on event or tracker capture app?
>>>>>>- Which version of DHIS 2 are you using - both version and
>>>>>>revision number?
>>>>>>- Have you tried this after clearing your browser cache?
>>>>>>
>>>>>>
>>>>>> ---
>>>>>> Thank you,
>>>>>> Abyot.
>>>>>>
>>>>>> On Tue, Sep 22, 2015 at 1:38 PM, David Muturi <dnmut...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Same here, I have put a rule that hides a question based on an
>>>>>>> answer to a different one i.e {location}=='No'  and it doesn't seem to 
>>>>>>> be
>>>>>>> working.
>>>>>>> rgds
>>>>>>> David
>>>>>>>
>>>>>>> 2015-09-22 5:53 GMT+03:00 Pramil Liyanage <prami...@gmail.com>:
>>>>>>>
>>>>>>>> You are welcome. Same thing happened in an earlier build and I
>>>>>>>> replaced with the latest at that time which was 19876 and worked for 
>>>>>>>> me.
>>>>>>>> Did not try 19884. May be the same issue repeating.
>>>>>>>>
>>>>>>>> Pramil
>>>>>>>>
>>>>>>>> On Mon, Sep 21, 2015 at 9:01 PM, Ese Egerega <e...@cis.com.ng>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Thanks Pramil,
>>>>>>>>>
>>>>>>>>> Using single quotes and clearing my cache fixed the problem for
>>>>>>>>> me.
>>>>>>>>>
>>>>>>>>> However, it appears that the very latest build version 19884 has
>>>>>>>>> a problem with program rules. When you create and add a rule, it
>>>>>>>>> disappears. I tested this on dhis2 demo site and got the same result. 
>>>>>>>>> I
>>>>>>>>> have copied the developers list in case this is a bug that needs to be
>>>>>>>>> fixed.
>>>>>>>>>
>>>>>>>>> Thanks again,
>>>>>>>>>
>>>>>>>>> -Ese
>>>>>>>>>
>>>>>>>>> On Mon, Sep 21, 2015 at 4:06 AM, Ese Egerega <e...@c

[Dhis2-users] Multi-Select Checkboxes

2015-09-19 Thread David Muturi
Hi Team,
I am implementing a program in tracker that requires data collection via
multi-select check boxes has any one ever done this via dhis2. Please share
how to do this if at all its implemented in the current dhis2 version.
rgds
David
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] data mart deprecation - 2.21

2015-08-28 Thread David Muturi
Hi Calle
Hannan meant Analytics. ☺

rgds
David

2015-08-27 11:53 GMT+03:00 Calle Hedberg calle.hedb...@gmail.com:

 Paralytics??

 On 27 August 2015 at 09:35, Hannan Khan hann...@gmail.com wrote:

 In Bangladesh we are not using Data Mart; instead we are using
 paralytics. So no problem from our end.

 Regards

 Hannan Khan
 HISP Bangladesh


 On Wed, Aug 26, 2015 at 5:27 PM, Lars Helge Øverland larshe...@gmail.com
  wrote:

 Hi,

 we are thinking of removing the data mart functionality in DHIS 2. This
 refers to the ability to populate the aggregateddatavalue and
 aggregatedindicatorvalue tables with pre-aggregated data.

 The data mart is no longer in use by DHIS 2. There might be third-party
 report tools out there that connects directly to the data mart tables.

 We recommend that you connect reporting tools to the analytics web api
 https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s26.html for
 the sake of  performance, accessibility and security. If you need to
 connect with JDBC it is possible to create a SQL view to combine all
 analytics partitions and perform aggregation using group by statements.

 If we do not hear strong objections within a week we will remove data
 mart for version 2.21.


 regards,

 Lars




 --
 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-users
 Post to : dhis2-users@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-d...@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp




 --

 ***

 Calle Hedberg

 46D Alma Road, 7700 Rosebank, SOUTH AFRICA

 Tel/fax (home): +27-21-685-6472

 Cell: +27-82-853-5352

 Iridium SatPhone: +8816-315-19274

 Email: calle.hedb...@gmail.com

 Skype: calle_hedberg

 ***


 ___
 Mailing list: https://launchpad.net/~dhis2-devs
 Post to : dhis2-d...@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-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Custom Forms

2015-01-20 Thread David Muturi
Asante Lars, nice and simple.
rgds
David

2015-01-20 11:34 GMT+03:00 Lars Helge Øverland larshe...@gmail.com:

 Docs for jquery ui tabs here:

 http://jqueryui.com/tabs/

 Lars


___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Custom Forms

2015-01-20 Thread David Muturi
Many thanks Thuy, I will try this out and revert.
rgds
David

2015-01-20 9:50 GMT+03:00 Thuy Nguyen thuy.hispviet...@gmail.com:

 Hi David,

 Can you try below sample.

 script

 jQuery(document).ready( function() {

   jQuery( '#tabs' ).tabs({ collapsible : true });

 });

 /script


 div id=tabs

 ul

 lia href=#tab-1Tab names/a/li

 lia href=#tab-2Tab names/a/li

 lia href=#tab-nTab names/a/li

 /ul

 div id=tab-1table/table/div

 div id=tab-2table/table/div

 div id=tab-ntable/table/div

 On Tue, Jan 20, 2015 at 1:07 PM, David Muturi dnmut...@gmail.com wrote:

 Many thanks Guy, I am aware of the section forms, this only applies to
 the default forms, what  I wanted was a script to enable the custom form
 get tabs.
 rgds
 David

 2015-01-20 7:00 GMT+03:00 Guy Ekani constyek...@yahoo.fr:

 Hello,

 Despite the fact that we didn't see all of the form in your screen
 capture, I think *Section Forms *could help you !

 In Edit Data Set, dont forget to set : Render sections as tabs to Yes

 https://www.dhis2.org/doc/snapshot/en/user/html/ch06s02.html#d5e1294

 Sincerely,

 =
 EKANI Guy






   Le Lundi 19 janvier 2015 18h22, David Muturi dnmut...@gmail.com a
 écrit :


 Hi DHIS team,

 I want to further customize some forms developed by some users we
 trained on DHIS2 by adding some javascript/json to put in tabs because the
 form is long(see attachment). Anyone who has done this before, please help
 with a sample of the script or a resource to allow faster development.
 rgds
 David

 ___
 Mailing list: https://launchpad.net/~dhis2-users
 Post to: dhis2-users@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-d...@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-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Custom Forms

2015-01-19 Thread David Muturi
Many thanks Guy, I am aware of the section forms, this only applies to the
default forms, what  I wanted was a script to enable the custom form get
tabs.
rgds
David

2015-01-20 7:00 GMT+03:00 Guy Ekani constyek...@yahoo.fr:

 Hello,

 Despite the fact that we didn't see all of the form in your screen
 capture, I think *Section Forms *could help you !

 In Edit Data Set, dont forget to set : Render sections as tabs to Yes

 https://www.dhis2.org/doc/snapshot/en/user/html/ch06s02.html#d5e1294

 Sincerely,

 =
 EKANI Guy






   Le Lundi 19 janvier 2015 18h22, David Muturi dnmut...@gmail.com a
 écrit :


 Hi DHIS team,

 I want to further customize some forms developed by some users we trained
 on DHIS2 by adding some javascript/json to put in tabs because the form is
 long(see attachment). Anyone who has done this before, please help with a
 sample of the script or a resource to allow faster development.
 rgds
 David

 ___
 Mailing list: https://launchpad.net/~dhis2-users
 Post to: dhis2-users@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-users
 More help  : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] dhis 2.16 update

2014-06-23 Thread David Muturi
Hi Lars,
During the DHIS1 academy we noticed the export to excel under downloads for
events report exports page by page, has this been addressed or are there
plans to include the fix in 2.16 ?

rgds
David


2014-06-22 16:43 GMT+03:00 Lars Helge Øverland larshe...@gmail.com:

 Hi all,

 here comes a quick update and preview of version 2.16. We plan to release
 in the first weeks on July. The major features being included:

 - Event visualizer: New app for visualizations / charts of aggregated
 event data.

 Preview
 https://apps.dhis2.org/dev/dhis-web-event-visualizer/app/index.html


 - Tracker capture: New app for tracking, intended to replace the current
 individual records module in 2.17. For 2.16 it will support search for
 tracked entities and dashboard with widgets for enrollment, data capture,
 current selections, profile, relationships and notes (at least).

 Preview https://apps.dhis2.org/dev/dhis-web-tracker-capture/index.html


 - Web API: Improved meta-data support. The API will support meta-data
 field filtering, allowing the consumer to explicitly define which fields
 should be included on objects when retrieving meta-data. The tracker
 related objects like programs and events will be fully supported in the API
 including the possibility for creating and updating objects.

 Docs https://www.dhis2.org/doc/snapshot/en/user/html/ch30s07.html | Docs
 https://www.dhis2.org/doc/snapshot/en/user/html/ch30s08.html


 - Calendar: Support for an array of eight calendars including nepal,
 coptic, julian.

 Preview
 https://apps.dhis2.org/dev/dhis-web-maintenance-settings/systemCalendarSettings.action


 - Data value one-way sync: Support for automatically sending data from a
 semi-offline DHIS instance to another central, online DHIS instance.


 - Event analytics: Support for data element aggregation operators in the
 event analytics api and event reports app, allowing for sum, average,
 count, etc aggregation of events.


 There is a range of smaller features planned for 2.16 which you can find
 on Launchpad here https://launchpad.net/dhis2/+milestone/2.16.


 regards,

 Lars





 ___
 Mailing list: https://launchpad.net/~dhis2-devs
 Post to : dhis2-d...@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-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Importing Data Set Values into DHIS 2.13

2013-10-29 Thread David Muturi
Hi Jason,
I have seen and read the manual i.e.
http://www.dhis2.org/doc/snapshot/en/user/html/ch19s03.html just now. Does
this mean I have to convert the file format to the CSV format for DHIS2?

rgds
David


2013/10/29 Jason Pickering jason.p.picker...@gmail.com

 Hi David,

 Did you read the section in the manual which describes CSV import?

 Regards,
 Jason

 --Sent from my mobile
 On Oct 28, 2013 10:48 PM, David Muturi dnmut...@gmail.com wrote:

 Hello Team,
 I am working on importing data containing drugs distribution data from a
 pharmacy system into DHIS2.
 I have created the data elements and dataset. My questions are :

 i) Is it possible to import the CSV into DHIS2 using the DHIS2 CSV import
 ?
 ii) If yes in (i) How do ensue the file imports into the right data set
 as well as data elements ?

 Your assistance is highly appreciated.

 rgds
 David

 ___
 Mailing list: https://launchpad.net/~dhis2-users
 Post to : dhis2-users@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-users
 More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Importing Data Set Values into DHIS 2.13

2013-10-29 Thread David Muturi
Thanks Jason, I have began transforming my file to the format described in
the Manual.
rgds
David


2013/10/29 Jason Pickering jason.p.picker...@gmail.com

 Hi David,
 If you are going to import CSV data it must be in the format detailed in
 the user manual. Other possibility would be XML,also described in the user
 manual.

 Regards,
 Jason

 --Sent from my mobile
 On Oct 29, 2013 5:07 PM, David Muturi dnmut...@gmail.com wrote:

 Hi Jason,
 I have seen and read the manual i.e.
 http://www.dhis2.org/doc/snapshot/en/user/html/ch19s03.html just now.
 Does this mean I have to convert the file format to the CSV format for
 DHIS2?

 rgds
 David


 2013/10/29 Jason Pickering jason.p.picker...@gmail.com

 Hi David,

 Did you read the section in the manual which describes CSV import?

 Regards,
 Jason

 --Sent from my mobile
 On Oct 28, 2013 10:48 PM, David Muturi dnmut...@gmail.com wrote:

 Hello Team,
 I am working on importing data containing drugs distribution data from
 a pharmacy system into DHIS2.
 I have created the data elements and dataset. My questions are :

 i) Is it possible to import the CSV into DHIS2 using the DHIS2 CSV
 import ?
 ii) If yes in (i) How do ensue the file imports into the right data set
 as well as data elements ?

 Your assistance is highly appreciated.

 rgds
 David

 ___
 Mailing list: https://launchpad.net/~dhis2-users
 Post to : dhis2-users@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-users
 More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Clearing Combo box field or making default

2013-08-08 Thread David Muturi
Hi All,

We are lucky to have Jan around in Kenya with the airport closed, he has
given us a solution to this. We will now reopen the airport for him to
leave for Oslo.

rgds
David


2013/8/7 David Muturi dnmut...@gmail.com

 Hi ,

 We(Samuel and I) are implementing a dataset that has combo boxes, we have
 added the lists for the combo's manually(not reading from DB - option
 values),  we want to have the selected values cleared when the user selects
 a new month. Please see ATTACHED PDF document. Anyone with a similar
 problem and a solution ?

 rgds
 David



 2013/8/6 Samuel Cheburet samuelchebu...@gmail.com

 Dear all,

 On the above subject, we based a challenge to generate script to of
 clearing combobox within data entry and save. the combo box value appear in
 all the reporting period and once change it affect previous reporting
 period.

 see screen below



 --

 *Mr.Samuel K. Cheburet  (Bsc.  HRIM,Dip. HRIT)*

 *Division of Health Information System, **
 Afya House, Room LG 37*

 *PO. Box 30016, 00100.*

 *Ministry of Health Headquarters, Nairobi, Kenya.** *

 *mobile + 254-721624338*

 *Email: samuelchebu...@gmail.com,  **samuel.chebu...@health.go.ke , *
 hishea...@health.go.ke

 *Skype **samuelcheburet *


 **

 ___
 Mailing list: https://launchpad.net/~dhis2-devs
 Post to : dhis2-d...@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-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] DHIS2 SMS URL

2013-08-06 Thread David Muturi
Hi Knut,
I am able to see this, the problem is I am unable to see my datasets under
aggregate reporting.

rgds
David


2013/8/5 Knut Staring knu...@gmail.com

 Hi David,

 On a smartphone, just open your browser and point it to your DHIS2 server,
 e.g. http://apps.dhis2.org/demo

 You will get a choice of versions, Basic, Smartphone and Desktop.

 These are also available from the Services menu inside DHIS, called Mobile
 (Light) and Mobile (Smartphone): http://apps.dhis2.org/demo/mobile/index


 On Mon, Aug 5, 2013 at 4:11 PM, David Muturi dnmut...@gmail.com wrote:

 Hi All,
 I succeeded in getting the URL for the SMS based reporting to work on
 DHIS.
 I am trying to set up aggregate reporting for a smart phone browser based
 interface. I am looking for the info on the manual and cant seem to find
 it. Any directions on this are welcome.

 rgds
 David


 2013/8/1 David Muturi dnmut...@gmail.com

 Hi All,

 I am trying to configure a gateway to receive messages and forward them
 to DHIS. So far the SMS gets to the gateway but cant be sent to DHIS
 because  I have not configured the URL to receive the messages. I have
 looked for the info on the manual and cant seem to trace the URL to
 recieve, the dhis2 is running on localhost.

 thanks
 David





 --
 Knut Staring
 Dept. of Informatics, University of Oslo
 +4791880522
 http://dhis2.org

___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] DHIS2 SMS URL

2013-08-06 Thread David Muturi
Thanks Knut and Long, I have managed to see my datasets after following
your advise.

rgds
David


2013/8/6 Knut Staring knu...@gmail.com

 Thanks Long,

 For the smartphone interface, it comes down to the second part - assigning
 datasets to orgunits and having proper access rights.


 On Tue, Aug 6, 2013 at 8:39 AM, Ngo Long thanhlongngo1...@yahoo.com.vnwrote:

  Hi,

 In order to see your aggregate dataset in the mobile user interface,
 please go to Maintenance, Mobile Configuration then Dataset for
 Mobile. Here, add your dataset to the right column. Also make sure you
 assign the dataset for the correct OrgUnit with the appropriate authorities.

 Long


 On 8/6/2013 1:32 PM, David Muturi wrote:

 Hi Knut,
 I am able to see this, the problem is I am unable to see my datasets
 under aggregate reporting.

  rgds
 David


  2013/8/5 Knut Staring knu...@gmail.com

 Hi David,

  On a smartphone, just open your browser and point it to your DHIS2
 server, e.g. http://apps.dhis2.org/demo

  You will get a choice of versions, Basic, Smartphone and Desktop.

  These are also available from the Services menu inside DHIS, called
 Mobile (Light) and Mobile (Smartphone):
 http://apps.dhis2.org/demo/mobile/index


 On Mon, Aug 5, 2013 at 4:11 PM, David Muturi dnmut...@gmail.com wrote:

   Hi All,
  I succeeded in getting the URL for the SMS based reporting to work on
 DHIS.
 I am trying to set up aggregate reporting for a smart phone browser
 based interface. I am looking for the info on the manual and cant seem to
 find it. Any directions on this are welcome.

  rgds
  David


 2013/8/1 David Muturi dnmut...@gmail.com

   Hi All,

  I am trying to configure a gateway to receive messages and forward
 them to DHIS. So far the SMS gets to the gateway but cant be sent to DHIS
 because  I have not configured the URL to receive the messages. I have
 looked for the info on the manual and cant seem to trace the URL to
 recieve, the dhis2 is running on localhost.

  thanks
  David





   --
 Knut Staring
 Dept. of Informatics, University of Oslo
 +4791880522
 http://dhis2.org




 ___
 Mailing list: https://launchpad.net/~dhis2-devs
 Post to : dhis2-d...@lists.launchpad.net

 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp





 --
 Knut Staring
 Dept. of Informatics, University of Oslo
 +4791880522
 http://dhis2.org

___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] DHIS2 SMS URL

2013-08-05 Thread David Muturi
Hi All,
I succeeded in getting the URL for the SMS based reporting to work on DHIS.
I am trying to set up aggregate reporting for a smart phone browser based
interface. I am looking for the info on the manual and cant seem to find
it. Any directions on this are welcome.

rgds
David


2013/8/1 David Muturi dnmut...@gmail.com

 Hi All,

 I am trying to configure a gateway to receive messages and forward them to
 DHIS. So far the SMS gets to the gateway but cant be sent to DHIS because
 I have not configured the URL to receive the messages. I have looked for
 the info on the manual and cant seem to trace the URL to recieve, the dhis2
 is running on localhost.

 thanks
 David

___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] DHIS2 SMS URL

2013-08-01 Thread David Muturi
Hi All,

I am trying to configure a gateway to receive messages and forward them to
DHIS. So far the SMS gets to the gateway but cant be sent to DHIS because
I have not configured the URL to receive the messages. I have looked for
the info on the manual and cant seem to trace the URL to recieve, the dhis2
is running on localhost.

thanks
David
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] DHIS2 SMS URL

2013-08-01 Thread David Muturi
Many thanks
David


2013/8/1 Nguyen Kim Lai lai.hispviet...@gmail.com

 hi David,

 the URL should be: 
 *localhost:[port]/dhis/sms/smsinput.action?sender=[sender]received_time=[date
 time]message=[content]*
 here is explanation for those parameters:
 [port]: for example: 8080
 [sender]: phone number of the sender, it should has the area code, for
 example +84 from Viet Nam
 [date time]: for example: 2012-04-30+10%3A00, this means 2012-04-30 10:00
 [content]: the content of your SMS

 and here is a completed URL if you're using a local host:
 *
 http://localhost:8080/dhis/sms/smsinput.action?sender=+849000111222received_time=2012-04-30+10%3A00message=hello+DHIS
 *
 *
 *
 Best,


 On Thu, Aug 1, 2013 at 4:04 PM, David Muturi dnmut...@gmail.com wrote:

 Hi All,

 I am trying to configure a gateway to receive messages and forward them
 to DHIS. So far the SMS gets to the gateway but cant be sent to DHIS
 because  I have not configured the URL to receive the messages. I have
 looked for the info on the manual and cant seem to trace the URL to
 recieve, the dhis2 is running on localhost.

 thanks
 David

 ___
 Mailing list: https://launchpad.net/~dhis2-devs
 Post to : dhis2-d...@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp




 --
 Lai
 Dhis Mobile
 +84944485878

___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Is there an Easier way of Navigating the Api ?

2013-07-23 Thread David Muturi
Thanks Knut,
I used the pivot table to run a report on the facility then obtained the
UID which I then added to the url i.e.
http://test.hiskenya.org/api/organisationUnits/[UID], I have not read
through the entire manual but I am very grateful for the quick feedback. I
will certainly use the search feature on the URL. I was wondering why it
was not part of the UI.
rgds
David Muturi


2013/7/23 Knut Staring knu...@gmail.com

 Yes inded, and fortunately this is already part of the API, as mentioned
 in the manual (section 25.4).

 You can for example do things like this:
 api/organisationUnits/search/bc%20Bas-Congo%20Province


 On Tue, Jul 23, 2013 at 11:26 AM, David Muturi dnmut...@gmail.com wrote:

 Hi All,

 Is there an easier way of navigating the API? I wanted to pull out some
 org unit only to realize I had 228 pages for the org units and the only
 navigation was the previous and next buttons. A search feature would be a
 useful addition.

 rgd
 David

 ___
 Mailing list: https://launchpad.net/~dhis2-users
 Post to : dhis2-users@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-users
 More help   : https://help.launchpad.net/ListHelp




 --
 Knut Staring
 Dept. of Informatics, University of Oslo
 +4791880522
 http://dhis2.org

___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Is there an Easier way of Navigating the Api ?

2013-07-23 Thread David Muturi
Hi Lars,
Many thanks.
David


2013/7/23 Lars Helge Øverland larshe...@gmail.com

 Hi David,

 see here:

 http://www.dhis2.org/doc/snapshot/en/user/html/ch25s04.html

 Lars



 On Tue, Jul 23, 2013 at 11:37 AM, Knut Staring knu...@gmail.com wrote:

 Yes inded, and fortunately this is already part of the API, as mentioned
 in the manual (section 25.4).

 You can for example do things like this:
 api/organisationUnits/search/bc%20Bas-Congo%20Province


 On Tue, Jul 23, 2013 at 11:26 AM, David Muturi dnmut...@gmail.comwrote:

 Hi All,

 Is there an easier way of navigating the API? I wanted to pull out some
 org unit only to realize I had 228 pages for the org units and the only
 navigation was the previous and next buttons. A search feature would be a
 useful addition.

 rgd
 David

 ___
 Mailing list: https://launchpad.net/~dhis2-users
 Post to : dhis2-users@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-users
 More help   : https://help.launchpad.net/ListHelp




 --
 Knut Staring
 Dept. of Informatics, University of Oslo
 +4791880522
 http://dhis2.org



___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] From 'District' to 'Decentralized' and 'Software' to 'System'

2013-05-02 Thread David Muturi
This is true, as we face the  technology challenges of system performance
and responsiveness to end users, I think DHIS is now brand and from a
marketing point of view renaming it to decentralized health Information
system will retain its acronym as DHIS and remove the end users view that
is a district based reporting system. Here in Kenya, following changes in
our country's administrative  and governance structure we no longer have
districts but counties. Thus the acronym fits perfectly well with our
strategy to market the system as a county reporting system without
mentioning the term 'district'.
rgds
David


2013/5/2 Bob Jolliffe bobjolli...@gmail.com

 Interesting set of points raised by all.  Personally I think the rationale
 behind the district focus of the system, creating tight feedback loops for
 district managers to be able to act locally is as important now as it ever
 was.  Even though the challenge of creating and sustaining a culture of
 information use at district level remains the most significant and most
 elusive we shouldn't forget it as we find ourselves engaged with the
 challenges of RAM, disk speed and server hosting.  Hence, also with Ola's
 impassioned insistence, I have tried to maintain the mydatamart as well as
 possible, though it has of late become increasingly difficult.  (As an
 aside I would like to convene a rethink of the mydatamart strategy going
 forward, particularly in light of the new analytics and much improved web
 api that we have now and didn't have when this work started.)

 I believe the changing architectural shape of the application does carry
 the risk of undervaluing role of the district.  Contrary to Prosper's
 suggestion, the new architecture - national, web-based, potentially even
 supra-national - is very much more centralized than before.  With
 facilities increasingly being able to report their data directly, the
 information flows potentially bypass the district completely.  Maintaining
 District in the name provides implementors and developers with a clue -
 or perhaps a strong jiminy cricket guilty concience reminder - of how the
 system should be setup and used.

 At least until we come up with a new Alma Ata ... where health information
 perhaps gets replaced by health insurance :-(

 I had always thought the 'S' was for system.  Obviously I didn't look
 closely enough.

 Cheers
 Bob



 On 2 May 2013 14:24, Lars Kristian Roland l...@roland.bz wrote:

 As an example of an abbreviation that has changed meaning, I would
 mention GSM, which I believe first meant Group Speciale Mobile (excuse my
 french) and later Global System for Mobile communication.

 I would support Prosper's observation that District may not cover the
 distributed system that DHIS2 has become.

 MobiLars
 On 2013 5 2 15:12, Knut Staring knu...@gmail.com wrote:

 There is indeed a long history, as Jason points out, and the district
 focus took its inspiration from the WHO Alma Ata Declaration from 1978 and
 its focus on Primary Health Care and Health For All
 http://en.wikipedia.org/wiki/Alma_Ata_Declaration

 Furthermore, the very first versions of DHIS came out of close
 collaboration with three pilot districts in Cape Town:
 http://www.mn.uio.no/ifi/english/research/networks/hisp/hisp-history.html
 http://folk.uio.no/patrickr/refdoc/BraaHedberg02.pdf

 http://www.mn.uio.no/ifi/english/research/networks/hisp/integrated-health-information-architecture.html

 However, by this stage, it seems to me that the acronym DHIS has also
 acquired quite an identity of its own, a bit like e.g. IBM, a name much
 like others, which could be used without necessarily going into what it
 stands for.

 Knut



 On Thu, May 2, 2013 at 2:54 PM, Jason Pickering 
 jason.p.picker...@gmail.com wrote:

 Hi Proper,

 Remember, with open source software, you are free to call it what you
 want! I know of a private company who has now forked DHIS2 and are calling
 it something entirely different, for their own reasons. In other countries,
 DHIS2 has been  branded differently, according to their own acronyms.

 I would however, not expect a change on this, given the long history. :)

 My two cents,
 Jason



 On Thu, May 2, 2013 at 7:41 PM, Prosper BT ptb3...@gmail.com wrote:

 Dear team,

 Quite often end users especially below and above the district level
 have asked Why 'District' and we have struggled to explain this by first
 telling history. In passing someone suggested renaming District to
 Decentralized and Software to System.

 What it if in respect of maintaining the acronym it becomes
 Decentralized Health Information System - DHIS?

 'Don't kill the messenger'


 Regards

 --
 Prosper Behumbiize, MPH
 Phone:+256 414 320076
 Cell:+256 752 751776
+256 702 762707

 ___
 Mailing list: https://launchpad.net/~dhis2-users
 Post to : dhis2-users@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-users