/
Tools module (import/export, registers)

Tools module (import/export, registers)

 

General information

 

The openIMIS tools module provides import and export functionalities for various types of data, in various formats.

The list of currently supported format is:

  • XLS

  • XLSX

  • JSON

  • CSV

  • XML

The XML files are handled by in-house code, whereas all the other formats are managed with the django-import-export plugin.

Medical Items - medical.Item

Export

You can export medical items in all supported formats described in the introduction.

Import

To easily import new medical items, you can:

  1. Export the current items in the preferred format

  2. Add the required information for each new item in the next lines.

This way, you don’t need to recreate the file structure from scratch.

 

You can import medical items in all supported formats described in the introduction.

Currently, the import strategy and the dry run checkbox are taken into account only for XML files. Their value will be ignored for any other type of upload, even if the strategy is required.

File structure

The following table provides the import/export file structure, along with an example of item values.

male_cat

female_cat

adult_cat

minor_cat

delete