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 | <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Code Converter | MedCode AI</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> | |
| </head> | |
| <body class="bg-gray-50 font-sans"> | |
| <div class="flex h-screen overflow-hidden"> | |
| <!-- Sidebar (same as index.html) --> | |
| <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 hover:bg-gray-100 text-gray-700"> | |
| <i data-feather="home" class="text-blue-600"></i> | |
| <span class="nav-text">Dashboard</span> | |
| </a> | |
| <a href="code-converter.html" class="nav-item flex items-center space-x-3 p-3 rounded-lg bg-blue-50 text-blue-600"> | |
| <i data-feather="code" class="text-purple-600"></i> | |
| <span class="nav-text font-medium">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">Code Converter</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> | |
| <!-- Converter Content --> | |
| <main class="p-6"> | |
| <div class="bg-white rounded-xl shadow-sm border border-gray-100 p-6 mb-6"> | |
| <h3 class="text-lg font-semibold text-gray-800 mb-4">Convert Diagnosis to Codes</h3> | |
| <div class="grid grid-cols-1 lg:grid-cols-3 gap-6"> | |
| <!-- Input Section --> | |
| <div class="lg:col-span-2"> | |
| <div class="mb-4"> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Select Patient</label> | |
| <select class="w-full border rounded-lg p-2 focus:ring-2 focus:ring-blue-500 focus:outline-none"> | |
| <option>Select a patient...</option> | |
| <option>Michael Brown</option> | |
| <option>Emily Wilson</option> | |
| <option>Robert Davis</option> | |
| <option>Jennifer Lee</option> | |
| </select> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Diagnosis Description</label> | |
| <textarea class="w-full border rounded-lg p-3 h-32 focus:ring-2 focus:ring-blue-500 focus:outline-none" placeholder="Enter the diagnosis in natural language (e.g., 'Patient presents with persistent cough and fever for 3 days')"></textarea> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-sm font-medium text-gray-700 mb-1">Procedure Description (Optional)</label> | |
| <textarea class="w-full border rounded-lg p-3 h-24 focus:ring-2 focus:ring-blue-500 focus:outline-none" placeholder="Enter any procedures performed (e.g., 'Performed echocardiogram')"></textarea> | |
| </div> | |
| <button class="bg-blue-600 text-white px-6 py-2 rounded-lg hover:bg-blue-700 flex items-center"> | |
| <i data-feather="search" class="mr-2"></i> Generate Codes | |
| </button> | |
| </div> | |
| <!-- Code Suggestions --> | |
| <div class="bg-gray-50 p-4 rounded-lg"> | |
| <h4 class="font-medium text-gray-700 mb-3">Suggested Codes</h4> | |
| <div class="space-y-4"> | |
| <!-- ICD-10 Codes --> | |
| <div> | |
| <div class="flex items-center justify-between mb-2"> | |
| <h5 class="text-sm font-medium text-gray-600">ICD-10 Codes</h5> | |
| <span class="text-xs text-blue-600 cursor-pointer">View All</span> | |
| </div> | |
| <div class="space-y-2"> | |
| <div class="flex justify-between items-center p-2 bg-white rounded border"> | |
| <div> | |
| <p class="font-medium">J18.9</p> | |
| <p class="text-xs text-gray-500">Pneumonia, unspecified</p> | |
| </div> | |
| <button class="text-blue-600 hover:text-blue-800"> | |
| <i data-feather="copy"></i> | |
| </button> | |
| </div> | |
| <div class="flex justify-between items-center p-2 bg-white rounded border"> | |
| <div> | |
| <p class="font-medium">R05</p> | |
| <p class="text-xs text-gray-500">Cough</p> | |
| </div> | |
| <button class="text-blue-600 hover:text-blue-800"> | |
| <i data-feather="copy"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- CPT Codes --> | |
| <div> | |
| <div class="flex items-center justify-between mb-2"> | |
| <h5 class="text-sm font-medium text-gray-600">CPT Codes</h5> | |
| <span class="text-xs text-blue-600 cursor-pointer">View All</span> | |
| </div> | |
| <div class="space-y-2"> | |
| <div class="flex justify-between items-center p-2 bg-white rounded border"> | |
| <div> | |
| <p class="font-medium">99213</p> | |
| <p class="text-xs text-gray-500">Office outpatient visit 15 min</p> | |
| </div> | |
| <button class="text-blue-600 hover:text-blue-800"> | |
| <i data-feather="copy"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- HCPCS Codes --> | |
| <div> | |
| <div class="flex items-center justify-between mb-2"> | |
| <h5 class="text-sm font-medium text-gray-600">HCPCS Codes</h5> | |
| <span class="text-xs text-blue-600 cursor-pointer">View All</span> | |
| </div> | |
| <div class="space-y-2"> | |
| <div class="flex justify-between items-center p-2 bg-white rounded border"> | |
| <div> | |
| <p class="font-medium">G0008</p> | |
| <p class="text-xs text-gray-500">Administer pneumococcal vaccine</p> | |
| </div> | |
| <button class="text-blue-600 hover:text-blue-800"> | |
| <i data-feather="copy"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Recent Conversions --> | |
| <div class="bg-white rounded-xl shadow-sm border border-gray-100 p-6"> | |
| <h3 class="text-lg font-semibold text-gray-800 mb-4">Recent Conversions</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">Diagnosis</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">ICD-10</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">CPT</th> | |
| <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</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, 9:15 AM</td> | |
| <td class="px-6 py-4 text-sm text-gray-900">Hypertension with heart failure</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="bg-blue-100 text-blue-800 px-2 py-1 rounded text-xs">I11.0</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="bg-purple-100 text-purple-800 px-2 py-1 rounded text-xs">99214</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> | |
| <button class="text-blue-600 hover:text-blue-900 mr-3"> | |
| <i data-feather="copy" class="w-4 h-4"></i> | |
| </button> | |
| <button class="text-gray-600 hover:text-gray-900"> | |
| <i data-feather="trash-2" class="w-4 h-4"></i> | |
| </button> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Yesterday, 2:30 PM</td> | |
| <td class="px-6 py-4 text-sm text-gray-900">Type 2 diabetes with hyperglycemia</td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="bg-blue-100 text-blue-800 px-2 py-1 rounded text-xs">E11.65</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap"> | |
| <span class="bg-purple-100 text-purple-800 px-2 py-1 rounded text-xs">99213</span> | |
| </td> | |
| <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"> | |
| <button class="text-blue-600 hover:text-blue-900 mr-3"> | |
| <i data-feather="copy" class="w-4 h-4"></i> | |
| </button> | |
| <button class="text-gray-600 hover:text-gray-900"> | |
| <i data-feather="trash-2" class="w-4 h-4"></i> | |
| </button> | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| </div> | |
| </div> | |
| </main> | |
| </div> | |
| </div> | |
| <script> | |
| AOS.init(); | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> | |