CPRM is a comprehensive hospital management system designed to unify 73 display screens across Wenlock Hospital's departments (Cardiology, OT, Pharmacy) into a centralized platform for real-time updates, emergency alerts, and synchronized data display.
- Fragmented Display Management: 73 screens showing disconnected information
- No Real-time Synchronization: OT schedules and pharmacy inventory operate independently
- Emergency Alert Gaps: No unified system for Code Blue/Red broadcasts
- Department Silos: Cardiology, OT, and Pharmacy lack integrated communication
- Patient Privacy Concerns: Full patient names displayed on public screens
- Smart Display Management: Centralized control of 73 displays across departments
- Real-Time Data Synchronization: Instant updates across all connected systems
- Emergency Alert System: Code Blue/Red broadcasts with location-specific information
- Privacy-First Design: Token-based patient identification (P001, P002) instead of full names
- Role-Based Access: Different interfaces for Admin, Doctor, Nurse, Pharmacist, and Technician
- Department Integration: Seamless workflow between OT, Pharmacy, and Cardiology
- Admin: System management, user administration, and display control
- Doctor: Patient management, OT scheduling, and medical records
- Nurse: Token queue management and patient care coordination
- Pharmacist: Drug inventory and prescription management
- Technician: Blood bank management and display maintenance
- Public: Patient portal with privacy-protected information
- Frontend: Next.js with App Router, React, TypeScript, Tailwind CSS
- UI Components: shadcn/ui component library
- Database: PostgreSQL with Prisma ORM
- Authentication: Role-based access control
- Real-time Updates: Polling-based updates every 5 seconds
- Display Update Time: From 30+ minutes to 5 seconds
- Emergency Response: From 8 minutes to 3 minutes average
- Medication Preparation: 40% faster with advance OT notifications
- Staff Coordination: 50% reduction in miscommunication incidents
- Patient Privacy: 100% compliance with token-based system
- Node.js (LTS version)
- PostgreSQL database
- Git
-
Clone the repository:
git clone https://github.com/gaureshpai/cprm-prototype.git cd cprm-prototype
-
Install dependencies:
npm install
-
Set up environment variables:
cp example.env .env.local
Edit
.env.local
with your database and authentication settings. -
Set up the database:
npx prisma migrate dev
-
Run the development server:
npm run dev
-
Open http://localhost:3000 in your browser.
Please review our Security Policy for information on reporting vulnerabilities.
Contributions are welcome! Please read our Contributing Guidelines and Code of Conduct before submitting a pull request.
This project is licensed under the MIT License - see the LICENSE.txt file for details.
- Wenlock Hospital for the opportunity to address their display management challenges