File size: 6,003 Bytes
fb33344
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!-- Dedicated AI Assistants Page -->
<div class="min-h-screen flex flex-col bg-white" x-data="{ activeChat: null }">
  <!-- Header -->
  <header class="bg-primary text-white">
    <div class="max-w-7xl mx-auto px-4 py-3 flex items-center justify-between">
      <h1 class="text-2xl font-bold">TN Medical Connect</h1>
      <nav class="space-x-4 text-sm">
        <a href="#" class="hover:underline">Home</a>
        <a href="#" class="hover:underline font-semibold">AI Assistants</a>
        <a href="#" class="hover:underline">AI in Healthcare</a>
        <!-- ...other nav links -->
      </nav>
    </div>
  </header>

  <!-- Main Content -->
  <main class="flex-1 max-w-7xl mx-auto px-4 py-6">
    <h2 class="text-3xl font-bold text-gray-800 mb-4">🤖 Dedicated AI Assistants</h2>
    <p class="text-gray-600 mb-8">Chat with our specialty AI assistants trained in specific domains. Get quick answers or advice in Endocrinology, Pulmonology, or general medical studies.</p>

    <div class="grid gap-6 md:grid-cols-3">
      <!-- Endocrinology AI Assistant -->
      <div class="border border-gray-200 rounded-lg p-4 shadow-sm flex flex-col">
        <div class="flex items-center mb-3">
          <div class="bg-primary text-white rounded-full h-8 w-8 flex items-center justify-center text-sm font-bold mr-2">E</div>
          <h3 class="text-xl font-semibold text-gray-800">Endocrinology AI</h3>
        </div>
        <p class="text-sm text-gray-700 mb-4 flex-1">An AI assistant for hormone-related queries. Ask about diabetes management, thyroid disorders, and more.</p>
        <button class="bg-primary text-white text-sm font-medium px-3 py-2 rounded hover:bg-opacity-90"

                @click="activeChat = (activeChat === 'endo' ? null : 'endo')">
          {{ activeChat === 'endo' ? 'Close Chat' : 'Chat Now' }}
        </button>
        <!-- Chat interface (toggle visibility) -->
        <div x-show="activeChat === 'endo'" class="mt-4 border-t border-gray-300 pt-3">
          <div class="bg-gray-100 p-2 rounded mb-2 text-sm">
            <p class="text-gray-800"><strong>User:</strong> What are the common symptoms of hypothyroidism?</p>
          </div>
          <div class="bg-primary bg-opacity-5 p-2 rounded text-sm">
            <p class="text-gray-800"><strong>Endo AI:</strong> Common symptoms include fatigue, weight gain, cold intolerance, dry skin, and hair loss, among others. If you suspect hypothyroidism, a TSH blood test is recommended.</p>
          </div>
        </div>
      </div>
      <!-- Pulmonology AI Assistant -->
      <div class="border border-gray-200 rounded-lg p-4 shadow-sm flex flex-col">
        <div class="flex items-center mb-3">
          <div class="bg-primary text-white rounded-full h-8 w-8 flex items-center justify-center text-sm font-bold mr-2">P</div>
          <h3 class="text-xl font-semibold text-gray-800">Pulmonology AI</h3>
        </div>
        <p class="text-sm text-gray-700 mb-4 flex-1">An AI assistant for lung and respiratory questions. Ask about asthma, COPD, infections, and more.</p>
        <button class="bg-primary text-white text-sm font-medium px-3 py-2 rounded hover:bg-opacity-90"

                @click="activeChat = (activeChat === 'pulmo' ? null : 'pulmo')">
          {{ activeChat === 'pulmo' ? 'Close Chat' : 'Chat Now' }}
        </button>
        <div x-show="activeChat === 'pulmo'" class="mt-4 border-t border-gray-300 pt-3">
          <div class="bg-gray-100 p-2 rounded mb-2 text-sm">
            <p class="text-gray-800"><strong>User:</strong> How is moderate asthma typically treated?</p>
          </div>
          <div class="bg-primary bg-opacity-5 p-2 rounded text-sm">
            <p class="text-gray-800"><strong>Pulmo AI:</strong> Moderate asthma is usually managed with a daily inhaled corticosteroid and a rescue inhaler (albuterol) as needed. A leukotriene modifier or long-acting beta-agonist may be added if control is not adequate.</p>
          </div>
        </div>
      </div>
      <!-- Student AI Assistant -->
      <div class="border border-gray-200 rounded-lg p-4 shadow-sm flex flex-col">
        <div class="flex items-center mb-3">
          <div class="bg-primary text-white rounded-full h-8 w-8 flex items-center justify-center text-sm font-bold mr-2">S</div>
          <h3 class="text-xl font-semibold text-gray-800">Med Student AI</h3>
        </div>
        <p class="text-sm text-gray-700 mb-4 flex-1">An AI assistant for medical students. Get help with understanding concepts, exam prep, or general medical knowledge questions.</p>
        <button class="bg-primary text-white text-sm font-medium px-3 py-2 rounded hover:bg-opacity-90"

                @click="activeChat = (activeChat === 'student' ? null : 'student')">
          {{ activeChat === 'student' ? 'Close Chat' : 'Chat Now' }}
        </button>
        <div x-show="activeChat === 'student'" class="mt-4 border-t border-gray-300 pt-3">
          <div class="bg-gray-100 p-2 rounded mb-2 text-sm">
            <p class="text-gray-800"><strong>User:</strong> Can you explain the mechanism of action of beta-blockers?</p>
          </div>
          <div class="bg-primary bg-opacity-5 p-2 rounded text-sm">
            <p class="text-gray-800"><strong>Student AI:</strong> Beta-blockers work by blocking beta-adrenergic receptors in the heart (and other tissues). This leads to a decrease in heart rate and contractility (β1 effect), and in some cases bronchoconstriction (β2 effect). They are used to manage hypertension, angina, and arrhythmias, among other conditions.</p>
          </div>
        </div>
      </div>
    </div>
  </main>

  <!-- Footer -->
  <footer class="bg-gray-100">
    <div class="max-w-7xl mx-auto px-4 py-5 text-sm text-gray-600">
      © 2025 TN Medical Connect &middot; <a href="#" class="text-primary hover:underline">Feedback on AI Assistants</a>
    </div>
  </footer>
</div>