-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
438 lines (371 loc) · 19.7 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
<html>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/css/materialize.min.css">
<script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/js/materialize.min.js"></script>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Raleway:400,500,700,900" rel="stylesheet">
<script src="https://use.fontawesome.com/6ce1697ef4.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-65235902-3"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-65235902-3');
</script>
<head>
<title>LibreHealth Quickstart</title>
<style>
body {
overflow-x: hidden;
}
.header {
width: 100vw;
padding: 20px;
background-color: rgba(244, 144, 48, 1);
box-shadow: 0 3px 1px rgba(0,0,0,0.2);
}
.header .container {
width: 100vw;
color: #FFF;
}
.header h1 {
font-size: 50px;
}
.header p {
font-size: 20px;
}
.header .contribute {
background-color: #FFF;
color: rgba(244, 144, 48, 1);
}
.main {
padding: 20px;
width: 100vw;
background-color: rgba(200,200,200,0.1);
}
.main h1 {
font-size: 30px;
color: #666;
}
.main .cards {
border-radius: 2px;
box-shadow: 0 3px 2px rgba(0,0,0,0.2);
background-color: #FFF;
padding: 10px 30px 10px 30px;
margin-bottom: 20px;
}
.main .cards .p {
text-align: justify;
}
.main .container {
width: 100vw;
}
.main #unreleased {
color: #CC0000;
}
.main .cards .install_btn {
color: rgba(244, 144, 48, 1);
margin: 5px;
}
.main .cards .install_btn i {
vertical-align: middle;
}
.main .cards h3 {
color: #666;
font-size: 14px;
margin: 0;
}
.main .cards h2 {
color: rgba(244, 144, 48, 1);
font-size: 35px;
margin: 0;
padding: 0;
}
.main .cards .graph {
width: 100%;
}
.chip i {
vertical-align: middle;
font-size: 15px;
margin-right: 3px;
}
.footer {
width: 100vw;
background-color: #AAA;
padding: 20px;
}
.footer a {
color: #FFF;
}
.footer img {
filter: brightness(1000%);
height: 30px;
}
</style>
</head>
<body>
<div class="header valign-wrapper">
<div class="container row">
<h1>Getting started with LibreHealth</h1>
<p>Unsure where to begin?</p>
<a class="btn waves-effect contribute" href="survey.html">LET US HELP YOU DECIDE</a>
</div>
</div>
<div class="main">
<h1>Our Projects</h1>
<p>We have three projects under development: EHR, Toolkit, and Radiology</p>
<br>
<div class="row container">
<div class="col s1"></div>
<div class="col s3">
<div class="cards">
<h1>EHR</h1>
<p>EHR is a health toolkit meant to be efficient and user friendly. At its core, EHR is comprised of several web components which bind to form a synchronised product. Knowledge of JavaScript, along with some understanding of UI, HTML and CSS is required.</p>
<br><br>
<div class="chip">
JS
</div>
<div class="chip">
User Interface
</div>
<div class="chip">
<i class="material-icons">polymer</i>Polymer
</div>
<div class="chip">
HTML
</div>
<div class="chip">
CSS
</div>
<div class="chip">
SQL
</div>
<div class="chip">
Web
</div>
</div>
<div class="cards">
<h1>Installation</h1>
<a class="btn-flat install_btn waves-effect" href="https://github.com/LibreHealthIO/LibreEHR/blob/master/INSTALL.md">VIEW GUIDE</a>
<br>
<br>
</div>
<div class="cards">
<br><br>
<h3>Contributions</h3>
<br>
<h2 id="ehr_contributions">0</h2>
<br><br>
<h3 id="ehr_latest_committer">Latest commit by </h3>
<br>
<p id="ehr_commit_title"></p>
<br><br>
<h3>Languages</h3>
<div id="ehr_languages" class="graph"></div>
</div>
</div>
<div class="col s0.5"></div>
<div class="col s3">
<div class="cards">
<h1>Toolkit</h1>
<p>The Toolkit provides the core coding framework for EHR and Radiology. It comprises of a kit of healthcare services which can be implemented in hospitals and other health institutions. Most of the code is in the form of web components written in Polymer. To contribute to this project, one must have a thorough understanding of components, databases, and some knowledge of Java.</p>
<br><br>
<div class="chip">
User Interface
</div>
<div class="chip">
API
</div>
<div class="chip">
Java
</div>
<div class="chip">
<i class="material-icons">polymer</i>Polymer
</div>
<div class="chip">
JS
</div>
</div>
<div class="cards">
<h1>Installation</h1>
<a class="btn-flat waves-effect install_btn" href="https://librehealth.gitbooks.io/lh-toolkit-dev-guide/librehealth_toolkit_installation.html">SETUP</a>
<a class="btn-flat waves-effect install_btn" href="https://gitlab.com/librehealth/lh-toolkit-docker">SETUP USING DOCKER</a>
</div>
<div class="cards">
<br><br>
<h3>Contributions</h3>
<br>
<h2 id="toolkit_contributions">0</h2>
<br><br>
<h3 id="toolkit_latest_committer">Latest commit by </h3>
<br>
<p id="toolkit_commit_title"></p>
<br><br>
<h3>Languages</h3>
<div id="toolkit_languages" class="graph"></div>
</div>
</div>
<div class="col s0.5"></div>
<div class="col s3">
<div class="cards">
<h1>Radiology</h1>
<p id="unreleased">(Unreleased)</p>
<p>Radiology is a product designed to help radiologists and imaging experts handle data and patient records more efficiently.It is still under development and is expected to be released soon. Radiology too is built using components, and uses Java too. Currently, Radiology UI and wireframing related contributions are preferred so as to finalise the project structure. Knowledge of the job descriptions of radiologists and substitient occupations is appreciated.</p>
<br><br>
<div class="chip">
Radiology
</div>
<div class="chip">
mySQL
</div>
<div class="chip">
Java
</div>
<div class="chip">
User Interface
</div>
<div class="chip">
<i class="material-icons">polymer</i>Polymer
</div>
<div class="chip">
MariaDB
</div>
</div>
<div class="cards">
<h1>Installation</h1>
<a class="btn-flat waves-effect install_btn" href="https://ivange94blog.wordpress.com/2017/09/26/setting-up-development-environment-for-LibreHealth-radiology/"><i class="material-icons">book</i> VIEW GUIDE</a>
</div>
<div class="cards">
<br><br>
<h3>Contributions</h3>
<br>
<h2 id="radiology_contributions">0</h2>
<br><br>
<h3 id="radiology_latest_committer">Latest commit by </h3>
<br>
<p id="radiology_commit_title"></p>
<br><br>
</div>
</div>
<div class="col s1"></div>
</div>
<div class="container">
<h1>FAQ</h1>
<ul class="collapsible" data-collapsible="accordion">
<li>
<div class="collapsible-header"><i class="material-icons">polymer</i>What is Polymer</div>
<div class="collapsible-body"><span>Polymer is a web framework used to create web components. We at LibreHealth prefer Polymer for all our projects as it helps maintain uniformity within the code. Polymer was originally created by a group of front end developers at Google, and has now evolved into a full fledged framework. It is very similar to Angular or Node, but more feature rich and readable. <br>Check out these videos to get started with Polymer<br><a href="https://www.youtube.com/watch?v=eORqFaf_QzM">Polymer: Interacting with Google Services using nothing but HTML</a><br><a href="https://www.youtube.com/watch?v=MaWcS-10NIw">Polymer Tutorials #1 - An Introduction to Polymer</a> </span></div>
</li>
<li>
<div class="collapsible-header"><i class="material-icons">group_add</i>How can I contribute</div>
<div class="collapsible-body"><span>LibreHealth values every single contribution you make. To contribute, fork the repository concerned, and make your changes locally.<br>Create a new branch on your fork and then submit a pull request to the master branch of the main repository. Also include a description of your changes and work, so that others know what you have contributed.</span></div>
</li>
<li>
<div class="collapsible-header"><i class="material-icons">code</i>How do I help without having to code</div>
<div class="collapsible-body"><span>We welcome contributions from every corner of expertise, and not just code. For instance, you can help redesign the user interface of LibreHealth EHR or design artwork for the Toolkit. Alternatively, you can also write blog posts promoting LibreHealth and take up outreach related tasks.</span></div>
</li>
</ul>
</div>
<br><br>
<div class="container">
<h1>Start today!</h1>
<p>Here are a few tasks to get you started: </p> <a href="https://gitlab.com/groups/librehealth/-/issues" class="btn-flat">LH ISSUES</a>
</div>
</div>
<div class="footer">
<div class="row">
<div class="col s2">
<a class="btn-flat" href="https://twitter.com/librehealthio?lang=en"><i class="fa fa-twitter" aria-hidden="true"></i></a>
</div>
<div class="col s2">
<a class="btn-flat" href="https://en.wikipedia.org/wiki/Draft:LibreHealth"><i class="fa fa-wikipedia-w" aria-hidden="true"></i></a>
</div>
<div class="col s2">
<a class="btn-flat" href="https://chat.librehealth.io/channel/general"><i class="material-icons">chat</i></a>
</div>
<div class="col s2">
<a class="btn-flat" href="https://forums.librehealth.io/"><i class="material-icons">forums</i></a>
</div>
</div>
<br><br>
<img src="logo.png">
</div>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript">
var languageData;
var languageList = [];
var i=0, val;
languageData = JSON.parse(httpGet("https://api.github.com/repos/librehealthio/libreehr/languages"));
for(var language in languageData) {
eval("val = languageData['" + language + "'];");
languageList[i] = new Array(language, val);
i++;
}
var toolkit_languageData;
var toolkit_languageList = [];
var j=0, toolkit_val;
toolkit_languageData = JSON.parse(httpGet("https://api.github.com/repos/librehealthio/lh-toolkit/languages"));
for(var language in toolkit_languageData) {
eval("toolkit_val = toolkit_languageData['" + language + "'];");
toolkit_languageList[j] = new Array(language, toolkit_val);
j++;
}
google.charts.load('current', {'packages':['corechart']});
google.charts.setOnLoadCallback(drawChart);
function drawChart() {
var data = new google.visualization.DataTable();
data.addColumn('string', 'Languages');
data.addColumn('number', 'Percentage');
data.addRows(languageList);
// Set chart options
var options = {legend: {position: 'none'}, 'chartArea': {'width': '70%', 'height': '80%'}};
// Instantiate and draw our chart, passing in some options.
var chart = new google.visualization.PieChart(document.getElementById('ehr_languages'));
chart.draw(data, options);
var toolkit_data = new google.visualization.DataTable();
toolkit_data.addColumn('string', 'Languages');
toolkit_data.addColumn('number', 'Percentage');
toolkit_data.addRows(toolkit_languageList);
// Set chart options
var options = {legend: {position: 'none'}, 'chartArea': {'width': '70%', 'height': '80%'}};
// Instantiate and draw our chart, passing in some options.
var chart = new google.visualization.PieChart(document.getElementById('toolkit_languages'));
chart.draw(toolkit_data, options);
}
var radiology_cont = JSON.parse(httpGet("https://gitlab.com/api/v3/projects/2690513/repository/contributors?private_token=yUa1tjQ5PZy5seY3uQ2K"));
var radiology_total = 0;
for(var i=0;i<radiology_cont.length;i++) {
radiology_total += radiology_cont[i].commits;
}
document.getElementById("radiology_contributions").innerHTML = radiology_total;
var ehr_cont = JSON.parse(httpGet("https://api.github.com/repos/librehealthio/libreehr/contributors"));
var ehr_total = 0;
for(var i=0;i<ehr_cont.length;i++) {
ehr_total += ehr_cont[i].contributions;
}
document.getElementById("ehr_contributions").innerHTML = ehr_total;
var toolkit_cont = JSON.parse(httpGet("https://gitlab.com/api/v3/projects/1289338/repository/contributors?private_token=yUa1tjQ5PZy5seY3uQ2K"));
var toolkit_total = 0;
for(var i=0;i<toolkit_cont.length;i++) {
toolkit_total += toolkit_cont[i].commits;
}
document.getElementById("toolkit_contributions").innerHTML = toolkit_total;
var r_all_cont_sha = JSON.parse(httpGet("https://gitlab.com/api/v4/projects/2690513/repository/commits?private_token=yUa1tjQ5PZy5seY3uQ2K"));
document.getElementById("radiology_commit_title").innerHTML = r_all_cont_sha[0].title;
document.getElementById("radiology_latest_committer").innerHTML = "Latest commit by " + r_all_cont_sha[0].author_name;
var e_all_cont_sha = JSON.parse(httpGet("https://api.github.com/repos/librehealthio/libreehr/commits"));
document.getElementById("ehr_commit_title").innerHTML = e_all_cont_sha[0].author.email;
document.getElementById("ehr_latest_committer").innerHTML = "Latest commit by " + e_all_cont_sha[0].commit.author.name;
var all_cont_sha = JSON.parse(httpGet("https://gitlab.com/api/v3/projects/1289338/repository/commits?private_token=yUa1tjQ5PZy5seY3uQ2K"));
document.getElementById("toolkit_latest_committer").innerHTML = "Latest commit by " + all_cont_sha[0].author_name;
document.getElementById("toolkit_commit_title").innerHTML = all_cont_sha[0].title;
function httpGet(theUrl) {
var xmlHttp = new XMLHttpRequest();
xmlHttp.open( "GET", theUrl, false ); // false for synchronous request
xmlHttp.send( null );
return xmlHttp.responseText;
}
</script>
</body>
</html>