Development notes (0.77)

THIS PAGE IS ARCHIVED. PLEASE REFER TO RELEASE NOTES HERE.

 

(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)

1) We have made changes on the registration page to pick concept short names instead of fully specified names as part of this https://trello.com/c/1B9yZt7z/3025-app-displays-the-fully-specified-name-of-the-concept-answers-in-a-dropdown-instead-of-the-short-name.For this change to work consistently we need execute the following  script once which will copy fully specified names to short name for concepts of person attribute types. 

SET @concept_ids = NULL;
select group_concat(distinct(foreign_key)) into @concept_ids
from person_attribute_type where format='org.openmrs.Concept'
group by format;
update concept_name as c1,concept_name as c2
set c1.name=c2.name
where c1.concept_id=c2.concept_id and c1.concept_name_type='SHORT' and
 c1.concept_id in (select answer_concept from concept_answer
where find_in_set(concept_id, @concept_ids)) and c2.concept_name_type='FULLY_SPECIFIED' and c1.locale=c2.locale;

Link to the above script on bahmni-environment: https://github.com/Bhamni/bahmni-environment/blob/master/scripts/db/update_shortname_to_fullyspecifiedname_for_person_attribute_type_concepts.sql

 

2) For implementations using the feature:  Display of patient blood group on dashboard,

As part of this story (https://trello.com/c/YjzkEgnJ/3010-jss-show-blood-group-of-existing-patients-on-patient-dashboard), we need to run the below script. 

https://github.com/Bhamni/bahmni-environment/blob/master/scripts/db/update_blood_group_for_existing_patients.sql

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