So I was wondering does the migrate programs feature allow you to migrate a program (eg HIV program, MCH program) or does it allow you to migrate patient registrations into a program (ie the data that gets saved in the patient_program table (and its related tables) in the openmrs database?
If the latter is there an example csv file that anyone can share with me?
For example, a patient currently has an active TB program registration and an earlier (inactive) TB program registration. Can the csv upload be set up to specify which of the two program registrations the encounter/observation data should be added to?
If it is possible to use the csv upload feature and control which program registration the data is added to, could anyone provide me with some guidance on how to do this and an example csv file?
The answer to this is that the import allows you to migrate patient registrations into a program. Indeed, the wiki page is blank and we need to update it (apologies for that and thanks for letting us know). Can you try this sample csv file and see if it works for you? programs.csv (140 Bytes)
Unfortunately this ability to import encounter data in the context of a program is not supported yet.
No, adding program attributes through the CSV file is also not supported yet. I am creating a Jira card to track this as a possible enhancement to our programs import. Would you/your team be able to do this and contribute it back?