File size: 11,422 Bytes
9c641f2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Search History | 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 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 bg-blue-50 text-blue-600">
                    <i data-feather="clock" class="text-yellow-600"></i>
                    <span class="nav-text font-medium">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">Search History</h2>
                <div class="flex items-center space-x-4">
                    <div class="relative">
                        <input type="text" placeholder="Search history..." 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="filter" class="text-gray-600"></i>
                    </button>
                </div>
            </header>

            <!-- History Content -->
            <main class="p-6">
                <div class="bg-white rounded-xl shadow-sm border border-gray-100 overflow-hidden">
                    <div class="grid grid-cols-12 bg-gray-50 p-4 border-b font-medium text-gray-600">
                        <div class="col-span-3">Date & Time</div>
                        <div class="col-span-3">Diagnosis</div>
                        <div class="col-span-2">ICD-10</div>
                        <div class="col-span-2">CPT</div>
                        <div class="col-span-2">Actions</div>
                    </div>
                    
                    <!-- History Rows -->
                    <div class="divide-y divide-gray-200">
                        <!-- Entry 1 -->
                        <div class="grid grid-cols-12 p-4 hover:bg-gray-50 items-center">
                            <div class="col-span-3">
                                <p class="font-medium">Today, 10:30 AM</p>
                                <p class="text-sm text-gray-500">For: Michael Brown</p>
                            </div>
                            <div class="col-span-3">
                                <p class="font-medium">Atrial Fibrillation</p>
                                <p class="text-sm text-gray-500">Persistent irregular heartbeat</p>
                            </div>
                            <div class="col-span-2">
                                <span class="bg-blue-100 text-blue-800 px-2 py-1 rounded text-xs">I48.91</span>
                            </div>
                            <div class="col-span-2">
                                <span class="bg-purple-100 text-purple-800 px-2 py-1 rounded text-xs">99214</span>
                            </div>
                            <div class="col-span-2 flex space-x-2">
                                <button class="p-2 text-blue-600 hover:bg-blue-50 rounded-lg">
                                    <i data-feather="copy" class="w-4 h-4"></i>
                                </button>
                                <button class="p-2 text-gray-600 hover:bg-gray-50 rounded-lg">
                                    <i data-feather="trash-2" class="w-4 h-4"></i>
                                </button>
                            </div>
                        </div>
                        
                        <!-- Entry 2 -->
                        <div class="grid grid-cols-12 p-4 hover:bg-gray-50 items-center">
                            <div class="col-span-3">
                                <p class="font-medium">Yesterday, 3:15 PM</p>
                                <p class="text-sm text-gray-500">For: Jennifer Lee</p>
                            </div>
                            <div class="col-span-3">
                                <p class="font-medium">Osteoarthritis, knee</p>
                                <p class="text-sm text-gray-500">Bilateral, with stiffness</p>
                            </div>
                            <div class="col-span-2">
                                <span class="bg-blue-100 text-blue-800 px-2 py-1 rounded text-xs">M17.9</span>
                            </div>
                            <div class="col-span-2">
                                <span class="bg-purple-100 text-purple-800 px-2 py-1 rounded text-xs">20610</span>
                            </div>
                            <div class="col-span-2 flex space-x-2">
                                <button class="p-2 text-blue-600 hover:bg-blue-50 rounded-lg">
                                    <i data-feather="copy" class="w-4 h-4"></i>
                                </button>
                                <button class="p-2 text-gray-600 hover:bg-gray-50 rounded-lg">
                                    <i data-feather="trash-2" class="w-4 h-4"></i>
                                </button>
                            </div>
                        </div>
                        
                        <!-- Entry 3 -->
                        <div class="grid grid-cols-12 p-4 hover:bg-gray-50 items-center">
                            <div class="col-span-3">
                                <p class="font-medium">Yesterday, 10:00 AM</p>
                                <p class="text-sm text-gray-500">For: Robert Davis</p>
                            </div>
                            <div class="col-span-3">
                                <p class="font-medium">Hypertension</p>
                                <p class="text-sm text-gray-500">Stage 2, uncontrolled</p>
                            </div>
                            <div class="col-span-2">
                                <span class="bg-blue-100 text-blue-800 px-2 py-1 rounded text-xs">I10</span>
                            </div>
                            <div class="col-span-2">
                                <span class="bg-purple-100 text-purple-800 px-2 py-1 rounded text-xs">99213</span>
                            </div>
                            <div class="col-span-2 flex space-x-2">
                                <button class="p-2 text-blue-600 hover:bg-blue-50 rounded-lg">
                                    <i data-feather="copy" class="w-4 h-4"></i>
                                </button>
                                <button class="p-2 text-gray-600 hover:bg-gray-50 rounded-lg">
                                    <i data-feather="trash-2" class="w-4 h-4"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                    
                    <!-- Pagination -->
                    <div class="p-4 border-t flex justify-between items-center">
                        <div class="text-sm text-gray-600">
                            Showing 1 to 3 of 15 entries
                        </div>
                        <div class="flex space-x-2">
                            <button class="px-3 py-1 border rounded-lg text-gray-600 hover:bg-gray-50">
                                Previous
                            </button>
                            <button class="px-3 py-1 border rounded-lg bg-blue-600 text-white">
                                1
                            </button>
                            <button class="px-3 py-1 border rounded-lg text-gray-600 hover:bg-gray-50">
                                2
                            </button>
                            <button class="px-3 py-1 border rounded-lg text-gray-600 hover:bg-gray-50">
                                3
                            </button>
                            <button class="px-3 py-1 border rounded-lg text-gray-600 hover:bg-gray-50">
                                Next
                            </button>
                        </div>
                    </div>
                </div>
            </main>
        </div>
    </div>

    <script>
        AOS.init();
        feather.replace();
    </script>
</body>
</html>