Purpose and Benefits

 Bahmni also supports manual uploads of Radiology documents.

Steps

Configure Radiology Upload Module/App

To configure the radiology upload module/app on the Bahmni Home page, add the config below to the path

/bahmni/default-config/openmrs/apps/home/extension.json

"radiologyDocumentUpload": {
   "id": "bahmni.radiology.document.upload",
   "extensionPointId": "org.bahmni.home.dashboard",
   "type": "link",
   "translationKey": "MODULE_LABEL_RADIOLOGY_UPLOAD_KEY",
   "url": "../document-upload/?encounterType=RADIOLOGY&topLevelConcept=Radiology&defaultOption=Chest, 1 view (X-ray)”,
   "icon": "icon-bahmni-radiology",
   "order": 5,
   "requiredPrivilege": "app:radiology-upload"
 },


The url is :  "url": "../document-upload/?encounterType=<X>&topLevelConcept=<Y>&defaultOption=<Z>”,

  1. The extension filepath should be: extension-<X>.json
  2. <Y> is the top level concept in openMRS. This enables an auto-complete set while selecting Upload type:  Assign concept set name to "topLevelConcept" in the url.
  3. <Z> has to be a set member of ’<Y>’ which is the top level concept. It is the default option that appears in the UI for upload type.