{"id":30107093,"url":"https://github.com/hari7261/medassess--ai-powered","last_synced_at":"2025-08-23T15:40:02.949Z","repository":{"id":300404843,"uuid":"1006085370","full_name":"hari7261/MedAssess--AI-Powered","owner":"hari7261","description":"healthcare platform designed to bridge the gap between healthcare services and the Indian population. Our mission is to provide accessible, user-friendly health assessments powered by advanced machine learning models to connect users with relevant healthcare resources and government schemes.","archived":false,"fork":false,"pushed_at":"2025-06-22T07:20:32.000Z","size":1086,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-10T01:33:12.423Z","etag":null,"topics":["ai","ai-agents","ai-powered","api","appointment","database","hari7261","healthcare-ai","healthcare-application","insurance-company","medicalreport","nodejs","reactjs","resources","supabase"],"latest_commit_sha":null,"homepage":"https://medassess.vercel.app/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hari7261.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-21T13:09:40.000Z","updated_at":"2025-06-22T07:20:36.000Z","dependencies_parsed_at":"2025-06-21T14:45:02.684Z","dependency_job_id":null,"html_url":"https://github.com/hari7261/MedAssess--AI-Powered","commit_stats":null,"previous_names":["hari7261/medassess--ai-powered"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hari7261/MedAssess--AI-Powered","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hari7261%2FMedAssess--AI-Powered","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hari7261%2FMedAssess--AI-Powered/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hari7261%2FMedAssess--AI-Powered/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hari7261%2FMedAssess--AI-Powered/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hari7261","download_url":"https://codeload.github.com/hari7261/MedAssess--AI-Powered/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hari7261%2FMedAssess--AI-Powered/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271754940,"owners_count":24815323,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ai","ai-agents","ai-powered","api","appointment","database","hari7261","healthcare-ai","healthcare-application","insurance-company","medicalreport","nodejs","reactjs","resources","supabase"],"created_at":"2025-08-10T01:33:30.866Z","updated_at":"2025-08-23T15:40:02.915Z","avatar_url":"https://github.com/hari7261.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🏥 MedAssess - Healthcare Assessment \u0026 Information Platform\n\n[![Made with hari7261](https://img.shields.io/badge/Made%20with-hari7261-ff69b4.svg)](https://hariompandit.me/)\n[![React](https://img.shields.io/badge/React-18.3.1-blue.svg)](https://reactjs.org/)\n[![TypeScript](https://img.shields.io/badge/TypeScript-5.5.3-blue.svg)](https://www.typescriptlang.org/)\n[![Tailwind CSS](https://img.shields.io/badge/Tailwind%20CSS-3.4.11-blue.svg)](https://tailwindcss.com/)\n[![Supabase](https://img.shields.io/badge/Supabase-Database-green.svg)](https://supabase.io/)\n\n\n## 🌟 Overview\n\nMedAssess is an advanced healthcare platform designed to offer a comprehensive range of health assessment tools, facilitate connections with healthcare providers, and provide valuable medical resources. This report highlights the core features and technical implementations within the codebase.\n\n---\n\n## **Technical Architecture**\n\n### **Frontend Framework**\n- **Primary Framework**: React with TypeScript\n- **Routing**: Utilizes React Router DOM (BrowserRouter, Routes, Route components)\n- **Data Fetching**: Implemented via React Query (QueryClient, QueryClientProvider)\n  - Configured with default options: no retries and no refetching on window focus\n- **UI Components**: Custom UI components (Toaster, Sonner, TooltipProvider)\n\n### **Authentication System**\n- Implements protected routes using a `ProtectedRoute` component\n- Secure login system accessible via the `/login` path\n- All primary application routes are wrapped in the `ProtectedRoute` component\n- **User Registration:** New user registration system\n- **Medical Professional Access:**\n  - Doctors directory and management\n  - Hospitals directory and management\n\n---\n\n## **Application Features**\n\n### **Health Assessment Tools**\nMedAssess offers multiple disease-specific assessment tools, including:\n- **Chronic Disease Assessments:**\n  - Cancer (`/cancer-assessment`)\n  - Diabetes (`/diabetes-assessment`)\n  - Heart Disease (`/heart-assessment`)\n- **Infectious Disease Assessments:**\n  - Malaria (`/malaria-assessment`)\n  - Dengue (`/dengue-assessment`)\n  - COVID-19 (`/covid-assessment`)\n  - Common Cold (`/cold-assessment`)\n- **General Disease Information**\n\n### **Healthcare Provider Connections**\n- **Doctor Directory** (`/doctors`): Integrated with Supabase real-time database\n- **Hospital Directory** (`/hospitals`): Integrated with Supabase real-time database\n- **Appointment Scheduling** (`/appointments`): Utilizes Web3Form API for secure doctor-patient interactions\n\n### **AI and Communication Tools**\nMedAssess incorporates AI-driven functionalities:\n- **General AI Chat** (`/ChatWithAI`): Provides medical recommendations and information\n- **Advanced GPT Interface** (`/AdvancedGPT`): Uses a Gemini API, trained specifically for healthcare-related queries\n- **ExcelChatBot (ClgGPT)**: Specialized chatbot for medical-related data\n- **Integrated Chatbot Widget**\n- **Video Chat Functionality**\n- **Embedded Third-Party Chatbot** (Chatbase.co)\n  - **Integration**: iframe-based implementation\n  - **Chat URL**: [Chatbase Bot](https://www.chatbase.co/chatbot-iframe/FyxC_onseWv71CeYviSkg)\n  - **User Interface**:\n    - Floating chat button (💬) positioned at the bottom-right\n    - Expandable chat window with smooth animation\n    - Chatbot is disabled on authentication pages\n\n### **Appointment Management**\n- **Booking and Managing Appointments**\n\n### **Health Information Resources**\n- **About Section**\n- **Overview**\n- **FAQ Section** (`/faq`): Provides clarity on common queries\n- **Contact Information**\n- **Services Overview**\n- **News \u0026 Events** (`/news-events`): Platform updates and healthcare news\n- **Disease Information Pages** (`/disease-info`): Comprehensive educational content\n- **Government Health Schemes** (`/GovtHealthSchemes`): Secure access to central government healthcare programs\n- **State-Specific Health Schemes** (`/StateSchemes`): State-level health initiatives and policies\n\n### **Government and Financial Services**\n- **Insurance Options** (`/insurance`)\n- **Payment Processing** (`/payment`): Supports both online transactions and in-person payments\n\n### **Legal Information**\n- **Terms and Conditions**\n\n---\n\n## **User Interface Design**\n- Fully responsive and user-friendly layout\n- Floating chatbot with toggle functionality\n- **Chatbot UI Specifications:**\n  - Circular chat button (60px × 60px) with a blue background (#007BFF)\n  - Sliding animation for the chat window\n  - Expandable iframe (300px × 400px)\n\n---\n\n## **Code Structure Observations**\n- Well-organized page components with dedicated files\n- Some redundant route definitions (`/appointments`, `/payment`)\n- React’s `useState` hook manages UI states (e.g., chatbot visibility)\n- Implements `useLocation` hook for location-aware functionalities\n\n---\n\n## **Security Implementations**\n- **Route Protection:** Authentication-based security using `ProtectedRoute`\n- **Data Privacy:**\n  - User and doctor-related data are not stored in the platform’s database\n  - Appointments are directly sent to the selected doctor via **Doctor-Specific Appointment Routing Algorithm**\n  - Unique Web3Forms API key for each doctor ensures secure form submissions\n- **Chatbot Security Measures:**\n  - Restricted keywords and phrase filtering to prevent misuse\n- **Data Security Protocols:**\n  - AES-256 encryption for stored data\n  - TLS/SSL encryption for data transmission\n  - bcrypt or Argon2 for password hashing\n- **Additional Security Layers:**\n  - Role-Based Access Control (RBAC)\n  - Multi-Factor Authentication (MFA)\n  - Audit logging for data access\n  - Tokenization of sensitive identifiers\n- **Compliance Measures:**\n  - HIPAA compliance mechanisms (for U.S. healthcare systems)\n  - Automated session timeouts\n  - IP restrictions for administrative access\n\n### **Doctor Verification Process**\n- Medical professionals must undergo verification before joining the platform\n- Document validation is mandatory\n- External links are not allowed—Google Drive links are required for secure document uploads\n\n### **Insurance Security \u0026 Trust**\n- MedAssess acts as a **secure bridge** between insurance providers and users\n- All insurance-related data and links are verified for authenticity\n\n---\n\n## **Third-Party Integrations**\n- **Chatbase.co**: Embedded chatbot functionality\n- **React Query**: Optimized data fetching and state management\n\n---\n\n## **Conclusion**\nMedAssess is a robust healthcare platform that combines cutting-edge AI-driven assessments, secure provider connections, and essential medical resources. With its strong security measures, responsive UI, and future-ready payment integrations, the platform ensures a reliable and efficient user experience. Further refinements, including optimization of routing structures and third-party API enhancements, will continue to enhance its overall functionality.\n\n\nBuilt with ❤️ By Hariom Pandit\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhari7261%2Fmedassess--ai-powered","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhari7261%2Fmedassess--ai-powered","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhari7261%2Fmedassess--ai-powered/lists"}