Complaint Management is a system that enables employees to raise complaints related to health campaigns. An employee can track the complaint, upload image related to the complaint, and re-open the complaint if he/she is not satisfied and rate the service. This document contains the details about how to set up the complaints module (pgr-service), and describes the functionalities it provides.
Pre-requisites
Before you proceed with the configuration, make sure the following pre-requisites are met:
Java 8.
Kafka server is up and running.
egov-persister service is running and has pgr-services persister config path added in it.
PSQL server is running and database is created to store complaint data.
(Optional) Indexer config for pgr-services is added in egov-indexer yaml paths to index. the generated data. Index are required for data visualisation in kibana or in DSS.
(Optional) Report config for pgr-services is added in Report service config paths. Required if reports are to be provided to the user.
Following services should be up and running:
egov-user
egov-workflow-v2
egov-perister
egov-localization
egov-notification-sms
egov-mdms
egov-idgen
egov-url-shortening
egov-hrms
Key Functionalities
Citizen/employee can file, track and rate the complaint.
Citizen/employee can add image and comments related to the complaint.
Citizen/employee can re-open the complaint in certain given period of time after resolution.
Campaign supervisors can setup the complaint workflow according to their requirements and staff capacity.
Can track the SLA for resolving each complaint and can use it as a metric to streamline the process for resolving complaints.
Department-wise assignment of the complaint to the LME.
Setup Details
The source code for an Complaints (pgr-service) is present in the health-campaign-services Git repo. The spring boot application needs the Lombok* extension added to the IDE to load it. Once the application is up and running, the API requests can be posted to the URL and the IDs can be generated.
*In the case of IntelliJ, the plugin can be installed directly. For eclipse, the Lombok jar location has to be added in the eclipse.ini file in this format: javaagent:lombok.jar.
API Details
Refer to the Swagger API for YAML file details: Complaints.yaml