New BM module does not come included with a default SQL for listing patients for ward/admission location

Description

In the new BM front end, users would want to see a list view of a particular ward. In line with the older BM feature, we would like to have the List View details configurable.

To achieve this, we will use SQL based queries which will be registered against a global property "bedManagement.sqlGet.patientListForAdmissionLocation".
In app-config for IPD, we can configure the "wardListSqlSearchHandler" to specify the above named sql search handler.

Tech Analysis:

  • Bed Management Module - The module should come bundled with a default SQL for listing Patients in a ward. Since the BM itself is an independent openmrs module (no dependency on Bahmni), the SQL should not assume anything relevant to Bahmni - Concepts, Process/Workflow, Metadata etc.

  • Bahmni-Core - should override the above global property and provide a more contextual bahmni specific SQL with information like Admission date time, admission by, disposition by, disposition date, diagnosis of the patient etc etc - inline with existing feature in older bed management.

  • default-config should have wardListSqlSearchHandler" specified as "bedManagement.sqlGet.patientListForAdmissionLocation".

Activity

Show:
Himabindu Akkinepalli
August 31, 2018, 10:53 AM

Removed patientWardDetails.sql from default-config as has moved sql to both bedmanagement and bahmni-core modules. Below is the commit detail
https://github.com/Bahmni/default-config/commit/e6bb1ecceb4000c2bc97227337ca9d4ccbef806d

Himabindu Akkinepalli
August 31, 2018, 10:53 AM

Tested on qa08 and working as expected.

Fixed

Assignee

Angshuman Sarkar

Reporter

Angshuman Sarkar

Labels

Units

None

PercentDone

None

DueTime

None

Clients

None

External issue ID

None

UAT Assignee

None

Reviewer

None

Components

Sprint

0.91 Product

Fix versions