Copy TEI data from one OU to other OU - Dhis2 2.30 Traker

Dear All,

Is there a way to copy all TEI data from one OU to another?
I had unfortunately selected wrong OU and users have already entered TEI data in wrong OU.
Now we need to copy all the TEI data to correct OU and link the user to that OU.
Is there a way to do this ?

Kind Regards,
Naval Shrestha

2 Likes

Hi @Naval,

I use DHIS 2.25 (I don’t know if the table structure is the same in 2.30) and I perform it like :
update OU through psql database :

  1. update programstageinstance
  2. update programinstance
  3. update trackedentityinstance

Regards.
Patrick

3 Likes

Hi @Naval,

Go to the TEI dashboard, Timeline data entry and permanently move all its events to the desired OU Home - DHIS2 Documentation

3 Likes