CSV 내보내기 구성
목적 및 이점
CSV 내보내기 기능은 Bahmni에서 데이터를 가져오거나 내보내 마이그레이션할 때 사용합니다. 이 기능을 사용하려면 사용자에게 app:admin 권한이 있어야 합니다.
절차
1. CSV 내보내기 탭 구성
Admin 모듈에 CSV 내보내기를 표시하려면 extension.json 파일에 다음 구성을 추가합니다. 이 파일은 "/config/openmrs/apps/admin/" 폴더에 있습니다.
아래 코드 조각을 포함하도록 "extension.json"을 수정합니다.

"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 | Use | Mandatory |
|---|---|---|
| url | Points the app to the csv export state | Yes |
| icon | The icon that will be displayed on the button | No |
| label | The text that will be rendered on the button | Yes |
원문 정보
원문 보기 ↗Bahmni Wiki · CC BY-SA 4.0