[Dhis2-devs] System can't generate analytic tables

2018-11-06 Thread Em Le Hong
Dear all,

I realize that sometime our instance running on 2.29 can't generate
analytic tables automatically as set in Scheduler.
Then I try to run it manually and get the error message below:

Process failed: StatementCallback; uncategorized SQLException for SQL [drop
table if exists analytics_event_ii2ycz7om1u;alter table
analytics_event_temp_ii2ycz7om1u rename to analytics_event_ii2ycz7om1u;];
SQL state [2BP01]; error code [0]; ERROR: cannot drop table
analytics_event_ii2ycz7om1u because other objects depend on it Detail:
table analytics_event_2008_ii2ycz7om1u depends on table
analytics_event_ii2ycz7om1u Hint: Use DROP ... CASCADE to drop the
dependent objects too.; nested exception is
org.postgresql.util.PSQLException: ERROR: cannot drop table
analytics_event_ii2ycz7om1u because other objects depend on it Detail:
table analytics_event_2008_ii2ycz7om1u depends on table
analytics_event_ii2ycz7om1u Hint: Use DROP ... CASCADE to drop the
dependent objects too.

To solve this issue, I need to clean Analytic tables in Data Administration
module before running analytic table
[image: image.png]

Is there any way that we can solve this issue completely? Because in the
system About (dhis-web-commons-about/about.action) it's still show the *Time
since last analytics table generation, *The time is correct, but actually
data value not generated especially event data.

Thanks,

-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam*
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Translation reset after night

2018-10-12 Thread Em Le Hong
Great, thanks.

On Fri, Oct 12, 2018 at 3:02 PM Viet Nguyen  wrote:

> This is caused by the start up script. Fixed now, please try with latest
> war file.
>
> On Mon, Oct 8, 2018 at 2:58 PM Em Le Hong 
> wrote:
>
>> Dear all,
>>
>> We are running a database on 2.29 build date 2018-09-24 03:24 and facing
>> a strange behavior on translation of organisation unit and data elements.
>>
>> For example we want to update translation for an organisation unit. It's
>> working fine, but after a night the old translation will be showed.
>> Checking with WEB api we see a duplicate translation property (has 2
>> name, 2 short name properties)
>> Ex:
>> "translations": [{"property": "NAME","locale": "lo","value": "0101 ມ.
>> ຈັນທະບູລີ"},{"property": "NAME","locale": "lo","value": "ມ.ຈັນທະບູລີ"},{
>> "property": "SHORT_NAME","locale": "lo","value": "ຈັນທະບູລີ"},{"property"
>> : "SHORT_NAME","locale": "lo","value": "ມ. ຈັນທະບູລີ"}],
>> Then we use API to remove 1 translation that is the old. It's working
>> fine, old translation gone. But it's very strange that after a night then
>> the old translation will be showed again with duplicate property.
>>
>> Does anyone ever see similar issue or experience to solve it? I'm very
>> appreciated that you can share.
>>
>> I'm trying to reproduce this issue on blank database but still couldn't
>> reproduce it.
>>
>> Thanks,
>> --
>> *Em Le Hong*
>> DHIS2 Implementation| *HISP Vietnam *
>> em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
>>
>>
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
> --
>
> Viet Nguyen
> Software Developer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
>
>

-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Documentation links are down from dhis2.org

2018-10-10 Thread Em Le Hong
We can checkout and build the docs from Github.
https://github.com/dhis2/dhis2-docs

On Thu, Oct 11, 2018 at 10:44 AM Em Le Hong 
wrote:

> Hi all,
>
> Looks like all links from https://www.dhis2.org/documentation are down
> now.
> The link https://docs.dhis2.org/ is down also.
>
> Regards,
>
> On Tue, Oct 9, 2018 at 9:28 PM Sergio Valenzuela <
> sergio.valenzu...@ehas.org> wrote:
>
>> Hi Jason!
>>
>> These are the ones which are not working (at least for me):
>> [image: image.png]
>> i.e: User Manual
>> <https://ci.dhis2.org/docs/master/en/user/dhis2_user_manual_en.pdf> Developer
>> Manual
>> <https://ci.dhis2.org/docs/master/en/developer/dhis2_developer_manual.pdf>
>>
>> Thanks for your link. Those are working fine.
>>
>> Best regards!
>>
>>
>> *Sergio Valenzuela*
>> Fundación EHAS
>> Telemedicina para países en desarrollo -* www.ehas.org
>> <http://www.ehas.org/>*
>> E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30, 28040
>> Madrid - España
>> Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62
>>
>>
>>
>>
>> El mar., 9 oct. 2018 a las 9:57, Jason Pickering (<
>> jason.p.picker...@gmail.com>) escribió:
>>
>>> Hi Sergio,
>>> Maybe its a bad link? Where is it?
>>>
>>> Try here https://docs.dhis2.org/
>>>
>>> These seem to be working.
>>>
>>> Regards,
>>> Jason
>>>
>>>
>>> On Tue, Oct 9, 2018 at 9:36 AM Sergio Valenzuela <
>>> sergio.valenzu...@ehas.org> wrote:
>>>
>>>> Dear all,
>>>>
>>>> I've been trying to download 2.31 documentation from dhis2.org during
>>>> the past few days and the links are down.
>>>> Could you please take a look?
>>>>
>>>> Thanks and best regards!
>>>>
>>>>
>>>> *Sergio Valenzuela*
>>>> Fundación EHAS
>>>> Telemedicina para países en desarrollo -* www.ehas.org
>>>> <http://www.ehas.org/>*
>>>> E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30, 28040
>>>> Madrid - España
>>>> Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62
>>>>
>>>>
>>>> ___________
>>>> 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
>>>
>> ___
>> 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
>>
>
>
> --
> *Em Le Hong*
> DHIS2 Implementation| *HISP Vietnam *
> em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
>
>
>
>
>
>

-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Documentation links are down from dhis2.org

2018-10-10 Thread Em Le Hong
Hi all,

Looks like all links from https://www.dhis2.org/documentation are down now.
The link https://docs.dhis2.org/ is down also.

Regards,

On Tue, Oct 9, 2018 at 9:28 PM Sergio Valenzuela 
wrote:

> Hi Jason!
>
> These are the ones which are not working (at least for me):
> [image: image.png]
> i.e: User Manual
> <https://ci.dhis2.org/docs/master/en/user/dhis2_user_manual_en.pdf> Developer
> Manual
> <https://ci.dhis2.org/docs/master/en/developer/dhis2_developer_manual.pdf>
>
> Thanks for your link. Those are working fine.
>
> Best regards!
>
>
> *Sergio Valenzuela*
> Fundación EHAS
> Telemedicina para países en desarrollo -* www.ehas.org
> <http://www.ehas.org/>*
> E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30, 28040
> Madrid - España
> Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62
>
>
>
>
> El mar., 9 oct. 2018 a las 9:57, Jason Pickering (<
> jason.p.picker...@gmail.com>) escribió:
>
>> Hi Sergio,
>> Maybe its a bad link? Where is it?
>>
>> Try here https://docs.dhis2.org/
>>
>> These seem to be working.
>>
>> Regards,
>> Jason
>>
>>
>> On Tue, Oct 9, 2018 at 9:36 AM Sergio Valenzuela <
>> sergio.valenzu...@ehas.org> wrote:
>>
>>> Dear all,
>>>
>>> I've been trying to download 2.31 documentation from dhis2.org during
>>> the past few days and the links are down.
>>> Could you please take a look?
>>>
>>> Thanks and best regards!
>>>
>>>
>>> *Sergio Valenzuela*
>>> Fundación EHAS
>>> Telemedicina para países en desarrollo -* www.ehas.org
>>> <http://www.ehas.org/>*
>>> E.T.S.I. de Telecomunicación A.101-9L. Ciudad Universitaria 30, 28040
>>> Madrid - España
>>> Tlfno. (+34) 91 488 87 41: (+34) 687 67 17 62
>>>
>>>
>>> ___
>>> 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
>>
> ___
> 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
>


-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Translation reset after night

2018-10-08 Thread Em Le Hong
Dear all,

We are running a database on 2.29 build date 2018-09-24 03:24 and facing a
strange behavior on translation of organisation unit and data elements.

For example we want to update translation for an organisation unit. It's
working fine, but after a night the old translation will be showed.
Checking with WEB api we see a duplicate translation property (has 2 name,
2 short name properties)
Ex:
"translations": [{"property": "NAME","locale": "lo","value": "0101 ມ.
ຈັນທະບູລີ"},{"property": "NAME","locale": "lo","value": "ມ.ຈັນທະບູລີ"},{
"property": "SHORT_NAME","locale": "lo","value": "ຈັນທະບູລີ"},{"property":
"SHORT_NAME","locale": "lo","value": "ມ. ຈັນທະບູລີ"}],
Then we use API to remove 1 translation that is the old. It's working fine,
old translation gone. But it's very strange that after a night then the old
translation will be showed again with duplicate property.

Does anyone ever see similar issue or experience to solve it? I'm very
appreciated that you can share.

I'm trying to reproduce this issue on blank database but still couldn't
reproduce it.

Thanks,
-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Program Notification trigger by program rule (Event Program)

2018-10-01 Thread Em Le Hong
Dear dev,

I'm trying to setup a program rule to send notification message (email) to
a user group which trigger by program rule but it doesn't work.
It's working properly if I want to send with trigger by Program completion.

Below is steps that I did:
Create a program rule with expression:
[image: image.png]
Program rule action:
[image: image.png]

Program notification:
[image: image.png]

Scheduler:
[image: image.png]

Is it a bug or missing something?

Thanks,



-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] How to enable 'Make referral' and 'Schedule new' buttons in Tracker tabular entry

2018-09-17 Thread Em Le Hong
Dear DHIS2 Community,

I'm using DHIS2 2.29 Tracker Capture module, I notice that there's a
different between Timeline Data Entry and Tabular Data Entry
The 2 buttons Schedule new and Make referral are enabled on Timeline Data
Entry, see screenshot
[image: Screenshot from 2018-09-17 15-18-29.png]
But those buttons are disabled on Tabular Data Entry, see screenshot
[image: Screenshot from 2018-09-17 15-18-48.png]

Does anyone know how to enable those buttons in Tabular Data Entry? if you
don't mind please share.

Thanks,
-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] User roles un-assigned some authorities after restarting the server

2018-08-23 Thread Em Le Hong
Hi Morten,

I can't reproduce this issue on DHIS2 demo servers because we need to
restart the server.

On Thu, Aug 23, 2018 at 3:07 PM Morten Olav Hansen  wrote:

> Hi Em, please try and see if you can reproduce on our play servers
>
> https://play.dhis2.org/2.29/
> https://play.dhis2.org/2.30/
>
> Also adding in Viet, who made some fixes I think might be relevant to
> this..
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> Team Integration Lead
> University of Oslo
> http://www.dhis2.org
>
>
> On Thu, Aug 23, 2018 at 11:02 AM Em Le Hong 
> wrote:
>
>> Hi all,
>>
>> Does anyone notice that DHIS2 2.29 generated some new authorities for
>> user roles like in screenshots below
>> [image: image.png]
>> When we assigned these user roles to a user, it works fine. But these
>> authorities will be un-assigned from user role after we restart the server.
>>
>> Is it a bug or something else? Because we need to restart the server to
>> test, so I can't test on DHIS2 demo server to compare.
>>
>> I created a ticket on Jira for Dev to check if it is the same with Demo
>> https://jira.dhis2.org/browse/DHIS2-4462
>>
>> Sincerely,
>>
>> --
>> *Em Le Hong*
>> DHIS2 Implementation| *HISP Vietnam *
>> em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
>>
>>
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-us...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>

-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] User roles un-assigned some authorities after restarting the server

2018-08-22 Thread Em Le Hong
Hi all,

Does anyone notice that DHIS2 2.29 generated some new authorities for user
roles like in screenshots below
[image: image.png]
When we assigned these user roles to a user, it works fine. But these
authorities will be un-assigned from user role after we restart the server.

Is it a bug or something else? Because we need to restart the server to
test, so I can't test on DHIS2 demo server to compare.

I created a ticket on Jira for Dev to check if it is the same with Demo
https://jira.dhis2.org/browse/DHIS2-4462

Sincerely,

-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Delete Validation Rules

2018-08-20 Thread Em Le Hong
Hi,

I agree with Calle Hedberg that the system should automatically delete any
dependent records related to validation rules.
In DHIS2, this kind of issue is not only happen with Validation rules, but
also with many other objects.

For example to delete a data element, we need to delete its data value and
audit trail. DHIS2 already provided API to delete data value and audit trail
*/api/26/maintenance/dataPruning/dataElement/*

I hope DHIS2 will support to delete validation rules and other objects soon.

On Wed, Aug 8, 2018 at 7:47 PM Calle Hedberg 
wrote:

> Hi
>
> Agree with Morten that it's a bug - it should be obvious that if you
> delete a validation rule, any old validation rule results are no longer of
> interest (with the rule deleted, you would not even know which rule any
> remaining results were referring too).
>
> So the solution here is that when you delete a validation rule, the system
> should automatically first delete any dependent records in the following
> tables, which have validationruleid as a foreign key:
>
> "validationnotificationtemplatevalidationrules"
> "validationresult"
> "validationruleattributevalues"
> "validationrulegroupmembers"
> "validationruleorganisationunitlevels"
> "validationrulesynchstatus"
> "validationruletranslations"
> "validationruleuseraccesses"
> "validationruleusergroupaccesses"
>
> Regards
> Calle
>
> On Wed, 8 Aug 2018 at 07:03, Morten Olav Hansen  wrote:
>
>> Hi Em
>>
>> I'm not sure if there is any UI for deleting validation results, but you
>> can do it yourself in the database.
>>
>> The validationresults are located in the table "validationresult", and it
>> has a column called "validationruleid" which links to your validation rules.
>>
>> So you need to find that validation rule in the "validationrule" table,
>> and use that "validationruleid" to delete the correct rows from the
>> "validationresult" table.
>>
>> "DELETE FROM validationresult WHERE validationruleid=??"
>>
>> This does sound like a bug though, so please file one in JIRA
>>
>> --
>> Morten Olav Hansen
>> Senior Engineer, DHIS 2
>> Team Integration Lead
>> University of Oslo
>> http://www.dhis2.org
>>
>> On Tue, Aug 7, 2018 at 5:07 PM, Em Le Hong 
>> wrote:
>>
>>> Dear all,
>>>
>>> DHIS 2.29
>>>
>>> I try to delete a validation rule on my database but the system response
>>> a message:
>>> Could not delete due to association with another object: ValidationResult
>>>
>>> This mean we need to delete Validation Result before delete Validation
>>> Rule
>>>
>>> Does anyone know how to delete Validation Result, if you don't mind
>>> please share.
>>>
>>> Thanks,
>>> --
>>> *Em Le Hong*
>>> DHIS2 Implementation| *HISP Vietnam *
>>> em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
>>>
>>>
>>>
>>>
>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-us...@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
> --
>
> ***
>
> 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
>
> ***
>
>

-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Delete Validation Rules

2018-08-07 Thread Em Le Hong
Dear all,

DHIS 2.29

I try to delete a validation rule on my database but the system response a
message:
Could not delete due to association with another object: ValidationResult

This mean we need to delete Validation Result before delete Validation Rule

Does anyone know how to delete Validation Result, if you don't mind please
share.

Thanks,
-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Program Indicator to calculate days between 2 event date

2018-07-09 Thread Em Le Hong
Dear all,

Is there anyway that we can create a program indicator to calculate days
between 2 different stages?
For example: I have a tracker program with 2 stages, I want to know how
many days between event date of stage 1 and event date of stage 2.

I'm very much appreciated if anyone knows will share this knowledge.

Thanks,

-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Register a Tracked Entity Instance without enrollment

2018-06-28 Thread Em Le Hong
Thanks Lukas

On Thu, Jun 28, 2018 at 2:14 PM, Lukas Wijgaart-van Dijk <
lukase...@gmail.com> wrote:

> Hi,
> It has been back ported to 2.29 now.
>
> Best regards,
> - Lukas Wijgaart van Dijk
>
> 27. jun. 2018 kl. 19.12 skrev Em Le Hong :
>
> Hi Lukas,
>
> It would be great if you can back port to 2.29 since 2.30 is not yet
> release and after release we need time to test before applying to our
> production server.
>
> Thanks,
>
> On Wed, Jun 27, 2018 at 5:25 PM, Lukas Wijgaart-van Dijk <
> lukase...@gmail.com> wrote:
>
>> Hi,
>> This feature has been reintroduced in 2.30, but did that time not get
>> back ported to 2.29.
>> If you need this functionality in 2.29 we can go ahead and back port it.
>>
>> Best regards,
>> - Lukas Wijgaart van Dijk
>>
>> 27. jun. 2018 kl. 11.58 skrev Em Le Hong :
>>
>> Dear all,
>>
>> I'm trying to set up some Tracker programs on 2.29 and facing some
>> problems.
>>
>> On 2.28 and older versions, we can set up to register a Tracked Entity
>> Instance without Enrollment
>> 
>> But I couldn't find this feature on 2.29
>> 
>> I still can find a Cancel Enrollment to enroll again, but can't register
>> new.
>>
>> Does anyone know that is there somewhere that I can enable this feature
>> or it had been completely removed?
>>
>> I also create a ticket on Jira (https://jira.dhis2.org/browse/DHIS2-4156)
>>
>> Thanks,
>>
>>
>> --
>> *Em Le Hong*
>> DHIS2 Implementation| *HISP Vietnam *
>> em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
>>
>>
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>>
>
>
> --
> *Em Le Hong*
> DHIS2 Implementation| *HISP Vietnam *
> em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
>
>
>
>
>
>
>


-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Register a Tracked Entity Instance without enrollment

2018-06-27 Thread Em Le Hong
Hi Lukas,

It would be great if you can back port to 2.29 since 2.30 is not yet
release and after release we need time to test before applying to our
production server.

Thanks,

On Wed, Jun 27, 2018 at 5:25 PM, Lukas Wijgaart-van Dijk <
lukase...@gmail.com> wrote:

> Hi,
> This feature has been reintroduced in 2.30, but did that time not get back
> ported to 2.29.
> If you need this functionality in 2.29 we can go ahead and back port it.
>
> Best regards,
> - Lukas Wijgaart van Dijk
>
> 27. jun. 2018 kl. 11.58 skrev Em Le Hong :
>
> Dear all,
>
> I'm trying to set up some Tracker programs on 2.29 and facing some
> problems.
>
> On 2.28 and older versions, we can set up to register a Tracked Entity
> Instance without Enrollment
> 
> But I couldn't find this feature on 2.29
> 
> I still can find a Cancel Enrollment to enroll again, but can't register
> new.
>
> Does anyone know that is there somewhere that I can enable this feature or
> it had been completely removed?
>
> I also create a ticket on Jira (https://jira.dhis2.org/browse/DHIS2-4156)
>
> Thanks,
>
>
> --
> *Em Le Hong*
> DHIS2 Implementation| *HISP Vietnam *
> em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
>
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
>


-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Program rule for Age value type

2018-04-13 Thread Em Le Hong
Hi Edouard Lavaud,

Thanks for your guide. Actually I want the system to show an error message
if user enters value < 5 for the input field.
It's very easy to check if we use value type is Number or Date (for Date of
birth). But I really want to use Age value type because it's nice feature
for Tracker capture or Event capture.

Thanks,

On Wed, Apr 11, 2018 at 5:57 PM, Edouard Lavaud <edouard.lav...@gmail.com>
wrote:

> Hi Em Le Hong,
>
> If I well understand:
> You capture the age at a different moment than you would like the
> program rule to be executed?
>
> If no, program rule executed on the same stage as you capture the age:
>
> To be checked (never used the age value type so far), but age
> should
> be an integer. So you could just do: #{age_value_type} < 5
>
> If yes, program rule executed later on a different program stage:
>
> Well, first you would be better off taking a date rather than the
> age. The d2 functions you mentioned are only for comparing dates, but
> age is not a date.
>
> If you really want to use the age type, you have to convert it
> first
> in a date following the DHIS2 date pattern: -MM-DD
>
> For that, you need to choose how to approximate a date of birth.
> Will
> you use the first day of the year? the last day? the 30 of June? The
> day you collected the information?
> Then you have to use the diverse d2 functions to create your date
> of birth.
>
> As an example, in an enrollment form of a program I calculate the
> date of birth automatically (note that the age here is just a value
> type integer, and here all the program rules are performed in the same
> event: the enrollment):
>
> Program rule, priority 1, I calculate the age in days:
> A{Age at enrollment} * 365.25
> Program rule, priority 2, I calculate the date of birth according
> to
> the day of data capture
> d2:addDays(V{enrollment_date}, -#{Age at enrollment in
> days})
> Program rule, priority 3, I round the date of birth to the 15 of
> June
> d2:concatenate(d2:substring(#{Date of birth calculated},
> 0, 4), '-06-15')
>
>
>     After that I obtain an approximate date of birth I can use in the
> d2
> date functions.
>
> Best,
>
> Edouard
>
> 2018-04-11 11:59 UTC+02:00, Em Le Hong <em.hispviet...@gmail.com>:
> > Dear all,
> >
> > I create a tracker data element value type: Age
> >
> > For event program, I want to use program to check and show error if Age
> is
> > under 5
> > I tried 2 functions d2:yearsBetween; d2:daysBetween with the expression
> as
> > below but it doesn't work:
> >
> > d2:daysBetween(#{age_value_type}, V{event_date})
> > d2:yearsBetween(#{age_value_type}, V{event_date})
> >
> > I check the manual Table 21.13. Custom functions to use in a program rule
> > expression
> > https://docs.dhis2.org/2.29/en/user/html/configure_
> program_rule.html#create_program_rule
> >  and don't see any functions for Age value type.
> >
> > I created a ticket on DHIS2 Jira https://jira.dhis2.org/browse/
> DHIS2-3381
> >
> >
> > I'm really appreciated if anyone has experience on this can share.
> >
> >
> > Regards,
> >
> >
> >
> > --
> > *Em Le Hong*
> > DHIS2 Implementation| *HISP Vietnam *
> > em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
> >
>
>
> --
> *Edouard Lavaud, *
>
>
>
> *MSc in Health Policy, Planning & FinancingMEng in
> TelecommunicationUniversity Diploma in ICT for Health*
> *Email:* edouard.lav...@gmail.com
> *Mobile:* 0033 6 7210 23 59
>



-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Program rule for Age value type

2018-04-11 Thread Em Le Hong
Dear all,

I create a tracker data element value type: Age

For event program, I want to use program to check and show error if Age is
under 5
I tried 2 functions d2:yearsBetween; d2:daysBetween with the expression as
below but it doesn't work:

d2:daysBetween(#{age_value_type}, V{event_date})
d2:yearsBetween(#{age_value_type}, V{event_date})

I check the manual Table 21.13. Custom functions to use in a program rule
expression
https://docs.dhis2.org/2.29/en/user/html/configure_program_rule.html#create_program_rule
 and don't see any functions for Age value type.

I created a ticket on DHIS2 Jira https://jira.dhis2.org/browse/DHIS2-3381


I'm really appreciated if anyone has experience on this can share.


Regards,



-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Looking for DHIS2 version 2.16 or 2.17 war file

2018-04-11 Thread Em Le Hong
Hi,

I have the builds from 2.17 to 2.21 here
https://drive.google.com/drive/folders/0B-tlJrv190f5Nm9PakE1b2JqTms you can
use it.

Regards,

On Wed, Apr 11, 2018 at 1:42 PM, Calle Hedberg <calle.hedb...@gmail.com>
wrote:

> Hi
>
> Will do - just give me a few hours, have a hectic morning
>
> Calle
>
> On 10 April 2018 at 11:39, micnice <mmatia...@yahoo.com> wrote:
>
>> Dear Calle,
>>
>> Thanks for the quick response. I couldn't find them on
>> https://ci.dhis.org, there is only version 2.22 onwards. You can share
>> the one you have and I will give it a try.
>>
>> Thank you
>>
>> Michael
>>
>> On 10/04/2018 02:03, Calle Hedberg wrote:
>>
>> Michael,
>>
>> I've got 2.17, but there should be a repository somewhere on a server for
>> both of them.
>>
>> Let's see if anybody knows the uRL
>>
>> Regards
>> Calle
>>
>> On 9 April 2018 at 15:44, micnice <mmatia...@yahoo.com> wrote:
>>
>>> Dear all
>>>
>>> I am looking for the DHIS2 2.16 or 2.17 .war file if anyone have it in
>>> their archives, I would like to restore an old backup to extract data.
>>>
>>> Thank you
>>>
>>> Michael
>>>
>>>
>>> ___
>>> 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
>>
>> ***
>>
>>
>>
>
>
> --
>
> ***
>
> 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
>
>


-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Cannot filter with 'start date' and 'end date' period in Event reports app

2018-03-21 Thread Em Le Hong
Dear dev,

There is an error in Event reports app in DHIS2 version 27, 28, 29, I
didn't test other versions.
I try to filter with 'Start date' and 'End date', when I click Update
button, it throws an error message "Dimension pe is present in query
without any valid dimension options"

I reported this bug to Jira in November 2017
https://jira.dhis2.org/browse/DHIS2-2481 but don't see any fixed until now
to 2.29

Thanks,
-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Design custom for registration form in 2.29

2018-03-14 Thread Em Le Hong
Dear dev team,

In 2.28 and older versions, we can design custom for registration page

But in 2.29, the Program module is replaced with new feature in Maintenance
app and I couldn't find the place to design custom for registration page.

I have 2 questions on this:

1. Where can I design custom registration page for tracker program in 2.29?
2. If it's a missing feature, so will you implement it in future or remove
it completely?


Thanks,

-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] No Data Values

2018-01-31 Thread Em Le Hong
Hi Stanley,

Are you using dashboard and favorite with relative period something like
"This month" or "This week", so it can't show data to you if you don't have
data for This month (eg: Feb 2017). Try to run analysis tables and check
with fix period.

Cheers,

On Thu, Feb 1, 2018 at 11:11 AM, Stanley Kalyati <skaly...@gmail.com> wrote:

> Anyone to help on this one?
>
>
> On Tuesday, January 30, 2018, Stanley Kalyati <skaly...@gmail.com> wrote:
>
>> Hi all,
>>
>> I have an instance that was working properly until today when I noticed
>> that pivot tables and visualizer are saying no data values on some
>> forms.Yet there is data captured and yesterday I was able to see
>> data.Another form however i am able to see data when I run pivot tables.
>>
>> When I run report rate summary,the instance is able to show that I have
>> indeed completed the data sets.
>>
>> I am using 2.6 version.
>>
>> What could be the problem? Please assist
>>
>> Stanley
>>
>
> ___
> 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
>
>


-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] DHIS-2 API's

2017-08-24 Thread Em Le Hong
Hi Omer,

You can try something like this:

?fields=children[name,id],ancestors[name,id]

On Thu, Aug 24, 2017 at 12:29 PM, Omer Butt <omerbutt2...@gmail.com> wrote:

> Sir I used that API :
> *:/api/organisationUnits/OYfCChzZ1wx.json?fields=ancestors,children,name*
>
> *Response :*
> {"name":"Bannu","children":[{"id":"yvVnd97UiJN"},{"id":"
> cdlEAe4BMS2"}],"ancestors":[{"id":"osCztkmFYud"},{"id":"KH8VFLnpwWL"}]}
>
>
> *--*
> *How Can I get name of the children and ancestors. ??*
>
>
> ___
> 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
>
>


-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Rename category option

2017-08-08 Thread Em Le Hong
Hi Adam,

It seems like a bug of DHIS2. We experienced the same your issue and we
solved it by update with Import/Export module (xml/json).

Below is 1 example on xml format you can try:

http://dhis2.org/schema/dxf/2.0;>

http://dhis2.org/schema/dxf/2.0;
lastUpdated="2017-08-08T23:23:31.719" created="2017-08-08T23:23:31.718"
name="test rename 4" id="ELBMKFATkwo">








For long-term, I think we should create a ticket on Jira site of DHIS2
https://jira.dhis2.org/secure/Dashboard.jspa

Regards,

On Tue, Aug 8, 2017 at 9:18 PM, Adam Preston <adam7...@hotmail.com> wrote:

> Hello,
>
>
> I renamed a category option but noticed the corresponding category option
> combination still has the old name.  I ran the "Update category option
> combinations" maintenance operation several times.
>
>
> Thanks
>
>
> Sent from Outlook <http://aka.ms/weboutlook>
>
> ___
> 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
>
>


-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Entering data using Mobile (Smartphone) module

2017-08-07 Thread Em Le Hong
Hi,

I think it's just assigning setup.
On Android and Web browser on smartphone (Smartphone app), you have assign
a user to specific orgUnit which also has dataSet assigned to.

For example:
Your dataSet is assign to level 3, then you also need to assign the user to
level 3. On web version, if you assign user to level 1, you can do data
entry for level 2,3,4, but on Smartphone app and Android app, you can't.

Some experiences, hope it can help you!

On Tue, Aug 8, 2017 at 4:25 AM, Mike Johnson <mjohn...@pih.org> wrote:

> Is anyone able to help me troubleshoot a problem with the browser-based
> mobile client (smartphone) in Chrome and Firefox.
>
>
>
> When entering data using the URL: /*dhis/mobile/data-entry*, I am
> receiving this error: "No organisation units available for data entry." The
> server is logging a java.lang.NullPointerException
>
> If I try to enter data in a dataset at Level 1 or Level 2, there is no
> error. If the dataset is at Level 3 or 4 in the hierarchy, the error is
> flagged. In an Incognito Browser window, the browser redirects to /
> *dhis/mobile/index* automatically and the error disappears.
>
> I have tested this with multiple users, brand new users, and different
> user roles, including superuser role. If a superuser has access to datasets
> for Org Units at Level 1 and Level 2, then other users who sign in on the
> same browser will also have access to enter data at these levels until the
> cache is cleared. Then the error message about organization units will be
> shown.
>
>
>
> I entered a bug report (https://jira.dhis2.org/browse/DHIS2-2013 ) in
> case this is something others are experiencing.
>
>
>
> Thank you for your assistance!
>
>
>
> *Mike Johnson, MSc*
>
> Senior Analyst | Monitoring, Evaluation, and Quality Improvement
>
> Partners In Health
>
> Skype: mjohn...@pih.org | Phone: 857.206.5246
>
>
>
> ___
> 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
>
>


-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Older war files

2017-07-10 Thread Em Le Hong
Hi Hannan,

To download an old war file, I found that we can download to the version
2.18 https://www.dhis2.org/download/releases/2.18/dhis.war.

For the older, I guess you need to checkout the code from Launchpad site
and build it yourself.

https://code.launchpad.net/dhis2

On Mon, Jul 10, 2017 at 12:40 PM, Hannan Khan <hann...@gmail.com> wrote:

> Dear all
>
> I need earlier war files from 16 on ward; from where I can download?
>
> Regards
>
> Muhammad Abdul Hannan Khan
> Team Leader
> Support to the National HMIS
> MIS, Director General of Health Service
> Ministry of Health and Family Welfare
>
> T +880-2- 58816459, 58816412 ext 118
> F +88 02 58813 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
>
>


-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Allow Date in future in Data Sets

2017-05-11 Thread Em Le Hong
Hi,

When you create or Edit a dataSet, there's an option for you to do that it
called: Open future periods for data entry
You need to enter integer number into that field: for example in the
screenshot, the period type is quarterly and I enter number 2 to that
field, then I can enter data for 2 future quarter.
The screen is in DHIS2 version 2.26

[image: Inline image 1]

On Thu, May 11, 2017 at 5:49 PM, Marc Garnica <marcgarnic...@gmail.com>
wrote:

> Dear all,
>
> We are currently developing a data set for stock management and we need to
> enter the expiry date of some drugs among other attributes. We've used the
> feature of "Allow date in future" in the individual part (Tracker data
> elements and programs) but we cannot see how we can manage this in the
> Aggregated part.
>
> Is there any way to accept future dates for aggregated data elements in
> data sets?
>
> Thank you very much in advance.
>
> Marc Garnica
>
> ___
> 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
>
>


-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Unable to delete data elements and programs

2017-05-08 Thread Em Le Hong
Hi Davis,

In order to delete program (with registration) and dataElements, first you
need to delete all events and tracked entity instance belongs to that
program. In addition, you also need to remove the program out of the
userRole, then go to Data Administration module do maintenance task
(Permanently
remove soft deleted data values, Permanently remove soft deleted events).
After that, you need to delete program stages first, and finally delete
program (dataElements).

Hope this work for you.

Sincerely,

On Mon, May 8, 2017 at 9:14 PM, Knut Staring <knu...@gmail.com> wrote:

> Hi Kelly,
>
> You cannot delete the data element because you already have data entered
> for it (specifically Tracker data).
>
> Regards,
> Knut
>
> On Mon, May 8, 2017 at 4:07 PM, Davis, Kelly <kda...@path.org> wrote:
>
>> Hi all,
>>
>>
>>
>> I am trying to delete a data element but receive the following error
>> message: “Could not delete due to association with another object:
>> TracledEntityDataValue.” What does this mean? And how do I go about
>> deleting the data element given this message?
>>
>>
>>
>> Also, I’m trying to delete a program and receive the following error
>> message: Object not deleted because it is associated by objects of type.
>> Could not delete due to association with another object:
>> ProgramStageInstance.” I’m not sure how to go about handling this one,
>> either.
>>
>>
>>
>> Any help would be greatly appreciated!
>>
>>
>>
>> Best,
>>
>> Kelly
>>
>> ___
>> 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
>>
>>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522
> Skype: knutstar
> http://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
>
>


-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] DHIS Upgrade from 2.23 to 2.25 inconsistencies in the database migration when doing an incremental upgrade vs direct upgrade

2017-05-02 Thread Em Le Hong
Hi,

For upgrading, You have to upgrade as the first way:

   - Incremental Upgrade from 2.23 -> 2.24 -> 2.25

And read the Upgrade notes for each version from:

https://www.dhis2.org/downloads
https://www.dhis2.org/224-upgrade
https://www.dhis2.org/225-upgrade

Some versions you need to use upgrade script.

Hope this is helpful for you.

On Tue, May 2, 2017 at 3:52 PM, jhansirk <jhans...@thoughtworks.com> wrote:

> We have also verified if these missing tables exist in the brand new DHIS
> 2.25 installation and we don’t see them in it either.
>
> Thanks,
> Jhansi
>
>
> On 02-May-2017, at 1:00 PM, jhansirk <jhans...@thoughtworks.com> wrote:
>
> Hi DHIS-Devs,
>
> We are planning to upgrade from DHIS 2.23 to 2.25, we have two ways to do
> the upgrade:
>
>- Incremental Upgrade from 2.23 -> 2.24 -> 2.25
>- Direct Upgrade from 2.23 -> 2.25
>
>
> We have noticed some inconsistencies in the database when doing an
> incremental upgrade vs direct upgrade. Following tables are not getting
> created when doing a direct upgrade from 2.23 to 2.25 (Apart from this rest
> other migrations looks good).
>
>1. maplayertranslations
>2. metadatafiltertranslations
>3. programvalidationtranslations
>4. trackedentityinstanceremindertranslations
>
> Above missing tables are added in DHIS 2.24 and the code to create these
> tables is removed in DHIS 2.25. Because of which, these tables are getting
> created only with an incremental upgrade from 2.24 to 2.25 and not with the
> direct upgrade from 2.23 to 2.25. Is the intention behind removing the code
> is to get rid of these tables? But, these tables will be in the system
> forever if someone is doing an incremental upgrade. So, Is there any plan
> to use these tables in future or can we ignore this tables?
>
> Thanks,
> Jhansi
>
>
>
> ___
> 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
>
>


-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Bug in event reports page display all elements on initial load

2017-04-26 Thread Em Le Hong
Hi Hari,

I have the same issue with you and I already created a ticket on Jira site.
Hope they will implement it soon.
https://jira.dhis2.org/browse/DHIS2-1441

I also tried with sharing settings, but it doesn't work as expectation.

On Wed, Apr 26, 2017 at 12:39 PM, Hari Krishna <harik...@thoughtworks.com>
wrote:

> Hello there,
>
> We found a small bug in event reports page for DHIS version 2.25 and 2.26.
> On initial load of event reports page, when we select a program, both data
> elements and program indicators are listed under aggregated values tab. But
> we expecting to see only data elements under aggregated values tab. Is this
> the expected behavior? If so, we have sent a pull requests to fix this on
> 2.25 <https://github.com/dhis2/dhis2-core/pull/741> and 2.26
> <https://github.com/dhis2/dhis2-core/pull/740>.
>
> --
> Hari Krishna
> Developer
> Email harik...@thoughtworks.com
> Telephone +917660029495
> [image: ThoughtWorks]
> <http://www.thoughtworks.com/?utm_campaign=hari-krishna-signature_medium=email_source=thoughtworks-email-signature-generator>
>
> ___
> 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
>
>


-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] IMPLEMENTATION OF STAND ALONE TRACKER CAPTURE/PROGRAMS

2017-04-25 Thread Em Le Hong
Hi Stanley,

You can use DHIS2 Android apps, from google Play Store, type dhis2, you
will see a list of application (tracker capture, event capture, data
capture...). When you install DHIS2 android app on your Android devices,
you just need internet for first time login to download metadata into your
devices. Then you can use it offline to register tracked entity instance,
do data, create event... When your device can connect to internet, it will
synchronize and send all offline data to the server.

You can read more on
https://docs.dhis2.org/master/en/android/html/dhis2_android_user_man.html

Hope this can help.

On Thu, Apr 20, 2017 at 1:56 PM, Stanley Kalyati <skaly...@gmail.com> wrote:

> I have a program in tracker and we have issues with internet connectivity
> in many areas.We resorted to using android phones but this has not improved
> situation as the phone too need to be online to access the Android Tracker
> Capture.
>
> I am now thinking of going offline and then have the data officers
> download the metadata and send via email and then i can upload in the main
> system.
>
> I have used this system before but with aggregate data and not Tracker
> Capture.
>
> My fear is that if i install a copy of the system on stand alone
> machines,chances of duplicates in the enrollment and events is likely to
> happen as different Data officers across the country will be sending in
> metadata for upload.
>
> My questions are:
>
> 1-Is there anyone here who has implemented such a program on stand alone
> machines? If yes kindly share your experience
>
> 2-Does this type of implementation bringforth duplicates within the
> program? or when uploading you select new events ONLY?
>
> 3-What are the challenges i am likely to face using this type of
> implementation?
>
> 4-Is there another way of collecting this data offline?
>
> Your advise and direction will be appreciated.
>
> Regards
>
> Stanley
>
>
>
> ___
> 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
>
>


-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Auto-Generated Client UICs in Tracker v2.25

2017-04-25 Thread Em Le Hong
You can use script on custom form. Until now, there's no way for default
form to generate based on tracked entity attributes.

On Tue, Apr 25, 2017 at 5:48 PM, Brian O'Donnell <bodonn...@akros.com>
wrote:

> Hi all,
>
> I'm curious if anyone has experience in auto-generating Unique Identifier
> Codes (UICs) in tracker capture module (v2.25 or below), or if there is a
> best practices document out there.
>
> We are capturing sensitive information about clients through android
> tracker. The service provider would like to capture name and phone number
> data, but restrict viewing of these data to higher-level users. Data entry
> roles should only be able to search based on a system-generated UIC. You
> should be able to construct and re-construct UICs based on client data, as
> in the diagram from PSI below.
> [image: Inline image 1]
>
> So we do not need a randomly generated ID for the tracked entity, but a
> script which constructs a custom string attribute based on other tracked
> entity attributes, similar to this app, but built directly into DHIS2 form:
> https://play.google.com/store/apps/details?id=org.eyeseetea.uicapp=en
>
> I am not the only one who has requested this (https://lists.launchpad.net/
> dhis2-devs/msg47211.html) but I cannot find a manual or correspondence
> online. Happy to provide more details on use case on request.
>
> Brian
> --
> [image: Akros] <http://www.akros.com/> Brian O'Donnell, MPAff
> Informatics Project Manager
> bodonn...@akros.com
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-us...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Event Capture App is broken for DHIS 2.25

2017-04-18 Thread Em Le Hong
Hi there,

I guess you need to read the upgrade notes. If you already follow upgrade
notes, please try to restart nginx server and clear nginx cache if you are
running it on ubuntu server.
We was facing the same problem, but it's find after cleaning cache and
restarting nginx server.

Hope this can help,

On Tue, Apr 18, 2017 at 5:50 PM, jhansirk <jhans...@thoughtworks.com> wrote:

> Hello everyone,
>
> We are currently on DHIS2 2.23 version planning to upgrade to 2.25. We
> have recently noticed the event capture app is broken on DHIS 2.25. When we
> have looked into it, we noticed that the issue is with the newly built
> event capture app artifact for DHIS 2.25.
>
> Looks like the latest event capture app is not compatible with DHIS 2.25.
> We see that event capture app is a maven dependency. In maven repository,
> we see event capture app for DHIS 2.25 is last built on April 5th and that
> is not compatible with DHIS 2.25. While building the DHIS 2.25 app, it is
> downloading the latest event capture app artifact which is not compatible
> with DHIS 2.25. Hence, event capture app has an issue with DHIS 2.25.
>
> Please let us know if you want more details.
>
> Thanks,
> Jhansi
> ___
> 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
>



-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam*
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Package for Vietnamese translation

2017-03-06 Thread Em Le Hong
Dear Jason,

We have updated all translation files on translate.dhis2.org. Can you
please us to synchronize them with the source code.
We will test it again on DHIS2 demo site and let you know if we need to
update more.

Many thanks for your help.

Sincerely,


On Tue, Feb 28, 2017 at 6:04 PM, Em Le Hong <em.hispviet...@gmail.com>
wrote:

> Thanks Json,
>
> HISP-VN team will work on it and let you know when we finish.
>
> Sincerely,
>
> On Tue, Feb 28, 2017 at 5:59 PM, Jason Pickering <
> jason.p.picker...@gmail.com> wrote:
>
>> Hi Em,
>> I have enabled all of these projects in the translation server now.
>>
>> Please let me know when you are done translating, and I will synchronize
>> them with the source code.
>>
>> Regards,
>> Jason
>>
>>
>> On Tue, Feb 28, 2017 at 11:04 AM, Em Le Hong <em.hispviet...@gmail.com>
>> wrote:
>>
>>> Dear dev,
>>>
>>> We are working on translation site of DHIS 2 (
>>> https://translate.dhis2.org/projects/. We realize that there are some
>>> modules don't have Vietnamese package listing below:
>>>
>>>- DHIS2 Android translation
>>>- DHIS2 app management app
>>>- DHIS2 Cache Cleaner app
>>>- DHIS2 Event Capture app
>>>- DHIS2 GIS app
>>>- DHIS2 Menu Management app
>>>    - DHIS2 Tracker Capture app
>>>- DHIS2 User profile app
>>>
>>> Is it possible that we can add those packages to translation site, so we
>>> can translate it.
>>>
>>> Sincerely,
>>>
>>>
>>> --
>>> Company: *HISP-Vietnam*
>>> Name: Em Le Hong
>>> Phone: +84 126 7171 650
>>> Skype: em.hispvietnam
>>>
>>>
>>>
>>>
>>>
>>>
>>> ___
>>> 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
>>
>
>
>
> --
> Company: *HISP-Vietnam*
> Name: Em Le Hong
> Phone: +84 126 7171 650
> Skype: em.hispvietnam
>
>
>
>
>
>


-- 
Company: *HISP-Vietnam*
Name: Em Le Hong
Phone: +84 126 7171 650
Skype: em.hispvietnam
___
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] Package for Vietnamese translation

2017-02-28 Thread Em Le Hong
Thanks Json,

HISP-VN team will work on it and let you know when we finish.

Sincerely,

On Tue, Feb 28, 2017 at 5:59 PM, Jason Pickering <
jason.p.picker...@gmail.com> wrote:

> Hi Em,
> I have enabled all of these projects in the translation server now.
>
> Please let me know when you are done translating, and I will synchronize
> them with the source code.
>
> Regards,
> Jason
>
>
> On Tue, Feb 28, 2017 at 11:04 AM, Em Le Hong <em.hispviet...@gmail.com>
> wrote:
>
>> Dear dev,
>>
>> We are working on translation site of DHIS 2 (
>> https://translate.dhis2.org/projects/. We realize that there are some
>> modules don't have Vietnamese package listing below:
>>
>>- DHIS2 Android translation
>>- DHIS2 app management app
>>- DHIS2 Cache Cleaner app
>>- DHIS2 Event Capture app
>>- DHIS2 GIS app
>>- DHIS2 Menu Management app
>>- DHIS2 Tracker Capture app
>>- DHIS2 User profile app
>>
>> Is it possible that we can add those packages to translation site, so we
>> can translate it.
>>
>> Sincerely,
>>
>>
>> --
>> Company: *HISP-Vietnam*
>> Name: Em Le Hong
>> Phone: +84 126 7171 650
>> Skype: em.hispvietnam
>>
>>
>>
>>
>>
>>
>> ___
>> 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
>



-- 
Company: *HISP-Vietnam*
Name: Em Le Hong
Phone: +84 126 7171 650
Skype: em.hispvietnam
___
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] Package for Vietnamese translation

2017-02-28 Thread Em Le Hong
Dear dev,

We are working on translation site of DHIS 2 (
https://translate.dhis2.org/projects/. We realize that there are some
modules don't have Vietnamese package listing below:

   - DHIS2 Android translation
   - DHIS2 app management app
   - DHIS2 Cache Cleaner app
   - DHIS2 Event Capture app
   - DHIS2 GIS app
   - DHIS2 Menu Management app
   - DHIS2 Tracker Capture app
   - DHIS2 User profile app

Is it possible that we can add those packages to translation site, so we
can translate it.

Sincerely,


-- 
Company: *HISP-Vietnam*
Name: Em Le Hong
Phone: +84 126 7171 650
Skype: em.hispvietnam
___
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] Organisation Unit value type show UID instead of name

2016-12-12 Thread Em Le Hong
Dear Abyot,

Thanks for your information.

On Mon, Dec 12, 2016 at 3:23 PM, Abyot Asalefew Gizaw <ab...@dhis2.org>
wrote:

> Hi Em,
>
> Showing orgunit name in Event and Tracker capture apps is implemented for
> the coming release.
>
> --
> Abyot A. Gizaw.
> Senior Engineer, DHIS2
> University of Oslo
> http://www.dhis2.org
>
> On Mon, Dec 12, 2016 at 4:33 AM, Em Le Hong <em.hispviet...@gmail.com>
> wrote:
>
>> Dear team,
>>
>> In DHIS2 2.25 R.017e04e
>>
>> I'm trying to use new value type, it's Organisation Unit, I expect it to
>> show orgUnit name in Event capture and Event report, but both show UID, is
>> there anyway that I can show orgUnit name instead of uid in Event Capture
>> and Event Report?
>>
>> Image in Event Capture
>> [image: Inline image 1]
>> [image: Inline image 2]
>> Image in Event Report
>> [image: Inline image 3]
>>
>> Sincerely,
>> --
>> Company: *HISP-Vietnam*
>> Name: Em Le Hong
>> Phone: +84 126 7171 650
>> Skype: em.hispvietnam
>>
>>
>>
>>
>>
>>
>> ___
>> 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
>>
>>
>


-- 
Company: *HISP-Vietnam*
Name: Em Le Hong
Phone: +84 126 7171 650
Skype: em.hispvietnam
___
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] Organisation Unit value type show UID instead of name

2016-12-11 Thread Em Le Hong
Dear team,

In DHIS2 2.25 R.017e04e

I'm trying to use new value type, it's Organisation Unit, I expect it to
show orgUnit name in Event capture and Event report, but both show UID, is
there anyway that I can show orgUnit name instead of uid in Event Capture
and Event Report?

Image in Event Capture
[image: Inline image 1]
[image: Inline image 2]
Image in Event Report
[image: Inline image 3]

Sincerely,
-- 
Company: *HISP-Vietnam*
Name: Em Le Hong
Phone: +84 126 7171 650
Skype: em.hispvietnam
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] Bug on Event Capture app (DHIS2.25, R.0a8fe47)

2016-11-28 Thread Em Le Hong
Dear team,


I'm using Event Capture app on DHIS2.25 version. found one bug:

I create a program (without registration) and use it with Event capture
app. In the Event capture app, my account can see program in program
selection box.
[image: Inline image 1]
But when I change to other computer with the same account or user role, but
I cannot see program name in the list. It also happens if I clear browser
cache. After clearing browser cache, I have to upgrade the program version
in other for it to display in program selection list.

The problem is the end user don't have authority to go to program
management to upgrade program version for first time using or after clear
the cache.

Sincerely,

-- 
Company: *HISP-Vietnam*
Name: Em Le Hong
Phone: +84 126 7171 650
Skype: em.hispvietnam
___
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 version 2.25 can't point to database

2016-10-29 Thread Em Le Hong
Hi dev,

I'm testing DHIS2 2.25 Build Revision 5e16867, I don't know why it can't
point to postgres database which I define in hibernate.properties file when
I start tomcat server.

Is this a bug or I do need some step with this new version?

Sorry if I send this at weekend.

Sincerely,

-- 
Company: *HISP-Vietnam*
Name: Em Le Hong
Phone: +84 126 7171 650
Skype: em.hispvietnam
___
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] Can't open App Management module

2016-08-24 Thread Em Le Hong
Hi Dev,

In DHIS2 Version 2.24 R.23579

I try to open App Management module but it keeps loading for long time and
can't open it. I try it with local server and online demo server
https://play.dhis2.org/demo on different computers, got the same problem.

Thanks,

-- 
Company: *HISP-Vietnam*
Name: Em Le Hong
Phone: +84 126 7171 650
Skype: em.hispvietnam
___
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] Clear data values in Analytic tables

2016-08-09 Thread Em Le Hong
Dear dev,

In DHIS2 version 2.23 R.22977

I have tracker program (with registration), I register a patient, do event
data entry. Then I can use it in Event Reports app.
When I use web api to delete events and tracked entity instance, it
deleted. But I still can see the data values in Event Reports app.

I go to Data Administration to perform Clear Analytics tables task, then go
back to run Data Mart (Analytics) in Reports app. The values are still in
the Event Reports app.

After one night, the values will be gone. So we can only delete data values
and wait for 24 hours for the system to generate new values for Data
analytics apps. It seems that the Clear analytics tables doesn't work.

Is there any possible way to do that immediately?

Sincerely,


-- 
Le Hong Em
  +84 126 7171 650
___
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] How to clear cache for app in app management

2016-08-05 Thread Em Le Hong
Hi Channara,

Try to increase the version in manifest.webapp file and after you zip the
app, change the zip name also.

Hope this can help.


On Fri, Aug 5, 2016 at 1:17 PM, rin.chann...@gmail.com <
rin.chann...@gmail.com> wrote:

> Hi all dev,
> I am developing one app and upload this App to app management for testing.
> But when I changed some code and upload again. The system always remember
> the previous code like code console.log.
> So do you know how to clear cache for testing app in the system or has
> another for testing without upload.
>
> Thank you
> Channara
>
>
> From m2 note
> ___
> 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
>
>


-- 
Le Hong Em
  +84 126 7171 650
___
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] Login issue

2016-08-04 Thread Em Le Hong
I saw the response of the same bug.

Thanks,

On Fri, Aug 5, 2016 at 11:22 AM, Em Le Hong <em.hispviet...@gmail.com>
wrote:

> Hi dev,
>
> I'm using DHIS2 2.23 R.23045
>
> I can't login to dhis2 with chrome browser, I fill in the username and
> password, click on Sign in button, it just refreshes the page, no error
> message. But when I try with Firefox browser, with the same username and
> password, then I can login. I clean history cache and also try with other
> computers, still get the same problem.
>
> Is that because of server configuration or anything else?
>
> Thanks,
>
> --
> Le Hong Em
>   +84 126 7171 650
>



-- 
Le Hong Em
  +84 126 7171 650
___
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] Login issue

2016-08-04 Thread Em Le Hong
Hi dev,

I'm using DHIS2 2.23 R.23045

I can't login to dhis2 with chrome browser, I fill in the username and
password, click on Sign in button, it just refreshes the page, no error
message. But when I try with Firefox browser, with the same username and
password, then I can login. I clean history cache and also try with other
computers, still get the same problem.

Is that because of server configuration or anything else?

Thanks,

-- 
Le Hong Em
  +84 126 7171 650
___
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] Program indicator filter

2016-07-15 Thread Em Le Hong
Dear dev,

In DHIS2 version 2.22 R.22085

I want to create a program filter to count all tracked entity instances
(TEI) that have not have not came to the follow up by monthly.

 For example: a TEI came to the first event in May, then this TEI will not
came in June and July, he/she will came on August.

I create a program indicator to count TEI with filter if all data elements
of Follow-up stage is empty. I try some things like this in the filter:

#{wm3SAR4i8NV.R0lmCKv4yOE} == '' and #{wm3SAR4i8NV.rEQiomK09c1} == ''

but it seems doesn't work.

What is the correct way to filter if these data element is null or empty?

Sincerely,

-- 
Le Hong Em
  +84 126 7171 650
___
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] Android Tracker doesn't work with 2.23 version

2016-05-23 Thread Em Le Hong
Hi Erling,
I got the crash screen, one more thing I want to indicate you that the
program stage has custom data entry form. Does the android support custom
data entry?
[image: Inline image 1]

On Mon, May 23, 2016 at 2:17 PM, Erling Fjelstad <erl...@dhis2.org> wrote:

> Hi Em,
> It works over here on play.dhis2.org/demo - which is running 2.23. What
> is failing on your end?
> Regards,
> Erling
>
> On Mon, May 23, 2016 at 6:08 AM, Em Le Hong <em.hispviet...@gmail.com>
> wrote:
>
>>
>> Hi team,
>>
>> I just tested the Android Tracker app and seems that it doesn't work with
>> DHIS2 version 2.23 revision 22889.
>>
>> Do you have any plan to update so it can work with DHIS2 version 2.23?
>> Because we are implementing it in Cambodia and they want to know so they
>> can make a plan for training.
>>
>> Thanks
>> --
>> Le Hong Em
>>   +84 126 7171 650
>>
>> ___
>> 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
>>
>>
>


-- 
Le Hong Em
  +84 126 7171 650
___
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 doesn't work with 2.23 version

2016-05-22 Thread Em Le Hong
Hi team,

I just tested the Android Tracker app and seems that it doesn't work with
DHIS2 version 2.23 revision 22889.

Do you have any plan to update so it can work with DHIS2 version 2.23?
Because we are implementing it in Cambodia and they want to know so they
can make a plan for training.

Thanks
-- 
Le Hong Em
  +84 126 7171 650
___
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] [Bug 1561541] [NEW] Android Event Capture app doesn't show data element form name

2016-04-28 Thread Em Le Hong
Hi,
Actually, it all shows default form name in event capture entry screen but
in event list view it shows default short name.

Is there anyway to display as user selected locale like in server? In
addition, can we translate interface language of the Android event capture
app?

On Thu, Apr 28, 2016 at 5:19 PM, Em Le Hong <em.hispviet...@gmail.com>
wrote:

> Hi Erling,
>
> The android capture app only shows form name (translated) of dataelement
> in data entry screen. It doesn't show any translated in event list view
> like translated short name.
>
> See the screen shots.
>
> On Thu, Apr 7, 2016 at 11:10 AM, Thuy Nguyen <thuy.hispviet...@gmail.com>
> wrote:
>
>> Hi Em,
>>
>> Have you try to test as Erling suggestions? What is the result please
>> send update.
>>
>> On Sat, Mar 26, 2016 at 5:27 AM, Erling Fjeldstad <erl...@dhis2.org>
>> wrote:
>>
>>> Hi Em,
>>> If you have configured your data element names on the server and
>>> wondering why it is not pulling through to Android Event Capture, please
>>> bump up the program version and then re sync the Android app
>>>
>>> Android Event Capture shows data element form name if it exists and is
>>> not empty, if not it displays the displayName that we get from the API. See
>>> the following snippet (hope it makes sense):
>>>
>>> String dataElementName;
>>> if (!isEmpty(dataElement.getDisplayFormName())) {
>>> dataElementName = dataElement.getDisplayFormName();
>>> } else {
>>> dataElementName = dataElement.getDisplayName();
>>> }
>>>
>>>
>>>
>>> On Thu, Mar 24, 2016 at 2:40 PM, Le Hong Em <em.hispviet...@gmail.com>
>>> wrote:
>>>
>>>> Public bug reported:
>>>>
>>>> I was testing the Android Event capture app with DHIS2 version 22
>>>> (R.21932) and realized that the app only show data elements 'SHORT NAME'
>>>> instead of 'FORM NAME' in the event list view.
>>>>
>>>> ** Affects: dhis2
>>>>  Importance: Undecided
>>>>  Status: New
>>>>
>>>> --
>>>> You received this bug notification because you are a member of DHIS 2
>>>> developers, which is subscribed to DHIS.
>>>> https://bugs.launchpad.net/bugs/1561541
>>>>
>>>> Title:
>>>>   Android Event Capture app doesn't show data element form name
>>>>
>>>> Status in DHIS:
>>>>   New
>>>>
>>>> Bug description:
>>>>   I was testing the Android Event capture app with DHIS2 version 22
>>>>   (R.21932) and realized that the app only show data elements 'SHORT
>>>>   NAME' instead of 'FORM NAME' in the event list view.
>>>>
>>>> To manage notifications about this bug go to:
>>>> https://bugs.launchpad.net/dhis2/+bug/1561541/+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
>>>>
>>>
>>>
>>> ___
>>> 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
>>>
>>>
>>
>
>
> --
> Le Hong Em
>   +84 126 7171 650
>



-- 
Le Hong Em
  +84 126 7171 650
___
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] Translate Period in Data Entry module

2016-01-18 Thread Em Le Hong
Got it thank you Sir,
Hope they can fix this soon.

On Mon, Jan 18, 2016 at 3:13 PM, Jason Pickering <
jason.p.picker...@gmail.com> wrote:

> Yeah, you seem to be right. I just talked with Morten as well, and it does
> not work. I checked in the Vietnamese translations (
> http://translate.dhis2.org/vi/dhis2-translations/dhis-service-core/vi.po/translate/#search=January=source,target)
> and I can see the translations are actually there, the just simply do not
> work anywhere. Everything is in English. So, i guess you are stuck with
> English for now until it actually gets implemented.
>
> I will keep following up with the developers to push them to implement
> this, but it seems that it will not be a really easy fix.
>
> Regards,
> Jason
>
>
> On Mon, Jan 18, 2016 at 8:16 AM, Em Le Hong <em.hispviet...@gmail.com>
> wrote:
>
>> The periods in period select of Data Entry module. As Morten just told
>> me, DHIS2 doesn't support to translate this anymore.
>> You can see in the screenshot of the attachment. I hope we can translate
>> this.
>>
>> On Mon, Jan 18, 2016 at 12:49 PM, Jason Pickering <
>> jason.p.picker...@gmail.com> wrote:
>>
>>> Hi Em,
>>> It is possible, but you must be very careful about it. Which periods are
>>> you referring to specifically?
>>>
>>> Could you give a screen shot, and I might be able to help you track them
>>> down.
>>>
>>> Regards,
>>> Jason
>>>
>>>
>>> On Mon, Jan 18, 2016 at 4:43 AM, Em Le Hong <em.hispviet...@gmail.com>
>>> wrote:
>>>
>>>> Dear Team,
>>>>
>>>> Is that possible to translate the period in Data Entry module? I can't
>>>> find it in any properties file. I want to translate it for version 2.19
>>>> which is currently implemented in Vietnam.
>>>>
>>>> Thanks
>>>>
>>>> --
>>>> Le Hong Em
>>>>   +84 126 7171 650
>>>>
>>>> ___
>>>> 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
>>>
>>
>>
>>
>> --
>> Le Hong Em
>>   +84 126 7171 650
>>
>
>
>
> --
> Jason P. Pickering
> email: jason.p.picker...@gmail.com
> tel:+46764147049
>



-- 
Le Hong Em
  +84 126 7171 650
___
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] Translate Period in Data Entry module

2016-01-17 Thread Em Le Hong
The periods in period select of Data Entry module. As Morten just told me,
DHIS2 doesn't support to translate this anymore.
You can see in the screenshot of the attachment. I hope we can translate
this.

On Mon, Jan 18, 2016 at 12:49 PM, Jason Pickering <
jason.p.picker...@gmail.com> wrote:

> Hi Em,
> It is possible, but you must be very careful about it. Which periods are
> you referring to specifically?
>
> Could you give a screen shot, and I might be able to help you track them
> down.
>
> Regards,
> Jason
>
>
> On Mon, Jan 18, 2016 at 4:43 AM, Em Le Hong <em.hispviet...@gmail.com>
> wrote:
>
>> Dear Team,
>>
>> Is that possible to translate the period in Data Entry module? I can't
>> find it in any properties file. I want to translate it for version 2.19
>> which is currently implemented in Vietnam.
>>
>> Thanks
>>
>> --
>> Le Hong Em
>>   +84 126 7171 650
>>
>> ___
>> 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
>



-- 
Le Hong Em
  +84 126 7171 650
___
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] Translate Period in Data Entry module

2016-01-17 Thread Em Le Hong
Dear Team,

Is that possible to translate the period in Data Entry module? I can't find
it in any properties file. I want to translate it for version 2.19 which is
currently implemented in Vietnam.

Thanks

-- 
Le Hong Em
  +84 126 7171 650
___
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] Round decimal number

2015-12-17 Thread Em Le Hong
Dear all,

I create an HTML report for my project, it's about finance. When I get the
value from API, it already rounded, for example, the value in data entry
form is 52.85, then the value in report will be 52.9. The same with Pivot
Table, we don't have option not to round the number.

Is that any option that I can get the native value the same with the value
in Data Entry form?

-- 
Le Hong Em
  +84 126 7171 650
___
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] Round decimal number

2015-12-17 Thread Em Le Hong
It works now, thank you

On Thu, Dec 17, 2015 at 3:56 PM, Lars Helge Øverland <larshe...@gmail.com>
wrote:

> Hi Em,
>
> did you check out the skipRounding=true analytics query parameter in the
> docs?
>
> https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s27.html#d5e3419
>
>
> skipRoundingNoSkip rounding of data values, i.e. provide full precision.false
> | true
> best regards,
>
> Lars
>
>
>
> On Thu, Dec 17, 2015 at 9:25 AM, Em Le Hong <em.hispviet...@gmail.com>
> wrote:
>
>> Dear all,
>>
>> I create an HTML report for my project, it's about finance. When I get
>> the value from API, it already rounded, for example, the value in data
>> entry form is 52.85, then the value in report will be 52.9. The same with
>> Pivot Table, we don't have option not to round the number.
>>
>> Is that any option that I can get the native value the same with the
>> value in Data Entry form?
>>
>> --
>> Le Hong Em
>>   +84 126 7171 650
>>
>> ___
>> 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
> http://www.dhis2.org <https://www.dhis2.org>
>
>


-- 
Le Hong Em
  +84 126 7171 650
___
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