← Back to team overview

dhis2-users team mailing list archive

Using the Org. Unit code to import events in DHIS2?

 

Hi all,

As I told you in the previous emails, PSI is about to import thousands of
events (around 30.000 SEwoR) into thousands of Org. Units (2.000 - 3.000).
Each of these Org. Units has its own unique code in Dhis2, the same code
that PSI is managing in its internal databases. Please correct me if I am
wrong, but right now it seems that to import an event in Dhis2 we should to
specify the UID of each Org. Unit in the xml file. Could it be possible to
have the option to import the event by the Org. Unit code instead than the
UID (like in the CSV import)? That would be really useful for us, otherwise
  we´d need to sync the PSI code of each org.unit with the UID stored in
the dhis2 database.

Thanks
Jose

Follow ups