-
Notifications
You must be signed in to change notification settings - Fork 98
/
index.html
468 lines (450 loc) · 28.6 KB
/
index.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Growth Charts Application</title>
<link rel="stylesheet" type="text/css" href="css/reset.css" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="css/gc-pview.css" />
<link rel="stylesheet" type="text/css" href="themes/custom-theme/jquery-ui-1.8.18.custom.css" />
<!-- Standard JS Libraries -->
<script src="js/polyfills.js"></script>
<script src="node_modules/fhirclient/build/fhir-client.js"></script>
<script type="text/javascript" src="load-fhir-data.js"></script>
<script type="text/javascript" src="lib/jquery-1.8.2.js"></script>
<script type="text/javascript" src="lib/jquery-ui-1.9.1.js"></script>
<script type="text/javascript" src="lib/raphael.js"></script>
<script type="text/javascript" src="lib/xdate.js"></script>
<!-- GC Modules -->
<script type="text/javascript" src="js/util.js"></script>
<script type="text/javascript" src="js/gc-model.js"></script>
<script type="text/javascript" src="js/gc-chart-config.js"></script>
<script type="text/javascript" src="js/gc-smart-data.js"></script>
<script type="text/javascript" src="js/gc-sample-patients.js"></script>
<script type="text/javascript" src="js/gc-translations.js"></script>
<script type="text/javascript" src="js/gc-pointset.js"></script>
<script type="text/javascript" src="js/gc-charts-data.js"></script>
<script type="text/javascript" src="js/gc-statistics.js"></script>
<script type="text/javascript" src="js/gc-chart.js"></script>
<script type="text/javascript" src="js/gc-parental-view.js"></script>
<script type="text/javascript" src="js/gc-app.js"></script>
<script type="text/javascript" src="js/chart-pane.js"></script>
<script type="text/javascript" src="js/charts/chart.js"></script>
<script type="text/javascript" src="js/charts/weight-chart.js"></script>
<script type="text/javascript" src="js/charts/head-chart.js"></script>
<script type="text/javascript" src="js/charts/length-chart.js"></script>
<script type="text/javascript" src="js/charts/percentile-chart.js"></script>
<script type="text/javascript" src="js/charts/body-mass-index-chart.js"></script>
<script type="text/javascript" src="js/charts/chart-stack.js"></script>
<script type="text/javascript" src="js/gc-grid-view.js"></script>
<script type="text/javascript" src="js/gc-boneage-calculator.js"></script>
<script type="text/javascript" src="js/gc-style-generator.js"></script>
<script src="js/charts/mini_charts.js"></script>
</head>
<body>
<div id="header">
<div class="header-inner">
<span id="mouse-coords" class="hide-on-prod"></span>
<div class="header-table-wrap">
<table border="0" cellspacing="0" cellpadding="4" class="header-table">
<tbody>
<tr class="patient-row">
<th class="patient-name-cell">
<div class="icon icon-user"></div>
<span class="patient-name title"></span>
</th>
<td><span class="vertical-divider"></span></td>
<td colspan="7">
<span data-translatecontent="STR_3053"></span>
<span class="patient-gender title"></span>
<span data-translatecontent="STR_3054"></span>
<span class="patient-birth title"></span>
<span data-translatecontent="STR_3055"></span>
<span class="patient-age title"></span>
<span class="weeker" style="display:none;">
{
<span class="value title" style="margin-right: 0"></span>
<span data-translatecontent="STR_3006"></span>
}
</span>
<span style="display: none;">
<span data-translatecontent="STR_3056"></span>
<span id="corrected-age" class="title"></span>
</span>
</td>
<td colspan="3" align="right"></td>
</tr>
<tr>
<th data-translatecontent="STR_3000"></th>
<td><span class="vertical-divider"></span></td>
<td align="right" data-translatecontent="STR_3001"></td>
<td><input type="text" data-translateattr="placeholder=STR_3002" name="DOB" /></td>
<td align="right" data-translatecontent="STR_3003"></td>
<td><input type="text" data-translateattr="placeholder=STR_3004" name="EDD" /></td>
<td colspan="2" align="right" data-translatecontent="STR_3005"></td>
<td><input type="text" style="width:6em" readonly class="result" name="GA" value="N/A" /></td>
<td>
<span class="weeker" style="display:none;color:#FFF;white-space:nowrap;">
(<span class="value"></span>
<span data-translatecontent="STR_3006"></span>)
</span>
</td>
<td width="100%"></td>
<td></td>
</tr>
<tr>
<th data-translatecontent="STR_3007"></th>
<td><span class="vertical-divider"></span></td>
<td class="parent-labels" align="right" data-translatecontent="STR_3008"></td>
<td style="white-space:nowrap">
<input type="text" name="mother-height" style="width:7em" />
<label style="white-space:nowrap">
<input type="checkbox" name="bio-mother" >
<span data-translatecontent="STR_3009"></span>
</label></td>
<td class="parent-labels" align="right" data-translatecontent="STR_3010"></td>
<td colspan="2" style="white-space:nowrap">
<input type="text" name="fader-height" style="width:7em" />
<label style="white-space:nowrap">
<input type="checkbox" name="bio-father" >
<span data-translatecontent="STR_3011"></span>
</label></td>
<td align="right" style="white-space:nowrap" data-translatecontent="STR_3012"></td>
<td>
<input type="text" readonly name="mid-height" style="width:6em" class="result" />
</td>
<td><img id="not-bio-parents-info" src="img/info.png" data-translateattr="title=STR_3013" /></td>
<td></td>
<td></td>
</tr>
<tr class="empty-row">
<td colspan="12"></td>
</tr>
</tbody>
<tbody class="gc-app-preferences">
<tr>
<th class="prefs-header"><div class="icon" id="system-settings-icon"></div><span data-translatecontent="STR_3014"></span></th>
<td><span class="vertical-divider"></span></td>
<td></td>
<td>
<input type="button" data-translateattr="value=STR_3015" onClick="GC.App.editSettings()" />
</td>
<td colspan="2">
<input type="button" data-translateattr="value=STR_3016" onClick="GC.App.aboutAppDialog()" />
<!--label>
<input type="checkbox" id="edit-enabled" checked="checked" />
Enable patient editing
</label-->
</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<th data-translatecontent="STR_3017"></th>
<td><span class="vertical-divider"></span></td>
<td colspan="4" style="white-space:nowrap; text-align:right">
<input class="toggle-button" type="hidden" name="metrics" value="metric" data-value1="metric" data-value2="eng" data-label1="kg/cm" data-label2="lb/ft" />
<span class="vertical-divider"></span>
<input class="toggle-button" type="hidden" name="pctz" value="pct" data-value1="pct" data-value2="z" data-label1="%" data-label2="Z" />
<span class="vertical-divider"></span>
<span class="language-selector"></span>
<!--input class="toggle-button" type="hidden" name="language" value="en" data-value1="en" data-value2="es" data-label1="English" data-label2="Spanish" /-->
</td>
<td align="right" data-translatecontent="STR_3018"></td>
<td>
<select name="roundPrecision.velocity.std" style="width:7em">
<option value="year" data-translatecontent="STR_3020"></option>
<option value="month" data-translatecontent="STR_3021"></option>
<option value="week" data-translatecontent="STR_3022"></option>
<option value="day" data-translatecontent="STR_3023"></option>
<option value="auto" data-translatecontent="STR_3057"></option>
</select></td>
<td align="right" style="white-space: nowrap;" data-translatecontent="STR_3019" ></td>
<td>
<select name="roundPrecision.velocity.nicu" style="width:7em">
<option value="year" data-translatecontent="STR_3024"></option>
<option value="month" data-translatecontent="STR_3025"></option>
<option value="week" data-translatecontent="STR_3026"></option>
<option value="day" data-translatecontent="STR_3027"></option>
<option value="auto" data-translatecontent="STR_3058"></option>
</select></td>
<td> </td>
<td></td>
</tr>
<tr>
<th data-translatecontent="STR_3028"></th>
<td><span class="vertical-divider"></span></td>
<td align="right" data-translatecontent="STR_3029"></td>
<td>
<select name="gest-correction-type">
<option value="fixed" data-translatecontent="STR_3030"></option>
<option value="declining" data-translatecontent="STR_3031"></option>
<option value="both" data-translatecontent="STR_3032"></option>
<option value="none" data-translatecontent="STR_3033"></option>
</select>
</td>
<td align="right" style="white-space:nowrap" data-translatecontent="STR_3034"></td>
<td>
<input name="gest-correction-treshold" type="text" style="width:10em;" data-translateattr="value=STR_3035"/>
</td>
<td style="white-space:nowrap" colspan="2" data-translatecontent="STR_3036"></td>
<td> </td>
<td> </td>
<td> </td>
<td></td>
</tr>
<tr class="last">
<th data-translatecontent="STR_3037"></th>
<td><span class="vertical-divider"></span></td>
<td align="right" data-translatecontent="STR_3038"></td>
<td>
<select name="aspectRatio" title="Height-To-Width Ratio">
<option value="0.8">1:1.25</option>
<option value="0.625">1:1.6</option>
<option value="1" data-translatecontent="STR_3059"></option>
<option value="0.5">1:2</option>
<option value="0.6666666666666667">2:3</option>
<option value="0.75">3:4</option>
<option value="0.6">3:5</option>
<option value="0.375">9:16</option>
<option value="0" data-translatecontent="STR_3039"></option>
</select></td>
<td align="right" data-translatecontent="STR_3040"></td>
<td>
<input name="fontSize" type="text" />
</td>
<td align="right" data-translatecontent="STR_3041"></td>
<td colspan="2"><select name="color-preset"></select></td>
<td> </td>
<td> </td>
<td></td>
</tr>
</tbody>
</table>
</div>
<div class="toolbar-btn settings-toggle" data-translateattr="title=STR_2999"></div>
<a class="toolbar-btn print" href="javascript:GC.App.print();" data-translateattr="title=STR_179"></a>
<!-- View Mode -->
<div id="view-mode">
<!-- hide the parent tab -->
<span id="parent-tab" data-value="parent" data-translatecontent="STR_3042"></span>
<span data-value="table" data-translatecontent="STR_3043"></span>
<span data-value="graphs" data-translatecontent="STR_3044"></span>
</div>
<div id="the-tab">
<a id="tab-btn-left" class="button" title="Leave only the right data source as primary"></a>
<div id="primary-ds" class="menu-button arrow-left button" title="Choose the primary data source"></div>
<a id="tab-btn-switch" class="button" title="Swap the data source places"></a>
<div id="secondary-ds" class="menu-button arrow-right button secondary" title="Choose the secondary data source"></div>
<a id="tab-btn-right" title="Add secondary data source"></a>
<div class="disable-overlay"></div>
</div>
<span class="app-version"><span data-translatecontent="STR_3045"></span><span class="version"></span> </span>
</div>
<div id="time-ranges">
<div class="row">
<div class="cell angle-right">
<label>
<input type="radio" name="time-range" value="0:13">
0 – 13 <span data-translatecontent="STR_19"></span>
</label>
</div>
<div class="cell angle-left angle-right">
<label>
<input type="radio" name="time-range" value="0:26.08928571428572" checked>
0 – 6 <span data-translatecontent="STR_17"></span>
</label>
</div>
<div class="cell angle-left">
<label>
<input type="radio" name="time-range" value="0:104.3571428571429">
0 – 2 <span data-translatecontent="STR_15"></span>
</label>
</div>
<div class="cell">
<label>
<input type="radio" name="time-range" value="0:1043.571428571429">
0 – 20 <span data-translatecontent="STR_15"></span>
</label>
</div>
<div class="cell" style="width:9px">
<span class="vertical-divider" style="margin-left:4px;margin-right:4px"></span>
</div>
<div class="cell btn" style="width:120px;white-space:nowrap;" id="btn-fit-to-age" onclick="GC.App.fitToData();">
<label>
<input type="radio" name="time-range" value="0:1">
<span data-translatecontent="STR_3050"></span>
</label>
</div>
<div class="cell btn" style="width:140px;white-space:nowrap;" id="btn-toggle-zoom">
<label data-translatecontent="STR_3051"></label>
</div>
</div>
<div class="disable-overlay"></div>
</div>
<div id="info-bar" style="padding-right: 11em;overflow: hidden">
<span class="last-recording"> <span style="color: #AAA" data-translatecontent="STR_3052"></span> <b><span class="date"></span> <span class="age"></span></b> </span>
<span style="float:right;">
<span>
<input type="checkbox" name="nicu" class="checkbox-button" data-label="NICU" />
<span class="vertical-divider"></span>
</span>
<span class="hide-on-parental hide-on-table">
<input class="toggle-button" type="hidden" name="pctz" value="pct" data-value1="pct" data-value2="z" data-label1="%" data-label2="Z" />
<span class="vertical-divider"></span>
</span>
<span class="hide-on-parental">
<input class="toggle-button" type="hidden" name="metrics" value="metric" data-value1="metric" data-value2="eng" data-label1="kg/cm" data-label2="lb/ft" />
<span class="vertical-divider"></span>
</span>
<span class="language-selector">
<!--input class="toggle-button" type="hidden" name="language" value="en" data-value1="en" data-value2="es" data-label1="English" data-label2="Spanish" /-->
</span>
</span>
<span class="add-entry" data-translatecontent="STR_178"></span>
</div>
</div>
<div id="timeline-top" class="timeline">
<div data-translateattr="data-content=STR_15" class="years"></div>
<div data-translateattr="data-content=STR_17" class="months"></div>
<div data-translateattr="data-content=STR_19" class="weeks"></div>
<div data-translateattr="data-content=STR_21" class="days"></div>
<div class="gest"></div>
</div>
<div id="stage">
<div id="view-clinical" class="tab-panel">
<div class="stage-1">
<div id="middle-indicator"></div>
</div>
</div>
<div id="view-parental" class="tab-panel">
<div id="pview-wrapper">
<!-- left-column -->
<div class="left-column">
<div id="PatientHeader">
<img id="picture" src="img/transparent.gif" width="119" height="92" />
<div id = "PatientHeadertexts">
<label class="gender-color"> </label> <span class="patient-name heading title"></span>
<label class="gender-color" data-translatecontent="STR_155"></label> <span class="patient-gender title"></span>
<label class="gender-color" data-translatecontent="STR_157"></label> <span class="patient-birth title"></span>
<label class="gender-color" data-translatecontent="STR_156"></label> <span class="patient-age title"></span>
</div>
</div>
<div id="PaperLeft">
<table id="vitals" border="1">
<tr>
<td class="vitals-height">
<img src="img/pview/LengthIcon.png" />
<div class="label" data-translatecontent="STR_152"></div>
<span class="value date"></span>
</td>
<td class="vitals-weight">
<img src="img/pview/WeightIcon.png" />
<div class="label" data-translatecontent="STR_6"></div>
<span class="value date"></span>
</td>
<td class="vitals-headc">
<img src="img/pview/HeadCircumferenceIcon.png" />
<div class="label" data-translatecontent="STR_13"></div>
<span class="value date"></span>
</td>
<td class="vitals-bmi">
<img src="img/pview/bmi-icon.png" />
<div class="label" data-translatecontent="STR_14"></div>
<span class="value date"></span>
</td>
</tr>
<tr class="second-row">
<td class="vitals-height">
<span class="value metric"></span><span class="value pct"></span>
<div class="value imperial"></div>
</td>
<td class="vitals-weight">
<span class="value metric"></span><span class="value pct"></span>
<div class="value imperial"></div>
</td>
<td class="vitals-headc">
<span class="value metric"></span><span class="value pct"></span>
<div class="value imperial"></div>
</td>
<td class="vitals-bmi">
<span class="value metric"></span><span class="value pct"></span>
<div class="value imperial"></div>
</td>
</tr>
</table>
<div class="vitals-chart four-cols images">
<div class="fat-cell">
<img src="img/transparent.gif" width="120" height="229" alt="Underweight" />
</div>
<div class="fat-cell">
<img src="img/transparent.gif" width="120" height="229" alt="Healthy"/>
</div>
<div class="fat-cell">
<img src="img/transparent.gif" width="120" height="229" alt="Overweight"/>
</div>
<div class="fat-cell">
<img src="img/transparent.gif" width="120" height="229" alt="Obese"/>
</div>
</div>
<div class="vitals-chart four-cols labels">
<div class="fat-cell" data-translatecontent="STR_173"></div>
<div class="fat-cell" data-translatecontent="STR_174"></div>
<div class="fat-cell" data-translatecontent="STR_175"></div>
<div class="fat-cell" data-translatecontent="STR_176"></div>
</div>
<div class="vitals-chart four-cols values">
<div class="fat-cell"></div>
<div class="fat-cell"></div>
<div class="fat-cell"></div>
<div class="fat-cell"></div>
</div>
<div id="vitals-message">
<div class="weight-status"></div>
<div class="weight-trend"></div>
<div class="weight-range"></div>
</div>
</div>
</div>
<!-- right-column -->
<div class="right-column">
<div id="PredictedHeightHeader">
<div id="nameTextPredicted" class="heading" data-translatecontent="STR_153"></div>
</div>
<div id="RightPaper">
<div id="PaperPredictedHeight"></div>
</div>
</div>
<div id="pview-overlay">
<div id="pview-overlay-message"></div>
</div>
</div>
</div>
<div id="view-table" class="tab-panel"></div>
</div>
<div id="timeline-bottom" class="timeline">
<div class="gest"></div>
<div data-translateattr="data-content=STR_21" class="days"></div>
<div data-translateattr="data-content=STR_19" class="weeks"></div>
<div data-translateattr="data-content=STR_17" class="months"></div>
<div data-translateattr="data-content=STR_15" class="years"></div>
</div>
<div id="dialog"></div>
<div id="loading-indicator">
<div class="container">
<h2><span data-translatecontent="STR_180"></span> <div class="msg"></div></h2>
<div class="error-msg">
<div class="display">
<div class="icon"></div>
<div class="message"></div>
</div>
</div>
</div>
</div>
</body>
</html>