Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

This guide is currently In-Progress. Over the next few months, content will be added to it. 

If you have any suggestions or would like to add pages which talk about the functionality of Bahmni, please feel free to add them.

Purpose and Benefits

The csv CSV export feature is used for data migration to and from Bahmni. This feature requires that the user has appThe user has to have app:admin privilege to use this feature.

Steps

1. Configure CSV Export Tab

To make CSV export appear in the Admin module, add the following configuration to the extension.json file. The file can be found in the "/config/openmrs/apps/admin/"  folder.

Modify the "extension.json" to contain the snippet present below:

Code Block
languagejs
"csvExport":{
    "id": "bahmni.admin.csvExport",
    "extensionPointId": "org.bahmni.admin.dashboard",
    "type": "link",
    "extensionParams": {
    },
    "label": "CSV Export",
    "url": "#/csvExport",
    "icon": "fa-download",
    "order": 1,
    "requiredPrivilege": "app:registration"
},

 

Key Fields 

KeyUseMandatory
url
Points the app to the csv export stateYes
icon
The icon that will be displayed on the buttonNo
label
The text that will be rendered on the buttonYes

Tip
iconfalse
titleOn this Page

Table of Contents
stylenone

Panel
titleColorwhite
titleBGColor#668D3C
titleFeature Details

<Page Name> - Feature Guide

Panel
titleColorwhite
titleBGColor#668D3C
titleUsage Details

<Page Name> - User Guide