Module: Patient Queueing
Module Version: 1.0.0
System Version: OpenMRS 2.3.0, Reference application 2.10.0
Issue or Question: The Provider Dashboard displays all the patient including the COMPLETED one, but only the PENDING patients are expected.
Steps to reproduce:
- Send a patient to service area
- Go to the Provider Dashboard
- Select the patient
- Click on the General Actions: Complete Patient Session
- Go to the Provider Dashboard
- The patient is still present
The development console of my browser shows that the Provider Dashboard page send a query to the Patient queuing module as follow:
http://localhost:8082/openmrs/patientqueueing/clinicianQueueList/getPatientQueueList.action?
with the following query string:
successUrl=/openmrs/patientqueueing/providerDashboard.page?
searchfilter=
The response is then:
JSON patientQueueList object
{patientQueueList=[
{
"patientQueueId": 6,
"patientId": 7,
"patientNames": "Test John ",
"age": "33",
"gender": null,
"providerNames": "John Smith",
"locationFrom": "Surgery 2",
"locationTo": "Surgery 2",
"status": "COMPLETED",
"dateCreated": "2020-06-25 11:15:41.0",
"creatorId": null,
"creatorNames": null,
"encounterId": null,
"visitNumber": "25/06/2020-Reg-001",
"priority": null,
"priorityComment": null,
"id": 6
},
{
"patientQueueId": 5,
"patientId": 7,
"patientNames": "Test John ",
"age": "33",
"gender": null,
"providerNames": "John Smith",
"locationFrom": "Registration Desk",
"locationTo": "Surgery 2",
"status": "COMPLETED",
"dateCreated": "2020-06-25 11:10:53.0",
"creatorId": null,
"creatorNames": null,
"encounterId": null,
"visitNumber": "25/06/2020-Reg-001",
"priority": null,
"priorityComment": null,
"id": 5
}
]
}
My question: Is there anything special that I need to do in order to get only the PENDING patients or is it a bug in the module?
Thanks for your help !