Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

49 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ₯ Phixon Medical Platform

A Complete Healthcare Ecosystem with Advanced Staff Management


🌟 Overview

Phixon Medical Platform is a comprehensive healthcare management system that bridges patients, doctors, pharmacies, and distributors with an advanced internal staff management system for Phixon IT company operations.

Two-Tier System:

  1. Healthcare Application - For patients, doctors, pharmacies, distributors
  2. Internal Staff Portal - For Phixon company employees managing the platform

✨ Key Features

Healthcare Management:

  • πŸ‘¨β€βš•οΈ Doctor consultation and appointment booking
  • πŸ’Š Pharmacy inventory and order management
  • πŸ₯ Patient health vault and prescription management
  • πŸ”„ DITS (Doctor-IT-Pharmacy) integration
  • πŸ’° Commission tracking and billing
  • πŸ“Š Analytics and reporting

Internal Staff Management:

  • πŸ‘₯ Role-based access control (10 roles, 25+ sub-roles)
  • πŸ” Secure invitation-based onboarding
  • πŸ“‹ Automated role-specific onboarding
  • 🎯 Granular permission system (50+ permissions)
  • πŸ“ˆ Activity logging and audit trails
  • 🏒 Department structure management

πŸš€ Quick Start

For Super Admins (Directors):

  1. Create Your Account:

    - See: PRAVEEN_ADMIN_SETUP.md
    - Login at: /staff-login
    - Email: praveen.katkom@phixon.co.in
    
  2. Invite Your Team:

    - Navigate to Staff Management
    - Use the Invitation System
    - Assign roles and permissions
    

For Healthcare Users:

  1. Register:

    - Visit the application homepage
    - Choose your role (Patient, Doctor, Pharmacy)
    - Complete registration and verification
    
  2. Login:

    - Use regular login page
    - Access role-specific dashboard
    

πŸ“š Documentation

Staff Management:

  • πŸ“˜ ROLE_SYSTEM_GUIDE.md - Complete role system documentation
  • πŸ“— PHIXON_STAFF_SETUP_GUIDE.md - Detailed setup instructions
  • πŸ“™ PRAVEEN_ADMIN_SETUP.md - Super admin quick setup
  • πŸ“• IMPLEMENTATION_SUMMARY.md - What we've built

General:

  • πŸ“„ SUPER_ADMIN_SETUP.md - General admin setup

πŸ—οΈ Tech Stack

  • Frontend: React, TypeScript, Vite, TailwindCSS
  • Backend: Supabase (PostgreSQL, Auth, RLS)
  • Icons: Lucide React
  • PDF Generation: jsPDF
  • Excel Export: XLSX
  • Image Processing: Tesseract.js, html2canvas

πŸ‘₯ Role Hierarchy

Level 1: Super Administrator

Directors and C-Level (Full Access)

Level 2: Administrator

Senior Management (Department-level access)

Level 3: Department Heads

  • Human Resources
  • Finance
  • Managers

Level 4: Operational Teams

  • Sales
  • Marketing
  • Support
  • Developers
  • Analysts

Total: 10 primary roles, 25+ sub-roles, 50+ permissions


πŸ” Security

  • βœ… Row Level Security (RLS) on all tables
  • βœ… Role-based access control
  • βœ… Permission validation functions
  • βœ… Complete activity logging
  • βœ… Secure token-based invitations
  • βœ… Separate authentication systems
  • βœ… Auto-expiring invitation links

πŸ“Š Database

Healthcare Tables (54):

  • User profiles, patients, doctors, pharmacies
  • Prescriptions, orders, appointments
  • Inventory, medicines, consultations
  • Verifications, notifications, analytics

Staff Management Tables (8):

  • phixon_staff
  • phixon_departments
  • phixon_roles
  • phixon_sub_roles
  • phixon_staff_invitations
  • phixon_staff_onboarding_steps
  • phixon_staff_activity_logs
  • phixon_permission_templates

🎯 Getting Started

Prerequisites:

  • Node.js (v18+)
  • npm or yarn
  • Supabase project

Installation:

# Clone repository
git clone <repository-url>
cd phixon_pmsv1

# Install dependencies
npm install

# Set up environment variables
# Copy .env.example to .env
# Add Supabase credentials

# Run development server
npm run dev

# Build for production
npm run build

Environment Variables:

VITE_SUPABASE_URL=your_supabase_url
VITE_SUPABASE_ANON_KEY=your_anon_key

πŸ“± Access Points

Healthcare Users:

  • Homepage: /
  • Login: /login
  • Register: /register
  • Dashboard: /dashboard

Phixon Staff:

  • Staff Login: /staff-login
  • Staff Dashboard: /phixon/dashboard
  • Staff Invitation: /phixon/invite

πŸ‘¨β€πŸ’» Development

# Run development server
npm run dev

# Type checking
npm run typecheck

# Lint code
npm run lint

# Build for production
npm run build

# Preview production build
npm run preview

🏒 Company Information

Phixon Enterprises & Technologies Pvt. Ltd.

Directors:

  • Katkom Praveen Kumar
  • Joru Shwetha

πŸ“ž Support

For Technical Issues:

For Staff Onboarding:

  • Contact HR team
  • Check PHIXON_STAFF_SETUP_GUIDE.md

For Healthcare User Issues:

  • Use in-app support
  • Contact platform administrators

πŸ“ License

Β© 2024 Phixon Enterprises & Technologies Pvt. Ltd. All rights reserved.


πŸŽ‰ What's New

Latest Update: Role-Based Staff Management

  • βœ… 10 primary roles with hierarchy
  • βœ… 25+ sub-role specializations
  • βœ… 50+ granular permissions
  • βœ… Invitation-based onboarding
  • βœ… Automated onboarding workflows
  • βœ… Complete activity logging
  • βœ… Permission templates
  • βœ… Department structure

🚧 Roadmap

  • Email notifications for invitations
  • 2FA/MFA implementation
  • Advanced analytics dashboards
  • Team collaboration features
  • Leave management
  • Attendance tracking
  • Performance reviews
  • Document management system

Built with ❀️ by Phixon Technologies

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages