Re: [Dhis2-devs] Extract Individual data from Web API

2016-07-26 Thread Muhammad Masud Parvez
Dear Mr. Hansen,

Thanks for your response.
At first I like to extract individual patient attribute data (Age, Sex) against 
below mentioned program by DHIS2 web API so that I can calculate how many 
patient has been registered under that program.
Program: "id": "uy2gU8kT1jF","displayName": "MNCH / PNC (Adult Woman)"
So fat I have been able to extract event data by orgunit and program

https://play.dhis2.org/demo/api/events?orgUnit=DiszpKrYNg8=uy2gU8kT1jF

It would be highly appreciated if anyone please help me on this regards.

Best Regards



Masud Parvez
CEH, MCITP, MCTS
Analyst Programmer
Health Systems and Population Studies Division
International Centre for Diarrhoeal Disease Research (icddr,b)
68, Shaheed Tajuddin Ahmed Sarani, Mohakhali,
Dhaka-1212, Bangladesh|
Phone- 02-9827001-10 , Ext: 2244.

From: Morten Olav Hansen [mailto:mor...@dhis2.org]
Sent: Tuesday, July 26, 2016 1:32 PM
To: Muhammad Masud Parvez
Cc: dhis2-devs@lists.launchpad.net
Subject: Re: [Dhis2-devs] Extract Individual data from Web API

Hi

Did you have a look at our /api/events documentation? [1] there are many 
parameters you can apply to filter the results.

[1] 
http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s19.html#d0e4505

--
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org

On Tue, Jul 26, 2016 at 7:52 AM, Muhammad Masud Parvez 
> wrote:
Dear All,

Greetings from Bangladesh.

I am trying to extract individual patient data (Age, Sex) and his/her encounter 
data by DHIS2 web API.
When I am extracting data using api/events I am getting lot more data.

Any help on this regards is highly appreciated.

Best Regards

Masud Parvez
CEH, MCITP, MCTS
Analyst Programmer
Health Systems and Population Studies Division
International Centre for Diarrhoeal Disease Research (icddr,b)
68, Shaheed Tajuddin Ahmed Sarani, Mohakhali,
Dhaka-1212, Bangladesh|
Phone- 02-9827001-10 , Ext: 2244.


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

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


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


[Dhis2-devs] DHIS2 Tracker Academy Kigali, RWANDA , August 22-26, 2016

2016-07-26 Thread Kamugunga Adolphe
>
> HISP Rwanda and University of Oslo are pleased to announce the “DHIS 2
> Academy Kigali 2016,Tracker Level 1” to be held from 22 to 26 August at the
> Nobleza Hotel, Kigali, Rwanda.
>
The DHIS 2 Tracker Academy

This specialization course covers all aspects of DHIS 2 tracker; the
feature set in DHIS 2 supporting event and patient (tracked entity) level
data. You will be introduced to basic concepts of designing, collecting,
analyzing and performing preliminary administration on event and case-based
data through a mix of lectures and hands-on exercises.

The 5 day course will focus on:

   - How to set up tracking and event based programs for both web and
   android. Configuring tracker for surveys will also be covered;
   - The sharing model.

Learning Objectives

This DHIS 2 Tracker Academy will focus on:

   - Event and tracker program;
   - Tracker apps;
   - DHIS 2 event capture and Tracker capture;
   - Android event capture app;
   - Tracker terminology and tracker data model;
   - Tracker programs configuration;
   - Program rules, program indicators and configuration;
   - Event configuration and event reports;
   - Integrated analytics.



Invitation & Selection of the participants

We are inviting 2-3 people from each country in Eastern and Southern Africa
to join this event. DHIS 2 experts from global and the region will share
the latest features and development, best practices around the globe to
help you to make your DHIS 2 implementation a success in your country
and/or across your organization.

The Academy has a ceiling of 50 participants.

The organisers will evaluate your application and the country quotas to get
back to you as soon as possible with payment details.
Facilitators and methodology

DHIS 2 experts from global and the region will not only share the latest
features and development, but also the best practices around the globe to
help you make your DHIS 2 implementation a success.

A practical training programme will make sure the facilitators and
participants can work together on customised databases to guide you and
solve emerging issues.

One of the objectives of DHIS 2 Academy is to emphasise experience and
solution sharing among countries across the region and to promote
networking and collaboration among DHIS 2 implementers in the region.

DHIS 2 Academy Fee

The Academy fees are USD 650 for a 5 day training which include:

   - Training materials
   - Lunch breaks
   - Two coffee breaks per day

Due to the high number of registration, the only way to garantee your slot
is to proceed to the payment as soon as possible.

For more information and registration visit:
https://www.dhis2.org/kigali2016-academy#

For more details, don’t hesitate to contact us at kigali2...@dhis2.org

*Adolphe Kamugunga*
Mobile: +250 788 740 578
Email:kaa...@gmail.com
Skype: ka.adolphe
 RWANDA
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] DHIS2 Tracker Academy Kigali, RWANDA , August 22-26, 2016

2016-07-26 Thread Kamugunga Adolphe
HISP Rwanda and University of Oslo are pleased to announce the “DHIS 2
Academy Kigali 2016,Tracker Level 1” to be held from 22 to 26 August at the
Nobleza Hotel, Kigali, Rwanda.
The DHIS 2 Tracker Academy

This specialization course covers all aspects of DHIS 2 tracker; the
feature set in DHIS 2 supporting event and patient (tracked entity) level
data. You will be introduced to basic concepts of designing, collecting,
analyzing and performing preliminary administration on event and case-based
data through a mix of lectures and hands-on exercises.

The 5 day course will focus on:

   - How to set up tracking and event based programs for both web and
   android. Configuring tracker for surveys will also be covered;
   - The sharing model.

Learning Objectives

This DHIS 2 Tracker Academy will focus on:

   - Event and tracker program;
   - Tracker apps;
   - DHIS 2 event capture and Tracker capture;
   - Android event capture app;
   - Tracker terminology and tracker data model;
   - Tracker programs configuration;
   - Program rules, program indicators and configuration;
   - Event configuration and event reports;
   - Integrated analytics.



Invitation & Selection of the participants

We are inviting 2-3 people from each country in Eastern and Southern Africa
to join this event. DHIS 2 experts from global and the region will share
the latest features and development, best practices around the globe to
help you to make your DHIS 2 implementation a success in your country
and/or across your organization.

The Academy has a ceiling of 50 participants.

The organisers will evaluate your application and the country quotas to get
back to you as soon as possible with payment details.
Facilitators and methodology

DHIS 2 experts from global and the region will not only share the latest
features and development, but also the best practices around the globe to
help you make your DHIS 2 implementation a success.

A practical training programme will make sure the facilitators and
participants can work together on customised databases to guide you and
solve emerging issues.

One of the objectives of DHIS 2 Academy is to emphasise experience and
solution sharing among countries across the region and to promote
networking and collaboration among DHIS 2 implementers in the region.

DHIS 2 Academy Fee

The Academy fees are USD 650 for a 5 day training which include:

   - Training materials
   - Lunch breaks
   - Two coffee breaks per day

Due to the high number of registration, the only way to garantee your slot
is to proceed to the payment as soon as possible.






*Adolphe Kamugunga*
*MIS Technical Advisor*
Mobile: +250 788 740 578
Email:kaa...@gmail.com
Skype: ka.adolphe
 RWANDA
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Upgrading DHIS2 from version 2.5 to 2.22

2016-07-26 Thread Knut Staring
Hi Gerald,
I would try to skip a few versions by exporting metadata and data and
probably try to import to an intermediate version such as 2.13 or 2.16.

On 26 Jul 2016 21:02, "gerald thomas"  wrote:

> Dear All,
> I am inquiring for both technical guidance and materials to upgrade a
> DHIS2 instance from version 2.5 to 2.22.
>
> I will be grateful for any help anyone can render for me to
> successfully achieve this task. Also, i will like to know where i can
> get all the old war files.
>
> --
> Regards,
>
> Gerald
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Upgrading DHIS2 from version 2.5 to 2.22

2016-07-26 Thread gerald thomas
Dear All,
I am inquiring for both technical guidance and materials to upgrade a
DHIS2 instance from version 2.5 to 2.22.

I will be grateful for any help anyone can render for me to
successfully achieve this task. Also, i will like to know where i can
get all the old war files.

-- 
Regards,

Gerald

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


Re: [Dhis2-devs] Issues with custom attributes

2016-07-26 Thread Archana Chillala
Thanks for the update, Mark.

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]


On Tue, Jul 26, 2016 at 6:16 PM, Mark Polak  wrote:

> Hey Archana,
>
> The Yes Only attributes should now correctly render as checkboxes for both
> 2.24 and trunk.
>
> The other issue mentioned is a bit larger of a change and i have no
> estimate on that yet.
>
> On Tue, Jul 26, 2016 at 11:35 AM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Hi Lars,
>>
>> Could you please provide any update on this issue? It would be really
>> helpful if it's fixed as soon as possible as we have a use-case depending
>> on this, and it's been blocking the work.
>>
>>
>> *Thanks,*
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> 
>>
>> On Fri, Jun 24, 2016 at 4:08 PM, Lars Helge Øverland 
>> wrote:
>>
>>>
>>>
>>> On Fri, Jun 24, 2016 at 12:10 PM, Archana Chillala <
>>> archa...@thoughtworks.com> wrote:
>>>
 Thank you, Lars.

 I am able to reproduce the issues on the dev instance as well. 'Yes
 Only' (and most other value types are rendered as blank fields)


 [image: Inline image 1]

 Also, based on the '*value type*' of the Attribute, some attributes
 show up in the new Data Sets module (in maintenance app) while some others
 show up in the older Data Sets app on DHIS.



>>>
>>> Right, sorry I confused it with Yes/No. Issue reported here:
>>>
>>> https://github.com/dhis2/maintenance-app/issues/190
>>>
>>> regards,
>>>
>>> Lars
>>>
>>>
>>>
 Cheers,

 Archana Chillala
 Application Developer
 Email archa...@thoughtworks.com
 Telephone +91 9100960533 <+91+9100960533>
 [image: ThoughtWorks]
 

 On Fri, Jun 24, 2016 at 2:58 PM, Lars Helge Øverland 
 wrote:

> Hi Archana,
>
> thanks for the feedback.
>
> Did you test against
>
> On Fri, Jun 24, 2016 at 10:01 AM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Hi,
>>
>> We have created an attribute with a value type - "Yes Only" and
>> assigned it to data set. In the maintenance app, when we look at the data
>> set, instead of a 'check box', a blank text field is shown (when the 
>> value
>> type is 'Yes Only'). We tested with other value types, and looks like
>> except for option sets (which are rendered as a drop down list), all 
>> other
>> value types are shown as a text field.
>>
>> Here's the screenshot attached. "*Is this a report template?*" is
>> our attribute name of value type "Yes Only"- rendered as text field. 
>> "*test
>> attr"* is an attribute of type - option sets - rendered as drop down.
>>
>>
>>
>> Also, if the attribute has value type "Yes Only" and some new ones
>> added (like coordinate, file etc), when assigned to data set, we are able
>> to see them in the new Data Sets module of maintenance app, but not in 
>> the
>> older Data Sets app.
>>
>>
> This issue I cannot reproduce on /demo or /dev
> . Perhaps you
> tested on a bad revision. Could you please try to reproduce on dev?
>
>
>
>
>
>>
>> *Issue - attribute with option sets:*
>>
>> The Value type of option sets is not made mandatory. So, if we create
>> an option set without assigning a value type, and add that option set to 
>> an
>> attribute, we will not be able to create the attribute as the value type 
>> of
>> custom attribute is missing. (Basically, the value type of option set is
>> considered the value type of custom attribute. But when there is no value
>> type given, it takes "No Value" and attribute does not get created. Also,
>> looks like updating the value type of option set is not possible.
>>
>
>
> You are right - we need to make value type of option set not-null.
>
> Fixed now in trunk:
>
> https://github.com/dhis2/maintenance-app/issues/189
>
>
> regards,
>
> Lars
>
>

>>>
>>>
>>> --
>>> Lars Helge Øverland
>>> Lead developer, DHIS 2
>>> University of Oslo
>>> Skype: larshelgeoverland
>>> l...@dhis2.org
>>> http://www.dhis2.org 
>>>
>>>
>>
>> ___
>> Mailing list: 

Re: [Dhis2-devs] Issues with custom attributes

2016-07-26 Thread Mark Polak
Hey Archana,

The Yes Only attributes should now correctly render as checkboxes for both
2.24 and trunk.

The other issue mentioned is a bit larger of a change and i have no
estimate on that yet.

On Tue, Jul 26, 2016 at 11:35 AM, Archana Chillala <
archa...@thoughtworks.com> wrote:

> Hi Lars,
>
> Could you please provide any update on this issue? It would be really
> helpful if it's fixed as soon as possible as we have a use-case depending
> on this, and it's been blocking the work.
>
>
> *Thanks,*
>
> Archana Chillala
> Application Developer
> Email archa...@thoughtworks.com
> Telephone +91 9100960533 <+91+9100960533>
> [image: ThoughtWorks]
> 
>
> On Fri, Jun 24, 2016 at 4:08 PM, Lars Helge Øverland 
> wrote:
>
>>
>>
>> On Fri, Jun 24, 2016 at 12:10 PM, Archana Chillala <
>> archa...@thoughtworks.com> wrote:
>>
>>> Thank you, Lars.
>>>
>>> I am able to reproduce the issues on the dev instance as well. 'Yes
>>> Only' (and most other value types are rendered as blank fields)
>>>
>>>
>>> [image: Inline image 1]
>>>
>>> Also, based on the '*value type*' of the Attribute, some attributes
>>> show up in the new Data Sets module (in maintenance app) while some others
>>> show up in the older Data Sets app on DHIS.
>>>
>>>
>>>
>>
>> Right, sorry I confused it with Yes/No. Issue reported here:
>>
>> https://github.com/dhis2/maintenance-app/issues/190
>>
>> regards,
>>
>> Lars
>>
>>
>>
>>> Cheers,
>>>
>>> Archana Chillala
>>> Application Developer
>>> Email archa...@thoughtworks.com
>>> Telephone +91 9100960533 <+91+9100960533>
>>> [image: ThoughtWorks]
>>> 
>>>
>>> On Fri, Jun 24, 2016 at 2:58 PM, Lars Helge Øverland 
>>> wrote:
>>>
 Hi Archana,

 thanks for the feedback.

 Did you test against

 On Fri, Jun 24, 2016 at 10:01 AM, Archana Chillala <
 archa...@thoughtworks.com> wrote:

> Hi,
>
> We have created an attribute with a value type - "Yes Only" and
> assigned it to data set. In the maintenance app, when we look at the data
> set, instead of a 'check box', a blank text field is shown (when the value
> type is 'Yes Only'). We tested with other value types, and looks like
> except for option sets (which are rendered as a drop down list), all other
> value types are shown as a text field.
>
> Here's the screenshot attached. "*Is this a report template?*" is our
> attribute name of value type "Yes Only"- rendered as text field. "*test
> attr"* is an attribute of type - option sets - rendered as drop down.
>
>
>
> Also, if the attribute has value type "Yes Only" and some new ones
> added (like coordinate, file etc), when assigned to data set, we are able
> to see them in the new Data Sets module of maintenance app, but not in the
> older Data Sets app.
>
>
 This issue I cannot reproduce on /demo or /dev
 . Perhaps you
 tested on a bad revision. Could you please try to reproduce on dev?





>
> *Issue - attribute with option sets:*
>
> The Value type of option sets is not made mandatory. So, if we create
> an option set without assigning a value type, and add that option set to 
> an
> attribute, we will not be able to create the attribute as the value type 
> of
> custom attribute is missing. (Basically, the value type of option set is
> considered the value type of custom attribute. But when there is no value
> type given, it takes "No Value" and attribute does not get created. Also,
> looks like updating the value type of option set is not possible.
>


 You are right - we need to make value type of option set not-null.

 Fixed now in trunk:

 https://github.com/dhis2/maintenance-app/issues/189


 regards,

 Lars


>>>
>>
>>
>> --
>> Lars Helge Øverland
>> Lead developer, DHIS 2
>> University of Oslo
>> Skype: larshelgeoverland
>> l...@dhis2.org
>> http://www.dhis2.org 
>>
>>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Regards,


Mark Polak
Software developer, DHIS 2
University of Oslo
http://www.dhis2.org 
m...@dhis2.org
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Re: [Dhis2-devs] dhis charts using highcharts and png downloads

2016-07-26 Thread Aamer Mohammed
Hi Jan / Team,

Few additional questions apart from the ones below.

   - Is any other image utility supported apart from png? What is the
   roadmap for this endpoint. Will this endpoint be actively supported by DHIS
   in future releases also?
   - any documentation around this endpoint.

We are waiting on your inputs as we are planning to use this endpoint in
our custom apps.

Thanks

On Mon, Jul 25, 2016 at 3:03 PM, Aamer Mohammed 
wrote:

> Hi Jan,
>
> This endpoint https://play.dhis2.org/demo/api/svg.png
>  running Batik is able to convert
> svg to png images. We are getting inclined towards using this endpoint in
> our custom apps. Few questions here:
>
>- Can we specify the size of png image to be generated via the api?
>- We want to convert report tables(html) to png. So we are embedding
>the html table as a foreign object in svg. But this endpoint is unable to
>convert such svg to png. Is this a limitation or is it planned in future
>releases?
>- Is there any other DHIS endpoint which converts html tables to
>images? Our custom app has a functionality wherein the user should be able
>to export the images/tables to word documents. We do not want to
>reconstruct the table from the json table data.
>
>
> Thanks
> Aamer.
>
>
> On Thu, Jul 14, 2016 at 4:57 PM, Aamer Mohammed 
> wrote:
>
>> Hi Jan,
>>
>> Thanks for the response. Couple of clarifications here.
>>
>>-  Currently, extjs abstractions give out the chart object by passing
>>the chart id. Would the same be available with highcharts based
>>abstractions as well? Just give chart id for the highchart based
>>abstraction and it gives the chart object.
>>- Would extjs based abstractions be still available after 2.26?
>>
>>
>> Thanks
>> Aamer.
>>
>>
>>
>> On Wed, Jul 13, 2016 at 11:32 PM, Jan Henrik Øverland 
>> wrote:
>>
>>> Hi Srikanth/Vanya/Aamer,
>>>
>>> Highcharts in the charts app + dashboard plugin is scheduled for 2.26.
>>>
>>> Yes, we will make sure you don't have to call external services to
>>> download the charts as png.
>>>
>>> By the way, we already have this endpoint
>>> https://play.dhis2.org/dev/api/svg.png running Batik to which you can
>>> submit an html form with an "svg" field (svg) and a "filename" field (text).
>>>
>>> You can try this out via the app by going to
>>> https://play.dhis2.org/dev/dhis-web-visualizer -> create a chart ->
>>> download as image and have a look at what is going on in the browser
>>> console.
>>>
>>> Jan
>>>
>>> On 13 July 2016 at 10:13, Knut Staring  wrote:
>>>
 HI Aamer,

 Just a heads-up that this is holiday time in Norway, so it may take
 some time for you to get a reply.

 Knut

 On Wed, Jul 13, 2016 at 9:23 AM, Aamer Mohammed <
 aam...@thoughtworks.com> wrote:

> Hi Jan/Bjørn,
>
> Any thoughts on roadmap for highcharts based abstractions or in
> improving quality of the api/charts/data which is giving a png now and is
> not as good as the high charts generated chart.
>
> Any thoughts will be much appreciated.
>
>
> Thanks
> Aamer.
>
>
>
> On Mon, Jul 11, 2016 at 8:15 PM, Mark Polak  wrote:
>
>> Hey Vanya,
>>
>> I'm not really sure what the status on this is. I think there is a
>> plan to remove Ext as a dependency from that plugin yes.
>>
>> I know you can get the analytics data urls from the charts app.
>>
>> I think Jan and/or Bjørn would be able to give you better answer on
>> the roadmap/status of these things.
>>
>> On Mon, Jul 11, 2016 at 3:10 PM, Vanya Seth 
>> wrote:
>>
>>> Hi Mark
>>>
>>> Would it be possible to provide some insights on this aspect as
>>> well? We are getting inclined towards using highcharts based 
>>> abstractions.
>>> But would like to hear back from you as well.
>>>
>>> Any help will be much appreciated.
>>>
>>> Regards
>>> Vanya
>>>
>>> On Thu, Jun 30, 2016 at 5:23 PM, Vanya Seth >> > wrote:
>>>
 Hi Mark and Nicolay

 Could you please provide some information regarding this?

 Regards
 Vanya

 On Tue, Jun 28, 2016 at 5:14 PM, Srikanth Katta <
 srika...@thoughtworks.com> wrote:

> Hi Dhis-devs,
>
> *Future plan of chart.js*
>
> Is there any future plan to rewrite chart.js using highcharts in
> place of extJS.
> Currently we have embedded chart service module from interactive
> dashboard app into our custom app. To get the high chart object we 
> need
> analytical object. Currently we are generating the analytical object 
> using
> dash 

Re: [Dhis2-devs] dhis charts using highcharts and png downloads

2016-07-26 Thread Srikanth Katta
Hi Jan,

Can we specify a date as query parameter which will the basis for the
relative periods in extJS based abstractions.

for example:
A chart is configured for getting data for last 12 months. I want to get
data from jan 2016 to jan 2015. Can we specify the starting time period as
Jan 2016 along with chart id.


Thanks

On Thu, Jul 14, 2016 at 4:57 PM, Aamer Mohammed 
wrote:

> Hi Jan,
>
> Thanks for the response. Couple of clarifications here.
>
>-  Currently, extjs abstractions give out the chart object by passing
>the chart id. Would the same be available with highcharts based
>abstractions as well? Just give chart id for the highchart based
>abstraction and it gives the chart object.
>- Would extjs based abstractions be still available after 2.26?
>
>
> Thanks
> Aamer.
>
>
>
> On Wed, Jul 13, 2016 at 11:32 PM, Jan Henrik Øverland 
> wrote:
>
>> Hi Srikanth/Vanya/Aamer,
>>
>> Highcharts in the charts app + dashboard plugin is scheduled for 2.26.
>>
>> Yes, we will make sure you don't have to call external services to
>> download the charts as png.
>>
>> By the way, we already have this endpoint
>> https://play.dhis2.org/dev/api/svg.png running Batik to which you can
>> submit an html form with an "svg" field (svg) and a "filename" field (text).
>>
>> You can try this out via the app by going to
>> https://play.dhis2.org/dev/dhis-web-visualizer -> create a chart ->
>> download as image and have a look at what is going on in the browser
>> console.
>>
>> Jan
>>
>> On 13 July 2016 at 10:13, Knut Staring  wrote:
>>
>>> HI Aamer,
>>>
>>> Just a heads-up that this is holiday time in Norway, so it may take some
>>> time for you to get a reply.
>>>
>>> Knut
>>>
>>> On Wed, Jul 13, 2016 at 9:23 AM, Aamer Mohammed >> > wrote:
>>>
 Hi Jan/Bjørn,

 Any thoughts on roadmap for highcharts based abstractions or in
 improving quality of the api/charts/data which is giving a png now and is
 not as good as the high charts generated chart.

 Any thoughts will be much appreciated.


 Thanks
 Aamer.



 On Mon, Jul 11, 2016 at 8:15 PM, Mark Polak  wrote:

> Hey Vanya,
>
> I'm not really sure what the status on this is. I think there is a
> plan to remove Ext as a dependency from that plugin yes.
>
> I know you can get the analytics data urls from the charts app.
>
> I think Jan and/or Bjørn would be able to give you better answer on
> the roadmap/status of these things.
>
> On Mon, Jul 11, 2016 at 3:10 PM, Vanya Seth 
> wrote:
>
>> Hi Mark
>>
>> Would it be possible to provide some insights on this aspect as well?
>> We are getting inclined towards using highcharts based abstractions. But
>> would like to hear back from you as well.
>>
>> Any help will be much appreciated.
>>
>> Regards
>> Vanya
>>
>> On Thu, Jun 30, 2016 at 5:23 PM, Vanya Seth 
>> wrote:
>>
>>> Hi Mark and Nicolay
>>>
>>> Could you please provide some information regarding this?
>>>
>>> Regards
>>> Vanya
>>>
>>> On Tue, Jun 28, 2016 at 5:14 PM, Srikanth Katta <
>>> srika...@thoughtworks.com> wrote:
>>>
 Hi Dhis-devs,

 *Future plan of chart.js*

 Is there any future plan to rewrite chart.js using highcharts in
 place of extJS.
 Currently we have embedded chart service module from interactive
 dashboard app into our custom app. To get the high chart object we need
 analytical object. Currently we are generating the analytical object 
 using
 dash board controller.

 *Dhis api to download high chart as png*

 Currently in interactive dashboard app. When we download the high
 chart image as PNG, it is calling to the *http://export.highcharts.com
 * instead do we have any api which
 does the download as png in the DHIS itself. Or do we have any plans in
 improving quality of the api/charts/data which is giving a png now and 
 is
 not as good as the high charts generated chart.


 Thanks,
 Srikanth Katta.


>>>
>>>
>>> --
>>> With Regards
>>> ThoughtWorks Technologies
>>> Hyderabad
>>>
>>> --Stay Hungry Stay Foolish!!
>>>
>>
>>
>>
>> --
>> With Regards
>> ThoughtWorks Technologies
>> Hyderabad
>>
>> --Stay Hungry Stay Foolish!!
>>
>
>
>
> --
> Regards,
>
>
> Mark Polak
> Software developer, DHIS 2
> University of Oslo
> http://www.dhis2.org 
> m...@dhis2.org
>


 

[Dhis2-devs] [Bug 1606383] Re: Maps-Cannot generate view with new date

2016-07-26 Thread Bjørn Sandvik
Thanks for reporting Tom.

This bug will probably not be fixed until we get a better solution for
map export in place: https://github.com/dhis2/dhis2-gis/issues/7

The current server based map export has technical limitations,
especially when the map views are generated directly in the browser, and
we are looking at different ways to support PNG export.

** Bug watch added: github.com/dhis2/dhis2-gis/issues #7
   https://github.com/dhis2/dhis2-gis/issues/7

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

Title:
  Maps-Cannot generate view with new date

Status in DHIS:
  New

Bug description:
  Hi.

  According to the documentation, it's possible to generate views of
  maps with different dates
  
(http://dhis2.github.io/dhis2-docs/2.23/en/developer/html/dhis2_developer_manual_full.html#d6099e6057).

  However, this seems not to work when I try it. I have replicated this in demo 
instance:
  https://play.dhis2.org/demo/api/maps/hCienHvzj2q/data?date=2015-09-01

  Thanks,
  Tom

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1606383/+subscriptions

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


Re: [Dhis2-devs] Issues with custom attributes

2016-07-26 Thread Archana Chillala
Hi Lars,

Could you please provide any update on this issue? It would be really
helpful if it's fixed as soon as possible as we have a use-case depending
on this, and it's been blocking the work.


*Thanks,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]


On Fri, Jun 24, 2016 at 4:08 PM, Lars Helge Øverland  wrote:

>
>
> On Fri, Jun 24, 2016 at 12:10 PM, Archana Chillala <
> archa...@thoughtworks.com> wrote:
>
>> Thank you, Lars.
>>
>> I am able to reproduce the issues on the dev instance as well. 'Yes Only'
>> (and most other value types are rendered as blank fields)
>>
>>
>> [image: Inline image 1]
>>
>> Also, based on the '*value type*' of the Attribute, some attributes show
>> up in the new Data Sets module (in maintenance app) while some others show
>> up in the older Data Sets app on DHIS.
>>
>>
>>
>
> Right, sorry I confused it with Yes/No. Issue reported here:
>
> https://github.com/dhis2/maintenance-app/issues/190
>
> regards,
>
> Lars
>
>
>
>> Cheers,
>>
>> Archana Chillala
>> Application Developer
>> Email archa...@thoughtworks.com
>> Telephone +91 9100960533 <+91+9100960533>
>> [image: ThoughtWorks]
>> 
>>
>> On Fri, Jun 24, 2016 at 2:58 PM, Lars Helge Øverland 
>> wrote:
>>
>>> Hi Archana,
>>>
>>> thanks for the feedback.
>>>
>>> Did you test against
>>>
>>> On Fri, Jun 24, 2016 at 10:01 AM, Archana Chillala <
>>> archa...@thoughtworks.com> wrote:
>>>
 Hi,

 We have created an attribute with a value type - "Yes Only" and
 assigned it to data set. In the maintenance app, when we look at the data
 set, instead of a 'check box', a blank text field is shown (when the value
 type is 'Yes Only'). We tested with other value types, and looks like
 except for option sets (which are rendered as a drop down list), all other
 value types are shown as a text field.

 Here's the screenshot attached. "*Is this a report template?*" is our
 attribute name of value type "Yes Only"- rendered as text field. "*test
 attr"* is an attribute of type - option sets - rendered as drop down.



 Also, if the attribute has value type "Yes Only" and some new ones
 added (like coordinate, file etc), when assigned to data set, we are able
 to see them in the new Data Sets module of maintenance app, but not in the
 older Data Sets app.


>>> This issue I cannot reproduce on /demo or /dev
>>> . Perhaps you tested
>>> on a bad revision. Could you please try to reproduce on dev?
>>>
>>>
>>>
>>>
>>>

 *Issue - attribute with option sets:*

 The Value type of option sets is not made mandatory. So, if we create
 an option set without assigning a value type, and add that option set to an
 attribute, we will not be able to create the attribute as the value type of
 custom attribute is missing. (Basically, the value type of option set is
 considered the value type of custom attribute. But when there is no value
 type given, it takes "No Value" and attribute does not get created. Also,
 looks like updating the value type of option set is not possible.

>>>
>>>
>>> You are right - we need to make value type of option set not-null.
>>>
>>> Fixed now in trunk:
>>>
>>> https://github.com/dhis2/maintenance-app/issues/189
>>>
>>>
>>> regards,
>>>
>>> Lars
>>>
>>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> l...@dhis2.org
> http://www.dhis2.org 
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] CODE field for Data Set Sections

2016-07-26 Thread Lars Helge Øverland
Hi Archana,

yes we can add both code and metadata attributes. (The code field for
section is actually there in the model so you can use it through the API as
of now).

I have written issues here:

https://github.com/dhis2/maintenance-app/issues/204

https://blueprints.launchpad.net/dhis2/+spec/metadata-attributes-section


Feel free to take these on ;)

regards,

Lars



On Tue, Jul 26, 2016 at 11:00 AM, Archana Chillala <
archa...@thoughtworks.com> wrote:

> Hi,
>
> For Data Set sections, there is no '*CODE*' field as of now. Also, custom*
> attributes* cannot be assigned to data set section. Is there any scope of
> incorporating these in the future, as we need an additional field to store
> some kind of code for data set sections.
>
>
>
> *Cheers,*
>
> Archana Chillala
> Application Developer
> Email archa...@thoughtworks.com
> Telephone +91 9100960533 <+91+9100960533>
> [image: ThoughtWorks]
> 
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
l...@dhis2.org
http://www.dhis2.org 
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs-core] Empty string as null

2016-07-26 Thread Morten Olav Hansen
Hi everyone

I have just committed some code that will deserialize all empty strings
into nulls, this applies to both metadata and data.

I don't think we should see much issues (except maybe catch a few bugs here
and there) but please report back if you see anything weird.

This applies to both JSON and XML payloads

-- 
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org
-- 
Mailing list: https://launchpad.net/~dhis2-devs-core
Post to : dhis2-devs-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs-core
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Analytics and disk space

2016-07-26 Thread Calle Hedberg
Hi,

One (presumably) simple solution is to stagger analytics on a year by year
basis - i.e. run and complete 2009 before processing 2010. That would
reduce temp disk space requirements significantly while (presumably) not
changing the general design.

Regards
Calle

On 26 July 2016 at 10:24, Jason Pickering 
wrote:

> Hi Devs,
> I am seeking some advice on how to try and decrease the amount of disk
> usage with DHIS2.
>
> Here is a list of the biggest tables in the system.
>
>  public.datavalue   | 2316 MB
>  public.datavalue_pkey | 1230 MB
>  public.in_datavalue_lastupdated  | 680 MB
>
>
> There are a lot more tables, and all in all, the database occupies about
> 5.4 GB without analytics.
>
> This represents about 30 million data rows, so not that big of a database
> really. This server is being run off of a Digital Ocean virtual server with
> 60 GB of disk space. The only thing on the server really is Linux,
> Postgresql and Tomcat. Nothing else. With out analytics and everything
> installed for the system, we have about 23% of that 60 GB free.
>
> When analytics runs, it maintains a copy of the main analytics tables (
> analytics_) and creates temp tables like analytics_temp_2004. When
> things are finished and the indexes are built, the tables are swapped. This
> ensures that analytics resources are available while analytics are being
> built, but the downside of this is that A LOT more disk space is required,
> as now we effectively have two copies of the tables along with all their
> indexes, which are quite large themselves (up to 60% the size of the table
> itself).  Here's what happens when analytics is run
>
>  public.analytics_temp_2015  | 1017 MB
>  public.analytics_temp_2014  | 985 MB
>  public.analytics_temp_2011  | 952 MB
>  public.analytics_temp_2010  | 918 MB
>  public.analytics_temp_2013  | 885 MB
>  public.analytics_temp_2012  | 835 MB
>  public.analytics_temp_2009  | 804 MB
>
> Now each analytics table is taking about 1 GB of space. In the end, it
> adds up to more than 60 GB and analytics fails to complete.
>
> So, while I understand the need for this functionality, I am wondering if
> we need a system option to allow the analytics tables to be dropped prior
> to regenerating them, or to have more control over the order in which they
> are generated (for instance to generate specific periods). I realize this
> can be done from the API or the scheduler, but only for the past three
> relative years.
>
>  The reason I am asking for this is because its a bit of a pain (at the
> moment) when using Digital Ocean as a service provider, since their stock
> disk storage is 60 GB. With other VPS providers (Amazon, Linode), its a bit
> easier, but DigitalOcean only supports block storage in two regions at the
> moment. Regardless, it would seem somewhat wasteful to have to have such a
> large amount of disk space, for such a relatively small database.
>
> Is this something we just need to plan for and maybe provide better
> documentation on, or should we think about trying to offer better
> functionality for people running smaller servers?
>
> Regards,
> Jason
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 

***

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

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

Skype: calle_hedberg

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


[Dhis2-devs] CODE field for Data Set Sections

2016-07-26 Thread Archana Chillala
Hi,

For Data Set sections, there is no '*CODE*' field as of now. Also, custom*
attributes* cannot be assigned to data set section. Is there any scope of
incorporating these in the future, as we need an additional field to store
some kind of code for data set sections.



*Cheers,*

Archana Chillala
Application Developer
Email archa...@thoughtworks.com
Telephone +91 9100960533 <+91+9100960533>
[image: ThoughtWorks]

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


[Dhis2-devs] Android Tracker Capture update

2016-07-26 Thread Erling Fjelstad
Hi everyone,

The Android team just released a new version of the Tracker Capture(version
0.3.14-2.24) to Google Play. This application is targeting DHIS 2.24 and
have the following new functionality:

- We have implemented a left hand side navigation menu which allows linking
to other DHIS 2 Android applications that is installed on the device, but
also in-app navigation.

- We have developed a new search button on the main screen. This is the
local detailed search which allows you to search on the combination of
tracked entity attributes to find your tracked entity instance.

- We have introduced a loading dialog which blocks user interaction while
program rules is calculating. This prevents users to enter or see data
elements which should be hidden, but is shown in some few milliseconds
(depending on the device and amount of program rules).

- We have better in-app user feedback. The app will let you know if you
don't have any organisation units assigned to user or a program is not
assigned to a organisation unit (This was the most frequent question we get
on the mailing list). Also the app is showing loading progress when
downloading tracked entity instances from the server.

- We have implemented a tool that helps us to see crash statistics. This
means that we can faster develop fixes if the app crashes and we don't
depend on the user reporting the crash to Google Play or at the mailing
list. It will also help us to discover crashes for those of you that is not
installing from Google Play.

- When downloading one tracked entity instance from the server, the app
will open the tracked entity instance dashboard automatically

- The tracked entity instance profile fragment asks if you want to discard
or save changes if you want to go back without pressing the save button

- Data entry rows of type checkbox is clickable from the whole row. This
means that you don't need to press the small checkbox.

- Data entry rows of type "text" or "long text" is auto capitalised on the
first letter.

- Performance improvements

- Bug fixes

If you have any questions about this, don't hesitate to ask. Also if you
have any feature requests, feel free to ask and we can discuss.

Regards,
Erling - DHIS2 Android Team
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Analytics and disk space

2016-07-26 Thread Jason Pickering
Hi Devs,
I am seeking some advice on how to try and decrease the amount of disk
usage with DHIS2.

Here is a list of the biggest tables in the system.

 public.datavalue   | 2316 MB
 public.datavalue_pkey | 1230 MB
 public.in_datavalue_lastupdated  | 680 MB


There are a lot more tables, and all in all, the database occupies about
5.4 GB without analytics.

This represents about 30 million data rows, so not that big of a database
really. This server is being run off of a Digital Ocean virtual server with
60 GB of disk space. The only thing on the server really is Linux,
Postgresql and Tomcat. Nothing else. With out analytics and everything
installed for the system, we have about 23% of that 60 GB free.

When analytics runs, it maintains a copy of the main analytics tables (
analytics_) and creates temp tables like analytics_temp_2004. When
things are finished and the indexes are built, the tables are swapped. This
ensures that analytics resources are available while analytics are being
built, but the downside of this is that A LOT more disk space is required,
as now we effectively have two copies of the tables along with all their
indexes, which are quite large themselves (up to 60% the size of the table
itself).  Here's what happens when analytics is run

 public.analytics_temp_2015  | 1017 MB
 public.analytics_temp_2014  | 985 MB
 public.analytics_temp_2011  | 952 MB
 public.analytics_temp_2010  | 918 MB
 public.analytics_temp_2013  | 885 MB
 public.analytics_temp_2012  | 835 MB
 public.analytics_temp_2009  | 804 MB

Now each analytics table is taking about 1 GB of space. In the end, it adds
up to more than 60 GB and analytics fails to complete.

So, while I understand the need for this functionality, I am wondering if
we need a system option to allow the analytics tables to be dropped prior
to regenerating them, or to have more control over the order in which they
are generated (for instance to generate specific periods). I realize this
can be done from the API or the scheduler, but only for the past three
relative years.

 The reason I am asking for this is because its a bit of a pain (at the
moment) when using Digital Ocean as a service provider, since their stock
disk storage is 60 GB. With other VPS providers (Amazon, Linode), its a bit
easier, but DigitalOcean only supports block storage in two regions at the
moment. Regardless, it would seem somewhat wasteful to have to have such a
large amount of disk space, for such a relatively small database.

Is this something we just need to plan for and maybe provide better
documentation on, or should we think about trying to offer better
functionality for people running smaller servers?

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


Re: [Dhis2-devs] Store external spreadheet-like data in DHIS2

2016-07-26 Thread Raminosoa Rabemanantsoa, Tantely
Hi Knut,

We are really interested in that app.

Regards,

Tantely

On Tue, Jul 26, 2016 at 9:31 AM, Knut Staring  wrote:

> Hi Jerome,
>
> not yet, I think. I will check the status of it and get back to you.
>
> Knut
>
> On Tue, Jul 26, 2016 at 12:59 PM, Jerome Shaguy 
> wrote:
>
>> Hi Knut,
>>
>> Is this app available on the playstore?
>>
>> On Tue, Jul 26, 2016 at 11:26 AM, Knut Staring  wrote:
>>
>>> If however you want to use the analytical output and visualization in
>>> DHIS2, there is now an app available that allows you to map the spreadsheet
>>> to data elements, periods and orgunits in DHIS2 - in other words, there is
>>> a way to import from Excel provided it the structure is relatively
>>> straightforward and mappable. But you will first have to make sure all the
>>> metadata is in DHIS2 or if not, create them.
>>>
>>> Knut
>>>
>>> On Mon, Jul 25, 2016 at 10:23 PM, Raminosoa Rabemanantsoa, Tantely <
>>> tramino...@mikolo.org> wrote:
>>>
 Hi Jason,

 Thank you for your suggestions. This is helpful.

 Regards

 Tantely

 Le 25 juil. 2016 18:34, "Jason Pickering" 
 a écrit :

 Hi Tantely,

 Please have a look here
 http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s12.html

 for how DHIS2 can be used to store file resources.

 Data stored there however will not be available for visualization or
 other analytics.

 Regards,
 Jason


 On Mon, Jul 25, 2016 at 4:43 PM, Raminosoa Rabemanantsoa, Tantely <
 tramino...@mikolo.org> wrote:

> Dear Community,
>
> I would like to use DHIS2, in addition to its classic uses (data
> capture, data analysis and reporting,...), to store a tabular data that is
> sourced from MS Excel spreadsheet (or probably from another database)
> without any link to organization unit, period or dataset. Would it be
> possible to integrate this tabular data directly into a dashboard? Or
> should I still prepare all the data elements to receive the spreadsheet
> cells values? Or what would be the best way to use the DHIS2 database to
> store the spreadsheet-like data? I plan to make this spreadsheet to be
> available in DHIS2 for the users to visualize or to download.
>
> Your suggestions are welcome.
>
> Ragards,
>
> Tantely.
>
> *This message and its attachments are confidential and solely for the
> intended recipients. If received in error, please delete them and notify
> the sender via reply e-mail immediately.*
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


 --
 Jason P. Pickering
 email: jason.p.picker...@gmail.com
 tel:+46764147049



 *This message and its attachments are confidential and solely for the
 intended recipients. If received in error, please delete them and notify
 the sender via reply e-mail immediately.*

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


>>>
>>>
>>> --
>>> Knut Staring
>>> Dept. of Informatics, University of Oslo
>>> Norway: +4791880522
>>> Skype: knutstar
>>> http://dhis2.org
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522
> Skype: knutstar
> http://dhis2.org
>

-- 
*This message and its attachments are confidential and solely for the 
intended recipients. If received in error, please delete them and notify 
the sender via reply e-mail immediately.*
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Plan for Metadata Sync /Versioning ongoing development

2016-07-26 Thread Morten Olav Hansen
Great

-- 
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org

On Tue, Jul 26, 2016 at 7:55 AM, Aamer Mohammed 
wrote:

> Thanks Morten. We will do the bugfixes and other changes related to
> metadata sync feature in our 2.24 branch(it is branched from DHIS 2.24
> branch).
> 
> https://code.launchpad.net/~twoca-devs/dhis2/twoca_2.24
> Once the patches are ready we will provide the details so that you can
> commit them to the main DHIS 2.24 branch and DHIS trunk as well.
>
>
> On Mon, Jul 25, 2016 at 2:07 PM, Morten Olav Hansen 
> wrote:
>
>> Hi Aamer
>>
>> What happens when we release a new version of DHIS 2 is that we branch of
>> <2.XX> version (2.24 now latest) and then continue doing development in
>> trunk branch, mainly this means that bugfixes goes into trunk/2,XX and new
>> features into trunk only.
>>
>> Probably it would be wise to follow this approach for your branch also 
>> (twoca_sync-trunk
>> / twoca_sync-2.24) as we do not want to backport big features into 2.24
>> which can cause issues with a stable branch.
>>
>> --
>> Morten Olav Hansen
>> Senior Engineer, DHIS 2
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Thu, Jul 14, 2016 at 6:54 AM, Aamer Mohammed 
>> wrote:
>>
>>> Hi Lars,
>>>
>>> If I understand it correctly, we will continue working on our trunk
>>> based branch and provide patches so that you can put them in trunk and also
>>> back-port the fix rev to 2.24 stable.
>>>
>>> Also we would like to understand the best practice around this. Can we
>>> continue using twoca_sync branch (the status of which is 'merged') or
>>> create a new trunk based branch (the status of which will be 'development')
>>>
>>>
>>> Thanks
>>> Aamer.
>>>
>>>
>>> On Wed, Jul 13, 2016 at 10:21 PM, Lars Helge Øverland 
>>> wrote:
>>>
 Hi Aamer,

 thanks for bringing this up.

 We always do new development against trunk (not stable release branches
 such as 2.24 etc).

 If you want to do minor features, minor improvements and bugfixes you
 can do that directly on trunk. If you want to develop larger new features
 we appreciate if you do that in a branch and go through the regular
 review/merge process.

 If you need to do bugfixes to what was released in 2.24, you first do
 the fix in trunk, and then we back-port the fix rev to 2.24 stable.


 best regards,

 Lars




 On Wed, Jul 13, 2016 at 8:01 AM, Aamer Mohammed <
 aam...@thoughtworks.com> wrote:

> Hi Lars and Team,
>
> As the branch https://code.launchpad.net/~twoca-devs/dhis2/twoca_sync is
> now merged in 2.24, we are continuing to test it further and also add some
> more features around it like controller layer test cases, etc...
> So we want to understand on how we can provide patches/fixes for the
> same in 2.24 and trunk as well.  Do we need to continue development on
> twoca_sync branch so that you can cherry pick the fixes in 2.24 and merge
> the same to trunk as well.
> Let us know your thoughts on this.
>
>
> Thanks
> Aamer.
>  
>
>
>


 --
 Lars Helge Øverland
 Lead developer, DHIS 2
 University of Oslo
 Skype: larshelgeoverland
 l...@dhis2.org
 http://www.dhis2.org 


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


Re: [Dhis2-devs] Extract Individual data from Web API

2016-07-26 Thread Morten Olav Hansen
Hi

Did you have a look at our /api/events documentation? [1] there are many
parameters you can apply to filter the results.

[1]
http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s19.html#d0e4505

-- 
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org

On Tue, Jul 26, 2016 at 7:52 AM, Muhammad Masud Parvez <
masud.par...@icddrb.org> wrote:

> Dear All,
>
>
>
> Greetings from Bangladesh.
>
>
>
> I am trying to extract individual patient data (Age, Sex) and his/her
> encounter data by DHIS2 web API.
>
> When I am extracting data using api/events I am getting lot more data.
>
>
>
> Any help on this regards is highly appreciated.
>
>
>
> Best Regards
>
>
>
> *Masud Parvez*
>
> CEH, MCITP, MCTS
>
> Analyst Programmer
>
> Health Systems and Population Studies Division
>
> International Centre for Diarrhoeal Disease Research (icddr,b)
>
> 68, Shaheed Tajuddin Ahmed Sarani, Mohakhali,
>
> Dhaka-1212, Bangladesh|
>
> Phone- 02-9827001-10 , Ext: 2244.
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Store external spreadheet-like data in DHIS2

2016-07-26 Thread Knut Staring
If however you want to use the analytical output and visualization in
DHIS2, there is now an app available that allows you to map the spreadsheet
to data elements, periods and orgunits in DHIS2 - in other words, there is
a way to import from Excel provided it the structure is relatively
straightforward and mappable. But you will first have to make sure all the
metadata is in DHIS2 or if not, create them.

Knut

On Mon, Jul 25, 2016 at 10:23 PM, Raminosoa Rabemanantsoa, Tantely <
tramino...@mikolo.org> wrote:

> Hi Jason,
>
> Thank you for your suggestions. This is helpful.
>
> Regards
>
> Tantely
>
> Le 25 juil. 2016 18:34, "Jason Pickering"  a
> écrit :
>
> Hi Tantely,
>
> Please have a look here
> http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s12.html
>
> for how DHIS2 can be used to store file resources.
>
> Data stored there however will not be available for visualization or other
> analytics.
>
> Regards,
> Jason
>
>
> On Mon, Jul 25, 2016 at 4:43 PM, Raminosoa Rabemanantsoa, Tantely <
> tramino...@mikolo.org> wrote:
>
>> Dear Community,
>>
>> I would like to use DHIS2, in addition to its classic uses (data capture,
>> data analysis and reporting,...), to store a tabular data that is sourced
>> from MS Excel spreadsheet (or probably from another database) without any
>> link to organization unit, period or dataset. Would it be possible to
>> integrate this tabular data directly into a dashboard? Or should I still
>> prepare all the data elements to receive the spreadsheet cells values? Or
>> what would be the best way to use the DHIS2 database to store the
>> spreadsheet-like data? I plan to make this spreadsheet to be available in
>> DHIS2 for the users to visualize or to download.
>>
>> Your suggestions are welcome.
>>
>> Ragards,
>>
>> Tantely.
>>
>> *This message and its attachments are confidential and solely for the
>> intended recipients. If received in error, please delete them and notify
>> the sender via reply e-mail immediately.*
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Jason P. Pickering
> email: jason.p.picker...@gmail.com
> tel:+46764147049
>
>
>
> *This message and its attachments are confidential and solely for the
> intended recipients. If received in error, please delete them and notify
> the sender via reply e-mail immediately.*
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Store external spreadheet-like data in DHIS2

2016-07-26 Thread Knut Staring
Hi Jerome,

not yet, I think. I will check the status of it and get back to you.

Knut

On Tue, Jul 26, 2016 at 12:59 PM, Jerome Shaguy 
wrote:

> Hi Knut,
>
> Is this app available on the playstore?
>
> On Tue, Jul 26, 2016 at 11:26 AM, Knut Staring  wrote:
>
>> If however you want to use the analytical output and visualization in
>> DHIS2, there is now an app available that allows you to map the spreadsheet
>> to data elements, periods and orgunits in DHIS2 - in other words, there is
>> a way to import from Excel provided it the structure is relatively
>> straightforward and mappable. But you will first have to make sure all the
>> metadata is in DHIS2 or if not, create them.
>>
>> Knut
>>
>> On Mon, Jul 25, 2016 at 10:23 PM, Raminosoa Rabemanantsoa, Tantely <
>> tramino...@mikolo.org> wrote:
>>
>>> Hi Jason,
>>>
>>> Thank you for your suggestions. This is helpful.
>>>
>>> Regards
>>>
>>> Tantely
>>>
>>> Le 25 juil. 2016 18:34, "Jason Pickering" 
>>> a écrit :
>>>
>>> Hi Tantely,
>>>
>>> Please have a look here
>>> http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s12.html
>>>
>>> for how DHIS2 can be used to store file resources.
>>>
>>> Data stored there however will not be available for visualization or
>>> other analytics.
>>>
>>> Regards,
>>> Jason
>>>
>>>
>>> On Mon, Jul 25, 2016 at 4:43 PM, Raminosoa Rabemanantsoa, Tantely <
>>> tramino...@mikolo.org> wrote:
>>>
 Dear Community,

 I would like to use DHIS2, in addition to its classic uses (data
 capture, data analysis and reporting,...), to store a tabular data that is
 sourced from MS Excel spreadsheet (or probably from another database)
 without any link to organization unit, period or dataset. Would it be
 possible to integrate this tabular data directly into a dashboard? Or
 should I still prepare all the data elements to receive the spreadsheet
 cells values? Or what would be the best way to use the DHIS2 database to
 store the spreadsheet-like data? I plan to make this spreadsheet to be
 available in DHIS2 for the users to visualize or to download.

 Your suggestions are welcome.

 Ragards,

 Tantely.

 *This message and its attachments are confidential and solely for the
 intended recipients. If received in error, please delete them and notify
 the sender via reply e-mail immediately.*
 ___
 Mailing list: https://launchpad.net/~dhis2-devs
 Post to : dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp


>>>
>>>
>>> --
>>> Jason P. Pickering
>>> email: jason.p.picker...@gmail.com
>>> tel:+46764147049
>>>
>>>
>>>
>>> *This message and its attachments are confidential and solely for the
>>> intended recipients. If received in error, please delete them and notify
>>> the sender via reply e-mail immediately.*
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Knut Staring
>> Dept. of Informatics, University of Oslo
>> Norway: +4791880522
>> Skype: knutstar
>> http://dhis2.org
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>


-- 
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Store external spreadheet-like data in DHIS2

2016-07-26 Thread Jerome Shaguy
Hi Knut,

Is this app available on the playstore?

On Tue, Jul 26, 2016 at 11:26 AM, Knut Staring  wrote:

> If however you want to use the analytical output and visualization in
> DHIS2, there is now an app available that allows you to map the spreadsheet
> to data elements, periods and orgunits in DHIS2 - in other words, there is
> a way to import from Excel provided it the structure is relatively
> straightforward and mappable. But you will first have to make sure all the
> metadata is in DHIS2 or if not, create them.
>
> Knut
>
> On Mon, Jul 25, 2016 at 10:23 PM, Raminosoa Rabemanantsoa, Tantely <
> tramino...@mikolo.org> wrote:
>
>> Hi Jason,
>>
>> Thank you for your suggestions. This is helpful.
>>
>> Regards
>>
>> Tantely
>>
>> Le 25 juil. 2016 18:34, "Jason Pickering" 
>> a écrit :
>>
>> Hi Tantely,
>>
>> Please have a look here
>> http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s12.html
>>
>> for how DHIS2 can be used to store file resources.
>>
>> Data stored there however will not be available for visualization or
>> other analytics.
>>
>> Regards,
>> Jason
>>
>>
>> On Mon, Jul 25, 2016 at 4:43 PM, Raminosoa Rabemanantsoa, Tantely <
>> tramino...@mikolo.org> wrote:
>>
>>> Dear Community,
>>>
>>> I would like to use DHIS2, in addition to its classic uses (data
>>> capture, data analysis and reporting,...), to store a tabular data that is
>>> sourced from MS Excel spreadsheet (or probably from another database)
>>> without any link to organization unit, period or dataset. Would it be
>>> possible to integrate this tabular data directly into a dashboard? Or
>>> should I still prepare all the data elements to receive the spreadsheet
>>> cells values? Or what would be the best way to use the DHIS2 database to
>>> store the spreadsheet-like data? I plan to make this spreadsheet to be
>>> available in DHIS2 for the users to visualize or to download.
>>>
>>> Your suggestions are welcome.
>>>
>>> Ragards,
>>>
>>> Tantely.
>>>
>>> *This message and its attachments are confidential and solely for the
>>> intended recipients. If received in error, please delete them and notify
>>> the sender via reply e-mail immediately.*
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Jason P. Pickering
>> email: jason.p.picker...@gmail.com
>> tel:+46764147049
>>
>>
>>
>> *This message and its attachments are confidential and solely for the
>> intended recipients. If received in error, please delete them and notify
>> the sender via reply e-mail immediately.*
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522
> Skype: knutstar
> http://dhis2.org
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Extract Individual data from Web API

2016-07-26 Thread Muhammad Masud Parvez
Dear All,

Greetings from Bangladesh.

I am trying to extract individual patient data (Age, Sex) and his/her encounter 
data by DHIS2 web API.
When I am extracting data using api/events I am getting lot more data.

Any help on this regards is highly appreciated.

Best Regards

Masud Parvez
CEH, MCITP, MCTS
Analyst Programmer
Health Systems and Population Studies Division
International Centre for Diarrhoeal Disease Research (icddr,b)
68, Shaheed Tajuddin Ahmed Sarani, Mohakhali,
Dhaka-1212, Bangladesh|
Phone- 02-9827001-10 , Ext: 2244.

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