-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
77 lines (77 loc) · 4.34 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Our mission: to help healthcare professionals calculate P/F ratio easily. We accomplish this by creating a calculator based on the Horowitz index. This calculator is free and available to doctors and physicians treating patients with ARDS.">
<meta name="author" content="Sarah Khoo">
<title>P/F ratio calculator</title>
<link rel="stylesheet" href="style.css">
<script src="index.js"></script>
</head>
<body>
<div class = 'header'>
<h1>P / F ratio</h1>
<p>CALCULATOR</p>
</div>
<div class = 'container'>
<div class = 'card'>
<form>
<div class="icon">
<img src="./images/icon.jpg" id="icon" alt="question mark icon" height=20px width=20px onmouseover = "iconMouseOver()" onmouseout = "iconMouseOut()"/><br>
<div id="information">
<p>The PaO2/FiO2 ratio (also known as the Horowitz index)<br>
evaluates lung function and oxygenation especially in patients<br>
with acute respiratory distress syndrome (ARDS).</p>
</div>
</div>
<label>Enter PaO2:</label>
<input type="text" id="PaO2" placeholder="use PaO2 from ABG" autofocus /><br><br>
<hr><br>
<label>Enter FiO2:</label>
<input type="text" id="FiO2" placeholder="use FiO2 found on device" /><br>
<div class="options">
<p>OR</p>
<div class="np1">
<input type="radio" id="np1" name="device" value="0.25" onclick="deviceSelection()" />
<label for="np1">Nasal prongs 1L</label><br>
</div>
<div class="np2">
<input type="radio" id="np2" name="device" value="0.29" onclick="deviceSelection()">
<label for="np2">Nasal prongs 2L</label><br>
</div>
<div class="np3">
<input type="radio" id="np3" name="device" value="0.33" onclick="deviceSelection()">
<label for="np3">Nasal prongs 3L</label><br>
</div>
<div class="np4">
<input type="radio" id="np4" name="device" value="0.37" onclick="deviceSelection()">
<label for="np4">Nasal prongs 4L</label><br>
</div>
<div class="np5">
<input type="radio" id="np5" name="device" value="0.41" onclick="deviceSelection()">
<label for="np5">Nasal prongs 5L</label><br>
</div>
<div class="np6">
<input type="radio" id="np6" name="device" value="0.45" onclick="deviceSelection()">
<label for="np6">Nasal prongs 6L</label><br>
</div>
<div class="nrm">
<input type="radio" id="nrm" name="device" value="1" onclick="deviceSelection()">
<label for="nrm">Non-rebreather mask</label><br>
</div>
</div><br>
<div class="submit">
<input type="submit" id="submit" value="Submit" onclick="division(event)" /><br><br>
</div>
<span></span>
</form>
</div>
<footer>
<p>Original reference: Horovitz JH, Carrico CJ, Shires GT. Pulmonary response to major injury. Arch Surg. 1974;108(3):349-55.</p>
<p>Validation: Ranieri VM, Rubenfeld GD, Thompson BT, et al. Acute respiratory distress syndrome: the Berlin Definition. JAMA. 2012;307(23):2526-33.</p>
<p>Icons made by <a href="https://www.flaticon.com/authors/roundicons" title="Roundicons">Roundicons</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a></p>
</footer>
</body>
</html>