Re: [Dhis2-users] Custom Forms

2015-01-19 Thread Guy Ekani
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.rgdsDavid
___
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] DHIS2 - Financial year (July) in pivot tables

2015-01-19 Thread Robin Martens
Hi all,

It seems that although you can set the data set collection frequency to 
Financial Year (July), there's no way to report the data in the Pivot table 
module in this way. When selecting the Financial Year option in the Pivot 
table, it uses the Financial Year (Oct) option.

Will this be fixed soon? In the meantime, is there anyone else using 
alternative Financial Year calendars, and how do you use them in indicators and 
reporting?

Regards,

Robin
___
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-19 Thread Thuy Nguyen
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] DHIS2 - Financial year (July) in pivot tables

2015-01-19 Thread Robin Martens
Ok, thanks Lars for the quick reply (as always)!

De : Lars Helge Øverland [larshe...@gmail.com]
Envoyé : lundi 19 janvier 2015 09:54
À : Robin Martens
Cc : dhis2-users; dhis2-devs
Objet : Re: [Dhis2-devs] DHIS2 - Financial year (July) in pivot tables

Hi Robin,

you are right regarding the relative periods. We are 
workinghttps://blueprints.launchpad.net/dhis2/+spec/configurable-financial-year-relative-period
 on a system setting to define the financial year variant to use as relative 
period.

The work-around is to use fixed periods. In pivot/visualizer, go to the period 
section, click the period drop-down and select from Financial October, 
Financial April, Financial July.

best regards,

Lars


[Inline image 1]





On Mon, Jan 19, 2015 at 9:36 AM, Robin Martens 
mart...@sher.bemailto:mart...@sher.be wrote:
Hi all,

It seems that although you can set the data set collection frequency to 
Financial Year (July), there's no way to report the data in the Pivot table 
module in this way. When selecting the Financial Year option in the Pivot 
table, it uses the Financial Year (Oct) option.

Will this be fixed soon? In the meantime, is there anyone else using 
alternative Financial Year calendars, and how do you use them in indicators and 
reporting?

Regards,

Robin

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : 
dhis2-d...@lists.launchpad.netmailto: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] cumulative data in Data Visualizer and Pilot Table

2015-01-19 Thread Lars Helge Øverland
Hi John,

yes that would be possible to implement. Feel free to write a blueprint
with a bit more detail and we can schedule it on the road map.

regards,

Lars


On Fri, Jan 16, 2015 at 3:00 AM, John Lewis johnlewis.h...@gmail.com
wrote:

 Hi Guys,
 Various countries want to analyse the data cumulatively. for example
 compare BCG dose given (data element) for last 12 (or /6/3) month with
 graph showing monthly data and cumulative value.
 Is this possible to include it in analysis
 Regards,
 John


 ___
 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


[Dhis2-users] DHIS2 - Custom conditions on the aggregation period when using Aggregation Queries

2015-01-19 Thread Robin Martens
Hi all,

An additional question about the Aggregation Query Builder. Currently, the 
period of aggregation between tracked data elements (TDE) and aggregated data 
elements (ADE) always has to correspond. E.g. for monthly ADEs, TDE data will 
be aggregated per month based on the event instance report or enrollment date. 
The following example illustrates this:

  *   ADE (July 2014) = Sum (TDE for which the event report date lies in July 
2014).

The thing is that his seems to be an inherent condition for each aggregation 
query you build, so the system automatically applies this logic whenever 
executing an aggregation query, even if the user doesn't specify any conditions 
on the period. Now is my question: is it instead possible to drop this 
condition and do the aggregation over custom-defined periods?

  *   An example: ADE (2014) = Sum (TDE for which Status=Ongoing). In this 
example, whatever the event enrollment date, all event instances are taken into 
account. The only applicable condition is the Status.
  *   Another example: ADE (2014) = Sum (TDE for which Report Date=between 
2009 and 2014). In this example, the aggregated value will be the sum over all 
event instances created in the last 5 years.

Is this currently possible? If not, has this been foreseen on the roadmap and 
are there workarounds in the meantime?

Kind regards,

Robin

___
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