Exporting Standardized Data: Difference between revisions

From IHRIS Wiki
Line 20: Line 20:
*Click the "Enable" button at the bottom of the page
*Click the "Enable" button at the bottom of the page


==Creating the Module==
==Creating the module==
===Browsing in Magic Data===
Creating the module is very easy.  Go to:
Creating the module is very easy.  Go to:
*Browse to "Configure System"
*Browse to "Configure System"
Line 30: Line 31:
You should now see a page that looks like:
You should now see a page that looks like:
[[image:export_cadre1.png|thumb|left|Magic Data Browser]]
[[image:export_cadre1.png|thumb|left|Magic Data Browser]]
===Setting Export Options===
Now that we have browser in magic data to '''/I2CE/formsData/forms/cadre''' we are ready to export the module:
*Click on the "(options)" link under the "Export" button
*Set the following data:
**Module Name: "standard-data-cadre"
**Displayed Named: "Standardized Cadre List"
**Version:  Change it from "'''1.0'''.2010.08.20" to "'''4.0'''.2010.08.20"
**Description: "The Standardized Cadre list set by the central office of the Ministry of Health"
Your page should look like:
[[image:export_cadre1.png|thumb|left|Export Options]]
Now click the "Export" button and your web-browser should ask you where to save the .xml file.
==Managing Decentralized iHRIS==

Revision as of 09:40, 20 August 2010

In this tutorial we show how to export standardized cadre data from a central site to be shared among regional and district installations.

Note: This module assume that the cadre form is stored in magic data. This is the default for iHRIS Manage version 4.0.


Overview

We will create a module called standard-data-cadre that will contain all of the cadre's defined in the system. The module will have version 4.0.YYYY.MM.DD where we replace YYYY with the year, MM with the numeric month and DD with the numeric day. For example the version would be 4.0.2010.08.17 if the data was exported on August 27, 2010.

If we update the cadre list, at a later date (August 20, 2010), then we can re-export the list into the same module standard-data-cadre but this time with version 4.0.2010.08.20.

Once we have created this module, we should make it available and required to each of the regional and district installations.


First Steps -- Enabling the Magic Data Browser

We will export the cadre list using the "Magic Data Browser" module. If it is not available under the "Configure System" menu, then follow these steps to enable it:

  • Browse to "Configure System"
  • Click the "Configure Modules" link
  • Click the link "Sub-Modules" to the right of the "Pages" module
  • Check the check box next to "Magic Data Browser"
  • Click the "Enable" button at the bottom of the page

Creating the module

Browsing in Magic Data

Creating the module is very easy. Go to:

  • Browse to "Configure System"
  • Click the "Browse Magic Data" link
  • Click the "I2CE" link
  • Click the "formsData" link
  • Click the "forms" link
  • Click the "cadre" link

You should now see a page that looks like:

Magic Data Browser

Setting Export Options

Now that we have browser in magic data to /I2CE/formsData/forms/cadre we are ready to export the module:

  • Click on the "(options)" link under the "Export" button
  • Set the following data:
    • Module Name: "standard-data-cadre"
    • Displayed Named: "Standardized Cadre List"
    • Version: Change it from "1.0.2010.08.20" to "4.0.2010.08.20"
    • Description: "The Standardized Cadre list set by the central office of the Ministry of Health"

Your page should look like:

Export Options

Now click the "Export" button and your web-browser should ask you where to save the .xml file.

Managing Decentralized iHRIS