-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
417 lines (385 loc) · 26.2 KB
/
Copy pathindex.html
File metadata and controls
417 lines (385 loc) · 26.2 KB
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
<!DOCTYPE html>
<html lang="en" data-theme="light">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HIPAA Security Risk Assessment</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=DM+Serif+Display&family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<!-- Onboarding Overlay -->
<div id="onboarding" class="onboarding-overlay" aria-modal="true" role="dialog">
<div class="onboarding-card">
<div class="onboarding-steps">
<div class="onboarding-step active" data-step="0">
<div class="onboarding-icon">
<svg width="64" height="64" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M9 12l2 2 4-4"/><path d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20z"/></svg>
</div>
<h2>Assess Your HIPAA Compliance</h2>
<p>Walk through 33+ security controls covering Administrative, Physical, Technical, Organizational, and Documentation safeguards required by the HIPAA Security Rule.</p>
</div>
<div class="onboarding-step" data-step="1">
<div class="onboarding-icon">
<svg width="64" height="64" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/><line x1="16" y1="13" x2="8" y2="13"/><line x1="16" y1="17" x2="8" y2="17"/></svg>
</div>
<h2>Policies, Training & Remediation</h2>
<p>Access a library of 39 HIPAA policy templates, complete workforce training modules, and build a prioritized remediation plan with owners and deadlines.</p>
</div>
<div class="onboarding-step" data-step="2">
<div class="onboarding-icon">
<svg width="64" height="64" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg>
</div>
<h2>Export and Share Reports</h2>
<p>Track compliance readiness across five dimensions. Export polished PDF reports, CSV data, or JSON backups. Everything stays in your browser.</p>
</div>
</div>
<div class="onboarding-nav">
<div class="onboarding-dots">
<button class="dot active" data-dot="0" aria-label="Step 1"></button>
<button class="dot" data-dot="1" aria-label="Step 2"></button>
<button class="dot" data-dot="2" aria-label="Step 3"></button>
</div>
<div class="onboarding-actions">
<button id="onboarding-skip" class="btn btn-ghost">Skip</button>
<button id="onboarding-next" class="btn btn-primary">Next</button>
</div>
</div>
</div>
</div>
<!-- Celebration Canvas -->
<canvas id="confetti-canvas" aria-hidden="true"></canvas>
<!-- App Shell -->
<div class="app-layout">
<!-- Sidebar -->
<aside class="sidebar" id="sidebar">
<div class="sidebar-header">
<div class="brand">
<svg class="brand-icon" width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg>
<span class="brand-text">HIPAA SRA</span>
</div>
<button id="theme-toggle" class="btn-icon" aria-label="Toggle dark mode" title="Toggle theme (T)">
<svg class="icon-sun" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="5"/><line x1="12" y1="1" x2="12" y2="3"/><line x1="12" y1="21" x2="12" y2="23"/><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"/><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"/><line x1="1" y1="12" x2="3" y2="12"/><line x1="21" y1="12" x2="23" y2="12"/><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"/><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"/></svg>
<svg class="icon-moon" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"/></svg>
</button>
</div>
<!-- Search -->
<div class="sidebar-search-wrap">
<input type="text" id="sidebar-search" class="sidebar-search-input" placeholder="Search controls, policies…" aria-label="Search" title="Search (/)">
<svg class="sidebar-search-icon" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg>
<div class="search-results" id="search-results"></div>
</div>
<nav class="sidebar-nav" role="tablist" aria-label="Assessment sections">
<button class="nav-item active" data-tab="org" role="tab" aria-selected="true" title="Organization (1)">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/><polyline points="9 22 9 12 15 12 15 22"/></svg>
<span>Organization</span>
</button>
<button class="nav-item" data-tab="admin" role="tab" aria-selected="false" title="Administrative (2)">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"/><circle cx="8.5" cy="7" r="4"/><line x1="20" y1="8" x2="20" y2="14"/><line x1="23" y1="11" x2="17" y2="11"/></svg>
<span>Administrative</span>
<span class="nav-badge" id="badge-admin">0/11</span>
</button>
<button class="nav-item" data-tab="physical" role="tab" aria-selected="false" title="Physical (3)">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"/><path d="M7 11V7a5 5 0 0 1 10 0v4"/></svg>
<span>Physical</span>
<span class="nav-badge" id="badge-physical">0/6</span>
</button>
<button class="nav-item" data-tab="technical" role="tab" aria-selected="false" title="Technical (4)">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="3" width="20" height="14" rx="2" ry="2"/><line x1="8" y1="21" x2="16" y2="21"/><line x1="12" y1="17" x2="12" y2="21"/></svg>
<span>Technical</span>
<span class="nav-badge" id="badge-technical">0/8</span>
</button>
<button class="nav-item" data-tab="organizational" role="tab" aria-selected="false" title="Organizational (5)">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M23 21v-2a4 4 0 0 0-3-3.87"/><path d="M16 3.13a4 4 0 0 1 0 7.75"/></svg>
<span>Organizational</span>
<span class="nav-badge" id="badge-organizational">0/3</span>
</button>
<button class="nav-item" data-tab="docs" role="tab" aria-selected="false" title="Documentation (6)">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/><line x1="16" y1="13" x2="8" y2="13"/><line x1="16" y1="17" x2="8" y2="17"/></svg>
<span>Documentation</span>
<span class="nav-badge" id="badge-docs">0/5</span>
</button>
<div class="nav-divider"></div>
<button class="nav-item" data-tab="policies" role="tab" aria-selected="false" title="Policy Library">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"/><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"/></svg>
<span>Policy Library</span>
</button>
<button class="nav-item" data-tab="training" role="tab" aria-selected="false" title="Training">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/></svg>
<span>Training</span>
</button>
<div class="nav-divider"></div>
<button class="nav-item" data-tab="risk" role="tab" aria-selected="false" title="Risk Register">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"/><line x1="12" y1="9" x2="12" y2="13"/><line x1="12" y1="17" x2="12.01" y2="17"/></svg>
<span>Risk Register</span>
</button>
<button class="nav-item" data-tab="gaps" role="tab" aria-selected="false" title="Gap Analysis">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="20" x2="18" y2="10"/><line x1="12" y1="20" x2="12" y2="4"/><line x1="6" y1="20" x2="6" y2="14"/></svg>
<span>Gap Analysis</span>
</button>
<button class="nav-item" data-tab="attest" role="tab" aria-selected="false" title="Attestation">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"/><polyline points="22 4 12 14.01 9 11.01"/></svg>
<span>Attestation</span>
</button>
<div class="nav-divider"></div>
<button class="nav-item" data-tab="history" role="tab" aria-selected="false" title="History">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/></svg>
<span>History</span>
</button>
</nav>
<!-- Sidebar Score Summary -->
<div class="sidebar-summary">
<div class="score-ring-wrap">
<svg class="score-ring" viewBox="0 0 100 100">
<circle class="score-ring-bg" cx="50" cy="50" r="42" fill="none" stroke-width="8"/>
<circle class="score-ring-fill" cx="50" cy="50" r="42" fill="none" stroke-width="8"
stroke-dasharray="263.89" stroke-dashoffset="263.89" stroke-linecap="round"
transform="rotate(-90 50 50)"/>
</svg>
<div class="score-ring-label">
<span class="score-value" id="sidebar-score">0</span>
<span class="score-unit">%</span>
</div>
</div>
<div class="score-meta">
<span class="risk-badge" id="sidebar-risk-level">Not Started</span>
<span class="answered-count"><span id="sidebar-answered">0</span> / <span id="sidebar-total">33</span> answered</span>
</div>
</div>
<!-- Sidebar Actions -->
<div class="sidebar-actions">
<button id="btn-export-pdf" class="btn btn-outline btn-sm" title="Export PDF report">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/></svg>
PDF Report
</button>
<button id="btn-export-json" class="btn btn-outline btn-sm" title="Export JSON backup">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg>
Export JSON
</button>
<button id="btn-export-csv" class="btn btn-outline btn-sm" title="Export CSV spreadsheet">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2"/><line x1="9" y1="3" x2="9" y2="21"/><line x1="15" y1="3" x2="15" y2="21"/><line x1="3" y1="9" x2="21" y2="9"/><line x1="3" y1="15" x2="21" y2="15"/></svg>
Export CSV
</button>
<label class="btn btn-outline btn-sm import-label" title="Import JSON backup">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="17 8 12 3 7 8"/><line x1="12" y1="3" x2="12" y2="15"/></svg>
Import JSON
<input type="file" id="import-file" accept=".json" hidden>
</label>
</div>
</aside>
<!-- Mobile Header -->
<header class="mobile-header" id="mobile-header">
<button id="mobile-menu-btn" class="btn-icon" aria-label="Open menu">
<svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="3" y1="12" x2="21" y2="12"/><line x1="3" y1="6" x2="21" y2="6"/><line x1="3" y1="18" x2="21" y2="18"/></svg>
</button>
<span class="mobile-title">HIPAA SRA</span>
<button id="mobile-theme-toggle" class="btn-icon" aria-label="Toggle theme">
<svg class="icon-sun" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="5"/><line x1="12" y1="1" x2="12" y2="3"/><line x1="12" y1="21" x2="12" y2="23"/><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"/><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"/><line x1="1" y1="12" x2="3" y2="12"/><line x1="21" y1="12" x2="23" y2="12"/><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"/><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"/></svg>
<svg class="icon-moon" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"/></svg>
</button>
</header>
<!-- Main Content Area -->
<main class="main-content" id="main-content">
<!-- Organization Tab -->
<section class="tab-panel active" id="panel-org" role="tabpanel">
<div class="panel-header">
<h1>Organization Details</h1>
<p class="panel-desc">Identify the entity being assessed and the scope of this Security Risk Assessment.</p>
</div>
<div class="card">
<div class="form-grid">
<div class="form-group">
<label for="org-name">Organization / Entity Name</label>
<input type="text" id="org-name" placeholder="e.g., Acme Health Services LLC" data-field="orgName">
</div>
<div class="form-group">
<label for="assess-date">Assessment Date</label>
<input type="date" id="assess-date" data-field="assessDate">
</div>
<div class="form-group">
<label for="assessor-name">Assessor Name & Title</label>
<input type="text" id="assessor-name" placeholder="e.g., John Smith — Chief Security Officer" data-field="assessorName">
</div>
<div class="form-group">
<label for="entity-type">Entity Type</label>
<select id="entity-type" data-field="entityType">
<option value="">Select...</option>
<option value="ce">Covered Entity</option>
<option value="ba">Business Associate</option>
<option value="hybrid">Hybrid Entity</option>
</select>
</div>
<div class="form-group full-width">
<label for="scope-desc">Scope Description</label>
<textarea id="scope-desc" rows="4" placeholder="Describe the systems, facilities, and ePHI repositories included in this assessment (e.g., EHR platform, cloud backups, telehealth systems, on-site server room, employee laptops)." data-field="scopeDesc"></textarea>
</div>
</div>
</div>
<div class="card" style="margin-top:24px">
<h2 style="margin-bottom:16px">Compliance Dashboard</h2>
<div id="progress-dashboard"></div>
</div>
</section>
<!-- Administrative Safeguards Tab -->
<section class="tab-panel" id="panel-admin" role="tabpanel">
<div class="panel-header">
<h1>Administrative Safeguards</h1>
<p class="panel-desc">45 CFR § 164.308 — Policies and procedures designed to manage the selection, development, implementation, and maintenance of security measures.</p>
<div class="filter-bar" id="filter-admin">
<button class="filter-btn active" data-filter="all">All</button>
<button class="filter-btn" data-filter="unanswered">Unanswered</button>
<button class="filter-btn" data-filter="yes">Compliant</button>
<button class="filter-btn" data-filter="partial">Partial</button>
<button class="filter-btn" data-filter="no">Non-Compliant</button>
</div>
</div>
<div class="controls-list" id="controls-admin"></div>
</section>
<!-- Physical Safeguards Tab -->
<section class="tab-panel" id="panel-physical" role="tabpanel">
<div class="panel-header">
<h1>Physical Safeguards</h1>
<p class="panel-desc">45 CFR § 164.310 — Physical measures, policies, and procedures to protect electronic information systems and related buildings and equipment.</p>
<div class="filter-bar" id="filter-physical">
<button class="filter-btn active" data-filter="all">All</button>
<button class="filter-btn" data-filter="unanswered">Unanswered</button>
<button class="filter-btn" data-filter="yes">Compliant</button>
<button class="filter-btn" data-filter="partial">Partial</button>
<button class="filter-btn" data-filter="no">Non-Compliant</button>
</div>
</div>
<div class="controls-list" id="controls-physical"></div>
</section>
<!-- Technical Safeguards Tab -->
<section class="tab-panel" id="panel-technical" role="tabpanel">
<div class="panel-header">
<h1>Technical Safeguards</h1>
<p class="panel-desc">45 CFR § 164.312 — Technology and related policies and procedures that protect electronic protected health information and control access.</p>
<div class="filter-bar" id="filter-technical">
<button class="filter-btn active" data-filter="all">All</button>
<button class="filter-btn" data-filter="unanswered">Unanswered</button>
<button class="filter-btn" data-filter="yes">Compliant</button>
<button class="filter-btn" data-filter="partial">Partial</button>
<button class="filter-btn" data-filter="no">Non-Compliant</button>
</div>
</div>
<div class="controls-list" id="controls-technical"></div>
</section>
<!-- Organizational Requirements Tab -->
<section class="tab-panel" id="panel-organizational" role="tabpanel">
<div class="panel-header">
<h1>Organizational Requirements</h1>
<p class="panel-desc">45 CFR § 164.314 — Standards for Business Associate contracts and arrangements ensuring ePHI is appropriately safeguarded.</p>
<div class="filter-bar" id="filter-organizational">
<button class="filter-btn active" data-filter="all">All</button>
<button class="filter-btn" data-filter="unanswered">Unanswered</button>
<button class="filter-btn" data-filter="yes">Compliant</button>
<button class="filter-btn" data-filter="partial">Partial</button>
<button class="filter-btn" data-filter="no">Non-Compliant</button>
</div>
</div>
<div class="controls-list" id="controls-organizational"></div>
</section>
<!-- Documentation Tab -->
<section class="tab-panel" id="panel-docs" role="tabpanel">
<div class="panel-header">
<h1>Policies, Procedures & Documentation</h1>
<p class="panel-desc">45 CFR § 164.316 — Requirements for documenting policies and procedures and maintaining written records.</p>
<div class="filter-bar" id="filter-docs">
<button class="filter-btn active" data-filter="all">All</button>
<button class="filter-btn" data-filter="unanswered">Unanswered</button>
<button class="filter-btn" data-filter="yes">Compliant</button>
<button class="filter-btn" data-filter="partial">Partial</button>
<button class="filter-btn" data-filter="no">Non-Compliant</button>
</div>
</div>
<div class="controls-list" id="controls-docs"></div>
</section>
<!-- Policy Library Tab -->
<section class="tab-panel" id="panel-policies" role="tabpanel">
<div class="panel-header">
<h1>Policy Library</h1>
<p class="panel-desc">39 HIPAA policy document templates organized by safeguard category. Acknowledge each policy as your organization adopts it.</p>
</div>
<div id="policies-content"></div>
</section>
<!-- Training Tab -->
<section class="tab-panel" id="panel-training" role="tabpanel">
<div class="panel-header">
<h1>Workforce Training</h1>
<p class="panel-desc">Complete HIPAA security awareness training modules. Mark each module complete as your team finishes it.</p>
</div>
<div id="training-content"></div>
</section>
<!-- Risk Register Tab -->
<section class="tab-panel" id="panel-risk" role="tabpanel">
<div class="panel-header">
<h1>Risk Register</h1>
<p class="panel-desc">Document identified threats and vulnerabilities, assess their likelihood and impact, and define your remediation strategy.</p>
</div>
<div id="risk-content"></div>
</section>
<!-- Gap Analysis Tab -->
<section class="tab-panel" id="panel-gaps" role="tabpanel">
<div class="panel-header">
<h1>Gap Analysis</h1>
<p class="panel-desc">Controls that are not fully met. Use this view to prioritize your remediation roadmap.</p>
</div>
<div id="gaps-content"></div>
</section>
<!-- Attestation Tab -->
<section class="tab-panel" id="panel-attest" role="tabpanel">
<div class="panel-header">
<h1>Management Attestation</h1>
<p class="panel-desc">Executive sign-off certifying the accuracy of this assessment and authorizing the remediation plan.</p>
</div>
<div class="card">
<div class="attestation-text">
<p>I hereby attest that the information provided in this HIPAA Security Risk Assessment is accurate and complete to the best of my knowledge. I have reviewed the identified gaps, the associated risk levels, and the remediation plan. I authorize the execution of the proposed remediation activities and accept any residual risks documented herein.</p>
</div>
<div class="form-grid">
<div class="form-group">
<label for="exec-name">Executive Name</label>
<input type="text" id="exec-name" placeholder="e.g., Jane Doe" data-field="execName">
</div>
<div class="form-group">
<label for="exec-title">Title / Role</label>
<input type="text" id="exec-title" placeholder="e.g., Chief Privacy Officer" data-field="execTitle">
</div>
<div class="form-group">
<label for="attest-date">Date</label>
<input type="date" id="attest-date" data-field="attestDate">
</div>
</div>
</div>
<div class="card" style="margin-top:24px" id="attestation-policy-summary"></div>
</section>
<!-- History Tab -->
<section class="tab-panel" id="panel-history" role="tabpanel">
<div class="panel-header">
<h1>Assessment History</h1>
<p class="panel-desc">Past assessments saved in your browser. Compare scores over time and track compliance trends.</p>
</div>
<div id="history-content"></div>
</section>
<!-- Footer -->
<footer class="main-footer">
<p><strong>Privacy:</strong> This tool runs entirely in your browser. No data is transmitted to any server. Use Export to save your work locally.</p>
<p><strong>Disclaimer:</strong> This tool is for informational and compliance-support purposes only. It does not constitute legal advice. Consult qualified counsel or a compliance professional to validate findings.</p>
</footer>
</main>
</div>
<!-- Mobile Sidebar Overlay -->
<div class="sidebar-overlay" id="sidebar-overlay"></div>
<script src="js/controls.js"></script>
<script src="js/policies.js"></script>
<script src="js/training.js"></script>
<script src="js/search.js"></script>
<script src="js/progress.js"></script>
<script src="js/risk.js"></script>
<script src="js/export.js"></script>
<script src="js/app.js"></script>
</body>
</html>