Tracked Entity Instance assigned to multiple org units

Dear All,

is it possible for a tracked entity instance to be assigned to multiple org units with active enrollments for a particular programme.

I get the following json for the query.

http://xxx.xxx.xxx.xxx/api/events?trackedEntityInstance=VxxTPQ1eJII&paging=false

110502016-01-02T14:04:44.289+00002016-01-02T14:04:44.289+0000false2016-01-17T07:23:18.812+00002016-01-17T12:53:35.918+0000false2016-01-17T07:23:51.591+00002016-01-17T07:23:51.591+0000false2016-01-02T14:04:44.296+00002016-01-02T14:04:44.296+0000false2016-01-17T07:20:02.005+00002016-01-17T07:20:02.005+0000false

So the tracked entity instance with uid “VxxTPQ1eJII” is appearing under multiple org units. but i cannot view this tracked entity instance in tracker capture.

···

Regards,
Pamod Amarakoon

Confidentiality Notice: the information contained in this email and any attachments may be legally privileged and confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution, or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachments for any purpose, nor disclose all or any part of the contents to any other person.

Hi,

No, it is not possible to have multiple active enrollments per program at a time. Looking at your payload, there is only one enrollment (mRU4V4B5duK). What has happened is the same TEI has been to multiple orgunits and has got events along the way - all this has been for the same enrollment.

For the other issue that you are not able to see a TEI, see what is coming under

api/trackedEntityInstances/VxxTPQ1eJII.json

The orgUnit property should tell you where the TEI is registered.

···

On Thu, Feb 18, 2016 at 7:49 PM, Pamod Amarakoon pamodm@gmail.com wrote:

Dear All,

is it possible for a tracked entity instance to be assigned to multiple org units with active enrollments for a particular programme.

I get the following json for the query.

http://xxx.xxx.xxx.xxx/api/events?trackedEntityInstance=VxxTPQ1eJII&paging=false

110502016-01-02T14:04:44.289+00002016-01-02T14:04:44.289+0000false2016-01-17T07:23:18.812+00002016-01-17T12:53:35.918+0000false2016-01-17T07:23:51.591+00002016-01-17T07:23:51.591+0000false2016-01-02T14:04:44.296+00002016-01-02T14:04:44.296+0000false2016-01-17T07:20:02.005+00002016-01-17T07:20:02.005+0000false

So the tracked entity instance with uid “VxxTPQ1eJII” is appearing under multiple org units. but i cannot view this tracked entity instance in tracker capture.


Regards,
Pamod Amarakoon

Confidentiality Notice: the information contained in this email and any attachments may be legally privileged and confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution, or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachments for any purpose, nor disclose all or any part of the contents to any other person.


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


Thank you,
Abyot.

Hi Abyot,

Thanx for the clarification. is it possible to assign a TEI to multiple org units from Tracker Capture. Registering org unit and enrolling org units are usually greyed out in my instance.

···

On Fri, Feb 19, 2016 at 1:23 AM, Abyot Asalefew Gizaw abyot@dhis2.org wrote:

Hi,

No, it is not possible to have multiple active enrollments per program at a time. Looking at your payload, there is only one enrollment (mRU4V4B5duK). What has happened is the same TEI has been to multiple orgunits and has got events along the way - all this has been for the same enrollment.

For the other issue that you are not able to see a TEI, see what is coming under

api/trackedEntityInstances/VxxTPQ1eJII.json

The orgUnit property should tell you where the TEI is registered.


Thank you,
Abyot.

On Thu, Feb 18, 2016 at 7:49 PM, Pamod Amarakoon pamodm@gmail.com wrote:

Dear All,

is it possible for a tracked entity instance to be assigned to multiple org units with active enrollments for a particular programme.

I get the following json for the query.

http://xxx.xxx.xxx.xxx/api/events?trackedEntityInstance=VxxTPQ1eJII&paging=false

110502016-01-02T14:04:44.289+00002016-01-02T14:04:44.289+0000false2016-01-17T07:23:18.812+00002016-01-17T12:53:35.918+0000false2016-01-17T07:23:51.591+00002016-01-17T07:23:51.591+0000false2016-01-02T14:04:44.296+00002016-01-02T14:04:44.296+0000false2016-01-17T07:20:02.005+00002016-01-17T07:20:02.005+0000false

So the tracked entity instance with uid “VxxTPQ1eJII” is appearing under multiple org units. but i cannot view this tracked entity instance in tracker capture.


Regards,
Pamod Amarakoon

Confidentiality Notice: the information contained in this email and any attachments may be legally privileged and confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution, or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachments for any purpose, nor disclose all or any part of the contents to any other person.


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,
Pamod Amarakoon

Confidentiality Notice: the information contained in this email and any attachments may be legally privileged and confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution, or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachments for any purpose, nor disclose all or any part of the contents to any other person.

What do you mean by assigning a TEI to multiple orgunits?

What happens in Tracker Capture is - it is possible to register a TEI at orgunit A, enroll at orgUnit B and register event at orgUnit C. If this is what you mean by assign.

what is greyed out orgunit in tree or the event boxes in data entry widget? You are not allowed to edit event that has happened in another orgunit.

···

On Thu, Feb 18, 2016 at 9:14 PM, Pamod Amarakoon pamodm@gmail.com wrote:

Hi Abyot,

Thanx for the clarification. is it possible to assign a TEI to multiple org units from Tracker Capture. Registering org unit and enrolling org units are usually greyed out in my instance.


Thank you,
Abyot.

On Fri, Feb 19, 2016 at 1:23 AM, Abyot Asalefew Gizaw abyot@dhis2.org wrote:

Hi,

No, it is not possible to have multiple active enrollments per program at a time. Looking at your payload, there is only one enrollment (mRU4V4B5duK). What has happened is the same TEI has been to multiple orgunits and has got events along the way - all this has been for the same enrollment.

For the other issue that you are not able to see a TEI, see what is coming under

api/trackedEntityInstances/VxxTPQ1eJII.json

The orgUnit property should tell you where the TEI is registered.


Regards,
Pamod Amarakoon

Confidentiality Notice: the information contained in this email and any attachments may be legally privileged and confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution, or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachments for any purpose, nor disclose all or any part of the contents to any other person.


Thank you,
Abyot.

On Thu, Feb 18, 2016 at 7:49 PM, Pamod Amarakoon pamodm@gmail.com wrote:

Dear All,

is it possible for a tracked entity instance to be assigned to multiple org units with active enrollments for a particular programme.

I get the following json for the query.

http://xxx.xxx.xxx.xxx/api/events?trackedEntityInstance=VxxTPQ1eJII&paging=false

110502016-01-02T14:04:44.289+00002016-01-02T14:04:44.289+0000false2016-01-17T07:23:18.812+00002016-01-17T12:53:35.918+0000false2016-01-17T07:23:51.591+00002016-01-17T07:23:51.591+0000false2016-01-02T14:04:44.296+00002016-01-02T14:04:44.296+0000false2016-01-17T07:20:02.005+00002016-01-17T07:20:02.005+0000false

So the tracked entity instance with uid “VxxTPQ1eJII” is appearing under multiple org units. but i cannot view this tracked entity instance in tracker capture.


Regards,
Pamod Amarakoon

Confidentiality Notice: the information contained in this email and any attachments may be legally privileged and confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution, or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachments for any purpose, nor disclose all or any part of the contents to any other person.


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

Hi Abyot,

Thanx. I was with the impression creating events at an orgUnit other than the enrolled org unit is not possible. As u said I was trying to edit an event happened in a different org unit (may be that’s why it was greyed out)

···

On Fri, Feb 19, 2016 at 1:51 AM, Abyot Asalefew Gizaw abyot@dhis2.org wrote:

What do you mean by assigning a TEI to multiple orgunits?

What happens in Tracker Capture is - it is possible to register a TEI at orgunit A, enroll at orgUnit B and register event at orgUnit C. If this is what you mean by assign.

what is greyed out orgunit in tree or the event boxes in data entry widget? You are not allowed to edit event that has happened in another orgunit.


Thank you,
Abyot.

On Thu, Feb 18, 2016 at 9:14 PM, Pamod Amarakoon pamodm@gmail.com wrote:

Hi Abyot,

Thanx for the clarification. is it possible to assign a TEI to multiple org units from Tracker Capture. Registering org unit and enrolling org units are usually greyed out in my instance.

On Fri, Feb 19, 2016 at 1:23 AM, Abyot Asalefew Gizaw abyot@dhis2.org wrote:

Hi,

No, it is not possible to have multiple active enrollments per program at a time. Looking at your payload, there is only one enrollment (mRU4V4B5duK). What has happened is the same TEI has been to multiple orgunits and has got events along the way - all this has been for the same enrollment.

For the other issue that you are not able to see a TEI, see what is coming under

api/trackedEntityInstances/VxxTPQ1eJII.json

The orgUnit property should tell you where the TEI is registered.


Regards,
Pamod Amarakoon

Confidentiality Notice: the information contained in this email and any attachments may be legally privileged and confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution, or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachments for any purpose, nor disclose all or any part of the contents to any other person.


Thank you,
Abyot.

On Thu, Feb 18, 2016 at 7:49 PM, Pamod Amarakoon pamodm@gmail.com wrote:

Dear All,

is it possible for a tracked entity instance to be assigned to multiple org units with active enrollments for a particular programme.

I get the following json for the query.

http://xxx.xxx.xxx.xxx/api/events?trackedEntityInstance=VxxTPQ1eJII&paging=false

110502016-01-02T14:04:44.289+00002016-01-02T14:04:44.289+0000false2016-01-17T07:23:18.812+00002016-01-17T12:53:35.918+0000false2016-01-17T07:23:51.591+00002016-01-17T07:23:51.591+0000false2016-01-02T14:04:44.296+00002016-01-02T14:04:44.296+0000false2016-01-17T07:20:02.005+00002016-01-17T07:20:02.005+0000false

So the tracked entity instance with uid “VxxTPQ1eJII” is appearing under multiple org units. but i cannot view this tracked entity instance in tracker capture.


Regards,
Pamod Amarakoon

Confidentiality Notice: the information contained in this email and any attachments may be legally privileged and confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution, or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachments for any purpose, nor disclose all or any part of the contents to any other person.


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,
Pamod Amarakoon

Confidentiality Notice: the information contained in this email and any attachments may be legally privileged and confidential. If you are not an intended recipient, you are hereby notified that any dissemination, distribution, or copying of this e-mail is strictly prohibited. If you have received this e-mail in error, please notify the sender and permanently delete the e-mail and any attachments immediately. You should not retain, copy or use this e-mail or any attachments for any purpose, nor disclose all or any part of the contents to any other person.