Re: [Dhis2-devs] Fwd: 404 Error when trying to use the DHIS2 menu in an APP

2017-02-27 Thread Viet Nguyen
Hi Pooben,


 

Those are old scripts, please try to remove them from your app and see if
the error still occurs.

Regards,

On Fri, Feb 24, 2017 at 4:08 PM, Pooben Dass  wrote:

> Hi Devs
>
> Any information to assist with this error?
>
> Regards
> Pooben
>
> -- Forwarded message --
> From: Pooben Dass 
> Date: Tue, Feb 21, 2017 at 12:41 PM
> Subject: 404 Error when trying to use the DHIS2 menu in an APP
> To: dhis2-devs 
>
>
> Hi Devs
>
> Please can you assist me in getting the DHIS Menu to display in my app?
>
> I'm using dhis 2,25 build 8182981
>
> *and this is the error I receive on the console :-*
>
> jquery.min.js:2 GET http://localhost:9090/dhis/api
> /apps/api/me/profile.json 404 (Not Found)
> send @ jquery.min.js:2
> ajax @ jquery.min.js:2
> dhis2.menu.ui.initMenu @ dhis2.menu.ui.js:960
> (anonymous) @ dhis2.menu.ui.js:1266
> (anonymous) @ dhis2.menu.ui.js:1268
>
> jquery.min.js:2 GET http://localhost:9090/dhis/api
> /apps/dhis-web-commons/menu/getHelpPageLinkModule.action 404 (Not Found)
> send @ jquery.min.js:2
> ajax @ jquery.min.js:2
> dhis2.menu.ui.initMenu @ dhis2.menu.ui.js:955
> (anonymous) @ dhis2.menu.ui.js:1266
> (anonymous) @ dhis2.menu.ui.js:1268
>
> *This is the script as per the DHIS2 documentation:-*
>
> 
> 
> window.dhis2 = window.dhis2 || {};
> dhis2.settings = dhis2.settings || {};
> dhis2.settings.baseUrl = 'dhis';
> 
>
> *This is the script with the relative path I am using:-*
>
> 
>  
>
>
> *This message and any attachments are subject to a disclaimer published at
> 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
>  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-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 

Viet Nguyen
Software Developer, DHIS 2
University of Oslo
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] Fwd: 404 Error when trying to use the DHIS2 menu in an APP

2017-02-27 Thread Pooben Dass
Hi Viet Nguyen

I am trying to get the DHIS2 menu to display in my app, if I remove these
scripts - what script library to I need to replace it with?

Regards
Pooben

On Mon, Feb 27, 2017 at 10:20 AM, Viet Nguyen  wrote:

> Hi Pooben,
>
> 
>  
>
> Those are old scripts, please try to remove them from your app and see if
> the error still occurs.
>
> Regards,
>
> On Fri, Feb 24, 2017 at 4:08 PM, Pooben Dass  wrote:
>
>> Hi Devs
>>
>> Any information to assist with this error?
>>
>> Regards
>> Pooben
>>
>> -- Forwarded message --
>> From: Pooben Dass 
>> Date: Tue, Feb 21, 2017 at 12:41 PM
>> Subject: 404 Error when trying to use the DHIS2 menu in an APP
>> To: dhis2-devs 
>>
>>
>> Hi Devs
>>
>> Please can you assist me in getting the DHIS Menu to display in my app?
>>
>> I'm using dhis 2,25 build 8182981
>>
>> *and this is the error I receive on the console :-*
>>
>> jquery.min.js:2 GET http://localhost:9090/dhis/api
>> /apps/api/me/profile.json 404 (Not Found)
>> send @ jquery.min.js:2
>> ajax @ jquery.min.js:2
>> dhis2.menu.ui.initMenu @ dhis2.menu.ui.js:960
>> (anonymous) @ dhis2.menu.ui.js:1266
>> (anonymous) @ dhis2.menu.ui.js:1268
>>
>> jquery.min.js:2 GET http://localhost:9090/dhis/api
>> /apps/dhis-web-commons/menu/getHelpPageLinkModule.action 404 (Not Found)
>> send @ jquery.min.js:2
>> ajax @ jquery.min.js:2
>> dhis2.menu.ui.initMenu @ dhis2.menu.ui.js:955
>> (anonymous) @ dhis2.menu.ui.js:1266
>> (anonymous) @ dhis2.menu.ui.js:1268
>>
>> *This is the script as per the DHIS2 documentation:-*
>>
>> 
>> 
>> window.dhis2 = window.dhis2 || {};
>> dhis2.settings = dhis2.settings || {};
>> dhis2.settings.baseUrl = 'dhis';
>> 
>>
>> *This is the script with the relative path I am using:-*
>>
>> 
>>  
>>
>>
>> *This message and any attachments are subject to a disclaimer published
>> at 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
>>  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-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
>
> Viet Nguyen
> Software Developer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
>
>

-- 


*This message and any attachments are subject to a disclaimer published at 
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 
 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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Fwd: 404 Error when trying to use the DHIS2 menu in an APP

2017-02-27 Thread Viet Nguyen
Hi Pooben,

Please take the below file as an example. It's the main page of the
dashboard-app.

https://raw.githubusercontent.com/dhis2/dashboard-app/master/index.html

Regards,

On Mon, Feb 27, 2017 at 3:44 PM, Pooben Dass  wrote:

> Hi Viet Nguyen
>
> I am trying to get the DHIS2 menu to display in my app, if I remove these
> scripts - what script library to I need to replace it with?
>
> Regards
> Pooben
>
> On Mon, Feb 27, 2017 at 10:20 AM, Viet Nguyen  wrote:
>
>> Hi Pooben,
>>
>> 
>>  
>>
>> Those are old scripts, please try to remove them from your app and see if
>> the error still occurs.
>>
>> Regards,
>>
>> On Fri, Feb 24, 2017 at 4:08 PM, Pooben Dass  wrote:
>>
>>> Hi Devs
>>>
>>> Any information to assist with this error?
>>>
>>> Regards
>>> Pooben
>>>
>>> -- Forwarded message --
>>> From: Pooben Dass 
>>> Date: Tue, Feb 21, 2017 at 12:41 PM
>>> Subject: 404 Error when trying to use the DHIS2 menu in an APP
>>> To: dhis2-devs 
>>>
>>>
>>> Hi Devs
>>>
>>> Please can you assist me in getting the DHIS Menu to display in my app?
>>>
>>> I'm using dhis 2,25 build 8182981
>>>
>>> *and this is the error I receive on the console :-*
>>>
>>> jquery.min.js:2 GET http://localhost:9090/dhis/api
>>> /apps/api/me/profile.json 404 (Not Found)
>>> send @ jquery.min.js:2
>>> ajax @ jquery.min.js:2
>>> dhis2.menu.ui.initMenu @ dhis2.menu.ui.js:960
>>> (anonymous) @ dhis2.menu.ui.js:1266
>>> (anonymous) @ dhis2.menu.ui.js:1268
>>>
>>> jquery.min.js:2 GET http://localhost:9090/dhis/api
>>> /apps/dhis-web-commons/menu/getHelpPageLinkModule.action 404 (Not Found)
>>> send @ jquery.min.js:2
>>> ajax @ jquery.min.js:2
>>> dhis2.menu.ui.initMenu @ dhis2.menu.ui.js:955
>>> (anonymous) @ dhis2.menu.ui.js:1266
>>> (anonymous) @ dhis2.menu.ui.js:1268
>>>
>>> *This is the script as per the DHIS2 documentation:-*
>>>
>>> 
>>> 
>>> window.dhis2 = window.dhis2 || {};
>>> dhis2.settings = dhis2.settings || {};
>>> dhis2.settings.baseUrl = 'dhis';
>>> 
>>>
>>> *This is the script with the relative path I am using:-*
>>>
>>> 
>>>  
>>>
>>>
>>> *This message and any attachments are subject to a disclaimer published
>>> at 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
>>>  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-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>>
>> Viet Nguyen
>> Software Developer, DHIS 2
>> University of Oslo
>> http://www.dhis2.org
>>
>>
>>
>
> *This message and any attachments are subject to a disclaimer published at
> 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
>  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.*
>



-- 

Viet Nguyen
Software Developer, DHIS 2
University of Oslo
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] Fwd: 404 Error when trying to use the DHIS2 menu in an APP

2017-02-27 Thread Pooben Dass
Hi Viet

Thanks. I will have a look at this.

I was following the example in the DHIS2 documentation here
https://docs.dhis2.org/master/en/developer/html/apps_adding_menu_to_you_app.html.
Perhaps that can be updated to the correct example.

Regards
Pooben


On Mon, Feb 27, 2017 at 10:54 AM, Viet Nguyen  wrote:

> Hi Pooben,
>
> Please take the below file as an example. It's the main page of the
> dashboard-app.
>
> https://raw.githubusercontent.com/dhis2/dashboard-app/master/index.html
>
> Regards,
>
> On Mon, Feb 27, 2017 at 3:44 PM, Pooben Dass  wrote:
>
>> Hi Viet Nguyen
>>
>> I am trying to get the DHIS2 menu to display in my app, if I remove these
>> scripts - what script library to I need to replace it with?
>>
>> Regards
>> Pooben
>>
>> On Mon, Feb 27, 2017 at 10:20 AM, Viet Nguyen  wrote:
>>
>>> Hi Pooben,
>>>
>>> 
>>>  
>>>
>>> Those are old scripts, please try to remove them from your app and see
>>> if the error still occurs.
>>>
>>> Regards,
>>>
>>> On Fri, Feb 24, 2017 at 4:08 PM, Pooben Dass  wrote:
>>>
 Hi Devs

 Any information to assist with this error?

 Regards
 Pooben

 -- Forwarded message --
 From: Pooben Dass 
 Date: Tue, Feb 21, 2017 at 12:41 PM
 Subject: 404 Error when trying to use the DHIS2 menu in an APP
 To: dhis2-devs 


 Hi Devs

 Please can you assist me in getting the DHIS Menu to display in my app?

 I'm using dhis 2,25 build 8182981

 *and this is the error I receive on the console :-*

 jquery.min.js:2 GET http://localhost:9090/dhis/api
 /apps/api/me/profile.json 404 (Not Found)
 send @ jquery.min.js:2
 ajax @ jquery.min.js:2
 dhis2.menu.ui.initMenu @ dhis2.menu.ui.js:960
 (anonymous) @ dhis2.menu.ui.js:1266
 (anonymous) @ dhis2.menu.ui.js:1268

 jquery.min.js:2 GET http://localhost:9090/dhis/api
 /apps/dhis-web-commons/menu/getHelpPageLinkModule.action 404 (Not
 Found)
 send @ jquery.min.js:2
 ajax @ jquery.min.js:2
 dhis2.menu.ui.initMenu @ dhis2.menu.ui.js:955
 (anonymous) @ dhis2.menu.ui.js:1266
 (anonymous) @ dhis2.menu.ui.js:1268

 *This is the script as per the DHIS2 documentation:-*

 
 
 window.dhis2 = window.dhis2 || {};
 dhis2.settings = dhis2.settings || {};
 dhis2.settings.baseUrl = 'dhis';
 

 *This is the script with the relative path I am using:-*

 
  


 *This message and any attachments are subject to a disclaimer published
 at 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
  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-devs
 Post to : dhis2-devs@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~dhis2-devs
 More help   : https://help.launchpad.net/ListHelp


>>>
>>>
>>> --
>>>
>>> Viet Nguyen
>>> Software Developer, DHIS 2
>>> University of Oslo
>>> http://www.dhis2.org
>>>
>>>
>>>
>>
>> *This message and any attachments are subject to a disclaimer published
>> at 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
>>  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.*
>>
>
>
>
> --
>
> Viet Nguyen
> Software Developer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
>
>

-- 


*This message and any attachments are subject to a disclaimer published at 
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 
 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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : ht

[Dhis2-devs] Integration of Electronic Tuberculosis Management (eTBM) with DHIS2

2017-02-27 Thread Julhas Sujan
Dear All,

Good evening!

We are working on DHIS2 TB-10,11 and 12 forms (for Bangladesh) to integrate
with external eTB manager application . The TB
forms have developed in DHIS2 for collecting TB -10,11 and 12 data from
Upazila level in Bangladesh but we have a local level application(eTBM)
that is using to collect individual case record and generate aggregated
TB-10,11 and 12 reports. Now  our goal is to integrate eTMB with DHIS2 TB
forms.

Already we have tested the integration that is working fine. But we are
facing a problem with deleting existing records of these forms. I have a
question on it:

*Is there any way of requesting DHIS2 to clear or delete the whole TB 10
form for a specific orgunit and period before sending the external data?*


Thank you very much for your co-operations.


*If you have any questions or concerns, don’t hesitate to let me know.*

*Best Regards*
*Julhas Sujan*
Senior Java Programmer
Management Science for Health(MSH)
Dhaka, Bangladesh
Cell: +8801989 442856
Skype: julhas08
​
www.msh.org http://siapsprogram.org/wherewework/bangladesh/
___
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] Integration of Electronic Tuberculosis Management (eTBM) with DHIS2

2017-02-27 Thread Kamugunga Adolphe
Dear Sujan,
Here in Rwanda, we have implemented TB and MDR TB tracking systems in
DHIS2, collecting  summarized patient level data to generate quarterly
forms but when it comes to delete records for different reasons into this
multi-stages system we re also having hard time to delete recorded data.
dhis2.25 has an option of deleting cases reported and through Data
administration-Maintenance  you can "Permanently remove soft deleted data
values" , for some case it works  and if i am not mistaken you delete
records one by one, you can't select a list of records  and delete them once

Regards,


*Adolphe Kamugunga*
*MIS Technical Advisor*
Mobile: +250 788 740 578
Email:kaa...@gmail.com
Skype: ka.adolphe
 RWANDA


On 27 February 2017 at 13:43, Julhas Sujan  wrote:

> Dear All,
>
> Good evening!
>
> We are working on DHIS2 TB-10,11 and 12 forms (for Bangladesh) to
> integrate with external eTB manager application .
> The TB forms have developed in DHIS2 for collecting TB -10,11 and 12 data
> from Upazila level in Bangladesh but we have a local level
> application(eTBM) that is using to collect individual case record and
> generate aggregated TB-10,11 and 12 reports. Now  our goal is to integrate
> eTMB with DHIS2 TB forms.
>
> Already we have tested the integration that is working fine. But we are
> facing a problem with deleting existing records of these forms. I have a
> question on it:
>
> *Is there any way of requesting DHIS2 to clear or delete the whole TB 10
> form for a specific orgunit and period before sending the external data?*
>
>
> Thank you very much for your co-operations.
>
>
> *If you have any questions or concerns, don’t hesitate to let me know.*
>
> *Best Regards*
> *Julhas Sujan*
> Senior Java Programmer
> Management Science for Health(MSH)
> Dhaka, Bangladesh
> Cell: +8801989 442856
> Skype: julhas08
> ​
> www.msh.org http://siapsprogram.org/wherewework/bangladesh/
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Integration of Electronic Tuberculosis Management (eTBM) with DHIS2

2017-02-27 Thread Julhas Sujan
Hi Adolphe,

Thank you very much. Yes we are deleting records one by one but we need to
delete all records of a form for a single orgunit and period.



*Best Regards*

*Julhas *

On Mon, Feb 27, 2017 at 8:14 PM, Kamugunga Adolphe  wrote:

> Dear Sujan,
> Here in Rwanda, we have implemented TB and MDR TB tracking systems in
> DHIS2, collecting  summarized patient level data to generate quarterly
> forms but when it comes to delete records for different reasons into this
> multi-stages system we re also having hard time to delete recorded data.
> dhis2.25 has an option of deleting cases reported and through Data
> administration-Maintenance  you can "Permanently remove soft deleted data
> values" , for some case it works  and if i am not mistaken you delete
> records one by one, you can't select a list of records  and delete them once
>
> Regards,
>
>
> *Adolphe Kamugunga*
> *MIS Technical Advisor*
> Mobile: +250 788 740 578 <+250%20788%20740%20578>
> Email:kaa...@gmail.com
> Skype: ka.adolphe
>  RWANDA
>
>
> On 27 February 2017 at 13:43, Julhas Sujan 
> wrote:
>
>> Dear All,
>>
>> Good evening!
>>
>> We are working on DHIS2 TB-10,11 and 12 forms (for Bangladesh) to
>> integrate with external eTB manager application
>> . The TB forms have developed in DHIS2 for
>> collecting TB -10,11 and 12 data from Upazila level in Bangladesh but we
>> have a local level application(eTBM) that is using to collect individual
>> case record and generate aggregated TB-10,11 and 12 reports. Now  our goal
>> is to integrate eTMB with DHIS2 TB forms.
>>
>> Already we have tested the integration that is working fine. But we are
>> facing a problem with deleting existing records of these forms. I have a
>> question on it:
>>
>> *Is there any way of requesting DHIS2 to clear or delete the whole TB 10
>> form for a specific orgunit and period before sending the external data?*
>>
>>
>> Thank you very much for your co-operations.
>>
>>
>> *If you have any questions or concerns, don’t hesitate to let me know.*
>>
>> *Best Regards*
>> *Julhas Sujan*
>> Senior Java Programmer
>> Management Science for Health(MSH)
>> Dhaka, Bangladesh
>> Cell: +8801989 442856
>> Skype: julhas08
>> ​
>> www.msh.org http://siapsprogram.org/wherewework/bangladesh/
>>
>> ___
>> 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] Aggregated Data Capture using Android app

2017-02-27 Thread gerald thomas
Dear All,
We want to capture our aggregated data (HF1 to HF8 forms) at CHC level
(partial electricity & network coverage) to an android device and
later synced all information to our cloud hosting instance. Please can
anyone help me with the procedures to achieve it. I will also like to
know the challenges colleagues face and their approach to tackle these
issues.

Thanks in advance for your help.
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] [Dhis2-users] Integration of Electronic Tuberculosis Management (eTBM) with DHIS2

2017-02-27 Thread Lars Helge Øverland
Hi Julhas,

that's an interesting problem. We could certainly implement support for
deletion per org unit/period.

I would however recommend another approach: For each aggregate report you
send from eTBM, make sure you send a value, including 0, for* each field*
in the aggregate TB form. This will make your information more explicit,
ie. you communicate that for all data element + category option combos
exactly how many cases you have. The benefit then is that if cases are
deleted in the upstream system (eTBM), it will be correctly reflected in
the aggregate form in DHIS 2.

This will be semantically more correct than simply dropping all data values
first. I.e. when you look at the audit logs for each data element, you will
see that a value changed from a positive value, then potentially to a 0
value. This will look better compared to audit logs showing that all values
were deleted every day. This will improve auditability and data validation.

Of course this might lead to the aggregate export payload becoming a bit
bigger, but I think that can be justified. You can also make sure that the
TB data elements are set to "zero not significant", which will delete or
not store 0 values on the DHIS 2 side.

Let me know if this sounds reasonable.

best,

Lars










On Mon, Feb 27, 2017 at 12:43 PM, Julhas Sujan 
wrote:

> Dear All,
>
> Good evening!
>
> We are working on DHIS2 TB-10,11 and 12 forms (for Bangladesh) to
> integrate with external eTB manager application .
> The TB forms have developed in DHIS2 for collecting TB -10,11 and 12 data
> from Upazila level in Bangladesh but we have a local level
> application(eTBM) that is using to collect individual case record and
> generate aggregated TB-10,11 and 12 reports. Now  our goal is to integrate
> eTMB with DHIS2 TB forms.
>
> Already we have tested the integration that is working fine. But we are
> facing a problem with deleting existing records of these forms. I have a
> question on it:
>
> *Is there any way of requesting DHIS2 to clear or delete the whole TB 10
> form for a specific orgunit and period before sending the external data?*
>
>
> Thank you very much for your co-operations.
>
>
> *If you have any questions or concerns, don’t hesitate to let me know.*
>
> *Best Regards*
> *Julhas Sujan*
> Senior Java Programmer
> Management Science for Health(MSH)
> Dhaka, Bangladesh
> Cell: +8801989 442856
> Skype: julhas08
> ​
> www.msh.org http://siapsprogram.org/wherewework/bangladesh/
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
l...@dhis2.org
http://www.dhis2.org 
___
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] Aggregated Data Capture using Android app

2017-02-27 Thread Araz Abishov
Hi Gerald,

Do you questions regarding android specifically or more about configuration
part of the server?

Best regards,

—
Araz Abishov,
Android developer, DHIS 2
University of Oslo
https://www.dhis2.org/

On February 27, 2017 at 3:15:27 PM, gerald thomas (gerald17...@gmail.com)
wrote:

Dear All,
We want to capture our aggregated data (HF1 to HF8 forms) at CHC level
(partial electricity & network coverage) to an android device and
later synced all information to our cloud hosting instance. Please can
anyone help me with the procedures to achieve it. I will also like to
know the challenges colleagues face and their approach to tackle these
issues.

Thanks in advance for your help.
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


Re: [Dhis2-devs] [Dhis2-users] Integration of Electronic Tuberculosis Management (eTBM) with DHIS2

2017-02-27 Thread Julhas Sujan
Hi Lars,

Thank you very much. Yes this is possible to set zero for each field. I
will follow your recommendation and share with you the update.


*Best Regards*

*Julhas *

On Mon, Feb 27, 2017 at 8:59 PM, Lars Helge Øverland  wrote:

> Hi Julhas,
>
> that's an interesting problem. We could certainly implement support for
> deletion per org unit/period.
>
> I would however recommend another approach: For each aggregate report you
> send from eTBM, make sure you send a value, including 0, for* each field*
> in the aggregate TB form. This will make your information more explicit,
> ie. you communicate that for all data element + category option combos
> exactly how many cases you have. The benefit then is that if cases are
> deleted in the upstream system (eTBM), it will be correctly reflected in
> the aggregate form in DHIS 2.
>
> This will be semantically more correct than simply dropping all data
> values first. I.e. when you look at the audit logs for each data element,
> you will see that a value changed from a positive value, then potentially
> to a 0 value. This will look better compared to audit logs showing that all
> values were deleted every day. This will improve auditability and data
> validation.
>
> Of course this might lead to the aggregate export payload becoming a bit
> bigger, but I think that can be justified. You can also make sure that the
> TB data elements are set to "zero not significant", which will delete or
> not store 0 values on the DHIS 2 side.
>
> Let me know if this sounds reasonable.
>
> best,
>
> Lars
>
>
>
>
>
>
>
>
>
>
> On Mon, Feb 27, 2017 at 12:43 PM, Julhas Sujan 
> wrote:
>
>> Dear All,
>>
>> Good evening!
>>
>> We are working on DHIS2 TB-10,11 and 12 forms (for Bangladesh) to
>> integrate with external eTB manager application
>> . The TB forms have developed in DHIS2 for
>> collecting TB -10,11 and 12 data from Upazila level in Bangladesh but we
>> have a local level application(eTBM) that is using to collect individual
>> case record and generate aggregated TB-10,11 and 12 reports. Now  our goal
>> is to integrate eTMB with DHIS2 TB forms.
>>
>> Already we have tested the integration that is working fine. But we are
>> facing a problem with deleting existing records of these forms. I have a
>> question on it:
>>
>> *Is there any way of requesting DHIS2 to clear or delete the whole TB 10
>> form for a specific orgunit and period before sending the external data?*
>>
>>
>> Thank you very much for your co-operations.
>>
>>
>> *If you have any questions or concerns, don’t hesitate to let me know.*
>>
>> *Best Regards*
>> *Julhas Sujan*
>> Senior Java Programmer
>> Management Science for Health(MSH)
>> Dhaka, Bangladesh
>> Cell: +8801989 442856
>> Skype: julhas08
>> ​
>> www.msh.org http://siapsprogram.org/wherewework/bangladesh/
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> l...@dhis2.org
> http://www.dhis2.org 
>
>
___
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] Aggregated Data Capture using Android app

2017-02-27 Thread gerald thomas
Araz,
This is very new to me and i will like to know the best possible way
we should implement this project. Please if you can kindly share
everything with reference to similar project(s), i will be grateful.
Also i know there will be challenges with reference to android
devices, so i am kindly requesting that you should advice on the best
android tablet specification for this project.

On 2/27/17, Araz Abishov  wrote:
> Hi Gerald,
>
> Do you questions regarding android specifically or more about configuration
> part of the server?
>
> Best regards,
>
> —
> Araz Abishov,
> Android developer, DHIS 2
> University of Oslo
> https://www.dhis2.org/
>
> On February 27, 2017 at 3:15:27 PM, gerald thomas (gerald17...@gmail.com)
> wrote:
>
> Dear All,
> We want to capture our aggregated data (HF1 to HF8 forms) at CHC level
> (partial electricity & network coverage) to an android device and
> later synced all information to our cloud hosting instance. Please can
> anyone help me with the procedures to achieve it. I will also like to
> know the challenges colleagues face and their approach to tackle these
> issues.
>
> Thanks in advance for your help.
> 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
>


-- 
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] new trunk dhis2-core version problem

2017-02-27 Thread 林晓东
other app can work





--

此致

   林晓东

莫愁前路无知己,天下谁人不识君。

在 2017-02-27 09:26:30,"Morten Olav Hansen"  写道:

Hi


And this you built yourself? are any other URLs working? like 
/dhis-web-pivot/ ?


Did you also try and download a prebuilt war file? did that work for you?


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


On Sun, Feb 26, 2017 at 10:18 PM, 林晓东  wrote:

Thanks.   but after login into system cause blank page, no dashboard app

-
HTTP Status 404 - /dhis/dhis-web-dashboard-integration/index.html

type Status report

message /dhis/dhis-web-dashboard-integration/index.html

description The requested resource is not available.

Apache Tomcat/8.0.14

easy

在 2017-02-26 18:57:09,"Calle Hedberg"  写道:

Hi


I guess this re-factoring might explain why build sizes are fluctuating so much 
- for 2.26, it's been jumping back and forth between 169mb and 180mb...


Regards
Calle


On 26 February 2017 at 07:22, Morten Olav Hansen  wrote:

Hi


The dashboard has been refactored into an app (like many of our old Java 
modules), you can find it at [1], it will automatically be integrated into the 
build (as a dependency) when you are building the project.


[1] https://github.com/dhis2/dashboard-app


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


On Sun, Feb 26, 2017 at 9:55 AM, 林晓东  wrote:

I found to compile new trunk version from github cause there no dashboard 
integration package in the dhis.war


  somebody has the same problem? 





--

此致
 easy
莫愁前路无知己,天下谁人不识君。




 



___
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







--


***

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


Re: [Dhis2-devs] [Dhis2-users] Integration of Electronic Tuberculosis Management (eTBM) with DHIS2

2017-02-27 Thread Hannan Khan
We are not allowing '0' in the data until and unless it is essential. In
your case '0' will be you significant amount; so we cant allow that.

On Mon, Feb 27, 2017 at 9:25 PM, Julhas Sujan 
wrote:

> Hi Lars,
>
> Thank you very much. Yes this is possible to set zero for each field. I
> will follow your recommendation and share with you the update.
>
>
> *Best Regards*
>
> *Julhas *
>
> On Mon, Feb 27, 2017 at 8:59 PM, Lars Helge Øverland 
> wrote:
>
>> Hi Julhas,
>>
>> that's an interesting problem. We could certainly implement support for
>> deletion per org unit/period.
>>
>> I would however recommend another approach: For each aggregate report you
>> send from eTBM, make sure you send a value, including 0, for* each field*
>> in the aggregate TB form. This will make your information more explicit,
>> ie. you communicate that for all data element + category option combos
>> exactly how many cases you have. The benefit then is that if cases are
>> deleted in the upstream system (eTBM), it will be correctly reflected in
>> the aggregate form in DHIS 2.
>>
>> This will be semantically more correct than simply dropping all data
>> values first. I.e. when you look at the audit logs for each data element,
>> you will see that a value changed from a positive value, then potentially
>> to a 0 value. This will look better compared to audit logs showing that all
>> values were deleted every day. This will improve auditability and data
>> validation.
>>
>> Of course this might lead to the aggregate export payload becoming a bit
>> bigger, but I think that can be justified. You can also make sure that the
>> TB data elements are set to "zero not significant", which will delete or
>> not store 0 values on the DHIS 2 side.
>>
>> Let me know if this sounds reasonable.
>>
>> best,
>>
>> Lars
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Mon, Feb 27, 2017 at 12:43 PM, Julhas Sujan 
>> wrote:
>>
>>> Dear All,
>>>
>>> Good evening!
>>>
>>> We are working on DHIS2 TB-10,11 and 12 forms (for Bangladesh) to
>>> integrate with external eTB manager application
>>> . The TB forms have developed in DHIS2 for
>>> collecting TB -10,11 and 12 data from Upazila level in Bangladesh but we
>>> have a local level application(eTBM) that is using to collect individual
>>> case record and generate aggregated TB-10,11 and 12 reports. Now  our goal
>>> is to integrate eTMB with DHIS2 TB forms.
>>>
>>> Already we have tested the integration that is working fine. But we are
>>> facing a problem with deleting existing records of these forms. I have a
>>> question on it:
>>>
>>> *Is there any way of requesting DHIS2 to clear or delete the whole TB 10
>>> form for a specific orgunit and period before sending the external data?*
>>>
>>>
>>> Thank you very much for your co-operations.
>>>
>>>
>>> *If you have any questions or concerns, don’t hesitate to let me know.*
>>>
>>> *Best Regards*
>>> *Julhas Sujan*
>>> Senior Java Programmer
>>> Management Science for Health(MSH)
>>> Dhaka, Bangladesh
>>> Cell: +8801989 442856
>>> Skype: julhas08
>>> ​
>>> www.msh.org http://siapsprogram.org/wherewework/bangladesh/
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-us...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Lars Helge Øverland
>> Lead developer, DHIS 2
>> University of Oslo
>> Skype: larshelgeoverland
>> l...@dhis2.org
>> http://www.dhis2.org 
>>
>>
>
> ___
> 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
>
>


-- 
Muhammad Abdul Hannan Khan
DHIS2 Country coordinator & Secretary
HISP Bangladesh

T +880-2- 8816459, 8816412 ext 118
F +88 02 8813 875
M+88 01819 239 241
M+88 01534 312 066
E hann...@gmail.com
S hannan.khan.dhaka
B hannan-tech.blogspot.com
L https://bd.linkedin.com/in/hannankhan
___
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] Integration of Electronic Tuberculosis Management (eTBM) with DHIS2

2017-02-27 Thread Hannan Khan
Dear Julhas

Please be note that, for security reason we are not allowing 'data delete'
from any data set through API externally if it is not exclusive (data only
enter through API). So audit log is monitored. If identifies the user could
be blocked. As your eTB system suppose to be send aggregated data to
national country wide DHIS2, make sure that, it is tested properly,
reviewed by us and only then you could have access to the live production
system.

API from external source are only allowed 'insert' and 'update'. System
security will not be compromised.

Regards

On Mon, Feb 27, 2017 at 8:59 PM, Lars Helge Øverland  wrote:

> Hi Julhas,
>
> that's an interesting problem. We could certainly implement support for
> deletion per org unit/period.
>
> I would however recommend another approach: For each aggregate report you
> send from eTBM, make sure you send a value, including 0, for* each field*
> in the aggregate TB form. This will make your information more explicit,
> ie. you communicate that for all data element + category option combos
> exactly how many cases you have. The benefit then is that if cases are
> deleted in the upstream system (eTBM), it will be correctly reflected in
> the aggregate form in DHIS 2.
>
> This will be semantically more correct than simply dropping all data
> values first. I.e. when you look at the audit logs for each data element,
> you will see that a value changed from a positive value, then potentially
> to a 0 value. This will look better compared to audit logs showing that all
> values were deleted every day. This will improve auditability and data
> validation.
>
> Of course this might lead to the aggregate export payload becoming a bit
> bigger, but I think that can be justified. You can also make sure that the
> TB data elements are set to "zero not significant", which will delete or
> not store 0 values on the DHIS 2 side.
>
> Let me know if this sounds reasonable.
>
> best,
>
> Lars
>
>
>
>
>
>
>
>
>
>
> On Mon, Feb 27, 2017 at 12:43 PM, Julhas Sujan 
> wrote:
>
>> Dear All,
>>
>> Good evening!
>>
>> We are working on DHIS2 TB-10,11 and 12 forms (for Bangladesh) to
>> integrate with external eTB manager application
>> . The TB forms have developed in DHIS2 for
>> collecting TB -10,11 and 12 data from Upazila level in Bangladesh but we
>> have a local level application(eTBM) that is using to collect individual
>> case record and generate aggregated TB-10,11 and 12 reports. Now  our goal
>> is to integrate eTMB with DHIS2 TB forms.
>>
>> Already we have tested the integration that is working fine. But we are
>> facing a problem with deleting existing records of these forms. I have a
>> question on it:
>>
>> *Is there any way of requesting DHIS2 to clear or delete the whole TB 10
>> form for a specific orgunit and period before sending the external data?*
>>
>>
>> Thank you very much for your co-operations.
>>
>>
>> *If you have any questions or concerns, don’t hesitate to let me know.*
>>
>> *Best Regards*
>> *Julhas Sujan*
>> Senior Java Programmer
>> Management Science for Health(MSH)
>> Dhaka, Bangladesh
>> Cell: +8801989 442856
>> Skype: julhas08
>> ​
>> www.msh.org http://siapsprogram.org/wherewework/bangladesh/
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> l...@dhis2.org
> http://www.dhis2.org 
>
>
> ___
> 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
>
>


-- 
Muhammad Abdul Hannan Khan
DHIS2 Country coordinator & Secretary
HISP Bangladesh

T +880-2- 8816459, 8816412 ext 118
F +88 02 8813 875
M+88 01819 239 241
M+88 01534 312 066
E hann...@gmail.com
S hannan.khan.dhaka
B hannan-tech.blogspot.com
L https://bd.linkedin.com/in/hannankhan
___
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] Integration of Electronic Tuberculosis Management (eTBM) with DHIS2

2017-02-27 Thread Hannan Khan
Thanks Adolphe.

Our plan is to implement DHIS2 tracker as well. We are gradually moving
towards DHIS2 TB Tracker, so your experience will be helpful for us.
Hopefully in the next financial year we can move towards DHIS2 TB tracker.

Regards

Hannan

On Mon, Feb 27, 2017 at 8:14 PM, Kamugunga Adolphe  wrote:

> Dear Sujan,
> Here in Rwanda, we have implemented TB and MDR TB tracking systems in
> DHIS2, collecting  summarized patient level data to generate quarterly
> forms but when it comes to delete records for different reasons into this
> multi-stages system we re also having hard time to delete recorded data.
> dhis2.25 has an option of deleting cases reported and through Data
> administration-Maintenance  you can "Permanently remove soft deleted data
> values" , for some case it works  and if i am not mistaken you delete
> records one by one, you can't select a list of records  and delete them once
>
> Regards,
>
>
> *Adolphe Kamugunga*
> *MIS Technical Advisor*
> Mobile: +250 788 740 578 <+250%20788%20740%20578>
> Email:kaa...@gmail.com
> Skype: ka.adolphe
>  RWANDA
>
>
> On 27 February 2017 at 13:43, Julhas Sujan 
> wrote:
>
>> Dear All,
>>
>> Good evening!
>>
>> We are working on DHIS2 TB-10,11 and 12 forms (for Bangladesh) to
>> integrate with external eTB manager application
>> . The TB forms have developed in DHIS2 for
>> collecting TB -10,11 and 12 data from Upazila level in Bangladesh but we
>> have a local level application(eTBM) that is using to collect individual
>> case record and generate aggregated TB-10,11 and 12 reports. Now  our goal
>> is to integrate eTMB with DHIS2 TB forms.
>>
>> Already we have tested the integration that is working fine. But we are
>> facing a problem with deleting existing records of these forms. I have a
>> question on it:
>>
>> *Is there any way of requesting DHIS2 to clear or delete the whole TB 10
>> form for a specific orgunit and period before sending the external data?*
>>
>>
>> Thank you very much for your co-operations.
>>
>>
>> *If you have any questions or concerns, don’t hesitate to let me know.*
>>
>> *Best Regards*
>> *Julhas Sujan*
>> Senior Java Programmer
>> Management Science for Health(MSH)
>> Dhaka, Bangladesh
>> Cell: +8801989 442856
>> Skype: julhas08
>> ​
>> www.msh.org http://siapsprogram.org/wherewework/bangladesh/
>>
>> ___
>> 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-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Muhammad Abdul Hannan Khan
DHIS2 Country coordinator & Secretary
HISP Bangladesh

T +880-2- 8816459, 8816412 ext 118
F +88 02 8813 875
M+88 01819 239 241
M+88 01534 312 066
E hann...@gmail.com
S hannan.khan.dhaka
B hannan-tech.blogspot.com
L https://bd.linkedin.com/in/hannankhan
___
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] Aggregated Data Capture using Android app

2017-02-27 Thread Calle Hedberg
Araz,

I've just assisted Gerald with getting into the "Data capture for DHIS2"
app - the server is running 2.25 and we downloaded the latest app from
Google store.

What is really perplexing is that the app only shows ONE data set - the one
called "Population estimates". Furthermore, the data elements under that
data set are old elements that were removed over a month ago - and none of
the current population data elements are showing.

I cannot see any menu option for refreshing the database or anything like
that - there is only "Aggregate Report" and then "Choose Organisation Unit".

Is that app supported under 2.25?

Regards
Calle

On 27 February 2017 at 17:27, gerald thomas  wrote:

> Araz,
> This is very new to me and i will like to know the best possible way
> we should implement this project. Please if you can kindly share
> everything with reference to similar project(s), i will be grateful.
> Also i know there will be challenges with reference to android
> devices, so i am kindly requesting that you should advice on the best
> android tablet specification for this project.
>
> On 2/27/17, Araz Abishov  wrote:
> > Hi Gerald,
> >
> > Do you questions regarding android specifically or more about
> configuration
> > part of the server?
> >
> > Best regards,
> >
> > —
> > Araz Abishov,
> > Android developer, DHIS 2
> > University of Oslo
> > https://www.dhis2.org/
> >
> > On February 27, 2017 at 3:15:27 PM, gerald thomas (gerald17...@gmail.com
> )
> > wrote:
> >
> > Dear All,
> > We want to capture our aggregated data (HF1 to HF8 forms) at CHC level
> > (partial electricity & network coverage) to an android device and
> > later synced all information to our cloud hosting instance. Please can
> > anyone help me with the procedures to achieve it. I will also like to
> > know the challenges colleagues face and their approach to tackle these
> > issues.
> >
> > Thanks in advance for your help.
> > 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
> >
>
>
> --
> 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
>



-- 

***

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


Re: [Dhis2-devs] [Dhis2-users] Integration of Electronic Tuberculosis Management (eTBM) with DHIS2

2017-02-27 Thread Lars Helge Øverland
Thanks Julhas. Let us know how it goes.

Lars

On Feb 27, 2017 4:26 PM, "Julhas Sujan"  wrote:

> Hi Lars,
>
> Thank you very much. Yes this is possible to set zero for each field. I
> will follow your recommendation and share with you the update.
>
>
> *Best Regards*
>
> *Julhas *
>
> On Mon, Feb 27, 2017 at 8:59 PM, Lars Helge Øverland 
> wrote:
>
>> Hi Julhas,
>>
>> that's an interesting problem. We could certainly implement support for
>> deletion per org unit/period.
>>
>> I would however recommend another approach: For each aggregate report you
>> send from eTBM, make sure you send a value, including 0, for* each field*
>> in the aggregate TB form. This will make your information more explicit,
>> ie. you communicate that for all data element + category option combos
>> exactly how many cases you have. The benefit then is that if cases are
>> deleted in the upstream system (eTBM), it will be correctly reflected in
>> the aggregate form in DHIS 2.
>>
>> This will be semantically more correct than simply dropping all data
>> values first. I.e. when you look at the audit logs for each data element,
>> you will see that a value changed from a positive value, then potentially
>> to a 0 value. This will look better compared to audit logs showing that all
>> values were deleted every day. This will improve auditability and data
>> validation.
>>
>> Of course this might lead to the aggregate export payload becoming a bit
>> bigger, but I think that can be justified. You can also make sure that the
>> TB data elements are set to "zero not significant", which will delete or
>> not store 0 values on the DHIS 2 side.
>>
>> Let me know if this sounds reasonable.
>>
>> best,
>>
>> Lars
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Mon, Feb 27, 2017 at 12:43 PM, Julhas Sujan 
>> wrote:
>>
>>> Dear All,
>>>
>>> Good evening!
>>>
>>> We are working on DHIS2 TB-10,11 and 12 forms (for Bangladesh) to
>>> integrate with external eTB manager application
>>> . The TB forms have developed in DHIS2 for
>>> collecting TB -10,11 and 12 data from Upazila level in Bangladesh but we
>>> have a local level application(eTBM) that is using to collect individual
>>> case record and generate aggregated TB-10,11 and 12 reports. Now  our goal
>>> is to integrate eTMB with DHIS2 TB forms.
>>>
>>> Already we have tested the integration that is working fine. But we are
>>> facing a problem with deleting existing records of these forms. I have a
>>> question on it:
>>>
>>> *Is there any way of requesting DHIS2 to clear or delete the whole TB 10
>>> form for a specific orgunit and period before sending the external data?*
>>>
>>>
>>> Thank you very much for your co-operations.
>>>
>>>
>>> *If you have any questions or concerns, don’t hesitate to let me know.*
>>>
>>> *Best Regards*
>>> *Julhas Sujan*
>>> Senior Java Programmer
>>> Management Science for Health(MSH)
>>> Dhaka, Bangladesh
>>> Cell: +8801989 442856
>>> Skype: julhas08
>>> ​
>>> www.msh.org http://siapsprogram.org/wherewework/bangladesh/
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-us...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Lars Helge Øverland
>> Lead developer, DHIS 2
>> University of Oslo
>> Skype: larshelgeoverland
>> l...@dhis2.org
>> http://www.dhis2.org 
>>
>>
>
___
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] Fw: Tracker Events period issue

2017-02-27 Thread Absolom MURAMIRA
Someone please help



On Friday, February 24, 2017 8:01 AM, Absolom MURAMIRA 
 wrote:
 

 Dear Community,
I have a program in Tracker (DHIS v2.26) configured with 2 repeatable program 
stages. My issue is that when i try to add new events, I am not able to see 
months/year for 2017. it is only stuck in 2016. Has anyone encountered this 
before and willing to advise how i can resolve it?Thank you.
Absolom


   ___
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] FW: Authorities in 2.25 (vs 2.22)

2017-02-27 Thread Sam Johnson
Hi Devs,

I’m just following up on the questions below regarding authority changes in 
2.25, which I circulated a few weeks ago (see the items highlighted in red).  
There’s unfortunately no documentation on authorities, so I’d be very grateful 
for any help you’re able to give.

Many thanks,

Sam.


From: Dhis2-devs 
 on behalf of 
Sam Johnson 
Date: Wednesday, 15 February 2017 at 12:57
To: Lars Helge Øverland 
Cc: DHIS2 Developers 
Subject: Re: [Dhis2-devs] FW: Authorities in 2.25 (vs 2.22)

Hi Lars,

Many thanks, that’s a really useful trick – takes less than half the time it 
took me to scrape the authorities!  :-)

Are you (or is someone else on the team) able to assist with the questions in 
my email below?  (I know the email is quite long, so I’ve just highlighted them 
in bold red.)

Many thanks,

Sam.


From: Lars Helge Øverland 
Date: Wednesday, 8 February 2017 at 03:58
To: Sam Johnson 
Cc: DHIS2 Developers , JM Alcantara 
, "rodolfo.me...@knowtechture.com" 

Subject: Re: [Dhis2-devs] FW: Authorities in 2.25 (vs 2.22)


Hi Sam,

thanks for bringing this up. It is an issue we need to handle better.

There is a trick to finding the complete set of authorities per version.
· Start up a DHIS instance of the desired version.
· Create a new user role, give it the name AAA, and select all 
available authorities, click Save.
· Then execute this SQL:

select ua.authority

into _auths

from userroleauthorities ua

inner join userrole ur on ua.userroleid=ur.userroleid

where ur.name = 'AAA';



You can repeat the process on the target DHIS 2 version instance, and then copy 
the tables into a single database and use SQL (..where not in..) to compare 
them.

You can also save this to a file and compare using CSV/Excel:

psql -d dhis2 -U dhis -c "select * from _auths"  > auths.txt

We can also work on this on our side and include pruning of obsolete 
authorities in a DHIS startup routine.

best,

Lars
​

On Tue, Feb 7, 2017 at 2:37 AM, Sam Johnson 
mailto:samuel.john...@qebo.co.uk>> wrote:
Hi Devs,

If possible, I’d be very grateful for some advice around authorities in 2.25.

In order to help prepare for PSI’s upgrade to 2.25, we’ve done an analysis of 
changes in Authorities between 2.22 and 2.25.  I couldn’t find a database table 
containing Authorities, and the list of Authorities in the DHIS2 documentation 
doesn’t appear to have been updated since version 2.22, so I’ve scraped the 
‘Authorities’ drop-down in the ‘Create Role’ screen to obtain lists of 
Authorities in 2.22 and 2.25 for comparison.

The following Authority changes seem fairly straightforward, and were 
documented as part of DHIS2 releases:

RETIRED (functionality no longer exists)

• View data browser

• See Data Set Maintenance module

• See Organisation Unit Maintenance module

• Scheduling case aggregate query builder
INTRODUCED (new functionality)

• Delete External Map Layer

• Add/Update Private External Map Layer

• Add/Update Public External Map Layer

• Add/Update Legend

• Delete Legend

• Delete Legend Set

• Add/Update Private Legend Set

• Add/Update Public Legend Set

• Metadata sync

• Add/Update Predictor

• Delete Predictor

• Delete Program Indicator Group

• Add/Update Private Program Indicator Group

• Add/Update Public Program Indicator Group

• Add/Update Push Analysis

• Delete Push Analysis

• See Usage Analytics module

I’m guessing the following Authorities have been retired because they duplicate 
existing (more refined) Authorities?   Could you confirm whether this guess is 
correct?
RETIRED AS REDUNDANT?:

• Option Set Management

• Constant Management
DO THESE EXISTING AUTHORITIES MAINTAINED IN 2.25 PROVIDE THE SAME PERMISSIONS?

• Delete Option Set

• Add/Update Private Option Set

• Add/Update Public Option Set


• Add Constant

• Delete Constant

I’m not sure what the following new set of Authorities govern – I’ve looked at 
Option Sets (as distinct from Category Option Group Sets), but can’t find any 
concept of ‘Groups’ in Options/Option Sets…  What do these new authorities 
control?
INTRODUCED

• Delete Option Group

• Add/Update Private Option Group

• Add/Update Public Option Group

• Delete Option Group Set

• Add/Update Private Option Group Set

• Add/Update Public Option Group Set

The following appear to have been RETIRED prior to the 2.25 release – could you 
confirm that these Authorities have indeed been retired (rather than just 
missed off the drop-down of Authorities in the ‘Create Role’ screen)?  If they 
have been retired, which Authority now manages these permissions?
RETIRED?  (AND REPLACED BY?)

• Add Relationship Type – now covered by ???

• Delete Relationship Typ

Re: [Dhis2-devs] [Dhis2-users] How to implement interoperability between 2 DHIS2 instance

2017-02-27 Thread vunda limbe
Hi David and Everybody,

I begun to learn what you told me, but I'm stucked at the begining. Do you
have an example of script that I can based on to build mine that work?
Thanks for your support.

On Tue, Apr 5, 2016 at 9:18 AM, David Huser 
wrote:

> Hi Vunda
>
> The nature of a Web API is its openness to be used by any software. As a
> start, I would start in trying to understand how such an API works, which
> is based on "HTTP REST" principles.
> REST in layman's terms: http://www.looah.com/source/view/2284
> REST basics (IBM developers): https://www.ibm.com/
> developerworks/library/ws-restful/index.html
> Specification for DHIS2: https://dhis2.github.io/dhis2-
> docs/master/en/developer/html/dhis2_developer_manual_full.html
>
> As an example, the programming language Python can be used, which is
> installable on any system and is on Ubuntu by default. DHIS2 supports the
> transportation format JSON. There's a new library on github (
> https://github.com/dhis2/dhis2-python, but have not tried it yet) or you
> can write your own.
> So a basic procedure would be:
>
> myscript.py
> 1. load a configuration of both APIs (username, url, passwords)
> 2. make a GET request to a specific endpoint of MoH API
> 3. validate, transform,... the received data
> 4. make a POST request to another specific endpoint of your other
> instance's API
>
> and then install a cronjob which calls this script with "* * * * * python
> myscript.py"
>
> Further extensions could be logging to a file and a mail notification if
> something goes wrong.
>
> I hope this can help a bit.
>
> Best regards
> David
>
>
>
>
> On 03.04.2016 08:34, vunda limbe wrote:
>
> Hi All,
>
>
> I'm newbie on DHIS2. I implemented an instance that work for my
> organisation and I need to Interoperate with MOH instance to retrieve data
> each month for some health facilities.
> I need guidance on how to set up interoperability by using web API and how
> to create a cronjob that will fetch data from MOH instance to my instance
> each month.
>
> Could you please help me to find ressources (course, tutorials, step by
> step code, etc.) and advises on how to implement?
>
> Thank you all for your help.
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] How to implement interoperability between 2 DHIS2 instance

2017-02-27 Thread vunda limbe
It seems that david change is mail adress.

On Mon, Feb 27, 2017 at 9:22 PM, vunda limbe  wrote:

> Hi David and Everybody,
>
> I begun to learn what you told me, but I'm stucked at the begining. Do you
> have an example of script that I can based on to build mine that work?
> Thanks for your support.
>
> On Tue, Apr 5, 2016 at 9:18 AM, David Huser 
> wrote:
>
>> Hi Vunda
>>
>> The nature of a Web API is its openness to be used by any software. As a
>> start, I would start in trying to understand how such an API works, which
>> is based on "HTTP REST" principles.
>> REST in layman's terms: http://www.looah.com/source/view/2284
>> REST basics (IBM developers): https://www.ibm.com/developerw
>> orks/library/ws-restful/index.html
>> Specification for DHIS2: https://dhis2.github.io/dhis2-
>> docs/master/en/developer/html/dhis2_developer_manual_full.html
>>
>> As an example, the programming language Python can be used, which is
>> installable on any system and is on Ubuntu by default. DHIS2 supports the
>> transportation format JSON. There's a new library on github (
>> https://github.com/dhis2/dhis2-python, but have not tried it yet) or you
>> can write your own.
>> So a basic procedure would be:
>>
>> myscript.py
>> 1. load a configuration of both APIs (username, url, passwords)
>> 2. make a GET request to a specific endpoint of MoH API
>> 3. validate, transform,... the received data
>> 4. make a POST request to another specific endpoint of your other
>> instance's API
>>
>> and then install a cronjob which calls this script with "* * * * * python
>> myscript.py"
>>
>> Further extensions could be logging to a file and a mail notification if
>> something goes wrong.
>>
>> I hope this can help a bit.
>>
>> Best regards
>> David
>>
>>
>>
>>
>> On 03.04.2016 08:34, vunda limbe wrote:
>>
>> Hi All,
>>
>>
>> I'm newbie on DHIS2. I implemented an instance that work for my
>> organisation and I need to Interoperate with MOH instance to retrieve data
>> each month for some health facilities.
>> I need guidance on how to set up interoperability by using web API and
>> how to create a cronjob that will fetch data from MOH instance to my
>> instance each month.
>>
>> Could you please help me to find ressources (course, tutorials, step by
>> step code, etc.) and advises on how to implement?
>>
>> Thank you all for your help.
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>>
>>
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Deletion of DataElements or Indicators that are used in Favourites

2017-02-27 Thread Lorill Crees
Hi - just following up on this. Does anyone have any suggestions?

On Thu, Feb 16, 2017 at 11:27 AM, Lorill Crees  wrote:

> Hi,
>
> I am able to successfully delete a Data Set and all corresponding
> DataElements and Indicators and corresponding data via the Web API. However
> when I then go and attempt to load a Favourite that was created referencing
> elements that are now deleted, I get the error
>
> Code 409
> Status: Conflict
> Dimension dx is present in query without any valid dimension options
>
> (see attached screenshot)
>
> This doesn't give the user any idea that the favourite is no longer valid
> because the underlying elements have been deleted. In order for this
> functionality to make sense to the user I want to do one of the following:
>
>1. Prior to deleting the Data Set and related objects, query for all
>favourites that use any items to be deleted and list them and allow the
>user the option to have them programatically deleted.
>1. Is it possible to query for favourites by their corresponding data
>   elements and indicators via the API?
>   2. Is it possible to delete a favourite via the API?
>2. If #1 above is not possible, is it possible to show a more
>meaningful message to the user that lets them know why a favourite cannot
>be loaded?
>
> I am using version:
> 2.25
> Build revision:
> 9f6b262
> Build date:
> 2017-02-16 06:42
>
> Thanks,
>
> Lorill
>
>
> --
> Lorill Crees
> Project Leader / Senior Developer
> 2Paths Solutions Ltd. 
>
>


-- 
Lorill Crees
Project Leader / Senior Developer
2Paths Solutions Ltd. 

lcr...@2paths.com
skype: lorill2paths
(604) 689-4123 x 15
___
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] new trunk dhis2-core version problem

2017-02-27 Thread Morten Olav Hansen
Are you sure you are running the latest version of master? it should
download the dashboard automatically, can you have a look at your
dhis-web-apps pom.xml, and verify that it contains:



  org.hisp.dhis
  dhis-app-dashboard
  2.26-SNAPSHOT
  true
  
${project.build.directory}/${project.artifactId}/dhis-web-dashboard-integration
  **/*.*



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

On Mon, Feb 27, 2017 at 10:36 PM, 林晓东  wrote:

> other app can work
>
>
>
>
> --
> 此致
>
>林晓东
>
> 莫愁前路无知己,天下谁人不识君。
>
> 在 2017-02-27 09:26:30,"Morten Olav Hansen"  写道:
>
> Hi
>
> And this you built yourself? are any other URLs working? like
> /dhis-web-pivot/ ?
>
> Did you also try and download a prebuilt war file? did that work for you?
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
> On Sun, Feb 26, 2017 at 10:18 PM, 林晓东  wrote:
>
>> Thanks.   but after login into system cause blank page, no dashboard app
>> -
>> HTTP Status 404 - /dhis/dhis-web-dashboard-integration/index.html
>>
>> *type* Status report
>>
>> *message* */dhis/dhis-web-dashboard-integration/index.html*
>>
>> *description* *The requested resource is not available.*
>> --
>> Apache Tomcat/8.0.14
>> 
>> easy
>>
>> 在 2017-02-26 18:57:09,"Calle Hedberg"  写道:
>>
>> Hi
>>
>> I guess this re-factoring might explain why build sizes are fluctuating
>> so much - for 2.26, it's been jumping back and forth between 169mb and
>> 180mb...
>>
>> Regards
>> Calle
>>
>> On 26 February 2017 at 07:22, Morten Olav Hansen 
>> wrote:
>>
>>> Hi
>>>
>>> The dashboard has been refactored into an app (like many of our old Java
>>> modules), you can find it at [1], it will automatically be integrated into
>>> the build (as a dependency) when you are building the project.
>>>
>>> [1] https://github.com/dhis2/dashboard-app
>>>
>>> --
>>> Morten Olav Hansen
>>> Senior Engineer, DHIS 2
>>> University of Oslo
>>> http://www.dhis2.org
>>>
>>> On Sun, Feb 26, 2017 at 9:55 AM, 林晓东  wrote:
>>>
 I found to compile new trunk version from github cause there no
 dashboard integration package in the dhis.war

   somebody has the same problem?




 --
 此致
  easy
 莫愁前路无知己,天下谁人不识君。




 ___
 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
>>>
>>>
>>
>>
>> --
>>
>> ***
>>
>> 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


Re: [Dhis2-devs] Deletion of DataElements or Indicators that are used in Favourites

2017-02-27 Thread Morten Olav Hansen
Hi Lorill

Would you mind filing an issue in Jira for this?

jira.dhis2.org

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

On Tue, Feb 28, 2017 at 6:36 AM, Lorill Crees  wrote:

> Hi - just following up on this. Does anyone have any suggestions?
>
> On Thu, Feb 16, 2017 at 11:27 AM, Lorill Crees  wrote:
>
>> Hi,
>>
>> I am able to successfully delete a Data Set and all corresponding
>> DataElements and Indicators and corresponding data via the Web API. However
>> when I then go and attempt to load a Favourite that was created referencing
>> elements that are now deleted, I get the error
>>
>> Code 409
>> Status: Conflict
>> Dimension dx is present in query without any valid dimension options
>>
>> (see attached screenshot)
>>
>> This doesn't give the user any idea that the favourite is no longer valid
>> because the underlying elements have been deleted. In order for this
>> functionality to make sense to the user I want to do one of the following:
>>
>>1. Prior to deleting the Data Set and related objects, query for all
>>favourites that use any items to be deleted and list them and allow the
>>user the option to have them programatically deleted.
>>1. Is it possible to query for favourites by their corresponding data
>>   elements and indicators via the API?
>>   2. Is it possible to delete a favourite via the API?
>>2. If #1 above is not possible, is it possible to show a more
>>meaningful message to the user that lets them know why a favourite cannot
>>be loaded?
>>
>> I am using version:
>> 2.25
>> Build revision:
>> 9f6b262
>> Build date:
>> 2017-02-16 06:42
>>
>> Thanks,
>>
>> Lorill
>>
>>
>> --
>> Lorill Crees
>> Project Leader / Senior Developer
>> 2Paths Solutions Ltd. 
>>
>>
>
>
> --
> Lorill Crees
> Project Leader / Senior Developer
> 2Paths Solutions Ltd. 
>
> lcr...@2paths.com
> skype: lorill2paths
> (604) 689-4123 x 15
>
> ___
> 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] [Dhis2-users] Integration of Electronic Tuberculosis Management (eTBM) with DHIS2

2017-02-27 Thread Uwe Wahser
Dear Julhas,

we are doing something like that (on the aggregate level) in a datawarehouse 
setting  without 0-values, where we have to update whole datasets every night. 

Basically we download all data with kettle, compare the differences to the 
incoming data, and then push only changed values back to DHIS2. Those values 
(category/attribute combinations) which are no longer needed, we push as delete 
requests.

That sounds very complicated (and might need a whole lot of memory on the etl 
side depending on the number of values you are dealing with) but has the 
advantage that you reduce the number of records to be pushed into DHIS2 to 
those that have really changed (and you keep the audit-logs as Lars suggested)

Hope that helps,

Uwe

> Hannan Khan  hat am 27. Februar 2017 um 18:56 geschrieben:
> 
> 
> We are not allowing '0' in the data until and unless it is essential. In
> your case '0' will be you significant amount; so we cant allow that.
> 
> On Mon, Feb 27, 2017 at 9:25 PM, Julhas Sujan 
> wrote:
> 
> > Hi Lars,
> >
> > Thank you very much. Yes this is possible to set zero for each field. I
> > will follow your recommendation and share with you the update.
> >
> >
> > *Best Regards*
> >
> > *Julhas *
> >
> > On Mon, Feb 27, 2017 at 8:59 PM, Lars Helge Øverland 
> > wrote:
> >
> >> Hi Julhas,
> >>
> >> that's an interesting problem. We could certainly implement support for
> >> deletion per org unit/period.
> >>
> >> I would however recommend another approach: For each aggregate report you
> >> send from eTBM, make sure you send a value, including 0, for* each field*
> >> in the aggregate TB form. This will make your information more explicit,
> >> ie. you communicate that for all data element + category option combos
> >> exactly how many cases you have. The benefit then is that if cases are
> >> deleted in the upstream system (eTBM), it will be correctly reflected in
> >> the aggregate form in DHIS 2.
> >>
> >> This will be semantically more correct than simply dropping all data
> >> values first. I.e. when you look at the audit logs for each data element,
> >> you will see that a value changed from a positive value, then potentially
> >> to a 0 value. This will look better compared to audit logs showing that all
> >> values were deleted every day. This will improve auditability and data
> >> validation.
> >>
> >> Of course this might lead to the aggregate export payload becoming a bit
> >> bigger, but I think that can be justified. You can also make sure that the
> >> TB data elements are set to "zero not significant", which will delete or
> >> not store 0 values on the DHIS 2 side.
> >>
> >> Let me know if this sounds reasonable.
> >>
> >> best,
> >>
> >> Lars
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> On Mon, Feb 27, 2017 at 12:43 PM, Julhas Sujan 
> >> wrote:
> >>
> >>> Dear All,
> >>>
> >>> Good evening!
> >>>
> >>> We are working on DHIS2 TB-10,11 and 12 forms (for Bangladesh) to
> >>> integrate with external eTB manager application
> >>> . The TB forms have developed in DHIS2 for
> >>> collecting TB -10,11 and 12 data from Upazila level in Bangladesh but we
> >>> have a local level application(eTBM) that is using to collect individual
> >>> case record and generate aggregated TB-10,11 and 12 reports. Now  our goal
> >>> is to integrate eTMB with DHIS2 TB forms.
> >>>
> >>> Already we have tested the integration that is working fine. But we are
> >>> facing a problem with deleting existing records of these forms. I have a
> >>> question on it:
> >>>
> >>> *Is there any way of requesting DHIS2 to clear or delete the whole TB 10
> >>> form for a specific orgunit and period before sending the external data?*
> >>>
> >>>
> >>> Thank you very much for your co-operations.
> >>>
> >>>
> >>> *If you have any questions or concerns, don’t hesitate to let me know.*
> >>>
> >>> *Best Regards*
> >>> *Julhas Sujan*
> >>> Senior Java Programmer
> >>> Management Science for Health(MSH)
> >>> Dhaka, Bangladesh
> >>> Cell: +8801989 442856
> >>> Skype: julhas08
> >>> ​
> >>> www.msh.org http://siapsprogram.org/wherewework/bangladesh/
> >>>
> >>> ___
> >>> Mailing list: https://launchpad.net/~dhis2-users
> >>> Post to : dhis2-us...@lists.launchpad.net
> >>> Unsubscribe : https://launchpad.net/~dhis2-users
> >>> More help   : https://help.launchpad.net/ListHelp
> >>>
> >>>
> >>
> >>
> >> --
> >> Lars Helge Øverland
> >> Lead developer, DHIS 2
> >> University of Oslo
> >> Skype: larshelgeoverland
> >> l...@dhis2.org
> >> http://www.dhis2.org 
> >>
> >>
> >
> > ___
> > 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
> >
> >
> 
> 
> -- 
> Muhammad Abdul Hannan Khan
> DHIS2 Country coordinator & Secretary

Re: [Dhis2-devs] [Dhis2-users] Aggregated Data Capture using Android app

2017-02-27 Thread gerald thomas
Dear Araz & Colleagues,
Please i am really out of ideas; any help from OpCo who had done this
implementation before. Kindly remember that the key here is to do data
entry off-line using tablets and once they are on-line their tablets
should sync with the main server and all data are then uploaded.

Thanks in advance for your help.

On 2/27/17, Calle Hedberg  wrote:
> Araz,
>
> I've just assisted Gerald with getting into the "Data capture for DHIS2"
> app - the server is running 2.25 and we downloaded the latest app from
> Google store.
>
> What is really perplexing is that the app only shows ONE data set - the one
> called "Population estimates". Furthermore, the data elements under that
> data set are old elements that were removed over a month ago - and none of
> the current population data elements are showing.
>
> I cannot see any menu option for refreshing the database or anything like
> that - there is only "Aggregate Report" and then "Choose Organisation
> Unit".
>
> Is that app supported under 2.25?
>
> Regards
> Calle
>
> On 27 February 2017 at 17:27, gerald thomas  wrote:
>
>> Araz,
>> This is very new to me and i will like to know the best possible way
>> we should implement this project. Please if you can kindly share
>> everything with reference to similar project(s), i will be grateful.
>> Also i know there will be challenges with reference to android
>> devices, so i am kindly requesting that you should advice on the best
>> android tablet specification for this project.
>>
>> On 2/27/17, Araz Abishov  wrote:
>> > Hi Gerald,
>> >
>> > Do you questions regarding android specifically or more about
>> configuration
>> > part of the server?
>> >
>> > Best regards,
>> >
>> > —
>> > Araz Abishov,
>> > Android developer, DHIS 2
>> > University of Oslo
>> > https://www.dhis2.org/
>> >
>> > On February 27, 2017 at 3:15:27 PM, gerald thomas
>> > (gerald17...@gmail.com
>> )
>> > wrote:
>> >
>> > Dear All,
>> > We want to capture our aggregated data (HF1 to HF8 forms) at CHC level
>> > (partial electricity & network coverage) to an android device and
>> > later synced all information to our cloud hosting instance. Please can
>> > anyone help me with the procedures to achieve it. I will also like to
>> > know the challenges colleagues face and their approach to tackle these
>> > issues.
>> >
>> > Thanks in advance for your help.
>> > 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
>> >
>>
>>
>> --
>> 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
>>
>
>
>
> --
>
> ***
>
> 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
>
> ***
>


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