{"id":28735302,"url":"https://github.com/gaureshpai/cprm-prototype","last_synced_at":"2026-04-04T13:00:31.184Z","repository":{"id":298765671,"uuid":"996729195","full_name":"gaureshpai/cprm-prototype","owner":"gaureshpai","description":"The Centralized Patient \u0026 Resource Management System (CPRM) is a comprehensive hospital management solution prototype developed for Wenlock Hospital as part of the UDAL Fellowship challenge","archived":true,"fork":false,"pushed_at":"2025-12-10T09:25:10.000Z","size":39911,"stargazers_count":17,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-04T12:59:44.215Z","etag":null,"topics":["challenge","fellowship","neondb","nextjs","postgresql","prismaorm","react","shadcn-ui","tailwindcss","typescript","udal"],"latest_commit_sha":null,"homepage":"https://cprm-prototype.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gaureshpai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"contributing.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-05T11:27:03.000Z","updated_at":"2026-01-20T18:43:36.000Z","dependencies_parsed_at":"2025-06-12T21:12:46.661Z","dependency_job_id":"989f1e8c-c48c-49b6-aaa4-4724def3debb","html_url":"https://github.com/gaureshpai/cprm-prototype","commit_stats":null,"previous_names":["gaureshpai/cprm-prototype"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/gaureshpai/cprm-prototype","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaureshpai%2Fcprm-prototype","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaureshpai%2Fcprm-prototype/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaureshpai%2Fcprm-prototype/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaureshpai%2Fcprm-prototype/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gaureshpai","download_url":"https://codeload.github.com/gaureshpai/cprm-prototype/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaureshpai%2Fcprm-prototype/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31400460,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["challenge","fellowship","neondb","nextjs","postgresql","prismaorm","react","shadcn-ui","tailwindcss","typescript","udal"],"created_at":"2025-06-16T01:00:33.990Z","updated_at":"2026-04-04T13:00:31.179Z","avatar_url":"https://github.com/gaureshpai.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CPRM - Centralized Patient \u0026 Resource Management System\n\n\u003cdiv style=\"display: flex; align-items: center; gap: 16px; border: 1px solid #ccc; padding: 12px; border-radius: 8px; width: fit-content;\"\u003e\n  \u003cimg src=\"./public/logo.png\" alt=\"Logo\" style=\"width: 80px; height: 80px; object-fit: contain; border-radius: 8px;\" /\u003e\n  \u003cdiv style=\"display: flex; flex-direction: column;\"\u003e\n    \u003ca href=\"https://cprm-prototype.vercel.app\" target=\"_blank\" style=\"font-weight: bold; font-size: 16px; text-decoration: none; color: #007acc;\"\u003e\n      🌐 cprm-prototype.vercel.app\n    \u003c/a\u003e\n  \u003c/div\u003e\n\u003c/div\u003e\n\n## Smart Display System for Wenlock Hospital\n\n## 📋 Overview\n\nCPRM 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.\n\n### 🎯 Problem Addressed\n\n- **Fragmented Display Management**: 73 screens showing disconnected information\n- **No Real-time Synchronization**: OT schedules and pharmacy inventory operate independently\n- **Emergency Alert Gaps**: No unified system for Code Blue/Red broadcasts\n- **Department Silos**: Cardiology, OT, and Pharmacy lack integrated communication\n- **Patient Privacy Concerns**: Full patient names displayed on public screens\n\n## 🚀 Key Features\n\n- **Smart Display Management**: Centralized control of 73 displays across departments\n- **Real-Time Data Synchronization**: Instant updates across all connected systems\n- **Emergency Alert System**: Code Blue/Red broadcasts with location-specific information\n- **Privacy-First Design**: Token-based patient identification (P001, P002) instead of full names\n- **Role-Based Access**: Different interfaces for Admin, Doctor, Nurse, Pharmacist, and Technician\n- **Department Integration**: Seamless workflow between OT, Pharmacy, and Cardiology\n\n## 👥 User Roles\n\n- **Admin**: System management, user administration, and display control\n- **Doctor**: Patient management, OT scheduling, and medical records\n- **Nurse**: Token queue management and patient care coordination\n- **Pharmacist**: Drug inventory and prescription management\n- **Technician**: Blood bank management and display maintenance\n- **Public**: Patient portal with privacy-protected information\n\n## 🛠️ Technical Implementation\n\n- **Frontend**: Next.js with App Router, React, TypeScript, Tailwind CSS\n- **UI Components**: shadcn/ui component library\n- **Database**: PostgreSQL with Prisma ORM\n- **Authentication**: Role-based access control\n- **Real-time Updates**: Polling-based updates every 5 seconds\n\n## 📊 Expected Outcomes\n\n- **Display Update Time**: From 30+ minutes to 5 seconds\n- **Emergency Response**: From 8 minutes to 3 minutes average\n- **Medication Preparation**: 40% faster with advance OT notifications\n- **Staff Coordination**: 50% reduction in miscommunication incidents\n- **Patient Privacy**: 100% compliance with token-based system\n\n## 🚀 Getting Started\n\n### Prerequisites\n\n- Node.js (LTS version)\n- PostgreSQL database\n- Git\n\n### Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/gaureshpai/cprm-prototype.git\n   cd cprm-prototype\n   ```\n\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n\n3. Set up environment variables:\n   ```bash\n   cp example.env .env.local\n   ```\n   Edit `.env.local` with your database and authentication settings.\n\n4. Set up the database:\n   ```bash\n   npx prisma migrate dev\n   ```\n\n5. Run the development server:\n   ```bash\n   npm run dev\n   ```\n\n6. Open [http://localhost:3000](http://localhost:3000) in your browser.\n\n## 📚 Documentation\n\n- [Setup Guide](Setup.md)\n- [Concept Note](submission/concept-note.md)\n- [Code of Conduct](CODE_OF_CONDUCT.md)\n- [Contributing Guidelines](contributing.md)\n- [Security Policy](SECURITY.md)\n\n## 🔒 Security\n\nPlease review our [Security Policy](SECURITY.md) for information on reporting vulnerabilities.\n\n## 🤝 Contributing\n\nContributions are welcome! Please read our [Contributing Guidelines](contributing.md) and [Code of Conduct](CODE_OF_CONDUCT.md) before submitting a pull request.\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the [LICENSE.txt](LICENSE.txt) file for details.\n\n## 🙏 Acknowledgments\n\n- Wenlock Hospital for the opportunity to address their display management challenges","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgaureshpai%2Fcprm-prototype","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgaureshpai%2Fcprm-prototype","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgaureshpai%2Fcprm-prototype/lists"}