-
Notifications
You must be signed in to change notification settings - Fork 0
/
jonathanDoe.html
167 lines (144 loc) · 3.93 KB
/
jonathanDoe.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
<!DOCTYPE html>
<html>
<head>
<title>My Patient</title>
<link rel="stylesheet" type="text/css" href="viewPatientStyles.css">
<script type="text/javascript" src="patient.js"></script>
<script type="text/javascript">
</script>
</head>
<body>
<div class="header">
<img src="logo.png" width="100px" height="100px" style="display:inline">
<h1 id="heading">Pill Drop</h1>
</div>
<h1 style="font-family: Tahoma; font-size: 40px; padding-left: 20px">Jonathan Doe</h1>
<div id="scriptModal">
<div id="modalContent">
<h1 style="font-family: Tahoma; font-size: 30px;">New Prescription Information</h1>
<table id="newScriptTable">
<tr>
<td class="modalData">
Drug:
</td>
<td class="modalData">
<select id="selectList">
<option>Colace</option>
<option>Amoxicillan</option>
<option>Xanax</option>
<option>Adderall</option>
<option>Prozac</option>
</select>
</td>
</tr>
<tr>
<td class="modalData">
Strength:
</td>
<td class="modalData">
<input type="text" value="" id="strength">
</td>
</tr>
<tr>
<td class="modalData">
Frequency:
</td>
<td class="modalData">
<input type="text" value="" id="frequency">
</td>
</tr>
<tr>
<td class="modalData">
Amount:
</td>
<td class="modalData">
<input type="text" value="" id="amount">
</td>
</tr>
</table>
<button id="cancelButton" onclick="exit()">Cancel</button>
<button id="submitButton" onclick="createNewPrescription()">Submit</button>
</div>
</div>
<table class="t1">
<tr>
<td class="t1data"><img id="profileImg" src="jondoe.jpg"></td>
<td class="t1data">
<table>
<tr>
<td class="t2col">DOB:</td>
<td class="t2col">03/13/1967</td>
</tr>
<tr>
<td class="t2col">Sex:</td>
<td class="t2col">Male</td>
</tr>
<tr>
<td class="t2col">Height:</td>
<td class="t2col">5' 11"</td>
</tr>
<tr>
<td class="t2col">Weight:</td>
<td class="t2col">175 lbs.</td>
</tr>
</table>
</td>
<td class="t1data">
<table>
<tr>
<td class="t2col">Physician:</td>
<td class="t2col">Dr. Alex Smith</td>
</tr>
<tr>
<td class="t2col">Hospital:</td>
<td class="t2col">St. Mary's Hospital</td>
</tr>
<tr>
<td class="t2col">Patient Phone:</td>
<td class="t2col">(123) 456 - 7890</td>
</tr>
<tr>
<td class="t2col">Patient Email:</td>
<td class="t2col">[email protected]</td>
</tr>
</table>
</td>
<td class="t1data"></td>
</tr>
</table>
<h1 style="font-family: Tahoma; font-size: 35px; padding-left: 20px">Prescriptions</h1>
<table id="prescriptionTable">
<tr class="scriptHeading">
<td style="border-bottom: 3px solid black">Drug</td>
<td style="border-bottom: 3px solid black">Strength</td>
<td style="border-bottom: 3px solid black">Frequency</td>
<td style="border-bottom: 3px solid black">Amount</td>
</tr>
<tr class="prescriptionOdd">
<td>Colace</td>
<td>100 mg</td>
<td>QHS</td>
<td>T</td>
</tr>
<tr class="prescriptionEven">
<td>Amoxicillan</td>
<td>250 mg</td>
<td>TID x 7 days</td>
<td>TT</td>
</tr>
<tr class="prescriptionOdd">
<td>Adderall</td>
<td>10 mg</td>
<td>TID</td>
<td>T</td>
</tr>
</table>
<table id="buttonTable">
<tr>
<td><button onclick="setFormVisible()" id="newPrescriptionButton" class="prescriptionBt">New Prescription</button></td>
<td><button onclick="exportPrescription()" id="exportPrescriptionButton" class="prescriptionBt">Export Prescription</button></td>
<td id="buttonSlot"><button id="disabledBt" class="prescriptionBt" disabled>Download JSON (dev)</button></td>
</tr>
</table>
</body>
</html>