Versions Compared

Key

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

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

...