File size: 47,693 Bytes
5bd02a6 | 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 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Forensic Pathology Documentation System</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
/* Custom styles not covered by Tailwind */
.section-collapse {
transition: all 0.3s ease;
max-height: 0;
overflow: hidden;
}
.section-collapse.expanded {
max-height: 5000px;
}
.tox-level:nth-child(odd) {
background-color: rgba(59, 130, 246, 0.05);
}
.tox-level:nth-child(even) {
background-color: rgba(59, 130, 246, 0.1);
}
.custom-scroll::-webkit-scrollbar {
width: 8px;
height: 8px;
}
.custom-scroll::-webkit-scrollbar-track {
background: #f1f1f1;
}
.custom-scroll::-webkit-scrollbar-thumb {
background: #888;
border-radius: 4px;
}
.custom-scroll::-webkit-scrollbar-thumb:hover {
background: #555;
}
.image-upload:hover .image-upload-overlay {
opacity: 1;
}
</style>
</head>
<body class="bg-gray-50 text-gray-800 font-sans">
<div class="container mx-auto p-4">
<!-- Header -->
<header class="bg-white shadow-md rounded-lg p-6 mb-6">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="flex items-center mb-4 md:mb-0">
<i class="fas fa-notes-medical text-3xl text-blue-600 mr-3"></i>
<div>
<h1 class="text-2xl font-bold text-gray-800">ForensicPath Documentation</h1>
<p class="text-sm text-gray-600">Integrated Medical & Forensic Documentation System</p>
</div>
</div>
<div class="flex flex-col md:flex-row space-y-2 md:space-y-0 md:space-x-4">
<div class="relative">
<div class="absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none">
<i class="fas fa-search text-gray-400"></i>
</div>
<input type="text" id="case-search" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full pl-10 p-2.5" placeholder="Search cases...">
</div>
<button id="new-case-btn" class="bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded-lg flex items-center space-x-2 transition-colors">
<i class="fas fa-plus"></i>
<span>New Case</span>
</button>
</div>
</div>
</header>
<div class="flex flex-col lg:flex-row gap-6">
<!-- Left sidebar - Case Navigation -->
<div class="w-full lg:w-1/4 bg-white shadow-md rounded-lg p-6 h-fit">
<h2 class="text-lg font-semibold mb-4 text-gray-800 flex items-center">
<i class="fas fa-clipboard-list mr-2 text-blue-600"></i>Active Cases
</h2>
<div class="space-y-2 custom-scroll" style="max-height: 60vh; overflow-y: auto;">
<div class="case-item p-3 hover:bg-blue-50 rounded-lg cursor-pointer border-l-4 border-blue-500">
<h3 class="font-medium text-gray-800">Case #2023-0456</h3>
<p class="text-sm text-gray-500 truncate">John Doe (42M), Pending toxicology</p>
<div class="flex justify-between items-center mt-1">
<span class="text-xs bg-blue-100 text-blue-800 px-2 py-1 rounded">Autopsy Completed</span>
<span class="text-xs text-gray-500">2 days ago</span>
</div>
</div>
<div class="case-item p-3 hover:bg-blue-50 rounded-lg cursor-pointer border-l-4 border-yellow-500">
<h3 class="font-medium text-gray-800">Case #2023-0455</h3>
<p class="text-sm text-gray-500 truncate">Jane Smith (28F), Trauma analysis</p>
<div class="flex justify-between items-center mt-1">
<span class="text-xs bg-yellow-100 text-yellow-800 px-2 py-1 rounded">In Progress</span>
<span class="text-xs text-gray-500">3 days ago</span>
</div>
</div>
<div class="case-item p-3 hover:bg-blue-50 rounded-lg cursor-pointer border-l-4 border-green-500">
<h3 class="font-medium text-gray-800">Case #2023-0454</h3>
<p class="text-sm text-gray-500 truncate">Robert Johnson (67M), Cardiac event</p>
<div class="flex justify-between items-center mt-1">
<span class="text-xs bg-green-100 text-green-800 px-2 py-1 rounded">Completed</span>
<span class="text-xs text-gray-500">1 week ago</span>
</div>
</div>
<div class="case-item p-3 hover:bg-blue-50 rounded-lg cursor-pointer border-l-4 border-red-500">
<h3 class="font-medium text-gray-800">Case #2023-0453</h3>
<p class="text-sm text-gray-500 truncate">Unknown Male (30-40), Pending ID</p>
<div class="flex justify-between items-center mt-1">
<span class="text-xs bg-red-100 text-red-800 px-2 py-1 rounded">Waiting Evidence</span>
<span class="text-xs text-gray-500">2 weeks ago</span>
</div>
</div>
</div>
<div class="mt-6 pt-6 border-t border-gray-200">
<h3 class="text-sm font-medium text-gray-500 mb-2">Filters</h3>
<div class="space-x-2">
<button class="text-xs bg-blue-600 text-white px-3 py-1 rounded-full">All Cases</button>
<button class="text-xs bg-white text-gray-600 border border-gray-300 px-3 py-1 rounded-full">Pending</button>
<button class="text-xs bg-white text-gray-600 border border-gray-300 px-3 py-1 rounded-full">Completed</button>
</div>
</div>
</div>
<!-- Main Content Area -->
<div class="flex-1">
<div class="bg-white shadow-md rounded-lg p-6 mb-6">
<!-- Case Header -->
<div class="flex flex-col md:flex-row justify-between items-start md:items-center mb-6">
<div>
<h2 class="text-xl font-bold text-gray-800 flex items-center">
<i class="fas fa-file-medical mr-2 text-blue-600"></i>Case #2023-0456: John Doe (42M)
</h2>
<div class="flex flex-wrap gap-2 mt-2">
<span class="text-xs bg-green-100 text-green-800 px-2 py-1 rounded flex items-center">
<i class="fas fa-circle mr-1 text-green-500" style="font-size: 8px;"></i> Active
</span>
<span class="text-xs bg-blue-100 text-blue-800 px-2 py-1 rounded flex items-center">
<i class="fas fa-user-md mr-1"></i> Dr. Sarah Johnson
</span>
<span class="text-xs bg-gray-100 text-gray-800 px-2 py-1 rounded flex items-center">
<i class="fas fa-calendar-alt mr-1"></i> 15 Oct 2023
</span>
</div>
</div>
<div class="flex space-x-2 mt-4 md:mt-0">
<button class="bg-white border border-blue-600 text-blue-600 hover:bg-blue-50 py-2 px-3 rounded-lg flex items-center space-x-2">
<i class="fas fa-print"></i>
<span class="hidden md:inline">Print</span>
</button>
<button class="bg-blue-600 hover:bg-blue-700 text-white py-2 px-3 rounded-lg flex items-center space-x-2">
<i class="fas fa-save"></i>
<span class="hidden md:inline">Save</span>
</button>
</div>
</div>
<!-- Case Navigation -->
<div class="mb-6">
<nav class="flex space-x-4 overflow-x-auto pb-2 scrollbar-hide">
<a href="#" class="px-3 py-2 font-medium text-sm rounded-md bg-blue-100 text-blue-700">Overview</a>
<a href="#" class="px-3 py-2 font-medium text-sm rounded-md text-gray-700 hover:bg-gray-100">Medical History</a>
<a href="#" class="px-3 py-2 font-medium text-sm rounded-md text-gray-700 hover:bg-gray-100">Autopsy</a>
<a href="#" class="px-3 py-2 font-medium text-sm rounded-md text-gray-700 hover:bg-gray-100">Toxicology</a>
<a href="#" class="px-3 py-2 font-medium text-sm rounded-md text-gray-700 hover:bg-gray-100">Histology</a>
<a href="#" class="px-3 py-2 font-medium text-sm rounded-md text-gray-700 hover:bg-gray-100">Images</a>
<a href="#" class="px-3 py-2 font-medium text-sm rounded-md text-gray-700 hover:bg-gray-100">Documents</a>
</nav>
</div>
<!-- Content Sections -->
<div class="space-y-6">
<!-- Patient Information Section -->
<div class="border rounded-lg overflow-hidden">
<button class="section-header w-full flex justify-between items-center p-4 bg-gray-50 hover:bg-gray-100">
<div class="flex items-center">
<i class="fas fa-user-circle text-xl text-blue-600 mr-3"></i>
<h3 class="text-lg font-medium">Patient Information</h3>
</div>
<i class="fas fa-chevron-down text-gray-500 transition-transform"></i>
</button>
<div class="section-collapse expanded p-4 border-t">
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
<div>
<label class="block mb-2 text-sm font-medium text-gray-600">Name</label>
<input type="text" class="w-full px-3 py-2 border border-gray-300 rounded-lg" value="John Doe" readonly>
</div>
<div>
<label class="block mb-2 text-sm font-medium text-gray-600">Age</label>
<input type="text" class="w-full px-3 py-2 border border-gray-300 rounded-lg" value="42" readonly>
</div>
<div>
<label class="block mb-2 text-sm font-medium text-gray-600">Sex</label>
<input type="text" class="w-full px-3 py-2 border border-gray-300 rounded-lg" value="Male" readonly>
</div>
<div>
<label class="block mb-2 text-sm font-medium text-gray-600">Date of Birth</label>
<input type="text" class="w-full px-3 py-2 border border-gray-300 rounded-lg" value="12/04/1981" readonly>
</div>
<div>
<label class="block mb-2 text-sm font-medium text-gray-600">Occupation</label>
<input type="text" class="w-full px-3 py-2 border border-gray-300 rounded-lg" value="Construction Worker" readonly>
</div>
<div>
<label class="block mb-2 text-sm font-medium text-gray-600">Race/Ethnicity</label>
<input type="text" class="w-full px-3 py-2 border border-gray-300 rounded-lg" value="Caucasian" readonly>
</div>
</div>
</div>
</div>
<!-- Medical History Section -->
<div class="border rounded-lg overflow-hidden">
<button class="section-header w-full flex justify-between items-center p-4 bg-gray-50 hover:bg-gray-100">
<div class="flex items-center">
<i class="fas fa-medkit text-xl text-blue-600 mr-3"></i>
<h3 class="text-lg font-medium">Medical History</h3>
</div>
<i class="fas fa-chevron-down text-gray-500 transition-transform"></i>
</button>
<div class="section-collapse p-4 border-t">
<div class="mb-4">
<label class="block mb-2 text-sm font-medium text-gray-600">Known Conditions</label>
<div class="flex flex-wrap gap-2 mb-3">
<span class="inline-flex items-center bg-blue-100 text-blue-800 text-xs px-3 py-1 rounded">Hypertension</span>
<span class="inline-flex items-center bg-blue-100 text-blue-800 text-xs px-3 py-1 rounded">Type 2 Diabetes</span>
<span class="inline-flex items-center bg-blue-100 text-blue-800 text-xs px-3 py-1 rounded">Hyperlipidemia</span>
<button class="inline-flex items-center bg-gray-100 text-gray-800 text-xs px-3 py-1 rounded hover:bg-gray-200">
<i class="fas fa-plus mr-1"></i> Add
</button>
</div>
</div>
<div class="mb-4">
<label class="block mb-2 text-sm font-medium text-gray-600">Medications</label>
<ul class="list-disc list-inside text-sm">
<li class="mb-1">Lisinopril 20mg daily (last refill: 9/10/2023)</li>
<li class="mb-1">Metformin 1000mg BID (last refill: 9/15/2023)</li>
<li class="mb-1">Atorvastatin 40mg nightly (last refill: 9/12/2023)</li>
</ul>
</div>
<div>
<label class="block mb-2 text-sm font-medium text-gray-600">Additional Notes</label>
<textarea class="w-full px-3 py-2 border border-gray-300 rounded-lg" rows="3" placeholder="Enter additional medical history...">Patient had a history of poor medication compliance. Last seen by PCP 3 weeks ago with complaints of fatigue but no chest pain or SOB.</textarea>
</div>
</div>
</div>
<!-- Autopsy Findings Section -->
<div class="border rounded-lg overflow-hidden">
<button class="section-header w-full flex justify-between items-center p-4 bg-gray-50 hover:bg-gray-100">
<div class="flex items-center">
<i class="fas fa-procedures text-xl text-blue-600 mr-3"></i>
<h3 class="text-lg font-medium">Autopsy Findings</h3>
</div>
<i class="fas fa-chevron-down text-gray-500 transition-transform"></i>
</button>
<div class="section-collapse p-4 border-t">
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<!-- External Exam -->
<div class="border rounded-lg p-4">
<h4 class="font-medium text-gray-800 mb-3 flex items-center">
<i class="fas fa-user md:mr-2"></i>
<span class="hidden md:inline">External Exam</span>
</h4>
<div class="space-y-3">
<div>
<label class="block text-xs font-medium text-gray-500 mb-1">Body Condition</label>
<select class="w-full border border-gray-300 rounded-lg px-3 py-2 text-sm">
<option>Well-nourished</option>
<option selected>Moderately nourished</option>
<option>Poorly nourished</option>
<option>Obese</option>
<option>Cachectic</option>
</select>
</div>
<div>
<label class="block text-xs font-medium text-gray-500 mb-1">Signs of Medical Intervention</label>
<textarea class="w-full px-3 py-2 border border-gray-300 rounded-lg text-sm" rows="2">Recent IV puncture (L forearm), ECG leads present on chest, ET tube in place (removed for photos)</textarea>
</div>
<div>
<label class="block text-xs font-medium text-gray-500 mb-1">Injuries</label>
<textarea class="w-full px-3 py-2 border border-gray-300 rounded-lg text-sm" rows="2">Multiple superficial abrasions on hands and knees consistent with fall. No defensive wounds observed.</textarea>
</div>
</div>
</div>
<!-- Internal Exam -->
<div class="border rounded-lg p-4">
<h4 class="font-medium text-gray-800 mb-3 flex items-center">
<i class="fas fa-lungs md:mr-2"></i>
<span class="hidden md:inline">Internal Exam</span>
</h4>
<div class="space-y-3">
<div>
<label class="block text-xs font-medium text-gray-500 mb-1">Cardiovascular</label>
<textarea class="w-full px-3 py-2 border border-gray-300 rounded-lg text-sm" rows="2">Coronary artery atherosclerosis (80% narrowing of LAD). No acute thrombus. Heart weight 450g (expected ~350g).</textarea>
</div>
<div>
<label class="block text-xs font-medium text-gray-500 mb-1">Respiratory</label>
<textarea class="w-full px-3 py-2 border border-gray-300 rounded-lg text-sm" rows="2">Mild pulmonary edema. No evidence of aspiration. No significant macroscopic pathology.</textarea>
</div>
<div>
<label class="block text-xs font-medium text-gray-500 mb-1">Other Findings</label>
<textarea class="w-full px-3 py-2 border border-gray-300 rounded-lg text-sm" rows="2">Moderate hepatomegaly (liver weight 1900g). No cirrhosis or visible tumors. Kidneys show signs of mild nephrosclerosis.</textarea>
</div>
</div>
</div>
</div>
<!-- Provisional Cause of Death -->
<div class="mt-6 p-4 bg-blue-50 rounded-lg border border-blue-100">
<h4 class="font-medium text-gray-800 mb-3 flex items-center">
<i class="fas fa-cross md:mr-2"></i>
<span>Provisional Cause of Death</span>
</h4>
<div class="space-y-3">
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div>
<label class="block text-xs font-medium text-gray-500 mb-1">Manner of Death</label>
<select class="w-full border border-gray-300 rounded-lg px-3 py-2 text-sm">
<option selected>Natural</option>
<option>Accident</option>
<option>Suicide</option>
<option>Homicide</option>
<option>Undetermined</option>
</select>
</div>
<div>
<label class="block text-xs font-medium text-gray-500 mb-1">Immediate Cause</label>
<input type="text" class="w-full px-3 py-2 border border-gray-300 rounded-lg text-sm" value="Acute myocardial infarction">
</div>
</div>
<div>
<label class="block text-xs font-medium text-gray-500 mb-1">Underlying Causes (in order)</label>
<textarea class="w-full px-3 py-2 border border-gray-300 rounded-lg text-sm" rows="2">1. Coronary artery atherosclerosis
2. Hypertension
3. Type 2 diabetes</textarea>
</div>
</div>
</div>
</div>
</div>
<!-- Toxicology Section -->
<div class="border rounded-lg overflow-hidden">
<button class="section-header w-full flex justify-between items-center p-4 bg-gray-50 hover:bg-gray-100">
<div class="flex items-center">
<i class="fas fa-flask text-xl text-blue-600 mr-3"></i>
<h3 class="text-lg font-medium">Toxicology</h3>
</div>
<i class="fas fa-chevron-down text-gray-500 transition-transform"></i>
</button>
<div class="section-collapse p-4 border-t">
<div class="mb-4 border rounded-lg overflow-hidden">
<div class="bg-gray-50 px-4 py-2 border-b">
<h4 class="font-medium text-gray-800 text-sm flex items-center">
<i class="fas fa-vial mr-2"></i>Blood Analysis
</h4>
</div>
<div class="overflow-x-auto custom-scroll">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th scope="col" class="px-3 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Substance</th>
<th scope="col" class="px-3 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Result</th>
<th scope="col" class="px-3 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Detection Level</th>
<th scope="col" class="px-3 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Therapeutic Range</th>
<th scope="col" class="px-3 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Toxic Level</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr class="tox-level">
<td class="px-3 py-2 text-sm whitespace-nowrap">Lisinopril</td>
<td class="px-3 py-2 text-sm whitespace-nowrap">Positive</td>
<td class="px-3 py-2 text-sm whitespace-nowrap">0.02 mg/L</td>
<td class="px-3 py-2 text-sm whitespace-nowrap">0.01-0.05 mg/L</td>
<td class="px-3 py-2 text-sm whitespace-nowrap">>0.10 mg/L</td>
</tr>
<tr class="tox-level">
<td class="px-3 py-2 text-sm whitespace-nowrap">Metformin</td>
<td class="px-3 py-2 text-sm whitespace-nowrap">Positive</td>
<td class="px-3 py-2 text-sm whitespace-nowrap">1.8 mg/L</td>
<td class="px-3 py-2 text-sm whitespace-nowrap">0.5-2.0 mg/L</td>
<td class="px-3 py-2 text-sm whitespace-nowrap">>5 mg/L</td>
</tr>
<tr class="tox-level">
<td class="px-3 py-2 text-sm whitespace-nowrap">Atorvastatin</td>
<td class="px-3 py-2 text-sm whitespace-nowrap">Positive</td>
<td class="px-3 py-2 text-sm whitespace-nowrap">0.03 mg/L</td>
<td class="px-3 py-2 text-sm whitespace-nowrap">0.01-0.05 mg/L</td>
<td class="px-3 py-2 text-sm whitespace-nowrap">>0.10 mg/L</td>
</tr>
<tr class="tox-level">
<td class="px-3 py-2 text-sm whitespace-nowrap">Alcohol (Ethanol)</td>
<td class="px-3 py-2 text-sm whitespace-nowrap">Negative</td>
<td class="px-3 py-2 text-sm whitespace-nowrap"><0.01%</td>
<td class="px-3 py-2 text-sm whitespace-nowrap">N/A</td>
<td class="px-3 py-2 text-sm whitespace-nowrap">>0.08%</td>
</tr>
<tr class="tox-level">
<td class="px-3 py-2 text-sm whitespace-nowrap">Cocaine</td>
<td class="px-3 py-2 text-sm whitespace-nowrap">Negative</td>
<td class="px-3 py-2 text-sm whitespace-nowrap"><0.05 mg/L</td>
<td class="px-3 py-2 text-sm whitespace-nowrap">N/A</td>
<td class="px-3 py-2 text-sm whitespace-nowrap">>0.25 mg/L</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<label class="block mb-2 text-sm font-medium text-gray-600">Toxicology Summary</label>
<textarea class="w-full px-3 py-2 border border-gray-300 rounded-lg" rows="3">No substances of abuse detected. Therapeutic levels of prescribed medications present. No evidence of intoxication or overdose contributing to death.</textarea>
</div>
</div>
</div>
<!-- Histology Section -->
<div class="border rounded-lg overflow-hidden">
<button class="section-header w-full flex justify-between items-center p-4 bg-gray-50 hover:bg-gray-100">
<div class="flex items-center">
<i class="fas fa-microscope text-xl text-blue-600 mr-3"></i>
<h3 class="text-lg font-medium">Histology</h3>
</div>
<i class="fas fa-chevron-down text-gray-500 transition-transform"></i>
</button>
<div class="section-collapse p-4 border-t">
<div class="mb-4">
<div class="flex justify-between items-center mb-3">
<h4 class="font-medium text-gray-800">Pending Slides</h4>
<button class="text-blue-600 hover:text-blue-800 text-sm flex items-center">
<i class="fas fa-plus mr-1"></i> Add Slide
</button>
</div>
<div class="overflow-x-auto custom-scroll">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th scope="col" class="px-3 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Slide #</th>
<th scope="col" class="px-3 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Tissue</th>
<th scope="col" class="px-3 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Stain</th>
<th scope="col" class="px-3 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
<th scope="col" class="px-3 py-2 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-3 py-2 text-sm whitespace-nowrap">A23-0456-01</td>
<td class="px-3 py-2 text-sm">Myocardium (LAD region)</td>
<td class="px-3 py-2 text-sm whitespace-nowrap">H&E</td>
<td class="px-3 py-2 text-sm whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">
Processing
</span>
</td>
<td class="px-3 py-2 text-sm whitespace-nowrap">
<button class="text-blue-600 hover:text-blue-900 mr-3">
<i class="fas fa-eye"></i>
</button>
</td>
</tr>
<tr>
<td class="px-3 py-2 text-sm whitespace-nowrap">A23-0456-02</td>
<td class="px-3 py-2 text-sm">Liver (left lobe)</td>
<td class="px-3 py-2 text-sm whitespace-nowrap">H&E</td>
<td class="px-3 py-2 text-sm whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">
Processing
</span>
</td>
<td class="px-3 py-2 text-sm whitespace-nowrap">
<button class="text-blue-600 hover:text-blue-900 mr-3">
<i class="fas fa-eye"></i>
</button>
</td>
</tr>
<tr>
<td class="px-3 py-2 text-sm whitespace-nowrap">A23-0456-03</td>
<td class="px-3 py-2 text-sm">Kidney (left)</td>
<td class="px-3 py-2 text-sm whitespace-nowrap">PAS</td>
<td class="px-3 py-2 text-sm whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">
Prepared
</span>
</td>
<td class="px-3 py-2 text-sm whitespace-nowrap">
<button class="text-blue-600 hover:text-blue-900 mr-3">
<i class="fas fa-eye"></i>
</button>
<button class="text-green-600 hover:text-green-900">
<i class="fas fa-edit"></i>
</button>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<label class="block mb-2 text-sm font-medium text-gray-600">Microscopic Findings</label>
<textarea class="w-full px-3 py-2 border border-gray-300 rounded-lg" rows="4" placeholder="Enter microscopic findings...">Pending histological examination. Preliminary findings from heart show areas of fibrosis suggesting prior ischemic events. Liver shows mild fatty changes consistent with metabolic syndrome.</textarea>
</div>
</div>
</div>
</div>
</div>
<!-- Document Attachments -->
<div class="bg-white shadow-md rounded-lg p-6">
<div class="flex justify-between items-center mb-4">
<h2 class="text-lg font-semibold text-gray-800">
<i class="fas fa-paperclip mr-2 text-blue-600"></i>Attachments
</h2>
<button class="bg-blue-600 hover:bg-blue-700 text-white py-2 px-3 rounded-lg flex items-center space-x-1">
<i class="fas fa-plus"></i>
<span class="hidden sm:inline">Add Attachment</span>
</button>
</div>
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4">
<div class="border rounded-lg p-3 hover:bg-blue-50 transition-colors cursor-pointer">
<div class="flex items-start">
<i class="fas fa-file-pdf text-3xl text-red-500 mr-3"></i>
<div>
<h4 class="text-sm font-medium truncate">Autopsy_Report_2023-0456.pdf</h4>
<p class="text-xs text-gray-500">PDF • 2.4 MB</p>
<div class="flex items-center mt-1">
<span class="text-xs bg-green-100 text-green-800 px-2 py-0.5 rounded">Final</span>
<span class="text-xs text-gray-500 ml-2">Today, 10:45 AM</span>
</div>
</div>
</div>
</div>
<div class="border rounded-lg p-3 hover:bg-blue-50 transition-colors cursor-pointer">
<div class="flex items-start">
<i class="fas fa-file-image text-3xl text-blue-500 mr-3"></i>
<div>
<h4 class="text-sm font-medium truncate">External_Photos.zip</h4>
<p class="text-xs text-gray-500">ZIP • 18.7 MB</p>
<div class="flex items-center mt-1">
<span class="text-xs bg-blue-100 text-blue-800 px-2 py-0.5 rounded">Preliminary</span>
<span class="text-xs text-gray-500 ml-2">Yesterday, 4:22 PM</span>
</div>
</div>
</div>
</div>
<div class="border rounded-lg p-3 hover:bg-blue-50 transition-colors cursor-pointer">
<div class="flex items-start">
<i class="fas fa-file-word text-3xl text-blue-700 mr-3"></i>
<div>
<h4 class="text-sm font-medium truncate">Medical_Records.docx</h4>
<p class="text-xs text-gray-500">DOCX • 0.8 MB</p>
<div class="flex items-center mt-1">
<span class="text-xs bg-purple-100 text-purple-800 px-2 py-0.5 rounded">Scanned</span>
<span class="text-xs text-gray-500 ml-2">Oct 14, 10:15 AM</span>
</div>
</div>
</div>
</div>
<div class="border rounded-lg p-3 hover:bg-blue-50 transition-colors cursor-pointer">
<div class="flex items-start">
<i class="fas fa-file-excel text-3xl text-green-600 mr-3"></i>
<div>
<h4 class="text-sm font-medium truncate">Tox_Results.xlsx</h4>
<p class="text-xs text-gray-500">XLSX • 0.5 MB</p>
<div class="flex items-center mt-1">
<span class="text-xs bg-blue-100 text-blue-800 px-2 py-0.5 rounded">Preliminary</span>
<span class="text-xs text-gray-500 ml-2">Oct 14, 3:40 PM</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Footer -->
<footer class="bg-white border-t mt-8 py-4">
<div class="container mx-auto px-4">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="text-sm text-gray-500 mb-4 md:mb-0">
© 2023 ForensicPath Documentation System. All rights reserved.
</div>
<div class="flex space-x-4">
<a href="#" class="text-gray-500 hover:text-gray-700 text-sm">Privacy Policy</a>
<a href="#" class="text-gray-500 hover:text-gray-700 text-sm">Terms of Service</a>
<a href="#" class="text-gray-500 hover:text-gray-700 text-sm">Contact Support</a>
</div>
</div>
</div>
</footer>
<script>
// Collapsible sections functionality
document.querySelectorAll('.section-header').forEach(header => {
header.addEventListener('click', () => {
const section = header.nextElementSibling;
const icon = header.querySelector('.fa-chevron-down');
section.classList.toggle('expanded');
icon.classList.toggle('rotate-180');
// Reset expanded state for other sections if needed
// Or implement accordion behavior if desired
});
});
// Case item click handler
document.querySelectorAll('.case-item').forEach(item => {
item.addEventListener('click', () => {
// Remove active class from all
document.querySelectorAll('.case-item').forEach(i => {
i.classList.remove('bg-blue-100');
});
// Add to clicked item
item.classList.add('bg-blue-100');
// In a real app, we'd load the case data here
console.log('Case selected: ' + item.querySelector('h3').textContent);
});
});
// New case button
document.getElementById('new-case-btn').addEventListener('click', () => {
alert('Creating a new case... This would open a form in a real application.');
});
// Search functionality
document.getElementById('case-search').addEventListener('input', (e) => {
const searchTerm = e.target.value.toLowerCase();
document.querySelectorAll('.case-item').forEach(item => {
const text = item.textContent.toLowerCase();
if (text.includes(searchTerm)) {
item.style.display = 'block';
} else {
item.style.display = 'none';
}
});
});
// Image upload hover effect for future implementation
document.querySelectorAll('.image-upload').forEach(upload => {
upload.addEventListener('mouseenter', () => {
upload.querySelector('.image-upload-overlay').style.opacity = '1';
});
upload.addEventListener('mouseleave', () => {
upload.querySelector('.image-upload-overlay').style.opacity = '0';
});
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=JMartin0011/forensicpath-documentation" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |