-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreport.html
408 lines (387 loc) · 16.5 KB
/
report.html
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
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="img/Logo.png" type="image/png">
<link rel="stylesheet" href="main.css">
<title>검사 결과</title>
</head>
<body class="pdf-body">
<!-- 닫기, 인쇄, PDF 저장 버튼 -->
<div class="pdf-button-container">
<button class="download-button" onclick="window.close()"><img src="img/x.svg">닫기</button>
<button class="print-button" onclick="window.print()"><img src="img/printer.svg">인쇄하기</button>
</div>
<!-- 페이지 컨테이너 -->
<div class="pdf-container">
<div class="pdf-page pdf-active" id="pdf-page1">
<div class="pdf-header-container">
<div class="pdf-header2container">
<div class="pdf-header2sub">자폐스펙트럼장애 진단</div>
<div class="pdf-header2main">결과 보고서</div>
</div>
<div class="pdf-header1">
<div class="pdf-header-container-left">
<div class="pdf-label">검사기관명</div>
<div class="pdf-label-content">ㅇㅇㅇㅇ병원</div>
</div>
<div class="pdf-header-container-left">
<div class="pdf-label">주소</div>
<div class="pdf-label-content">서울특별시 강남구 xx로 123</div>
</div>
<div class="pdf-header-container-left">
<div class="pdf-label">연락처</div>
<div class="pdf-label-content">02-123-3455</div>
</div>
<div class="pdf-header-container-left">
<div class="pdf-label">담당의사</div>
<div class="pdf-label-content">김의사</div>
</div>
</div>
</div>
<div class="pdf-content">
<div class="pdf-title">1. 환자 정보</div>
<div class="report-table-container">
<table class="report-table">
<tr>
<th>이름</th>
<td>홍길동</td>
<th>ID</th>
<td>1234-56</td>
<th>성별</th>
<td>남</td>
<th>나이(개월)</th>
<td>만 1세 (15개월)</td>
</tr>
<tr>
<th>평가일</th>
<td colspan="3">2025년 1월 29일</td>
<th>평가도구</th>
<td colspan="3">EATS v1.0</td>
</tr>
</table></div>
<div class="pdf-title">2. 진단 결과 요약</div>
<div class="graph-area">그래프 영역</div>
<div class="report-desc">*AVC(AOI Vacancy count percentage) 수치가 높게 나올수록 ASD일 가능성이 높다는 의미</div>
<div class="pdf-title">3. 진단 내역</div>
<div class="report-table-container">
<table class="report-table">
<tr>
<th></th>
<th colspan="2">Video 1</th>
<th>Video 2</th>
</tr>
<tr>
<th>AOI<br>(관심영역)</th>
<td style="padding: 0;"><img src="img/eye1.png"><br><span class="report-descmini">눈</span></td>
<td style="padding: 0;"><img src="img/lips1.png"><br><span class="report-descmini"> 입</span></td>
<td style="padding: 0;"><img src="img/attention1.png"><br><span class="report-descmini">주의</span></td>
</tr>
<tr>
<th>성능*</th>
<td colspan="2">민감도 80%, 특이도 100%</td>
<td>민감도 80%, 특이도 92%</td>
</tr>
<tr>
<th>측정 내용</th>
<td colspan="2">- 마음이론 (Theory of Mind)<br>- 사회성<br>- 초기 언어발달</td>
<td>- 공동주의 (Joint Attention)<br>- 사회적 의사소통 능력</td>
</tr>
</table></div>
<div class="report-desc" style="text-align: left; page-break-inside: avoid; box-shadow: none;">*PCT/US 2023 / 08 2298</div>
</div>
</div>
<div class="pdf-page" id="pdf-page2">
<div class="pdf-header-container">
<div class="pdf-header2container">
<div class="pdf-header2sub">V1 상세 결과</div>
<div class="pdf-header2main">Face Speaking</div>
</div>
<div class="pdf-header1">
<div class="pdf-header-container-left">
<div class="pdf-label">검사기관명</div>
<div class="pdf-label-content">ㅇㅇㅇㅇ병원</div>
</div>
<div class="pdf-header-container-left">
<div class="pdf-label">주소</div>
<div class="pdf-label-content">서울특별시 강남구 xx로 123</div>
</div>
<div class="pdf-header-container-left">
<div class="pdf-label">연락처</div>
<div class="pdf-label-content">02-123-3455</div>
</div>
<div class="pdf-header-container-left">
<div class="pdf-label">담당의사</div>
<div class="pdf-label-content">김의사</div>
</div>
</div>
</div>
<div class="pdf-content">
<div class="pdf-title">1. AOI* 세부지표</div>
<div class="report-table-container">
<table class="report-table">
<tr>
<th colspan="2">V1</th>
<th>1</th>
<th>2</th>
<th>3</th>
</tr>
<tr>
<th rowspan="2">Fixation</th>
<th>Total count</th>
<td>623</td>
<td>623</td>
<td>623</td>
</tr>
<tr>
<th>%</th>
<td>89.8%</td>
<td>89.8%</td>
<td>89.8%</td>
</tr>
<tr></tr>
<th rowspan="2">Saccade</th>
<th>Total count</th>
<td>71</td>
<td>71</td>
<td>71</td>
</tr>
<tr>
<th>%</th>
<td>4.7%</td>
<td>4.7%</td>
<td>4.7%</td>
</tr>
<tr></tr>
<th rowspan="5">Switching</th>
<th>In to In</th>
<td>3</td>
<td>3</td>
<td>3</td>
</tr>
<tr></tr>
<th>In to Out</th>
<td>1</td>
<td>1</td>
<td>1</td>
</tr>
<tr>
<th>Out to Out</th>
<td>2</td>
<td>2</td>
<td>2</td>
</tr>
<tr>
<th>Out to In</th>
<td>1</td>
<td>1</td>
<td>1</td>
</tr>
<tr>
<th rowspan="2">Vacancy</th>
<th>AVC%</th>
<td>4.7%</td>
<td>4.7%</td>
<td>4.7%</td>
</tr>
<tr>
<th>Risk Level</th>
<td>Low</td>
<td>Low</td>
<td>Low</td>
</tr>
</table></div>
<div class="report-desc">*AOI (Area of Interest, 관심자극)</div>
<div class="pdf-title">2. V1 자극 분석</div>
<div class="minimal-table-container">
<table class="minimal-table">
<tr>
<th>V 1-1</th>
<th>V 1-2</th>
<th>V 1-3</th>
</tr>
<tr>
<td><img src="img/v1-1.png"></td>
<td><img src="img/v1-2.png"></td>
<td><img src="img/v1-3.png"></td>
</tr>
</table>
</div>
<div class="pdf-title">3. V1 Phenotype 결과</div>
<div class="report-box">
<div class="report-box-1">평균 AOI 반응성이 89.8%, SACCADE 4.7%, AVC 4.7%로</div>
<div class="report-box-2">전반적인 ASD Risk Level은 낮은 것으로 보임.</div>
</div>
</div></div>
<div class="pdf-page" id="pdf-page3">
<div class="pdf-header-container">
<div class="pdf-header2container">
<div class="pdf-header2sub">V2 상세 결과</div>
<div class="pdf-header2main">Tablet</div>
</div>
<div class="pdf-header1">
<div class="pdf-header-container-left">
<div class="pdf-label">검사기관명</div>
<div class="pdf-label-content">ㅇㅇㅇㅇ병원</div>
</div>
<div class="pdf-header-container-left">
<div class="pdf-label">주소</div>
<div class="pdf-label-content">서울특별시 강남구 xx로 123</div>
</div>
<div class="pdf-header-container-left">
<div class="pdf-label">연락처</div>
<div class="pdf-label-content">02-123-3455</div>
</div>
<div class="pdf-header-container-left">
<div class="pdf-label">담당의사</div>
<div class="pdf-label-content">김의사</div>
</div>
</div>
</div>
<div class="pdf-content">
<div class="pdf-title">1. AOI* 세부지표</div>
<div class="report-table-container">
<table class="report-table">
<tr>
<th colspan="2">V2</th>
<th colspan="2">1</th>
<th colspan="2">2</th>
</tr>
<tr>
<th rowspan="2">Fixation</th>
<th>Total count</th>
<td>623</td>
<td>623</td>
<td>623</td>
<td>623</td>
</tr>
<tr>
<th>%</th>
<td>89.8%</td>
<td>89.8%</td>
<td>89.8%</td>
<td>89.8%</td>
</tr>
<tr></tr>
<th rowspan="2">Saccade</th>
<th>Total count</th>
<td>71</td>
<td>71</td>
<td>71</td>
<td>71</td>
</tr>
<tr>
<th>%</th>
<td>4.7%</td>
<td>4.7%</td>
<td>4.7%</td>
<td>4.7%</td>
</tr>
<tr></tr>
<th rowspan="5">Switching</th>
<th>In to In</th>
<td>3</td>
<td>3</td>
<td>3</td>
<td>3</td>
</tr>
<tr></tr>
<th>In to Out</th>
<td>1</td>
<td>1</td>
<td>1</td>
<td>1</td>
</tr>
<tr>
<th>Out to Out</th>
<td>2</td>
<td>2</td>
<td>2</td>
<td>2</td>
</tr>
<tr>
<th>Out to In</th>
<td>1</td>
<td>1</td>
<td>1</td>
<td>1</td>
</tr>
<tr>
<th rowspan="2">Vacancy</th>
<th>AVC%</th>
<td>4.7%</td>
<td>4.7%</td>
<td>4.7%</td>
<td>4.7%</td>
</tr>
<tr>
<th>Risk Level</th>
<td>Low</td>
<td>Low</td>
<td>Low</td>
<td>Low</td>
</tr>
</table></div>
<div class="report-desc">*AOI (Area of Interest, 관심자극)</div>
<div class="pdf-title">2. V2 자극 분석</div>
<div class="minimal-table-container">
<table class="minimal-table2">
<tr>
<th>V 2-1</th>
<th>V 2-2</th>
</tr>
<tr>
<td><img src="img/v2-1.png"></td>
<td><img src="img/v2-2.png"></td>
</tr>
</table>
</div>
<div class="pdf-title">3. V2 Phenotype 결과</div>
<div class="report-box">
<div class="report-box-1">평균 AOI 반응성이 89.8%, SACCADE 4.7%, AVC 4.7%로</div>
<div class="report-box-2">전반적인 ASD Risk Level은 낮은 것으로 보임.</div>
</div>
</div>
</div>
</div>
<!-- 페이지 네비게이션 -->
<div class="pdf-pagination">
<button class="pdf-button" onclick="prevPage()">이전</button>
<div class="pdf-page-indicator">
<span class="pdf-dot pdf-dot-active"></span>
<span class="pdf-dot"></span>
<span class="pdf-dot"></span>
</div>
<button class="pdf-button" onclick="nextPage()">다음</button>
</div>
<!-- PDF 변환 스크립트 -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.10.1/html2pdf.bundle.min.js"></script>
<script>
let currentPage = 1;
const totalPages = 3;
function updatePage() {
document.querySelectorAll('.pdf-page').forEach(page => page.classList.remove('pdf-active'));
document.getElementById(`pdf-page${currentPage}`).classList.add('pdf-active');
document.querySelectorAll('.pdf-dot').forEach(dot => dot.classList.remove('pdf-dot-active'));
document.querySelectorAll('.pdf-dot')[currentPage - 1].classList.add('pdf-dot-active');
}
function prevPage() {
if (currentPage > 1) {
currentPage--;
updatePage();
}
}
function nextPage() {
if (currentPage < totalPages) {
currentPage++;
updatePage();
}
}
function downloadPDF() {
const element = document.querySelector(".pdf-container");
html2pdf().from(element).save("검사_결과.pdf");
}
</script>
</body>
</html>