Changes to be made to the API, so as to still support the existing contract while modifying the response to include the result in user specified locale

Description

The response object currently is in the format below:

The name object currently sends only the openmrs default locale details in the result.

The idea is to introduce another entity called names, which would be an array of name objects in the locale that the user would have specified. It would include all the name objects of different conceptNameType available in the specified user locale.

This API would then be able to support the fetching of FSN in user locale, while not breaking the existing contract.

 

Status

Assignee

Swetha Bachugudem

Reporter

Swetha Bachugudem

Labels

None

Units

None

PercentDone

None

DueTime

None

Clients

None

External issue ID

None

UAT Assignee

None

Reviewer

None

Sprint

Configure