Development notes (0.76)

WARNING

This page has been Archived, and is obsolete. It is available on the Bahmni wiki only for reference and historical purposes.

Instead of deleting a page, we prefer to "archive" it, so that it is still available to people who have bookmarked the page.

 

(Any config changes or go-live tasks part of the current release development cycle should be captured here. This would be later moved on to the Release notes section when new Bahmni version will be released)

OpenERP:

As part of  migration story #2823 we are changing the structure of existing table "res_partner_attributes" to have each attribute as a column name instead of saving the value in a key value pair.

The below script will be rename the existing "res_partner_attributes"  table to "res_partner_attributes_old" and the data will be migrated to newly created table "res_partner_attributes". 

Run migrate_res_partner_attributes.sh  from  /bahmni-environment/scripts/openerp

 

OpenMRS:

After deployment, need to update the search index. Navigate to OpenMRS admin UI ->Administration -> Advanced Settings ->Search Index (in the header)

Click on "Rebuild Search Index"


Clinical:

 1. You need to rename extension-DEFAULT.json to extension.json and then the following config change required in extension.json.

  • "forwardUrl": "#/patient/{{patientUuid}}/dashboard" should change to 
  • "forwardUrl": "#/default/patient/{{patientUuid}}/dashboard"
  • Note: 'default' is added as part of the url. This change has to be done in all the forwardUrl property. We have already taken care for the following implementations (possible, banyan, gudalur, jss, lokbiradri,default, bdshr, bd-hospital, bd-uhc, endtb) master branch. If it is missed in any other implementation, please go ahead and correct it.

2. You need to rename extension-PROGRAMS.json to extension-programs.json (If the file is present)

Registration:

  1. The following config change required in extension.json
  • "forwardUrl": "#/patient/{{patientUuid}}/dashboard" should change to 
  • "forwardUrl": "#/default/patient/{{patientUuid}}/dashboard"
  • Note: 'default' is added as part of the url. This change has to be done in all the forwardUrl property. We have already taken care for the following implementations (possible, banyan, gudalur, jss, lokbiradri, default, bdshr, bd-hospital, bd-uhc, endtb) master branch. If it is missed in any other implementation, please go ahead and correct it.


Display or Hide Total Qty and Total Qty Units UI elements on medications tab based on config.

  • The default behavior is Display the UI elements. This mode is called Detail View Drug Form.
  • The following config is required in clinical/app.json to hide it. This mode is called Simple Drug Form.
    clinical/app.json
  • "drugOrder": { "simpleDrugForm": true }


The Bahmni documentation is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)