Attend Patient in multiple location

Hi!, When a patient is registered in a certain location, the provider with different location sees the visit as the non-active visit, How can I configure to make it active to all provider location? Please help

The logic which fetches the active patients are a set of key value pairs mentioned in the global properties of OpenMRS.

You can find them in OpenMRS -> Advanced Settings.

For your case, the key would be: emrapi.sqlSearch.activePatients and its value is an SQL query which fetches the active patients.

One of the conditions in the query is the location which is indicated by join location l on l.uuid = ${visit_location_uuid} and v.location_id = l.location_id

Removing this condition will enable you to see all the active patients from all the locations.

1 Like