Registration module - Create Patient should display localised string of coded concepts

Description

Across the board Bahmni relies a lot on fetching concepts by FSN (Fully Specified Name). When doing so it explicitly or implicitly does it for the current locale (so the user locale). In a multi-locale environment this will lead to issues when the FSN of a concept is not found in other locales than 'en'.

Suggested solution

When concepts are fetched by FSN, the api

/openmrs/ws/rest/v1/concept?s=byFullySpecifiedName

should also return a list of “names” which will be the union of all types (i.e FSN, Short Name, etc) for the current user’s logged in locale and the default locale setup for the system.

The UI can then filter out the name that needs to be displayed.

Assignee

Praveena Dayanand

Reporter

Swetha Bachugudem

Units

None

PercentDone

None

DueTime

None

Clients

None

External issue ID

None

UAT Assignee

None

Reviewer

None

Components

Sprint

Fix versions

Configure