curaflow/lab.html

126 lines
5.5 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Curio Lab | Diagnostics & Reports</title>
<link rel="stylesheet" href="globals.css">
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="dashboard.css">
<link rel="stylesheet" href="lab.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700&display=swap" rel="stylesheet">
<script src="globals.js"></script>
</head>
<body class="dashboard-body">
<aside class="sidebar">
<div class="logo">
<div class="logo-icon">C</div>
<span class="logo-text">Curio</span>
</div>
<nav class="side-nav">
<a href="dashboard.html"><span>🏠</span> Overview</a>
<a href="dashboard.html" onclick="showSection('queue')"><span>👥</span> Queue</a>
<a href="dashboard.html" onclick="showSection('patients')"><span>📂</span> Patients</a>
<a href="pharmacy.html"><span>💊</span> Pharmacy</a>
<a href="lab.html" class="active"><span>🔬</span> Lab</a>
<a href="billing.html"><span>💳</span> Billing & Accounts</a>
<a href="staff.html"><span>👔</span> Staff & Payroll</a>
<a href="settings.html"><span>⚙️</span> Settings</a>
</nav>
<div class="user-profile">
<div class="avatar">LT</div>
<div class="info">
<strong>Lab Tech</strong>
<span>Staff</span>
<a href="login.html" class="logout-btn"><span>🚪</span> Logout</a>
</div>
</div>
</aside>
<main class="dashboard-main">
<header class="dash-header">
<div class="header-title">
<h1>Lab & Diagnostics</h1>
<p>Track test samples and deliver AI-explained reports to patients.</p>
</div>
<div class="card stat-card" style="display:flex; flex-direction:column; justify-content:center; align-items:center; background: var(--bg);">
<button class="btn btn-primary" onclick="handleComingSoon('Generate Report')">Generate Report</button>
</div>
</header>
<section class="stats-row">
<div class="stat-card">
<span>Pending Tests</span>
<h3>14 Samples</h3>
<small class="text-accent">4 Urgent</small>
</div>
<div class="stat-card">
<span>Avg. TAT</span>
<h3>4.2 Hours</h3>
<small class="text-accent">↑ 0.5h improvement</small>
</div>
<div class="stat-card">
<span>WhatsApp Delivery</span>
<h3>98%</h3>
<small>Auto-sent successfully</small>
</div>
</section>
<section class="queue-section">
<div class="section-card">
<div class="card-header">
<h2>Live Test Queue</h2>
</div>
<table class="queue-table">
<thead>
<tr>
<th>Time</th>
<th>Lab ID</th>
<th>Patient Name</th>
<th>Test Name</th>
<th>Status</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<tr>
<td>14:00</td>
<td>LAB-982</td>
<td>Ananya Rao</td>
<td>Liver Function Test</td>
<td><span class="badge badge-warning">Awaiting Collection</span></td>
<td><button class="btn btn-sm btn-secondary" onclick="handleComingSoon('Add Results')">Add Results</button></td>
</tr>
<tr>
<td>12:30</td>
<td>LAB-980</td>
<td>Rohan Gupta</td>
<td>Lipid Profile</td>
<td><span class="badge badge-info">Processing</span></td>
<td><button class="btn btn-sm btn-secondary" onclick="handleComingSoon('Update')">Update</button></td>
</tr>
</tbody>
</table>
</div>
<div class="card">
<h2>Pending Approvals</h2>
<div class="report-review">
<div style="display:flex; justify-content:space-between; margin-bottom: 0.5rem;">
<strong>LAB-975 - Complete Blood Count</strong>
<span class="badge badge-success">Ready for Review</span>
</div>
<p class="text-muted" style="font-size: 0.85rem; margin-bottom: 1rem;">Patient: Vikram Singh</p>
<div style="display:flex; gap:0.5rem;">
<button class="btn btn-sm btn-primary btn-block" onclick="handleComingSoon('Review & Send')">Review & Send</button>
</div>
</div>
</div>
</div>
</section>
</main>
</body>
</html>