=== modified file 'src/docbkx/en/dhis2_user_man_import_export.xml' --- src/docbkx/en/dhis2_user_man_import_export.xml 2014-02-15 18:09:40 +0000 +++ src/docbkx/en/dhis2_user_man_import_export.xml 2014-02-17 18:55:32 +0000 @@ -279,7 +279,9 @@
Importing CSV data DHIS 2 supports import of data in the CSV format. This can be used to import exchange file produced by DHIS 2 itself. It also comes in handy when you want to import data from a third-party system as CSV is widely supported in applications and is easy to produce manually. - To import a CSV data exchange file navigate to the CSV Data Import item in the left-side menu. Upload the exchange file and click Import. + To import a CSV data exchange file navigate to the CSV Data Import + item in the left-side menu. Upload the exchange file and click Import. The following section describes the CSV format used in DHIS 2. The first row is assumed to be a header row and will be ignored during import. CSV format of DHIS 2 @@ -354,8 +356,13 @@ in the CSV file, but the order will be affected. If you would like to specify columns which appear late in the order but not specify columns which appear early in the order you can include empty columns ("") for them. + To import CV meta-data go to import-export module and select CSV Meta-Data Import form the + left side menu. You must select the object type which your CSV file contains. You can only + upload one type of objects at the time. Upload your file and click update. + The formats for the currently supported object types for CSV import are listed + below.
- CSV data element format + Data Element CSV Format @@ -374,19 +381,19 @@ Name Yes - Name of data element. Max 230 characters. Unique. + Name. Max 230 characters. Unique. UID No System generated - UID for data element. Will be generated by system if not specified. + Stable identifier. Will be generated by system if not specified. Code No - Code for data element. + Stable code. Short name @@ -408,22 +415,16 @@ Max 230 characters. - Active - No - false - - - Domain type No aggregate - + Domain type for data element, can be aggreate or patient. Type No int - + Value type. Number type @@ -441,7 +442,7 @@ Aggregation operator No sum - + Operator indicating how to aggreate data in the time dimension. Url @@ -458,6 +459,43 @@
+ + Category Option and Category Option Group CSV Format + + + + + + + + Column + Required + Default value + Description + + + + + Name + Yes + + Name. Max 230 characters. Unique. + + + UID + No + System generated + Stable identifier. Will be generated by system if not specified. + + + Code + No + + Stable code. + + + +
Importing XML data