medcode-ai-prototype / index.html
Anonymous214's picture
Build an AI tool that converts doctors’ diagnoses into CPT, HCPCS, and ICD-10 codes. Include useful features for physicians such as a section to input and manage patient information, a dashboard to track recent searches, and any additional tools that would streamline coding and documentation. Ensure every button is fully functional. Each button should link to its own page, and that page should display the content or features described by the button. - Initial Deployment
9c641f2 verified
Raw
History Blame Contribute Delete
15.1 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MedCode AI - Medical Coding Assistant</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<style>
.gradient-bg {
background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
}
.sidebar {
transition: all 0.3s ease;
}
.sidebar.collapsed {
width: 80px;
}
.sidebar.collapsed .nav-text {
display: none;
}
.sidebar.collapsed .logo-text {
display: none;
}
.sidebar.collapsed .nav-item {
justify-content: center;
}
</style>
</head>
<body class="bg-gray-50 font-sans">
<div class="flex h-screen overflow-hidden">
<!-- Sidebar -->
<div class="sidebar bg-white shadow-lg w-64 flex flex-col">
<div class="p-4 flex items-center space-x-3 border-b">
<div class="bg-blue-500 p-2 rounded-lg">
<i data-feather="activity" class="text-white"></i>
</div>
<h1 class="logo-text text-xl font-bold text-gray-800">MedCode AI</h1>
</div>
<div class="flex-1 overflow-y-auto p-4 space-y-2">
<a href="index.html" class="nav-item flex items-center space-x-3 p-3 rounded-lg bg-blue-50 text-blue-600">
<i data-feather="home" class="text-blue-600"></i>
<span class="nav-text font-medium">Dashboard</span>
</a>
<a href="code-converter.html" class="nav-item flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-100 text-gray-700">
<i data-feather="code" class="text-purple-600"></i>
<span class="nav-text">Code Converter</span>
</a>
<a href="patients.html" class="nav-item flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-100 text-gray-700">
<i data-feather="users" class="text-pink-600"></i>
<span class="nav-text">Patient Records</span>
</a>
<a href="history.html" class="nav-item flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-100 text-gray-700">
<i data-feather="clock" class="text-yellow-600"></i>
<span class="nav-text">Search History</span>
</a>
<a href="resources.html" class="nav-item flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-100 text-gray-700">
<i data-feather="book" class="text-green-600"></i>
<span class="nav-text">Coding Resources</span>
</a>
<a href="settings.html" class="nav-item flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-100 text-gray-700">
<i data-feather="settings" class="text-gray-600"></i>
<span class="nav-text">Settings</span>
</a>
</div>
<div class="p-4 border-t">
<div class="flex items-center space-x-3">
<img src="http://static.photos/people/200x200/1" class="w-10 h-10 rounded-full" alt="User">
<div>
<p class="font-medium">Dr. Sarah Johnson</p>
<p class="text-sm text-gray-500">Cardiologist</p>
</div>
</div>
</div>
</div>
<!-- Main Content -->
<div class="flex-1 overflow-y-auto">
<!-- Header -->
<header class="bg-white shadow-sm p-4 flex justify-between items-center">
<h2 class="text-xl font-semibold text-gray-800">Dashboard</h2>
<div class="flex items-center space-x-4">
<div class="relative">
<input type="text" placeholder="Search..." class="pl-10 pr-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500">
<i data-feather="search" class="absolute left-3 top-2.5 text-gray-400"></i>
</div>
<button class="p-2 rounded-full hover:bg-gray-100">
<i data-feather="bell" class="text-gray-600"></i>
</button>
</div>
</header>
<!-- Dashboard Content -->
<main class="p-6">
<!-- Welcome Banner -->
<div class="gradient-bg rounded-xl p-6 text-white mb-6">
<div class="flex justify-between items-start">
<div>
<h1 class="text-2xl font-bold mb-2">Welcome back, Dr. Johnson</h1>
<p class="mb-4">Your AI-powered medical coding assistant is ready to help streamline your documentation workflow.</p>
<a href="code-converter.html" class="inline-flex items-center px-4 py-2 bg-white text-blue-600 rounded-lg font-medium hover:bg-opacity-90">
<i data-feather="plus" class="mr-2"></i> New Diagnosis Conversion
</a>
</div>
<img src="http://static.photos/medical/200x200/1" class="w-32 h-32 rounded-full border-4 border-white border-opacity-30" alt="Doctor">
</div>
</div>
<!-- Quick Actions -->
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-6">
<div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100">
<div class="flex items-center justify-between mb-4">
<h3 class="font-semibold text-gray-800">Recent Patients</h3>
<a href="patients.html" class="text-sm text-blue-600 hover:underline">View All</a>
</div>
<div class="space-y-4">
<div class="flex items-center space-x-3">
<img src="http://static.photos/people/200x200/2" class="w-10 h-10 rounded-full" alt="Patient">
<div>
<p class="font-medium">Michael Brown</p>
<p class="text-sm text-gray-500">Last visit: 2 days ago</p>
</div>
</div>
<div class="flex items-center space-x-3">
<img src="http://static.photos/people/200x200/3" class="w-10 h-10 rounded-full" alt="Patient">
<div>
<p class="font-medium">Emily Wilson</p>
<p class="text-sm text-gray-500">Last visit: 1 week ago</p>
</div>
</div>
</div>
</div>
<div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100">
<div class="flex items-center justify-between mb-4">
<h3 class="font-semibold text-gray-800">Recent Code Searches</h3>
<a href="history.html" class="text-sm text-blue-600 hover:underline">View All</a>
</div>
<div class="space-y-3">
<div>
<p class="font-medium">Hypertension</p>
<div class="flex space-x-2 mt-1">
<span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded">I10</span>
<span class="bg-purple-100 text-purple-800 text-xs px-2 py-1 rounded">99213</span>
</div>
</div>
<div>
<p class="font-medium">Type 2 Diabetes</p>
<div class="flex space-x-2 mt-1">
<span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded">E11.9</span>
<span class="bg-purple-100 text-purple-800 text-xs px-2 py-1 rounded">99214</span>
</div>
</div>
</div>
</div>
<div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100">
<div class="flex items-center justify-between mb-4">
<h3 class="font-semibold text-gray-800">Coding Resources</h3>
<a href="resources.html" class="text-sm text-blue-600 hover:underline">View All</a>
</div>
<div class="space-y-3">
<a href="#" class="flex items-center space-x-3 p-2 hover:bg-gray-50 rounded-lg">
<div class="bg-green-100 p-2 rounded-lg">
<i data-feather="file-text" class="text-green-600"></i>
</div>
<span>2023 CPT Updates</span>
</a>
<a href="#" class="flex items-center space-x-3 p-2 hover:bg-gray-50 rounded-lg">
<div class="bg-yellow-100 p-2 rounded-lg">
<i data-feather="file-text" class="text-yellow-600"></i>
</div>
<span>ICD-10 Guidelines</span>
</a>
</div>
</div>
</div>
<!-- Recent Activity -->
<div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100">
<h3 class="font-semibold text-gray-800 mb-4">Recent Activity</h3>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Patient</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Diagnosis</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Codes</th>
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Today, 10:30 AM</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<img src="http://static.photos/people/200x200/4" class="w-8 h-8 rounded-full mr-2" alt="Patient">
<span>Robert Davis</span>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Atrial Fibrillation</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex space-x-1">
<span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded">I48.91</span>
<span class="bg-purple-100 text-purple-800 text-xs px-2 py-1 rounded">99214</span>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">Completed</span>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Yesterday, 3:15 PM</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<img src="http://static.photos/people/200x200/5" class="w-8 h-8 rounded-full mr-2" alt="Patient">
<span>Jennifer Lee</span>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Osteoarthritis, knee</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex space-x-1">
<span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded">M17.9</span>
<span class="bg-purple-100 text-purple-800 text-xs px-2 py-1 rounded">20610</span>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 py-1 text-xs rounded-full bg-green-100 text-green-800">Completed</span>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</main>
</div>
</div>
<script>
AOS.init();
feather.replace();
// Toggle sidebar collapse
document.addEventListener('keydown', function(e) {
if (e.key === 'b' && e.ctrlKey) {
document.querySelector('.sidebar').classList.toggle('collapsed');
}
});
</script>
</body>
</html>