Initial commit: Doctor-Patient clinical transcription and structured summary pipeline
This commit is contained in:
@@ -0,0 +1,608 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>AI Clinical Assistant — Doctor-Patient Consultation</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Noto+Sans+Devanagari:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap"
|
||||
rel="stylesheet">
|
||||
<link rel="icon" type="image/png" href="favicon.png">
|
||||
<link rel="shortcut icon" type="image/png" href="favicon.png">
|
||||
<link rel="apple-touch-icon" href="favicon.png">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="layout-container">
|
||||
|
||||
<!-- ══════════════════════════════════════════════════
|
||||
SIDEBAR NAVIGATION
|
||||
═══════════════════════════════════════════════════ -->
|
||||
<aside class="sidebar" id="sidebar">
|
||||
<!-- Brand -->
|
||||
<div class="sidebar-brand">
|
||||
<div class="brand-icon-box">
|
||||
<img src="logo.png" alt="DMH Logo" class="brand-logo-img">
|
||||
</div>
|
||||
<div class="brand-text">
|
||||
<h1 class="brand-title">DMH Clinical AI</h1>
|
||||
<span class="brand-subtitle">Deenanath Mangeshkar Hospital</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Navigation Menu -->
|
||||
<nav class="sidebar-nav">
|
||||
<a href="#dashboard" class="nav-item" data-tab="dashboard">
|
||||
<span class="nav-icon">📊</span>
|
||||
<span class="nav-label">Dashboard</span>
|
||||
</a>
|
||||
<a href="#new-consultation" class="nav-item active" data-tab="new-consultation">
|
||||
<span class="nav-icon">🎙️</span>
|
||||
<span class="nav-label">New Consultation</span>
|
||||
<span class="nav-indicator"></span>
|
||||
</a>
|
||||
<a href="#past-recordings" class="nav-item" data-tab="past-recordings">
|
||||
<span class="nav-icon">📁</span>
|
||||
<span class="nav-label">Past Recordings</span>
|
||||
</a>
|
||||
<a href="#patients" class="nav-item" data-tab="patients">
|
||||
<span class="nav-icon">👥</span>
|
||||
<span class="nav-label">Patients</span>
|
||||
</a>
|
||||
<a href="#doctors" class="nav-item" data-tab="doctors">
|
||||
<span class="nav-icon">🩺</span>
|
||||
<span class="nav-label">Doctors</span>
|
||||
</a>
|
||||
<a href="#transcripts" class="nav-item" data-tab="transcripts">
|
||||
<span class="nav-icon">📄</span>
|
||||
<span class="nav-label">Transcripts</span>
|
||||
</a>
|
||||
<a href="#clinical-summaries" class="nav-item" data-tab="clinical-summaries">
|
||||
<span class="nav-icon">📋</span>
|
||||
<span class="nav-label">Clinical Summaries</span>
|
||||
</a>
|
||||
<a href="#settings" class="nav-item" data-tab="settings">
|
||||
<span class="nav-icon">⚙️</span>
|
||||
<span class="nav-label">Settings</span>
|
||||
</a>
|
||||
</nav>
|
||||
|
||||
<!-- Sidebar Footer / System Status -->
|
||||
<div class="sidebar-footer">
|
||||
<div class="system-status-card">
|
||||
<div class="status-indicator-row">
|
||||
<span class="status-pulse-dot"></span>
|
||||
<span class="status-title">System Online</span>
|
||||
</div>
|
||||
<div class="status-meta">Sarvam AI Cloud (v3 STT)</div>
|
||||
<div class="status-tag">Online Mode • Ready</div>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
<!-- ══════════════════════════════════════════════════
|
||||
MAIN APP WRAPPER
|
||||
═══════════════════════════════════════════════════ -->
|
||||
<div class="main-wrapper">
|
||||
|
||||
<!-- Top Header -->
|
||||
<header class="top-header">
|
||||
<div class="header-left">
|
||||
<button class="menu-toggle-btn" id="menuToggle" aria-label="Toggle Navigation">
|
||||
<svg viewBox="0 0 24 24" width="20" height="20" stroke="currentColor" stroke-width="2.2" fill="none">
|
||||
<line x1="3" y1="12" x2="21" y2="12"></line>
|
||||
<line x1="3" y1="6" x2="21" y2="6"></line>
|
||||
<line x1="3" y1="18" x2="21" y2="18"></line>
|
||||
</svg>
|
||||
</button>
|
||||
<div class="header-logo-badge" title="Deenanath Mangeshkar Hospital">
|
||||
<img src="logo.png" alt="DMH Logo" class="header-logo-img">
|
||||
<span class="header-hospital-name">DMH</span>
|
||||
</div>
|
||||
<div class="header-divider-v"></div>
|
||||
<h2 class="page-title" id="pageHeading">New Consultation</h2>
|
||||
</div>
|
||||
|
||||
<div class="header-right">
|
||||
<!-- Language Selector -->
|
||||
<div class="lang-selector-wrapper">
|
||||
<span class="lang-globe-icon">🌐</span>
|
||||
<select id="langSelect" class="lang-dropdown">
|
||||
<option value="auto" selected>Auto (मराठी / Hindi / English)</option>
|
||||
<option value="mr-IN">मराठी (mr-IN)</option>
|
||||
<option value="hi-IN">हिंदी (hi-IN)</option>
|
||||
<option value="en-IN">English (en-IN)</option>
|
||||
<option value="gu-IN">ગુજરાતી (gu-IN)</option>
|
||||
<option value="kn-IN">ಕನ್ನಡ (kn-IN)</option>
|
||||
<option value="ta-IN">தமிழ் (ta-IN)</option>
|
||||
</select>
|
||||
<span class="dropdown-arrow">▾</span>
|
||||
</div>
|
||||
|
||||
<!-- Notification Bell -->
|
||||
<button class="notif-btn" id="notifBtn" title="Notifications">
|
||||
<span class="notif-icon">🔔</span>
|
||||
<span class="notif-badge">3</span>
|
||||
</button>
|
||||
|
||||
<!-- Doctor Profile Removed as requested -->
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<!-- Main Content Area -->
|
||||
<main class="content-area">
|
||||
|
||||
<!-- ══════════════════════════════════════════════════
|
||||
TAB 1: NEW CONSULTATION (PRIMARY WORKFLOW)
|
||||
═══════════════════════════════════════════════════ -->
|
||||
<section class="tab-view active" id="view-new-consultation">
|
||||
|
||||
<!-- ── CARD 1: CONSULTATION DETAILS ── -->
|
||||
<div class="card details-card">
|
||||
<div class="card-header-row">
|
||||
<div class="card-title-group">
|
||||
<span class="card-header-icon">📋</span>
|
||||
<h3 class="card-title">Consultation Details</h3>
|
||||
</div>
|
||||
<button class="btn-link-action" id="openAddPatientBtn">
|
||||
<span>+ Add New Patient</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="details-form-grid">
|
||||
<!-- Patient Name -->
|
||||
<div class="form-group">
|
||||
<label for="patientName" class="form-label">Patient Name</label>
|
||||
<div class="input-icon-box">
|
||||
<span class="input-icon">👤</span>
|
||||
<input type="text" id="patientName" placeholder="Select or type patient name..." value="Ramesh Patil"
|
||||
autocomplete="off">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Patient ID -->
|
||||
<div class="form-group">
|
||||
<label for="patientId" class="form-label">Patient ID</label>
|
||||
<div class="input-icon-box">
|
||||
<span class="input-icon">🪪</span>
|
||||
<input type="text" id="patientId" value="PT-2026-00124" readonly>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Doctor Name -->
|
||||
<div class="form-group">
|
||||
<label for="doctorName" class="form-label">Doctor Name</label>
|
||||
<div class="input-icon-box select-box">
|
||||
<span class="input-icon">🩺</span>
|
||||
<select id="doctorName">
|
||||
<option value="Dr. Sharma" selected>Dr. Sharma (Cardiology)</option>
|
||||
<option value="Dr. Kulkarni">Dr. Kulkarni (General Physician)</option>
|
||||
<option value="Dr. Joshi">Dr. Joshi (ENT Specialist)</option>
|
||||
<option value="Dr. Deshmukh">Dr. Deshmukh (Neurologist)</option>
|
||||
</select>
|
||||
<span class="select-chevron">▾</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Date -->
|
||||
<div class="form-group">
|
||||
<label for="consultationDate" class="form-label">Date</label>
|
||||
<div class="input-icon-box">
|
||||
<span class="input-icon">📅</span>
|
||||
<input type="text" id="consultationDate" value="09-09-2026">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ── CARD 2: LIVE RECORDING & CONTROLS ── -->
|
||||
<div class="card recording-card">
|
||||
<!-- Pulse & Status -->
|
||||
<div class="rec-status-line">
|
||||
<span class="rec-pulse-bubble" id="recPulse"></span>
|
||||
<div class="timer-display" id="timer">00:00:00</div>
|
||||
</div>
|
||||
|
||||
<div class="rec-substatus" id="recSubStatus">
|
||||
<span class="mic-glyph">🎙️</span>
|
||||
<span id="recStatusText">Ready to record consultation...</span>
|
||||
</div>
|
||||
|
||||
<!-- Real-time Audio Waveform -->
|
||||
<div class="visualizer-container" id="visualizerContainer">
|
||||
<canvas id="waveformCanvas" width="560" height="42"></canvas>
|
||||
</div>
|
||||
|
||||
<div class="rec-error-banner" id="recError" style="display:none;"></div>
|
||||
|
||||
<!-- Action Buttons Bar -->
|
||||
<div class="action-buttons-row">
|
||||
<button class="btn btn-record" id="startBtn">
|
||||
<span class="btn-icon">▶</span>
|
||||
<span class="btn-text">START RECORDING</span>
|
||||
</button>
|
||||
|
||||
<button class="btn btn-stop" id="stopBtn" disabled>
|
||||
<span class="btn-icon">⏹</span>
|
||||
<span class="btn-text">STOP & AUTO-SUMMARIZE</span>
|
||||
</button>
|
||||
|
||||
<button class="btn btn-upload" id="uploadAudioBtn">
|
||||
<span class="btn-icon">📁</span>
|
||||
<span class="btn-text">UPLOAD AUDIO</span>
|
||||
</button>
|
||||
<input type="file" id="audioFileInput" accept="audio/*,.wav,.mp3,.m4a,.ogg,.webm" style="display:none;">
|
||||
|
||||
<button class="btn btn-demo" id="demoBtn">
|
||||
<span class="btn-icon">⚡</span>
|
||||
<span class="btn-text">DEMO</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ── CARD 3: TRANSCRIPT ── -->
|
||||
<!-- ── CARD 3: TRANSCRIPT (FULL & REAL-TIME AUDIO SYNCHRONIZED) ── -->
|
||||
<div class="card transcript-card">
|
||||
<div class="card-header-row">
|
||||
<div class="card-title-group">
|
||||
<h3 class="card-title-section">TRANSCRIPT</h3>
|
||||
<span class="live-realtime-badge" id="liveRealtimeBadge" style="display:none;">
|
||||
<span class="live-blink-dot"></span> LIVE SYNC
|
||||
</span>
|
||||
</div>
|
||||
<div class="header-actions">
|
||||
<div class="transcript-search-box">
|
||||
<span class="search-icon">🔍</span>
|
||||
<input type="text" id="transcriptSearch" placeholder="Search dialogue..." autocomplete="off">
|
||||
</div>
|
||||
<button class="btn-sm-action" id="copyTranscriptBtn" title="Copy Full Transcript">
|
||||
<span class="sm-icon">📋</span> Copy
|
||||
</button>
|
||||
<button class="btn-sm-action" id="clearTranscriptBtn" title="Reset/Clear">
|
||||
<span class="sm-icon">↺</span> Reset
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Real-time Audio Playback & Sync Control Bar -->
|
||||
<div class="audio-playback-bar" id="audioPlaybackBar" style="display:none;">
|
||||
<button class="btn-play-pause" id="playAudioBtn" title="Play / Pause Audio">
|
||||
<span id="playIcon">▶</span>
|
||||
</button>
|
||||
<div class="audio-progress-container">
|
||||
<input type="range" class="audio-scrubber" id="audioScrubber" min="0" max="100" value="0" step="0.1">
|
||||
<div class="audio-time-row">
|
||||
<span id="audioCurrentTime">00:00</span>
|
||||
<span class="sync-hint">💡 Click any dialogue line to jump audio</span>
|
||||
<span id="audioTotalDuration">00:00</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Speaker Filter Pills -->
|
||||
<div class="transcript-filter-bar">
|
||||
<button class="filter-pill active" data-filter="all">All Dialogue</button>
|
||||
<button class="filter-pill" data-filter="doctor">🧑⚕️ Doctor</button>
|
||||
<button class="filter-pill" data-filter="patient">🧑 Patient</button>
|
||||
</div>
|
||||
|
||||
<!-- Full Transcript Scroll Viewport -->
|
||||
<div class="transcript-viewport" id="transcriptBody">
|
||||
<div class="transcript-placeholder" id="transcriptPlaceholder">
|
||||
<div class="placeholder-icon">🎙️</div>
|
||||
<p>Recording in progress… Transcript will appear here in real time.</p>
|
||||
<span class="placeholder-sub">Speak into the microphone or click DEMO to see full real-time audio
|
||||
synchronization.</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ── CARD 4: AI CLINICAL SUMMARY ── -->
|
||||
<div class="card summary-card" id="summaryCard">
|
||||
<div class="card-header-row">
|
||||
<div class="card-title-group">
|
||||
<span class="card-header-icon">📋</span>
|
||||
<h3 class="card-title-section">AI CLINICAL SUMMARY</h3>
|
||||
</div>
|
||||
<div class="header-actions">
|
||||
<button class="btn-sm-action" id="copySummaryBtn">
|
||||
<span class="sm-icon">📋</span> Copy Summary
|
||||
</button>
|
||||
<button class="btn-sm-action" id="printSummaryBtn">
|
||||
<span class="sm-icon">🖨️</span> Print / PDF
|
||||
</button>
|
||||
<button class="btn-sm-action" id="exportJsonBtn">
|
||||
<span class="sm-icon">📥</span> Export JSON
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Summary Content Grid -->
|
||||
<div class="summary-content-grid" id="summaryBody">
|
||||
<!-- Chief Complaint -->
|
||||
<div class="summary-col-card">
|
||||
<div class="col-card-header">Chief Complaint</div>
|
||||
<div class="col-card-body" id="sumChiefComplaint">
|
||||
<p class="empty-field">—</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Symptoms Discussed -->
|
||||
<div class="summary-col-card">
|
||||
<div class="col-card-header">Symptoms Discussed</div>
|
||||
<div class="col-card-body" id="sumSymptoms">
|
||||
<p class="empty-field">—</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Doctor's Recommendation -->
|
||||
<div class="summary-col-card">
|
||||
<div class="col-card-header">Doctor's Recommendation / Diagnosis</div>
|
||||
<div class="col-card-body" id="sumAssessment">
|
||||
<p class="empty-field">—</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Medical History -->
|
||||
<div class="summary-col-card full-span">
|
||||
<div class="col-card-header">Patient History & Comorbidities</div>
|
||||
<div class="col-card-body" id="sumHistory">
|
||||
<p class="empty-field">—</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Prescription & Plan -->
|
||||
<div class="summary-col-card full-span highlight-plan">
|
||||
<div class="col-card-header">Prescription, Tests & Treatment Plan (Rx)</div>
|
||||
<div class="col-card-body" id="sumPlan">
|
||||
<p class="empty-field">—</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
||||
<!-- ══════════════════════════════════════════════════
|
||||
TAB 2: DASHBOARD VIEW
|
||||
═══════════════════════════════════════════════════ -->
|
||||
<section class="tab-view" id="view-dashboard">
|
||||
<div class="dash-stats-grid">
|
||||
<div class="dash-stat-card">
|
||||
<div class="stat-icon-wrap blue">📈</div>
|
||||
<div class="stat-info">
|
||||
<span class="stat-num">142</span>
|
||||
<span class="stat-name">Total Consultations</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="dash-stat-card">
|
||||
<div class="stat-icon-wrap green">👥</div>
|
||||
<div class="stat-info">
|
||||
<span class="stat-num">98</span>
|
||||
<span class="stat-name">Active Patients</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="dash-stat-card">
|
||||
<div class="stat-icon-wrap purple">⏱️</div>
|
||||
<div class="stat-info">
|
||||
<span class="stat-num">486 mins</span>
|
||||
<span class="stat-name">Audio Transcribed</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="dash-stat-card">
|
||||
<div class="stat-icon-wrap amber">⚡</div>
|
||||
<div class="stat-info">
|
||||
<span class="stat-num">99.4%</span>
|
||||
<span class="stat-name">AI Accuracy Rate</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card mt-4">
|
||||
<div class="card-header-row">
|
||||
<h3 class="card-title">Recent Clinical Consultations</h3>
|
||||
</div>
|
||||
<div class="recent-table-wrap">
|
||||
<table class="data-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Patient</th>
|
||||
<th>ID</th>
|
||||
<th>Doctor</th>
|
||||
<th>Language</th>
|
||||
<th>Duration</th>
|
||||
<th>Date</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="recentTableBody">
|
||||
<tr>
|
||||
<td><strong>Ramesh Patil</strong></td>
|
||||
<td>PT-2026-00124</td>
|
||||
<td>Dr. Sharma (Cardiology)</td>
|
||||
<td><span class="badge-lang">मराठी</span></td>
|
||||
<td>03:42</td>
|
||||
<td>Today, 10:15 AM</td>
|
||||
<td><button class="table-btn" onclick="app.loadDemoRecord('ramesh')">View Summary</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Sunita Deshmukh</strong></td>
|
||||
<td>PT-2026-00123</td>
|
||||
<td>Dr. Kulkarni (General)</td>
|
||||
<td><span class="badge-lang">मराठी</span></td>
|
||||
<td>04:18</td>
|
||||
<td>Yesterday</td>
|
||||
<td><button class="table-btn" onclick="app.loadDemoRecord('sunita')">View Summary</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Amit Verma</strong></td>
|
||||
<td>PT-2026-00122</td>
|
||||
<td>Dr. Joshi (ENT)</td>
|
||||
<td><span class="badge-lang">हिंदी</span></td>
|
||||
<td>02:50</td>
|
||||
<td>07-09-2026</td>
|
||||
<td><button class="table-btn" onclick="app.loadDemoRecord('amit')">View Summary</button></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ══════════════════════════════════════════════════
|
||||
TAB 3: PAST RECORDINGS VIEW
|
||||
═══════════════════════════════════════════════════ -->
|
||||
<section class="tab-view" id="view-past-recordings">
|
||||
<div class="card">
|
||||
<div class="card-header-row">
|
||||
<h3 class="card-title">Archived Doctor-Patient Audio & Transcripts</h3>
|
||||
</div>
|
||||
<div class="recordings-list" id="recordingsList">
|
||||
<!-- Dynamically populated or demo records -->
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ══════════════════════════════════════════════════
|
||||
TAB 4: PATIENTS VIEW
|
||||
═══════════════════════════════════════════════════ -->
|
||||
<section class="tab-view" id="view-patients">
|
||||
<div class="card">
|
||||
<div class="card-header-row">
|
||||
<h3 class="card-title">Patient Directory</h3>
|
||||
<button class="btn-primary-sm" id="btnAddNewPatientTab">+ Add Patient</button>
|
||||
</div>
|
||||
<div class="patients-grid" id="patientsGrid">
|
||||
<!-- Patient Cards -->
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ══════════════════════════════════════════════════
|
||||
TAB 5: DOCTORS VIEW
|
||||
═══════════════════════════════════════════════════ -->
|
||||
<section class="tab-view" id="view-doctors">
|
||||
<div class="card">
|
||||
<div class="card-header-row">
|
||||
<h3 class="card-title">Hospital Medical Staff</h3>
|
||||
</div>
|
||||
<div class="doctors-grid">
|
||||
<div class="doctor-card-box">
|
||||
<div class="doc-badge-avatar">🩺</div>
|
||||
<h4>Dr. Sharma</h4>
|
||||
<p class="doc-spec">Senior Cardiologist</p>
|
||||
<span class="doc-dep">Cardiology Dept</span>
|
||||
</div>
|
||||
<div class="doctor-card-box">
|
||||
<div class="doc-badge-avatar">🩺</div>
|
||||
<h4>Dr. Kulkarni</h4>
|
||||
<p class="doc-spec">Chief Medical Officer</p>
|
||||
<span class="doc-dep">General Medicine</span>
|
||||
</div>
|
||||
<div class="doctor-card-box">
|
||||
<div class="doc-badge-avatar">🩺</div>
|
||||
<h4>Dr. Joshi</h4>
|
||||
<p class="doc-spec">ENT Specialist</p>
|
||||
<span class="doc-dep">Otolaryngology</span>
|
||||
</div>
|
||||
<div class="doctor-card-box">
|
||||
<div class="doc-badge-avatar">🩺</div>
|
||||
<h4>Dr. Deshmukh</h4>
|
||||
<p class="doc-spec">Consultant Neurologist</p>
|
||||
<span class="doc-dep">Neurosciences</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ══════════════════════════════════════════════════
|
||||
TAB 6: SETTINGS VIEW
|
||||
═══════════════════════════════════════════════════ -->
|
||||
<section class="tab-view" id="view-settings">
|
||||
<div class="card">
|
||||
<div class="card-header-row">
|
||||
<h3 class="card-title">AI & Speech Engine Configuration</h3>
|
||||
</div>
|
||||
<div class="settings-form-box">
|
||||
<div class="form-group mb-3">
|
||||
<label class="form-label">Sarvam Speech-to-Text Model</label>
|
||||
<input type="text" value="saaras:v4 (16kHz PCM, Real-time Indic)" readonly>
|
||||
</div>
|
||||
<div class="form-group mb-3">
|
||||
<label class="form-label">Sarvam Clinical LLM Model</label>
|
||||
<input type="text" value="sarvam-105b (Medical Reasoning & Extraction)" readonly>
|
||||
</div>
|
||||
<div class="form-group mb-3">
|
||||
<label class="form-label">Default Consultation Language</label>
|
||||
<select class="form-control">
|
||||
<option selected>Marathi (mr-IN)</option>
|
||||
<option>Hindi (hi-IN)</option>
|
||||
<option>English (en-IN)</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label">Microphone Audio Input Device</label>
|
||||
<select class="form-control" id="audioDeviceSelect">
|
||||
<option value="default">Default System Microphone</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ══════════════════════════════════════════════════
|
||||
MODAL: ADD NEW PATIENT
|
||||
═══════════════════════════════════════════════════ -->
|
||||
<div class="modal-overlay" id="patientModal">
|
||||
<div class="modal-card">
|
||||
<div class="modal-header">
|
||||
<h3>Add New Patient</h3>
|
||||
<button class="modal-close-btn" id="closePatientModal">×</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="form-group mb-3">
|
||||
<label class="form-label">Full Name</label>
|
||||
<input type="text" id="newPatientName" placeholder="e.g. Ramesh Patil">
|
||||
</div>
|
||||
<div class="form-group mb-3">
|
||||
<label class="form-label">Age & Gender</label>
|
||||
<div class="input-row-flex">
|
||||
<input type="number" id="newPatientAge" placeholder="Age" style="width:100px;">
|
||||
<select id="newPatientGender" style="flex:1;">
|
||||
<option>Male</option>
|
||||
<option>Female</option>
|
||||
<option>Other</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group mb-3">
|
||||
<label class="form-label">Contact Number</label>
|
||||
<input type="tel" id="newPatientPhone" placeholder="+91 98765 43210">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label">Known Allergies / Medical Conditions</label>
|
||||
<input type="text" id="newPatientMedicalNotes" placeholder="e.g. Hypertension, Penicillin Allergy">
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn-cancel" id="cancelPatientModal">Cancel</button>
|
||||
<button class="btn-save-patient" id="savePatientBtn">Save & Select Patient</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Toast Container -->
|
||||
<div class="toast-notification" id="toastBox">Notification message</div>
|
||||
|
||||
<script src="app.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user