Skip to content

Commit

Permalink
Update repository with changes and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sudoshi committed Feb 22, 2025
1 parent c4ae421 commit f4143d5
Show file tree
Hide file tree
Showing 529 changed files with 3,077 additions and 45,652 deletions.
174 changes: 100 additions & 74 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,101 +1,127 @@
# Zephyrus
## 🏥 Overview

Zephyrus is an advanced analytics and optimization platform designed to transform operating room management across healthcare systems. By leveraging sophisticated data analysis and predictive modeling, ZephyrusOR helps healthcare providers maximize surgical capacity, improve resource utilization, and drive operational excellence.

## 🚀 Key Features

### Comprehensive Capacity Management
- Real-time OR utilization tracking
- Multi-site performance visualization
- Capacity expansion insights without physical infrastructure changes

### Intelligent Block Scheduling
- Granular service-level block time analysis
- Automated reallocation recommendations
- Surgeon-specific performance benchmarking

### Advanced Analytics Modules
- Tandem Room Optimization
- Inter-site Case Movement Modeling
- Scheduling White Space Identification
- Predictive Surgical Pipeline Forecasting
Zephyrus is a comprehensive healthcare operations platform that provides real-time analytics and process improvement tools across multiple critical areas of hospital management. The platform integrates various workflows to optimize hospital operations, improve patient care, and enhance operational efficiency.

## 🚀 Key Workflows

### Emergency Department (ED)
- Real-time ED operations monitoring
- Patient tracking and triage management
- ED-to-Inpatient conversion analytics
- Resource utilization tracking
- Waiting room management
- Predictive alerts system
- Department performance metrics

### Real Time Demand & Capacity (RTDC)
- Hospital-wide capacity monitoring
- Real-time alerts and statistics
- Department-specific metrics
- Bed capacity management
- Staffing level tracking
- Historical trends analysis

### Perioperative Management
- Surgical services metrics
- Operating room utilization
- Case scheduling optimization
- Resource allocation
- Performance analytics

### Process Improvement
- Patient satisfaction tracking
- Care response time monitoring
- Clinical outcomes measurement
- Process intelligence tools
- Chronic care management
- Discharge process optimization

## 💡 Core Benefits
- Increase surgical case volume
- Reduce operational inefficiencies
- Optimize resource allocation
- Data-driven decision support
- Enhance surgical team productivity
- Real-time operational visibility
- Predictive analytics and alerts
- Enhanced patient flow management
- Resource optimization
- Cross-department coordination
- Data-driven decision making
- Quality of care improvement

## 🔧 Technical Architecture
- Cloud-native platform
- EHR System Agnostic
- Scalable Microservices Architecture
- Real-time Data Processing
- Advanced Security Protocols

## 📊 Data Insights Provided
- Prime Time Utilization Percentages
- Non-Prime Time Usage Metrics
- Average Case Duration Analysis
- Surgeon Efficiency Scoring
- Potential Capacity Expansion Opportunities

## 🔬 Specialty Coverage
- Orthopedics
- General Surgery
- Urology
- Gynecology
- Cardiothoracic Surgery
- And Many More...
- Real-time data processing
- EHR system integration
- Advanced security protocols
- Scalable microservices architecture
- Modern web technologies

## 📊 Key Features
- Real-time dashboards for each workflow
- Customizable alerts and predictions
- Department-specific analytics
- Historical trend analysis
- Process improvement tools
- Performance benchmarking
- Resource management
- Patient flow tracking

## 🏥 Clinical Areas
- Emergency Department
- Operating Rooms
- Inpatient Units
- Critical Care
- Medical/Surgical Units
- Support Services

## 📦 Installation

### Prerequisites
- Cloud Infrastructure (AWS/Azure/GCP)
- EHR System Access
- Minimum Data Warehouse Requirements
- Node.js and npm
- Database system
- EHR system access
- Required environment variables

### Quick Start
```bash
# Clone the repository
git clone https://github.com/yourorg/zephyrusOR.git
git clone https://github.com/acumenus/Zephyrus.git

# Install dependencies
npm install zephyrus-or
npm install

# Configure environment
zephyrus config setup
cp .env.example .env

# Launch platform
zephyrus start
# Launch application
npm run dev
```

## 🔐 Security
- HIPAA Compliant
- End-to-End Encryption
- Role-Based Access Control
- Comprehensive Audit Logging

## 📈 Performance Metrics
- Average Utilization Increase: 15-25%
- Potential Case Volume Expansion: Up to 1000 cases/6 months
- Scheduling Efficiency Improvement: 30-40%

## 🤝 Integration Partners
- Epic Systems
- Cerner
- Allscripts
- Custom EHR Solutions
- Role-based access control
- Data encryption
- Audit logging
- Secure API endpoints

## 📈 Performance Impact
- Reduced ED wait times
- Improved patient throughput
- Enhanced resource utilization
- Better clinical outcomes
- Streamlined workflows
- Increased staff efficiency

## 🤝 Integration
- EHR Systems
- Staffing Systems
- Resource Management Tools
- Analytics Platforms
- Clinical Decision Support Systems

## 📞 Support
- 24/7 Technical Support
- Dedicated Implementation Team
- Continuous Platform Updates

## 📄 Licensing
Available in multiple tiers:
- Community Edition
- Professional Edition
- Enterprise Edition
- Technical documentation
- Implementation guidance
- Regular updates
- Community support

## 📄 License
[License details to be added]
3 changes: 2 additions & 1 deletion app/Http/Controllers/Auth/AuthenticatedSessionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
use Illuminate\Support\Facades\Route;
use Inertia\Inertia;
use Inertia\Response;
use App\Providers\RouteServiceProvider; // Import the RouteServiceProvider class

class AuthenticatedSessionController extends Controller
{
Expand Down Expand Up @@ -47,7 +48,7 @@ public function store(LoginRequest $request): RedirectResponse
default => 'dashboard'
};

return redirect()->route($dashboardRoute);
return redirect()->intended(RouteServiceProvider::HOME);
}

/**
Expand Down
123 changes: 123 additions & 0 deletions app/Http/Controllers/DashboardController.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,129 @@ public function improvement(Request $request)
]);
}

public function bottlenecks(Request $request)
{
$request->session()->put('workflow', 'improvement');
return Inertia::render('Improvement/Bottlenecks', [
'workflow' => 'improvement',
'bottlenecks' => [
'stats' => [
'active' => 12,
'avgResolutionTime' => 4.2,
'patientImpact' => 86
]
]
]);
}

public function rootCause(Request $request)
{
$request->session()->put('workflow', 'improvement');

// Production data would come from ML models analyzing:
// - EMR timestamps
// - Bed management system
// - Staff scheduling data
// - Resource utilization metrics
$rootCauses = [
[
'rank' => 1,
'type' => 'Discharge Documentation Delays',
'location' => 'Med-Surg 3W',
'impactedPatients' => 14,
'impactDetails' => 'ICU Backlog (4), ED Boarding (8), Extended LOS (2)',
'score' => 76.6,
'avgDelay' => '4.2 hrs', // More realistic timeframe
'stressLevel' => 3,
'weekTrend' => 12,
'causes' => [
'Pharmacy staffing gap 1300-1700',
'Pending specialist sign-off (>2hrs)',
'Discharge summary documentation delays'
],
'metrics' => [
'Pharmacy verification: 95% utilization',
'Care management workload: 88%',
'Discharge nurse ratio: 1:12'
]
],
[
'rank' => 2,
'type' => 'OR to PACU Handoff',
'location' => 'Surgical Services',
'impactedPatients' => 11,
'impactDetails' => 'PACU Holding (6), Recovery Delays (5)',
'score' => 68.4,
'avgDelay' => '42 mins',
'stressLevel' => 3,
'weekTrend' => 8,
'causes' => [
'Shift change overlap 1445-1515',
'Complex post-op order sets >25 items',
'Missing critical care documentation'
],
'metrics' => [
'PACU nurse ratio: 1:3',
'OR utilization: 92%',
'Handoff compliance: 76%'
]
],
[
'rank' => 3,
'type' => 'ICU to Step-Down Transfer',
'location' => 'ICU → 4E',
'impactedPatients' => 8,
'impactDetails' => 'PACU Holding (3 patients), OR Delays (4 cases)',
'score' => 45.3,
'avgDelay' => '5.1 hrs',
'stressLevel' => 2,
'weekTrend' => -5,
'causes' => [
'Telemetry bed availability',
'Staffing ratios',
'Care team rounding timing'
]
],
[
'rank' => 4,
'type' => 'ED to Inpatient Admission',
'location' => 'ED → Med-Surg',
'impactedPatients' => 12,
'impactDetails' => 'Increased ED LOS, Ambulance Diversion Risk',
'score' => 41.9,
'avgDelay' => '4.8 hrs',
'stressLevel' => 2,
'weekTrend' => 15,
'causes' => [
'Bed assignment delays',
'Transport team availability',
'Specialty consult timing'
]
],
[
'rank' => 5,
'type' => 'Radiology TAT',
'location' => 'CT/MRI',
'impactedPatients' => 16,
'impactDetails' => 'ED/Inpatient Discharge Delays',
'score' => 38.7,
'avgDelay' => '2.3 hrs',
'stressLevel' => 2,
'weekTrend' => -2,
'causes' => [
'Equipment downtime',
'After-hours staffing',
'Order prioritization'
]
]
];

return Inertia::render('Improvement/RootCause', [
'workflow' => 'improvement',
'rootCauses' => $rootCauses
]);
}

public function overview(Request $request)
{
return redirect()->route('dashboard.improvement');
Expand Down
42 changes: 42 additions & 0 deletions app/Http/Controllers/RTDCController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use Illuminate\Support\Facades\Log;

class RTDCController extends Controller
{
/**
* Update the Red Stretch Plan for a unit
*/
public function updateRedStretchPlan(Request $request)
{
$validated = $request->validate([
'unitId' => 'required|integer',
'plan' => 'required|string|max:500'
]);

try {
// In a real app, this would update the database
// For now, we'll just log it
Log::info('Updating Red Stretch Plan', [
'unitId' => $validated['unitId'],
'plan' => $validated['plan']
]);

return response()->json([
'message' => 'Red Stretch Plan updated successfully'
]);
} catch (\Exception $e) {
Log::error('Error updating Red Stretch Plan', [
'error' => $e->getMessage(),
'unitId' => $validated['unitId']
]);

return response()->json([
'message' => 'Failed to update Red Stretch Plan'
], 500);
}
}
}
Loading

0 comments on commit f4143d5

Please sign in to comment.