SaQshi is an open-source digital quality assessment and monitoring application for healthcare facilities. It supports facility-level assessment, department activation, checklist scoring, CQI workflows, performance monitoring, certification monitoring, state/district/block dashboards, reports, and documentation.
License: GPL-3.0. See LICENSE.
SaQshi is aligned with the digital workflow needs of healthcare quality assessment programmes such as NQAS. The NQAS public guidance describes quality standards for public health facilities, self-assessment for improvement, preparation for certification, and eight Areas of Concern including Service Provision, Patient Rights, Inputs, Support Services, Clinical Care, Infection Control, Quality Management, and Outcome.
This public release is scoped to healthcare quality assessment and monitoring, with NQAS as the primary reference framework. SaQshi implements this as a configurable healthcare application: facility and framework data are loaded through JSON and APIs, assessment responses are stored against an assessment, CQI tracks gaps and revised scores, performance monitoring captures monthly KPI/outcome data, and state-level dashboards provide aggregated monitoring. See Project Overview and NQAS Alignment.
SaQshi is not a patient record system and is not designed to collect, process, or store patient-level personal health information. The application handles facility quality assessment, CQI, certification, performance-monitoring, reporting and administrative user data.
Users should not enter patient names, patient identifiers, case-sheet details, clinical histories or any patient-level personal health information in checklist remarks, CQI notes, evidence uploads or reports. If a deployment requires handling such information, it must be governed outside the default SaQshi open-source configuration with explicit legal, privacy, retention and access-control approval.
SaQshi evolved from an MVP checklist assessment tool into V1, V2, and the current open-source release. The current open-source version includes assessment, CQI, performance monitoring, certification, downloadable reports, advanced visualizations, state/district/division/block dashboards, and public project documentation.
See Version Matrix for the MVP, V1, V2 and Open Source feature comparison.
| Module | Purpose |
|---|---|
| Assessment | Create assessments, activate departments, capture assessor information, complete checkpoint scoring, and generate assessment reports. |
| CQI | Review gaps, prepare action plans, upload evidence, and close gaps. |
| Performance Monitoring | Capture KPI and outcome indicators month-wise and view trends. |
| Reports | Download scorecards, progress reports, CQI reports, performance reports, and state monitoring reports. |
| State Monitoring | View certification, assessment, CQI, performance, facility drill-down, user administration, and indicator analytics by administrative level. |
| Facility User Profile | Manage logged-in facility user profile and facility profile data. |
| Documentation and Help | User and developer guides inside the application. |
- Backend: PHP with MySQL/MariaDB.
- Frontend: HTML, CSS, JavaScript.
- API style: Versioned PHP endpoints under
api/*/v1. - Configuration: JSON files under
api/configandui/pages/**/*.json. - Environment:
.envloaded throughapi/core/Env.php. - Authentication/session: PHP session-based API authentication.
- Reports: CSV/XLSX-style downloads and generated report views.
- Maps: OpenStreetMap/Leaflet for state certification map views.
api/assessment/v1/ Assessment APIs
api/certification/ Certification APIs
api/core/ Shared core classes: auth, env, crypto, events, response, CSRF
api/files/v1/ File upload APIs
api/performance/v1/ KPI/outcome/performance APIs
api/reports/v1/ Report download APIs
api/service/ Shared service classes
api/sql/ Database migration files
api/state/v1/ State/district/block monitoring APIs
ui/assets/ Shared UI CSS/JS
ui/components/ Header, sidebar, footer, modal, loader, notification
ui/layouts/ Dashboard shell
ui/pages/ Route-based pages and page manifests
docs/
api/ OpenAPI, Postman collection and API testing guide
compliance/ Open-source readiness, licensing and release docs
database/ Database setup and migration guide
security/ Security reviews
testing/ Test plan, VAPT, load testing, WCAG docs
- PHP 8.x recommended.
- MySQL or MariaDB.
- Web server such as Apache/IIS/Nginx configured to serve the project.
- PHP extensions commonly needed:
mysqlijsonopensslfileinfosessionzipwhere XLSX/report generation requires archive support
- Clone or copy the repository into the web root.
- Copy
.env.exampleto.env. - Update database credentials in
.env. - Create/import the SaQshi database schema.
- Apply migration files from
api/sqlin chronological order. - Configure the web server to serve the project root.
- Open:
{main_url}/ui/login.html
The port/path may differ depending on your local server setup.
Use .env.example as the template:
APP_ENV=local
APP_DEBUG=false
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=saqshi
DB_USERNAME=saqshi_user
DB_PASSWORD=change_me
DB_CONNECT_TIMEOUT=5
Do not commit .env. It is intentionally ignored by .gitignore.
Database setup and migration guidance is documented here:
docs/database/database_setup_and_migration.md
Fresh installations can start from the sanitized base schema:
api/sql/schema/001_base_schema.sql
Current migration and schema-support files are stored under:
api/sql/
The browser UI is served from ui/ and should be deployed on the same {main_url} as api/ so session cookies, CSRF validation and API calls work consistently.
Main entry points:
{main_url}/ui/login.html
{main_url}/ui/dashboard.html
Detailed UI deployment, routing, static asset and verification guidance is available here:
docs/deployment/ui_deployment_guide.md
API documentation and testing files are available under:
docs/api/
Useful files:
docs/api/openapi.yamldocs/api/swagger-ui.htmldocs/api/saqshi_postman_collection.jsondocs/api/POSTMAN_TESTING_GUIDE.md
Testing documentation is available under:
docs/testing/
Security documentation is available under:
docs/security/
SECURITY.md
Important checks before release:
- Run
php tools/quality_gate.phpfrom the repository root. - Run
php tools/release_readiness_check.phpfrom the repository root. - Run syntax checks for changed PHP/JS files.
- Run available API smoke tests.
- Run VAPT/security checks.
- Run WCAG/accessibility checks.
- Confirm
.env, logs, keys and uploads are not committed.
Release and compliance documents:
docs/compliance/open_source_dpg_release_status.mddocs/compliance/open_source_readiness_checklist.mddocs/compliance/data_privacy_policy.mddocs/compliance/privacy_data_protection.mddocs/compliance/license_consistency_before_after.mddocs/compliance/third_party_licenses.mddocs/compliance/legal_privacy_confirmation.mddocs/compliance/public_data_audit.mddocs/compliance/data_redistribution_approval.mddocs/compliance/release_versioning_policy.mddocs/compliance/release_checklist.mdNOTICECHANGELOG.md
This project root is GitBook-ready:
README.mdis the landing page.SUMMARY.mddefines the GitBook sidebar.docs/gitbook.mdexplains how to import and maintain the book.
Please read:
SaQshi is released under GPL-3.0. See LICENSE.