Re: [Dhis2-users] How to create entity attribute with generated value based on others elements

2018-11-13 Thread Em Le Hong
Hi,

You can use Text Pattern
https://docs.dhis2.org/2.30/en/user/html/working-with-textpattern.html

Good luck!

On Wed, Nov 14, 2018 at 12:51 PM Gérard Bisama  wrote:

> Hi everyone,
>
> I am using tracker and I want to create a entity attribute with generated
> value that depending on other attributes values like :
> - code of the orgunit assigned to program
> - value of the field sex
> - followed by random number of 4 digit.
> Each of them separated with "-".
> Do some one have an idea on how to achieve this?
>
> Thanks,
> --
> Gérard Bisama
> Tel:+243810890810
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>


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


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


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


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


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


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


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


Re: [Dhis2-users] [Dhis2-devs] 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-users@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-d...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
> --
>
> ***
>
> Calle Hedberg
>
> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>
> Tel/fax (home): +27-21-685-6472
>
> Cell: +27-82-853-5352
>
> Iridium SatPhone: +8816-315-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-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


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


Re: [Dhis2-users] Error opening Settings, Profile, or Account in 2.29

2018-06-28 Thread Em Le Hong
You can try the latest one which can download from
https://www.dhis2.org/downloads

On Fri, Jun 29, 2018 at 2:45 AM, Adam Preston  wrote:

>
> Thanks for the quick reply. Do you know what build revision the fix is in?
> It seems to be broken in *d89fb44* and *aaa0fff.*
>
>
>
> Sent from Outlook <http://aka.ms/weboutlook>
> ----------
> *From:* Em Le Hong 
> *Sent:* Thursday, June 28, 2018 7:31 AM
> *To:* Adam Preston
> *Cc:* dhis2-users@lists.launchpad.net
> *Subject:* Re: [Dhis2-users] Error opening Settings, Profile, or Account
> in 2.29
>
> Hi Adam,
>
> I have experienced the same problem with yours. I think it's a bug and
> they already fixed on latest revision of 2.29.
> You need to upgrade to your system to latest 2.29, then it should be fine.
>
> Regards,
>
> On Thu, Jun 28, 2018 at 8:16 PM, Adam Preston 
> wrote:
>
> I noticed that in recently upgraded 2.29 I am unable to open the Settings,
> Profile, or account (although this works on http://play.dhis2.org/2.29).
> It appears that there is a problem with the way that the server is using
> 2FA in *dhis-web-user-profile* app from the logs (see attached). Did I
> forget to do something in the upgrade? Is my user account not set up right?
> Or is it something else?
> DHIS 2 Demo - Sierra Leone <http://play.dhis2.org/2.29>
> DHIS 2
> play.dhis2.org
>
> Here is the error:
> https://www.evernote.com/l/ANW2DMDOHt1FCopkVkkqvg81utGdSpl7Eqw
> <https://www.evernote.com/l/ANW2DMDOHt1FCopkVkkqvg81utGdSpl7Eqw>
> Screen Shot 2018-06-28 at 6.54.57 AM
> <https://www.evernote.com/l/ANW2DMDOHt1FCopkVkkqvg81utGdSpl7Eqw>
> /
> www.evernote.com
>
>
>
> Sent from Outlook <http://aka.ms/weboutlook>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
>
>
> --
> *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-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Error opening Settings, Profile, or Account in 2.29

2018-06-28 Thread Em Le Hong
Hi Adam,

I have experienced the same problem with yours. I think it's a bug and they
already fixed on latest revision of 2.29.
You need to upgrade to your system to latest 2.29, then it should be fine.

Regards,

On Thu, Jun 28, 2018 at 8:16 PM, Adam Preston  wrote:

> I noticed that in recently upgraded 2.29 I am unable to open the Settings,
> Profile, or account (although this works on http://play.dhis2.org/2.29).
> It appears that there is a problem with the way that the server is using
> 2FA in *dhis-web-user-profile* app from the logs (see attached). Did I
> forget to do something in the upgrade? Is my user account not set up right?
> Or is it something else?
> DHIS 2 Demo - Sierra Leone <http://play.dhis2.org/2.29>
> DHIS 2
> play.dhis2.org
>
> Here is the error:
> https://www.evernote.com/l/ANW2DMDOHt1FCopkVkkqvg81utGdSpl7Eqw
> <https://www.evernote.com/l/ANW2DMDOHt1FCopkVkkqvg81utGdSpl7Eqw>
> Screen Shot 2018-06-28 at 6.54.57 AM
> <https://www.evernote.com/l/ANW2DMDOHt1FCopkVkkqvg81utGdSpl7Eqw>
> /
> www.evernote.com
>
>
>
> Sent from Outlook <http://aka.ms/weboutlook>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


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


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


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


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


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


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


Re: [Dhis2-users] attributes not showing up for program indicators

2018-01-23 Thread Em Le Hong
Hi Nick,

I and you both reported this bug last year on
https://jira.dhis2.org/browse/DHIS2-2200 and
https://jira.dhis2.org/browse/DHIS2-2202
and as you mentioned, we need to save an "empty expression" then go back to
edit. I'm ready wonder why we have to do that, it should be showed when we
create new Program Indicator and Edit it. For now it only show when we Edit.

Em,


On Tue, Jan 23, 2018 at 8:34 PM, Natalie Tibbels <ntibb...@jhu.edu> wrote:

> That worked, you are my hero!
>
> ---
> *Natalie Tibbels, MSPH*
> 410.370.5048 <(410)%20370-5048> (cell) • natalietib (Skype)
> Johns Hopkins Bloomberg School of Public Health
> Center for Communication Programs • ccp.jhu.edu
>
>
>
>
> On Jan 22, 2018, at 1:54 PM, Shurajit Dutta <shurajitdu...@gmail.com>
> wrote:
>
> Hi Natalie,
>
> I have reported this issue here
>
> https://jira.dhis2.org/browse/DHIS2-2202?jql=text%20~%20%
> 22program%20indicators%20attributes%22
>
> I see it is present in 2.27 and 2.28, however it seems to be fixed on the
> latest snapshot/development version; hopefully this fix will trickle down
> soon.
>
> For now as a work-around, I have been saving the indicator with the
> expression empty. If you then go back and edit the indicator, the tracked
> entity attribute list should display properly.
>
> Nick
>
>
>
> On Mon, Jan 22, 2018 at 12:41 PM, Natalie Tibbels <ntibb...@jhu.edu>
> wrote:
>
>> Hi all,
>> Does anyone know why attributes may not be showing up to be used in
>> program indicator expressions and filters? Other variables and data
>> elements are showing up.
>> ~Natalie
>>
>> ---
>> *Natalie Tibbels, MSPH*
>> 410.370.5048 <(410)%20370-5048> (cell) • natalietib (Skype)
>> Johns Hopkins Bloomberg School of Public Health
>> Center for Communication Programs • ccp.jhu.edu
>>
>>
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Shurajit Dutta (MPH, MHI)
> Health Information Systems Adviser
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


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


Re: [Dhis2-users] gml import error

2017-11-28 Thread Em Le Hong
19898
> 103.61284948200013,31.52944326165 103.61341040200013,31.53150015171
> 103.61215828100013,31.53379176571 103.61228674800016,31.53477025952
> 103.61303369100014,31.53598438674 103.61274521900012,31.5373301206
> 103.61329348600012,31.53771264577 103.6143091950001,31.53924129596
> 103.61415593900013,31.54006642366 103.61439901600014,31.54156817859
> 103.6162509917,31.54490435699 103.61941394700013,31.54645807199
> 103.6208860013,31.54254802373 103.62328803700015,31.53975675148
> 103.62481779500014,31.53714191353<
> /gml:outerBoundaryIs>
>   
>   513221100
> 
>   
> 
>
> where I import with no org, the import can complete ok , but after add
> org,  the "ogr:name" or "ogr:Code" value  all exists in orgtree,  but  got :
>
>WARNING:  'org.apache.xerces.jaxp.SAXParserImpl: Property '
> http://javax.xml.XMLConstants/property/accessExternalDTD' is not
> recognized.'
> Warning:  org.apache.xerces.parsers.SAXParser: Feature 'http://javax.xml.
> XMLConstants/feature/secure-processing' is not recognized.
> Warning:  org.apache.xerces.parsers.SAXParser: Property 'http://javax.xml.
> XMLConstants/property/accessExternalDTD' is not recognized.
> Warning:  org.apache.xerces.parsers.SAXParser: Property '
> http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not
> recognized.
> * INFO  2017-11-28 15:30:09,684 [Level: ERROR, category: METADATA_IMPORT,
> time: Tue Nov 28 15:30:09 CST 2017, message: GML import failed: GML import
> failed during pre-processing stage.] (InMemoryNotifier.java
> [taskScheduler-2])
> * ERROR 2017-11-28 15:30:09,693 GML import failed:
> (DefaultGmlImportService.java [taskScheduler-2])
> java.lang.Exception: GML import failed during pre-processing stage.
> at org.hisp.dhis.dxf2.gml.DefaultGmlImportService.preProcessGml(
> DefaultGmlImportService.java:221)
> at org.hisp.dhis.dxf2.gml.DefaultGmlImportService.importGml(
> DefaultGmlImportService.java:141)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.springframework.aop.support.AopUtils.
> invokeJoinpointUsingReflection(AopUtils.java:333)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.
> invokeJoinpoint(ReflectiveMethodInvocation.java:190)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.
> proceed(ReflectiveMethodInvocation.java:157)
> at org.springframework.transaction.interceptor.
> TransactionInterceptor$1.proceedWithInvocation(
> TransactionInterceptor.java:99)
> at org.springframework.transaction.interceptor.
> TransactionAspectSupport.invokeWithinTransaction(
> TransactionAspectSupport.java:282)
> at org.springframework.transaction.interceptor.
> TransactionInterceptor.invoke(TransactionInterceptor.java:96)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.
> proceed(ReflectiveMethodInvocation.java:179)
> at org.springframework.aop.framework.JdkDynamicAopProxy.
> invoke(JdkDynamicAopProxy.java:213)
> at com.sun.proxy.$Proxy200.importGml(Unknown Source)
> at org.hisp.dhis.importexport.action.util.
> ImportMetaDataGmlTask.call(ImportMetaDataGmlTask.java:71)
> at org.hisp.dhis.security.SecurityContextRunnable.run(
> SecurityContextRunnable.java:57)
> at org.springframework.scheduling.support.
> DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnabl
> e.java:54)
> at java.util.concurrent.Executors$RunnableAdapter.
> call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ScheduledThreadPoolExecutor$
> ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
> at java.util.concurrent.ScheduledThreadPoolExecutor$
> ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
>
>
> --
> 此致
>
>林晓东
>
> 莫愁前路无知己,天下谁人不识君。
>
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


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


Re: [Dhis2-users] GML import doesn't work anymore - 2.27

2017-11-21 Thread Em Le Hong
Hi,

I think it's a bug, last time I tried on 2.28 and it also didn't work. I
guess we need to report to Jira
<https://jira.dhis2.org/secure/Dashboard.jspa>

Regards,

On Tue, Nov 21, 2017 at 4:11 PM, Ramón José Jiménez Pomareta <
dh...@pomareta.ch> wrote:

> Here's the log, sorry
>
> 2017-11-21 10:10 GMT+01:00 Ramón José Jiménez Pomareta <dh...@pomareta.ch>
> :
>
>> Hello,
>>
>> I am trying to import a GML file but the server rises some warnings and
>> one error.
>>
>>
>>
>> *Warning org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser Property
>> 'httpwww.oracle.comxmljaxppropertiesentityExpansionLimit' is not
>> recognized.Compiler warningsWARNING 'org.apache.xerces.jaxp.SAXParserImpl
>> Property 'httpjavax.xml.XMLConstantspropertyaccessExternalDTD' is not
>> recognized.'*
>>
>>
>>
>> *ERROR 2017-11-21 095828,255 GML import failed
>> (DefaultGmlImportService.java [taskScheduler-12])java.lang.Exception GML
>> import failed during pre-processing stage.The user reecives: GML import
>> failed: GML import failed during pre-processing stage.*
>>
>> I've tried to import other GML files which worked in the past (before
>> upgrading to 2.27 774be18 2017.11.02) and they don't work neither.
>> I've tried in different instances with the same version of DHIS2. (But
>> different OS, Java...)
>>
>> Do you have any idea ?
>>
>> Thank you so much in advance !
>>
>> Ramón Jiménez Pomareta.
>>
>> PS: JIRA ticket: https://jira.dhis2.org/browse/DHIS2-2521
>>
>>
>>
>
> _______
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


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


Re: [Dhis2-users] Database being cleared after Tomcat shutdown

2017-08-31 Thread Em Le Hong
Hi again,

If you upgrade from 2.16 to 2.22 or above 2.22, you have to change the
configuration file from hibernate.properties to dhis.conf. Otherwise, it
can't connect to the correct database.

Read here to check how to create dhis.conf file.

https://docs.dhis2.org/2.22/en/implementer/html/ch08s03.html#d5e500

On Thu, Aug 31, 2017 at 8:29 PM, Em Le Hong <em.hispviet...@gmail.com>
wrote:

> Hi,
>
> Which version are you working on? for the recent new version, DHIS2 no
> longer use hibernate.properties file.
>
> Read the upgrade note here:
> https://www.dhis2.org/222-upgrade
>
> On Thu, Aug 31, 2017 at 6:32 PM, Edward Robinson <
> erobin...@projectbalance.com> wrote:
>
>> I know this is not an uncommon issue and I recall it relates to a
>> configuration problem if I’m not mistaken, but for the life of me I cannot
>> fathom why two machines I am working with seem to exhibit this behaviour
>> consistently.  I have a couple of Windows test servers set up to facilitate
>> an offline upgrade from 2.16 but I’m unable to resolve this on these two
>> machines.  I’ve seen this on Linux as well so assume it’s not OS related.
>>
>>
>>
>> In a nutshell, the system appears to start up fine, I am able to login
>> and access the system, create data elements, create users, etc. but when
>> Tomcat is shut down, the database is cleared except for the aggregate
>> tables (all other tables are dropped):
>>
>>
>>
>> When Tomcat is started again, obviously the data is no longer there.  As
>> long as it’s running, all appears well in the tables:
>>
>>
>>
>> I have attached a copy of the logs as well as my hibernate.properties
>> file (dummy password) and my system variables.  I’ve also attached a
>> screenshot of the ‘about DHIS2’ page for reference.
>>
>>
>>
>> As far as I can see, the only issues / errors on startup include:
>>
>> A bunch of ERROR for database constraint drop scripts on startup –
>> because the database does not yet exist – I assume these are benign.
>>
>> Some WARN messages:
>>
>>“[127.0.0.1]:5701 [dev] [3.2.1] No join method is enabled!
>> Starting standalone. (HazelcastInstanceImpl.java [localhost-startStop-1])”
>>
>>“RP discovery / realm validation disabled;
>> (RealmVerifier.java [localhost-startStop-1])”
>>
>>“Did not find any ViewResolvers to delegate to; please
>> configure them using the 'viewResolvers' property on the
>> ContentNegotiatingViewResolver (ContentNegotiatingViewResolver.java
>> [localhost-startStop-1])”
>>
>>
>>
>> Any idea what could be causing this?
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> *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-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Database being cleared after Tomcat shutdown

2017-08-31 Thread Em Le Hong
Hi,

Which version are you working on? for the recent new version, DHIS2 no
longer use hibernate.properties file.

Read the upgrade note here:
https://www.dhis2.org/222-upgrade

On Thu, Aug 31, 2017 at 6:32 PM, Edward Robinson <
erobin...@projectbalance.com> wrote:

> I know this is not an uncommon issue and I recall it relates to a
> configuration problem if I’m not mistaken, but for the life of me I cannot
> fathom why two machines I am working with seem to exhibit this behaviour
> consistently.  I have a couple of Windows test servers set up to facilitate
> an offline upgrade from 2.16 but I’m unable to resolve this on these two
> machines.  I’ve seen this on Linux as well so assume it’s not OS related.
>
>
>
> In a nutshell, the system appears to start up fine, I am able to login and
> access the system, create data elements, create users, etc. but when Tomcat
> is shut down, the database is cleared except for the aggregate tables (all
> other tables are dropped):
>
>
>
> When Tomcat is started again, obviously the data is no longer there.  As
> long as it’s running, all appears well in the tables:
>
>
>
> I have attached a copy of the logs as well as my hibernate.properties file
> (dummy password) and my system variables.  I’ve also attached a screenshot
> of the ‘about DHIS2’ page for reference.
>
>
>
> As far as I can see, the only issues / errors on startup include:
>
> A bunch of ERROR for database constraint drop scripts on startup – because
> the database does not yet exist – I assume these are benign.
>
> Some WARN messages:
>
>“[127.0.0.1]:5701 [dev] [3.2.1] No join method is enabled!
> Starting standalone. (HazelcastInstanceImpl.java [localhost-startStop-1])”
>
>“RP discovery / realm validation disabled;
> (RealmVerifier.java [localhost-startStop-1])”
>
>“Did not find any ViewResolvers to delegate to; please
> configure them using the 'viewResolvers' property on the
> ContentNegotiatingViewResolver (ContentNegotiatingViewResolver.java
> [localhost-startStop-1])”
>
>
>
> Any idea what could be causing this?
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


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


Re: [Dhis2-users] DHIS 2 New User Login Issue

2017-08-15 Thread Em Le Hong
Hi,

Your username is missing user role (authorities) to access. Make sure that
you assign enough user role to new user.

Regards,

On Tue, Aug 15, 2017 at 1:40 PM, Omer Butt <omerbutt2...@gmail.com> wrote:

> Aoa Sir,
> Having Issue with new USer login .
> i have created 3 users for testing. But for all that issue occur.
> Only successfully login with admin .
>
> Below is the image of Issue.
> kindly Inform me how to solve that issue ?
>
> [image: Inline image 1]
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


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


Re: [Dhis2-users] how to create aggregate value from tracker

2017-08-10 Thread Em Le Hong
Hi Channara,

The aggregate query builder was replaced by Program Indicator. You can use
Program Indicator in analytic tools like using Aggregate Data Element.
However, if you want to keep aggregate data elements and link them with
Tracker data, there are some steps you can do:

   - Create Program Indicator which is corresponding with your aggregate
   data element. Use script to sync Program Indicator and aggregate data
   element.
   - If you don't know how to use script, you can export Program Indicator
   value, modify it and use Import/Export module to import to your system (*NOT
   RECOMMEND*)

Some experiences share to you, hope it can be helpful for you!

Regards,



On Thu, Aug 10, 2017 at 5:36 PM, channara rin <rin.chann...@gmail.com>
wrote:

> Hi all,
> i am newbie with 2.26/2.27.
> do you know how to create aggregate value from tracker with registration
> to input value into specific data element?
> can you show in brief?
>
> thank you so much
> channara
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


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


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


Re: [Dhis2-users] Upgrading from 2.16

2017-08-07 Thread Em Le Hong
Hi,

If you still need the old war files from 2.17 to 2.20, you can get it from
the link below:

https://drive.google.com/drive/folders/0B-tlJrv190f5Nm9PakE1b2JqTms?usp=sharing

On Thu, Aug 3, 2017 at 7:10 PM, Edward Robinson <
erobin...@projectbalance.com> wrote:

> Excellent, that’s a great help,  Thank you!
>
> If nobody gets back to me on the .wars for 2.17->2.21 then I’ll indeed
> setup the environment and compile though I’d like to avoid that route for
> time sake.
>
> There’s a coffee or couple of beers (in mBTC) for anyone who can source
> those .wars 
>
>
>
> Thanks!
>
>
>
> *From:* Em Le Hong [mailto:em.hispviet...@gmail.com]
> *Sent:* Thursday, 03 August 2017 1:51 PM
> *To:* Edward Robinson <erobin...@projectbalance.com>
> *Cc:* dhis2-users <dhis2-users@lists.launchpad.net>
> *Subject:* Re: [Dhis2-users] Upgrading from 2.16
>
>
>
> You can read the upgrade notes from the links below:
>
>
>
> https://www.dhis2.org/217-upgrade
>
> https://www.dhis2.org/218-upgrade
>
> https://www.dhis2.org/219-upgrade
>
> ...
>
>
>
> On Thu, Aug 3, 2017 at 6:48 PM, Em Le Hong <em.hispviet...@gmail.com>
> wrote:
>
> Hi,
>
>
>
> Someone was asking similar question recently, I think you can check out
> the old code and build it yourself.
>
>
>
> https://code.launchpad.net/dhis2
>
>
>
> On Thu, Aug 3, 2017 at 6:43 PM, Edward Robinson <
> erobin...@projectbalance.com> wrote:
>
> I need to upgrade two reasonably large 2.16 instances to at least 2.26 and
> am needing the following:
>
>- All .war files from 2.17 up (at least those required for the upgrade)
>- Instructions specific to each incremental upgrade until 2.26 (if
>there are specific tasks to perform such as running SQL scripts, etc.)
>
>
>
> Does this information / these files exist somewhere on the web?
>
> I have googled but can’t find a .war for anything lower than 2.22 in the
> regular places at this point (e.g. https://www.dhis2.org/
> download/releases/2.17/dhis.war)
>
> Can I skip some versions in this incremental update?
>
>
>
> Thanks all!
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
>
>
>
> --
>
> *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
>
>
>
>
>
>
>
>
>



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


Re: [Dhis2-users] Upgrading from 2.16

2017-08-03 Thread Em Le Hong
You can read the upgrade notes from the links below:

https://www.dhis2.org/217-upgrade
https://www.dhis2.org/218-upgrade
https://www.dhis2.org/219-upgrade
...

On Thu, Aug 3, 2017 at 6:48 PM, Em Le Hong <em.hispviet...@gmail.com> wrote:

> Hi,
>
> Someone was asking similar question recently, I think you can check out
> the old code and build it yourself.
>
> https://code.launchpad.net/dhis2
>
> On Thu, Aug 3, 2017 at 6:43 PM, Edward Robinson <
> erobin...@projectbalance.com> wrote:
>
>> I need to upgrade two reasonably large 2.16 instances to at least 2.26
>> and am needing the following:
>>
>>- All .war files from 2.17 up (at least those required for the
>>upgrade)
>>- Instructions specific to each incremental upgrade until 2.26 (if
>>there are specific tasks to perform such as running SQL scripts, etc.)
>>
>>
>>
>> Does this information / these files exist somewhere on the web?
>>
>> I have googled but can’t find a .war for anything lower than 2.22 in the
>> regular places at this point (e.g. https://www.dhis2.org/download
>> /releases/2.17/dhis.war)
>>
>> Can I skip some versions in this incremental update?
>>
>>
>>
>> Thanks all!
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> *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-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Upgrading from 2.16

2017-08-03 Thread Em Le Hong
Hi,

Someone was asking similar question recently, I think you can check out the
old code and build it yourself.

https://code.launchpad.net/dhis2

On Thu, Aug 3, 2017 at 6:43 PM, Edward Robinson <
erobin...@projectbalance.com> wrote:

> I need to upgrade two reasonably large 2.16 instances to at least 2.26 and
> am needing the following:
>
>- All .war files from 2.17 up (at least those required for the upgrade)
>- Instructions specific to each incremental upgrade until 2.26 (if
>there are specific tasks to perform such as running SQL scripts, etc.)
>
>
>
> Does this information / these files exist somewhere on the web?
>
> I have googled but can’t find a .war for anything lower than 2.22 in the
> regular places at this point (e.g. https://www.dhis2.org/
> download/releases/2.17/dhis.war)
>
> Can I skip some versions in this incremental update?
>
>
>
> Thanks all!
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


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


Re: [Dhis2-users] DHIS 2

2017-08-01 Thread Em Le Hong
Hi,

What's DHIS2 version and build date? We experienced this issue before, I
guess you need to check category combination.

On Tue, Aug 1, 2017 at 1:12 PM, Omer Butt <omerbutt2...@gmail.com> wrote:

> Aoa Sir ,
>  I assigned dataelements to dataset for creating a form.
> After that i go for custom design and their is 0 dataelements shown.
> I have that issue for 3 day previously. But it work fine before that.
> Below is the image for understanding my  problem.
> Kindly help me out about that issue.
> ELements shown in totals.
>
> [image: Inline image 1]
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


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


Re: [Dhis2-users] Questions: Deleting Org Units and Enabling User Visualization

2017-07-11 Thread Em Le Hong
Hi,

Which DHIS2 version are you using?

For first question, I guess you need to remove soft delete data values or
events. Go to Data Administration module and do the performance there, see
screenshot.
[image: Inline image 1]

For your second question, I think you need to assign View user authority to
your manager user role, and use feature User by Organisation Unit

[image: Inline image 2]

On Tue, Jul 11, 2017 at 7:54 PM, Shapiro, Rachel <rachel.shap...@care.org>
wrote:

> Good morning everyone,
> I’m a fairly new DHIS2 user, and I would love your guidance and support
> about two pesky issues we are having. Many apologies if for whatever reason
> I’m not sending this to the correct listserv!
>
> I am trying to delete organizational units at the country, region, and
> health facility level, and I keep getting the error “Could not delete due
> to association with another object: DataValue.” I have cleared all data
> from the data entry section and can’t find any favorited graphs associated
> with the account. How can I address this error to delete the organizational
> units?
> And one more issue: we have grouped some of our country office DHIS2 users
> by organizational unit. When the managers log on, we want them to be able
> to see users in the organizational unit to which they have been assigned;
> however, we can’t figure out which authority would grant them this
> privilege under “user role.” I have tried all authorities associated
> specifically with users and have not had any luck so far.
>
> As a warning, I am a fairly new DHIS2 user, so I am not able to edit the
> backend coding associated with the platform.
>
> Any help would be seriously appreciated!
>
> Kind regards,
>
> Rachel
>
> *Rachel Shapiro | CARE USA | SAFPAC Intern – Sexual and Reproductive
> Health and Rights*
> 151 Ellis Street, NE, Atlanta GA 30303-2440
> Email: rachel.shap...@care.org <blake.erhardt-oh...@care.org> |
> www.care.org | Skype : rachel.shap...@care.org
>
>
>
> Hours: M-F, 8:30-5:00
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


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


Re: [Dhis2-users] can we add more then one organization units at a time ?

2017-07-10 Thread Em Le Hong
Hi,


Create an XML or Json or CSV file then import it with curl or Import/Export
module in dhis2. You can import thousands of orgUnits within seconds in new
versions (25+).

Remember, the format of each version might different from others, so you
have to find a right format of your DHIS2 version.

You can read more about web API, it's helpful to import data and metadata
https://docs.dhis2.org/2.26/en/developer/html/webapi.html

On Mon, Jul 10, 2017 at 5:28 PM, <rab...@pace-tech.com> wrote:

> Hi,
>
>  Is there any option available in dhis2 to add bulk of organization units
> at a time other then by adding one by one ? Also can we add custom
> attribute (for example just like Contact person Email Longitued, Latitued i
> want to add population) in organization unit ? if yes, then how ?
>
> Regards,
> Rabbia Naz
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>



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


Re: [Dhis2-users] Sharing Dataset in Two Separate DHIS2 Instances

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

To make sure that we are on the same page, I would like you to confirm that
you want to sync metadata or sync data.

If you only want to sync metadata, you can use DHIS2 feature, you can read
on https://docs.dhis2.org/2.24/en/user/html/ch31s06.html and the
instruction from Morten email.

If you want to sync data value, this mean when user enter data in instance
A, the value also be sync to instance B. I mark my team mate (Dzung) in
this email, he will guide you some steps how to use script and cronjob to
sync data value, he did it for some projects.

Thanks,


On Sun, Jul 9, 2017 at 2:54 PM, Derek Kahongo Mukenge <
derek.eli...@gmail.com> wrote:

> Hi Em,
>
> I was looking for longtime how to create script and cronjob to sync two
> dhis2 instance. could you have a example of script that sync dataelement
> from on server to the second?
>
> Thanks
>
> 2017-07-05 0:17 GMT+01:00 Em Le Hong <em.hispviet...@gmail.com>:
>
>> Hi Stephen,
>>
>> As I know, you can't set up sharing between instances directly in DHIS2.
>> But you can do it with DHIS2 API
>> <https://docs.dhis2.org/2.25/en/developer/html/webapi_data_values.html> +
>> script on custom form or script and cronjob <https://cron-job.org/en/>
>> in background.
>>
>> Good luck!
>>
>>
>>
>>
>> On Wed, Jul 5, 2017 at 3:50 AM, Stephen Gbanyan <mam...@gmail.com> wrote:
>>
>>> Hi All,
>>>
>>> Is it possible to share a dataset from one DHIS2 instance to another so
>>> that when the data is entered into one it synchronizes with the other?
>>>
>>> Thanks
>>>
>>>
>>>
>>>
>>> --
>>> __
>>> Stephen M. Gbanyan, Jr. - ASc. BA. (Hons.)
>>> Director
>>> Health Information System
>>> Ministry of Health and Social Welfare
>>> Republic of Liberia
>>> +231-886-847-915
>>> skype: mambu9
>>>
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-users@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> *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-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> *Derek Kahongo Mukenge*
>



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


Re: [Dhis2-users] upgrade

2017-05-25 Thread Em Le Hong
Hi,

In order to upgrade from 2.20 to the latest release 2.26, you can do these
steps below:

1. Backup your current database, if you have some error when upgrading, you
can restore it.
2. Read the upgrade notes on https://www.dhis2.org/downloads carefully,
some version you need to execute upgrading script.
3. You need to upgrade it in order from 2.20 -> 2.21 -> 2.23 -> 2.24 ->2.25
->2.26, you can't switch directly from 2.20 to 2.26 latest version, you
have to follow the order.


Hope this work for you

Sincerely,

On Thu, May 25, 2017 at 11:28 PM, Knut Staring <knu...@gmail.com> wrote:

> Forwarding to user list
>
> On May 25, 2017 6:24 PM, "Mohamed Elkhou" <oelk...@gmail.com> wrote:
>
> Dear Sir,
>
> I would like you please to provide me with the steps to follow in order to
> upgrade from 2.20 to the latest version. I am using DHIS2 locally on my
> computer.
>
> Thank you
>
> Best regards
>
> Mohamed
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


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


Re: [Dhis2-users] Difficulties with the Program Indicators

2017-05-19 Thread Em Le Hong
Hi Julie,

I'm not sure for others, but the expression seem not correct. For number it
should only 1 equal sign like: #{qH1SRxSAoWI.AbdjW61ac8I} = 2

On Fri, May 19, 2017 at 2:00 PM, Julie Vanhamme <juvha...@gmail.com> wrote:

> Hi Ola,
>
> Thank you very much for your advices. I am a DHIS2 beginner and I guess
> that I am making some mistakes in the configuration and/or formula. I tried
> yesterday and I get data in my pivot tables but not the data I need. In
> only get "2" as I wrote it in my filter (see below). Let me answer to your
> questions and explain the situation :-)
>
> I am using "Event capture" as we did a one shot survey and we don't track
> the patient.
>
> *Program configuration:*
>
>- without registration
>- version: 4
>- Drop-down list
>- other field are empty or have the default configuration
>
> *Program indicator set up *(I believe that here is the problem and that I
> am making some mistakes with the formula):
>
>
>- I have one Data Element as follow : Are you satisfied with the
>gynecological service? Very satisfied (1), more or less (2) , and not at
>all (3) (these are the three responses possibles of my DE)
>- I wanted to create an indicator as follow: % of the respondents that
>say that they are "very satisfied" with the gynecological service.
>
>
>- Aggregation type: Average
>- Expression: I only selected my data element divided by the number of
>event count and then multiple by 100 : (#{qH1SRxSAoWI.AbdjW61ac8I} /
>V{event_count}) * 100
>- Filter I select my data element == 1 , so it is something like that
>: #{qH1SRxSAoWI.AbdjW61ac8I} == 2
>
> I guess I am wrong in my formula. Any guidance, solution or advice?
>
> Thank you again very much in advance for your support.
> Julie
>
>
> Julie Vanhamme
>
>
>
> 2017-05-18 9:28 GMT+02:00 Ola Hodne Titlestad <ol...@ifi.uio.no>:
>
>> Hi Julie,
>>
>> Would be good if you could share some more details about your program
>> configuration, including how you set up your program indicator.
>>
>> Are you using event capture (single event data) or tracker capture
>> (multiple events and registration) for this use cases?
>>
>> When you say you can see the data in event reports, does that include
>> aggregate values in the 'aggregated mode'?
>>
>> If I have trouble with my program indicators, I typically like to use
>> pivot table app to debug. Try to add a few indicators that just count all
>> events or all enrollments and display these at the same time. Will give you
>> an indication of whether event analytics worked or not.
>>
>> Then for your program indicators where you struggle to get data, try to
>> play with the different options of aggregation, e.g event count, enrollment
>> count etc. You'll soon see if the issue is related to aggregation or the
>> filter.
>>
>> Ola
>> ---
>>
>> On 17 May 2017 17:48, "Em Le Hong" <em.hispviet...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> If everything is ok and your formula is correct but you can't see the
>>> result. I guess you select both program indicator and data elements to show
>>> in Pivot table or Event report.
>>> Until now, DHIS2 only shows data for 1 selection data elements or
>>> program indicator. If you only select program indicator to show, but you
>>> don't see result, then you need to check your program indicator formula.
>>>
>>> Sincerely,
>>>
>>> On Wed, May 17, 2017 at 9:25 PM, Julie Vanhamme <juvha...@gmail.com>
>>> wrote:
>>>
>>>> Hi Knut,
>>>>
>>>> Yes I did.
>>>>
>>>> Thank you very much in advance
>>>> Julie
>>>>
>>>> Julie Vanhamme
>>>>
>>>>
>>>>
>>>> 2017-05-17 16:07 GMT+02:00 Knut Staring <knu...@gmail.com>:
>>>>
>>>>> Hi Julie,
>>>>>
>>>>> I am forwarding your question to the appropriate user mailing list.
>>>>>
>>>>> Just to make sure, did you run Analytics?
>>>>>
>>>>> Regards,
>>>>> Knut
>>>>> -- Forwarded message --
>>>>> From: Julie <juvha...@gmail.com>
>>>>> Date: Wed, May 17, 2017 at 3:44 PM
>>>>> Subject: Difficulties with the Program Indicators
>>>>> To: Knut Staring <knu...@gmail.com>
>>>>>
>>>>>
>>>>> Hi,

Re: [Dhis2-users] Difficulties with the Program Indicators

2017-05-17 Thread Em Le Hong
Hi,

If everything is ok and your formula is correct but you can't see the
result. I guess you select both program indicator and data elements to show
in Pivot table or Event report.
Until now, DHIS2 only shows data for 1 selection data elements or program
indicator. If you only select program indicator to show, but you don't see
result, then you need to check your program indicator formula.

Sincerely,

On Wed, May 17, 2017 at 9:25 PM, Julie Vanhamme <juvha...@gmail.com> wrote:

> Hi Knut,
>
> Yes I did.
>
> Thank you very much in advance
> Julie
>
> Julie Vanhamme
>
>
>
> 2017-05-17 16:07 GMT+02:00 Knut Staring <knu...@gmail.com>:
>
>> Hi Julie,
>>
>> I am forwarding your question to the appropriate user mailing list.
>>
>> Just to make sure, did you run Analytics?
>>
>> Regards,
>> Knut
>> -- Forwarded message --
>> From: Julie <juvha...@gmail.com>
>> Date: Wed, May 17, 2017 at 3:44 PM
>> Subject: Difficulties with the Program Indicators
>> To: Knut Staring <knu...@gmail.com>
>>
>>
>> Hi,
>>
>> I am using the Event tracker of DHIS2 for a project.
>>
>> In a nutshell, I already set up the program and programs stages. I also
>> run the Analytics and I have will all the data needed in my program.
>> Indeed, while I am using the Event report with the data element (and not
>> the indicators), everything is fine and I can see the pivot tables with
>> the data.
>>
>> Now I am trying to create Indicators trough the program and everything
>> seemed ok (the formula,  etc.). Except that when I am trying to use the
>> indicator in a pivot table, the table appears but with no data inside.
>>
>> So what could be the problem with the indicators and how can I fix it?
>> Is it a problem of configuration? Formula? ...
>>
>> Many thanks.
>> Julie
>> --
>> This message was sent from Launchpad by
>> Julie (https://launchpad.net/~juvhamme)
>> using the "Contact this team's admins" link on the DHIS 2 Users team page
>> (https://launchpad.net/~dhis2-users).
>> For more information see
>> https://help.launchpad.net/YourAccount/ContactingPeople
>>
>>
>>
>> --
>> Knut Staring
>> Dept. of Informatics, University of Oslo
>> Norway: +4791880522 <+47%20918%2080%20522>
>> Skype: knutstar
>> http://dhis2.org
>>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


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


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


Re: [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-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522
> Skype: knutstar
> http://dhis2.org
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


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


Re: [Dhis2-users] Resizing Text Box on Customized Data Entry Form

2017-05-01 Thread Em Le Hong
Hi Laura,

You have to use css to resize the input fields in custom form.
Put below css to your form:

input {
width: 10em !important;
}

For simple text editor, I recommend you can use Adobe Dreamweaver.


On Tue, May 2, 2017 at 9:58 AM, Laura E. Lincks <
laura.lin...@icap.columbia.edu> wrote:

> Version:
> ​ ​
> 2.25
> Build revision:
> ​ ​
> b6a6568
>
> I've been having a recurring problem when designing simple table for a
> customized form. In order to minimize the column width in a simple table,
> in design mode, I changed the Text Field Properties' Character Width in
> every cell in the grid's column.  The column width was minimized as
> intended. The HTML code read "name="entryfield" size="4"" as intended. The
> form was saved. But when I opened the data set's customized form again, the
> cell widths reverted back to the wider default width.
>
> If I make the changes in HTML external to DHIS and paste it into the form
> designer again, it looks like the changes work as intended but they don't
> actually save. The columns revert back to the wider width when re-opening
> the form.
>
> Any ideas why this happens?
>
> Also does anyone have suggestions on a simple HTML editor to use to make
> forms more robust without needing CSS skills (something easy/user
> friendly/free-ish)?
>
> Thanks.
>
> *Laura E. Lincks*
> Database Manager/Developer
> ICAP - Columbia University
> Mailman School of Public Health
> 60 Haven Ave, Floor B1
> New York, NY 10032
> Tel: 212 304 7132
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


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


Re: [Dhis2-users] About data output analysis

2017-05-01 Thread Em Le Hong
If you didn't run Analytics as Knut asking, You can try it manually in
Reports module, or set it up automatically Data Administration module with
Admin user.


[image: Inline image 1][image: Inline image 2]


On Mon, May 1, 2017 at 2:10 PM, Knut Staring <knu...@gmail.com> wrote:

> Did you run Analytics?
>
> Knut
>
> On Mon, May 1, 2017 at 9:07 AM, payoj gaikwad <pa...@live.com> wrote:
>
>> Hello,
>>
>> I have Problem with data output analysis, I Have entered
>> data for 50 people or separate 50 org. unit but in data reports only 2 org.
>> unit is showing for reports. How handle such situations for generating
>> reports to all of them ?
>>
>> Please help.
>>
>> Your Help will be Appreciated.
>>
>>
>>
>> Payoj Gaikwad.
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522
> Skype: knutstar
> http://dhis2.org
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


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


Re: [Dhis2-users] Data Store Issue in DHIS2 [2.26]

2017-04-25 Thread Em Le Hong
I just logged into your server, it's really strange, since it works
properly on my laptop and dhis2 play server. Can you delete all dhis folder
in your tomcat/webapp folder, try to download latest war file and run it
again.

On Tue, Apr 25, 2017 at 11:35 PM, Muhammad Bilal Siddqui <
m.bilalsidd...@micromerger.com> wrote:

> Hi
>
> Thanks for providing blank DB. After importing this my application started
> but again in organisation unit I am not able to add organisation it shows
> same error. ERROR: null value in column "organisationunitid" violates
> not-null constraint
>
>
> On Tue, Apr 25, 2017 at 8:17 PM, Em Le Hong <em.hispviet...@gmail.com>
> wrote:
>
>> Hi,
>>
>> I just created 1 blank instance on my laptop, I give you the backup of
>> its. You can try to restore it with any testing instance that running DHIS2
>> 2.26. (Remember that when you restore this database, it will completely
>> cover your old database, so make sure that you have a backup of your
>> database, otherwise you can't recover it).
>>
>> I created 1 orgUnit in this database called Global, you can change it
>> later. It's working fine on my laptop, hope you can run it.
>>
>> [image: Inline image 1]
>>
>> On Tue, Apr 25, 2017 at 10:02 PM, Muhammad Bilal Siddqui <
>> m.bilalsidd...@micromerger.com> wrote:
>>
>>> Yes.
>>>
>>> I am using dhis.conf file.
>>>
>>> I have to change because i am using 2 instance of DHIS one with name
>>> dhis and other with lhs so i had to change 2nd one to LHS_HOME.
>>>
>>> Although i have facing same error on both when creating orgUnit
>>>
>>> On Tue, Apr 25, 2017 at 7:58 PM, Em Le Hong <em.hispviet...@gmail.com>
>>> wrote:
>>>
>>>> you can change the war file name, but the variable name should be
>>>> DHIS2_HOME and make sure that you use dhis.conf file (not the
>>>> hibernate.properties file).
>>>>
>>>> On Tue, Apr 25, 2017 at 9:55 PM, Muhammad Bilal Siddqui <
>>>> m.bilalsidd...@micromerger.com> wrote:
>>>>
>>>>> I am using war file.
>>>>>
>>>>> its name lhs.war
>>>>> and using LHS_HOME varible instead of DHIS2_HOME
>>>>>
>>>>> On Tue, Apr 25, 2017 at 7:45 PM, Em Le Hong <em.hispviet...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> How did you run it? Did you download the war file from dhis2.org and
>>>>>> run it with tomcat server or you just download the dhis2 live package?
>>>>>>
>>>>>> On Tue, Apr 25, 2017 at 9:37 PM, Muhammad Bilal Siddqui <
>>>>>> m.bilalsidd...@micromerger.com> wrote:
>>>>>>
>>>>>>> Hi.
>>>>>>>
>>>>>>> I tried as you suggested I check some tables in DB created. But
>>>>>>> application failed to start.
>>>>>>>
>>>>>>> I attached log files. It shows error about DB.
>>>>>>>
>>>>>>> On Tue, Apr 25, 2017 at 3:01 PM, Muhammad Bilal Siddqui <
>>>>>>> m.bilalsidd...@micromerger.com> wrote:
>>>>>>>
>>>>>>>> Ok. Thank you. I will try that.
>>>>>>>>
>>>>>>>> Get Outlook for iOS <https://aka.ms/o0ukef>
>>>>>>>> --
>>>>>>>> *From:* Em Le Hong <em.hispviet...@gmail.com>
>>>>>>>> *Sent:* Tuesday, April 25, 2017 2:59:44 PM
>>>>>>>>
>>>>>>>> *To:* Muhammad Bilal Siddqui
>>>>>>>> *Subject:* Re: [Dhis2-users] Data Store Issue in DHIS2 [2.26]
>>>>>>>>
>>>>>>>> in postgresSQL, create a database, then run it with your instance,
>>>>>>>> it will automatically generate all tables for you.
>>>>>>>>
>>>>>>>> On Tue, Apr 25, 2017 at 4:56 PM, Muhammad Bilal Siddqui <
>>>>>>>> m.bilalsidd...@micromerger.com> wrote:
>>>>>>>>
>>>>>>>>> Can you tell me how to create db?
>>>>>>>>> Just i stop server and make db. And start server again. All table
>>>>>>>>> in db should generate automatically? Or i need to create all tables?
>>>>>>>>>
>>>>>>>>> Get Outlook for i

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


Re: [Dhis2-users] Data Store Issue in DHIS2 [2.26]

2017-04-25 Thread Em Le Hong
I guess you are missing parent orgUnit, you need to create it as root
orgUnit if there's no orgUnit exist in your database.

On Tue, Apr 25, 2017 at 3:10 PM, Muhammad Bilal Siddqui <
m.bilalsidd...@micromerger.com> wrote:

> Thanks for response. I check console it show me following error
>>
>> null value in column "organisationunitid" violates not-null constraint
>
>
> console screenshot attached
>
> On Tue, Apr 25, 2017 at 11:26 AM, Knut Staring <knu...@gmail.com> wrote:
>
>> Please look for error messages in your browser console and your Tomcat
>> log.
>>
>> Regards,
>> Knut
>>
>> On Apr 25, 2017 6:13 AM, "Muhammad Bilal Siddqui" <
>> m.bilalsidd...@micromerger.com> wrote:
>>
>>> HI,
>>>
>>> I have set up DHIS2 on my server successfully all is working fine with
>>> demo DB then I connect different empty db and also try in demo db but i am
>>> not able to add Organisation unit. it gives me following error.
>>> *failed_to_save_organisation_unit*
>>>
>>> Any thoughts what went wrong. Am using chrome browser
>>> DHIS2 Version 2.26
>>> PostgresSQL Version 9.4.10
>>>
>>>
>>>
>>> --
>>> --
>>> Regards
>>> *Muhammad Bilal Siddiqui*
>>>
>>> *MicroMerger (Pvt.) Ltd.*
>>> Office No-104 Cubator 1ne
>>> CIIT, Park Road, Chak Shehzad
>>> Islamabad.
>>> Pakistan 44000
>>>
>>> *C* : +923325694928  *P* : +92518444777
>>> *E* : m.bilalsidd...@micromerger.com  *W* : www.micromerger.com
>>>
>>>
>>> *This e-mail and any files transmitted with it are confidential to the
>>> intended recipient and may be privileged. If you are not the intended
>>> recipient, please immediately notify the sender. Whilst we have used
>>> Anti-Virus software to alert us to the presence of computer viruses, we
>>> cannot guarantee that this email and any files transmitted with it are free
>>> from them.*N : Think before print do you really need this on paper.
>>> thanks
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to : dhis2-users@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>
>
> --
> --
> Regards
> *Muhammad Bilal Siddiqui*
>
> *MicroMerger (Pvt.) Ltd.*
> Office No-104 Cubator 1ne
> CIIT, Park Road, Chak Shehzad
> Islamabad.
> Pakistan 44000
>
> *C* : +923325694928  *P* : +92518444777
> *E* : m.bilalsidd...@micromerger.com  *W* : www.micromerger.com
>
>
> *This e-mail and any files transmitted with it are confidential to the
> intended recipient and may be privileged. If you are not the intended
> recipient, please immediately notify the sender. Whilst we have used
> Anti-Virus software to alert us to the presence of computer viruses, we
> cannot guarantee that this email and any files transmitted with it are free
> from them.*N : Think before print do you really need this on paper. thanks
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


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


Re: [Dhis2-users] Different user roles for specified program stages

2017-04-14 Thread Em Le Hong
Dear Bs.Phi,

>From your description, we have some suggestions for this program:

You need to create 2 separated program: a program for admission (first
stage) and a program for next stages. Then you need to create 2 user roles:
1 user role for first patient to enter admission, 1 user role for
Physicians to enter next stages.
After CBOs register a patient and enter admission data, the Physicians can
search and enroll that patient to next program stages (in DHIS2, one
patient can be enrolled to many programs).


I guess you are from Vietnam, so you can email HISP-VN team for more help.
HISP-VN is a Southeast Asian node of DHIS2 - HISP.

Sincerely,

On Fri, Apr 14, 2017 at 7:11 AM, Trần Quý Phi <p...@cdytqn.edu.vn> wrote:

> We are setting up an HIV prevention tracking program with many stages.
> Some users (we called the CBOs) use the first stage to enroll customers.
> After admission, the TEI will be followed up by Physicians with next
> stages.
>
> The point is that the Physicians are be allowed to see the information of
> TEI in first stage (admission) but the CBOs are not be allowed to see the
> information in next stages.
>
> Would you like to help us to resolve the problem? Is there a solution to
> identify who is logging in DHIS automatically and a program rule to give to
> this user an appropriate role?
>
> Thank you.
>
> --
> Bs. Trần Quý Phi
> Trường Cao đẳng Y tế Quảng Nam
> 03 Nguyễn Du
> 0914 152 742
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


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


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


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