Clickmap Graphical API and Pain Form
[openemr.git] / interface / forms / bronchitis / new.php
blob61e0678962af885a1007cf5a1b4ce7f7babc5d64
1 <!-- Form created by Nikolai Vitsyn: 2004/01/23 -->
2 <!-- Update 2004/01/29 -->
3 <?php
4 include_once("../../globals.php");
5 include_once("$srcdir/api.inc");
6 formHeader("Form: bronchitis");
7 $returnurl = $GLOBALS['concurrent_layout'] ? 'encounter_top.php' : 'patient_encounter.php';
8 ?>
9 <html><head>
10 <?php html_header_show();?>
11 <SCRIPT LANGUAGE="JavaScript">
12 <!--
14 function onset_check (form) {
16 var d, s = "Today's date is: "; //Declare variables.
17 d = new Date(); //Create Date object.
18 s += (d.getMonth() + 1) + "-"; //Get month
19 s += d.getDate() + "-"; //Get day
20 s += d.getYear(); //Get year.
22 onset_str = form.bronchitis_date_of_illness.value;
23 if (onset_str == "") {
24 alert("No valid date into Onset of illness field!!! Enter date as YYYY-MM-DD");
25 alert(d);
27 return;
29 if (onset_str.length != 10) {
30 alert("Your date should be 10 characters");
31 return;
33 alert("OK, Bye!!!");
34 return;
36 </SCRIPT>
38 <link rel="stylesheet" href="<?php echo $css_header;?>" type="text/css">
39 </head>
40 <body class="body_top">
42 <form method=post action="<?php echo $rootdir;?>/forms/bronchitis/save.php?mode=new" name="my_form">
43 <br></br>
44 <span class="title" ><?php xl('Bronchitis Form','e'); ?></span>
45 <br></br>
47 <a href="javascript:top.restoreSession();document.my_form.submit();" class="link_submit">[<?php xl('Save','e'); ?>]</a>
48 <br>
49 <a href="<?php echo "$rootdir/patient_file/encounter/$returnurl";?>" class="link" style="color: #483D8B"
50 onclick="top.restoreSession()">[<?php xl('Don\'t Save','e'); ?>]</a>
51 <br></br>
52 <span class="text" ><?php xl('Onset of Illness:','e'); ?> </span><input type="entry" name="bronchitis_date_of_illness" value=""></input>
53 <br></br>
55 <span class="text" ><?php xl('HPI:','e'); ?>:</span><br></br>
56 <textarea name="bronchitis_hpi" rows="4" cols="67" wrap="virtual name"></textarea>
57 <br></br>
59 <table ><th colspan="5"><?php xl('Other Pertinent Symptoms:','e'); ?></th>
60 <tr>
61 <td width="80" align="right"><?php xl('Fever:','e'); ?></td>
62 <td><input type="checkbox" name="bronchitis_ops_fever"></input></td>
63 <td width="100" align="right"><?php xl('Cough:','e'); ?></td>
64 <td><input type="checkbox" name="bronchitis_ops_cough"></input></td>
65 <td width="60" align="right"><?php xl('Dizziness:','e'); ?></td>
66 <td><input type="checkbox" name="bronchitis_ops_dizziness"></input></td>
67 </tr>
68 <tr>
69 <td width="80" align="right"><?php xl('Chest Pain:','e'); ?></td>
70 <td><input type="checkbox" name="bronchitis_ops_chest_pain"></input></td>
71 <td width="100" align="right"><?php xl('Dyspnea:','e'); ?></td>
72 <td><input type="checkbox" name="bronchitis_ops_dyspnea"></input></td>
73 <td width="60" align="right"><?php xl('Sweating:','e'); ?></td>
74 <td><input type="checkbox" name="bronchitis_ops_sweating"></input></td>
75 </tr>
76 <tr>
77 <td width="80" align="right"><?php xl('Wheezing:','e'); ?></td>
78 <td><input type="checkbox" name="bronchitis_ops_wheezing"></input></td>
79 <td width="100" align="right"><?php xl('Malaise:','e'); ?></td>
80 <td><input type="checkbox" name="bronchitis_ops_malaise"></input></td>
81 </tr>
82 <tr>
83 <td width="80" align="right"><?php xl('Sputum:','e'); ?></td>
84 <td><input type="checkbox" name="bronchitis_ops_sputum"></input></td>
85 <td width="100" align="right"><?php xl('Appearance:','e'); ?></td>
86 <td><input type="text" name="bronchitis_ops_appearance" size="10" value="<?php xl('none','e'); ?>"></input></td>
87 </tr>
88 </table>
90 <table>
91 <tr>
92 <td width="205" align="right"><?php xl('All Reviewed and Negative:','e'); ?></td>
93 <td><input type="checkbox" name="bronchitis_ops_all_reviewed"></input></td>
94 </tr>
95 </table>
96 <br></br>
99 <table >
100 <tr>
101 <td width="60"><?php xl('Review of PMH:','e'); ?></td>
102 <td align="right"></td>
103 <td><input type="checkbox" name="bronchitis_review_of_pmh"></input></td>
104 <td align="right"><?php xl('Medications:','e'); ?></td>
105 <td><input type="checkbox" name="bronchitis_review_of_medications"></input></td>
106 <td align="right"><?php xl('Allergies:','e'); ?></td>
107 <td><input type="checkbox" name="bronchitis_review_of_allergies"></input></td>
108 <td align="right"><?php xl('Social History:','e'); ?></td>
109 <td><input type="checkbox" name="bronchitis_review_of_sh"></input></td>
110 <td align="right"><?php xl('Family History:','e'); ?></td>
111 <td><input type="checkbox" name="bronchitis_review_of_fh"></input></td>
112 </tr>
113 </table>
114 <br></br>
116 <table>
117 <tr>
118 <td width="60"><?php xl('TM\'S:','e'); ?></td>
119 <td align="right"><?php xl('Normal Right:','e'); ?></td>
120 <td><input type="checkbox" name="bronchitis_tms_normal_right"></input></td>
121 <td align="right"><?php xl('Left:','e'); ?></td>
122 <td><input type="checkbox" name="bronchitis_tms_normal_left"></input></td>
124 <td width="80"><?php xl('NARES:','e'); ?> </td>
125 <td align="right"><?php xl('Normal Right','e'); ?></td>
126 <td><input type="checkbox" name="bronchitis_nares_normal_right"></input></td>
127 <td align="right"><?php xl('Left:','e'); ?></td>
128 <td><input type="checkbox" name="bronchitis_nares_normal_left"></input></td>
129 </tr>
131 <tr>
132 <td width="50"></td>
133 <td align="right"><?php xl('Thickened Right:','e'); ?></td>
134 <td><input type="checkbox" name="bronchitis_tms_thickened_right"></input></td>
135 <td align="right"><?php xl('Left:','e'); ?></td>
136 <td><input type="checkbox" name="bronchitis_tms_thickened_left"></input></td>
138 <td width="80"></td>
139 <td align="right"><?php xl('Swelling Right','e'); ?></td>
140 <td><input type="checkbox" name="bronchitis_nares_swelling_right"></input></td>
141 <td align="right"><?php xl('Left:','e'); ?></td>
142 <td><input type="checkbox" name="bronchitis_nares_swelling_left"></input></td>
143 </tr>
145 <tr>
146 <td width="50"></td>
147 <td align="right"><?php xl('A/F Level Right:','e'); ?></td>
148 <td><input type="checkbox" name="bronchitis_tms_af_level_right"></input></td>
149 <td align="right"><?php xl('Left:','e'); ?></td>
150 <td><input type="checkbox" name="bronchitis_tms_af_level_left"></input></td>
152 <td width="80"></td>
153 <td align="right"><?php xl('Discharge Right:','e'); ?></td>
154 <td><input type="checkbox" name="bronchitis_nares_discharge_right"></input></td>
155 <td align="right"><?php xl('Left:','e'); ?></td>
156 <td><input type="checkbox" name="bronchitis_nares_discharge_left"></input></td>
157 </tr>
159 <tr>
160 <td width="50"></td>
161 <td align="right"><?php xl('Retracted Right:','e'); ?></td>
162 <td><input type="checkbox" name="bronchitis_tms_retracted_right"></input></td>
163 <td align="right"><?php xl('Left:','e'); ?></td>
164 <td><input type="checkbox" name="bronchitis_tms_retracted_left"></input></td>
165 </tr>
167 <tr>
168 <td width="50"></td>
169 <td align="right"><?php xl('Bulging Right:','e'); ?></td>
170 <td><input type="checkbox" name="bronchitis_tms_bulging_right"></input></td>
171 <td align="right"><?php xl('Left:','e'); ?></td>
172 <td><input type="checkbox" name="bronchitis_tms_bulging_left"></input></td>
174 </tr>
176 <tr>
177 <td width="50"></td>
178 <td align="right"><?php xl('Perforated Right:','e'); ?></td>
179 <td><input type="checkbox" name="bronchitis_tms_perforated_right"></input></td>
180 <td align="right"><?php xl('Left:','e'); ?></td>
181 <td><input type="checkbox" name="bronchitis_tms_perforated_left"></input></td>
182 </tr>
183 </table>
185 <table>
186 <tr>
187 <td width="220" align="right"><?php xl('Not Examined:','e'); ?></td>
188 <td><input type="checkbox" name="bronchitis_tms_nares_not_examined"></input></td>
189 </tr>
190 </table>
191 <br></br>
193 <table>
194 <tr>
195 <td width="90"><?php xl('SINUS TENDERNESS:','e'); ?></td>
196 <td align="right"><?php xl('No Sinus Tenderness:','e'); ?></td>
197 <td><input type="checkbox" name="bronchitis_no_sinus_tenderness"></input></td>
198 <td align="right"></td>
200 <td width="90"><?php xl('OROPHARYNX: ','e'); ?></td>
201 <td align="right"><?php xl('Normal Oropharynx:','e'); ?></td>
202 <td><input type="checkbox" name="bronchitis_oropharynx_normal"></input></td>
203 <td align="right"></td>
204 </tr>
206 <tr>
207 <td width="50"></td>
208 <td align="right"><?php xl('Frontal Right:','e'); ?></td>
209 <td><input type="checkbox" name="bronchitis_sinus_tenderness_frontal_right"></input></td>
210 <td align="right"><?php xl('Left:','e'); ?></td>
211 <td><input type="checkbox" name="bronchitis_sinus_tenderness_frontal_left"></input></td>
212 <td align="right"><?php xl('Erythema:','e'); ?></td>
213 <td><input type="checkbox" name="bronchitis_oropharynx_erythema"></input></td>
214 <td align="right"><?php xl('Exudate:','e'); ?></td>
215 <td><input type="checkbox" name="bronchitis_oropharynx_exudate"></input></td>
216 <td align="right"><?php xl('Abcess:','e'); ?></td>
217 <td><input type="checkbox" name="bronchitis_oropharynx_abcess"></input></td>
218 <td align="right"><?php xl('Ulcers:','e'); ?></td>
219 <td><input type="checkbox" name="bronchitis_oropharynx_ulcers"></input></td>
220 </tr>
222 <tr>
223 <td width="50"></td>
224 <td align="right"><?php xl('Maxillary Right:','e'); ?></td>
225 <td><input type="checkbox" name="bronchitis_sinus_tenderness_maxillary_right"></input></td>
226 <td align="right"><?php xl('Left:','e'); ?></td>
227 <td><input type="checkbox" name="bronchitis_sinus_tenderness_maxillary_left"></input></td>
229 <td width="120" align="right"><?php xl('Appearance:','e'); ?></td>
230 <td><input type="text" name="bronchitis_oropharynx_appearance" size="10" value="normal"></input></td>
231 </tr>
232 </table>
234 <table>
235 <tr>
236 <td width="238" align="right" ><?php xl('Not Examined:','e'); ?> </td>
237 <td><input type="checkbox" name="bronchitis_sinus_tenderness_not_examined"></input></td>
238 <td width="268" align="right" ><?php xl('Not Examined:','e'); ?> </td>
239 <td><input type="checkbox" name="bronchitis_oropharynx_not_examined"></input></td>
240 </tr>
241 </table>
242 <br></br>
244 <table>
245 <tr>
246 <td width="60"><?php xl('HEART:','e');?></td>
247 <td align="right"><?php xl('laterally displaced PMI:','e'); ?></td>
248 <td><input type="checkbox" name="bronchitis_heart_pmi"></input></td>
249 <td align="right"><?php xl('S3:','e'); ?></td>
250 <td><input type="checkbox" name="bronchitis_heart_s3"></input></td>
251 <td align="right"><?php xl('S4:','e'); ?></td>
252 <td><input type="checkbox" name="bronchitis_heart_s4"></input></td>
253 </tr>
254 <tr>
255 <td width="60"></td>
256 <td align="right"><?php xl('Click:','e'); ?></td>
257 <td><input type="checkbox" name="bronchitis_heart_click"></input></td>
258 <td align="right"><?php xl('Rub:','e'); ?></td>
259 <td><input type="checkbox" name="bronchitis_heart_rub"></input></td>
260 </tr>
261 </table>
263 <table>
264 <tr>
265 <td width="60"></td>
266 <td><?php xl('Murmur:','e'); ?></td>
267 <td><input type="text" name="bronchitis_heart_murmur" size="10" value="none"></input></td>
268 <td><?php xl('Grade:','e'); ?></td>
269 <td><input type="text" name="bronchitis_heart_grade" size="10" value="n/a"></input></td>
270 <td><?php xl('Location:','e'); ?></td>
271 <td><input type="text" name="bronchitis_heart_location" size="10" value="n/a"></input></td>
272 </tr>
273 </table>
275 <table>
276 <tr>
277 <td width="203" align="right" ><?php xl('Normal Cardiac Exam: ','e'); ?></td>
278 <td><input type="checkbox" name="bronchitis_heart_normal"></input></td>
279 <td width="93" align="right"><?php xl('Not Examined:','e'); ?> </td>
280 <td><input type="checkbox" name="bronchitis_heart_not_examined"></input></td>
281 </tr>
282 </table>
283 <br></br>
285 <table>
286 <tr>
287 <td width="60"><?php xl('LUNGS:','e'); ?></td>
288 <td width="106"><?php xl('Breath Sounds:','e'); ?></td>
289 <td align="right"> <?php xl('normal:','e'); ?></td>
290 <td><input type="checkbox" name="bronchitis_lungs_bs_normal"></input></td>
291 <td align="right"><?php xl('reduced:','e'); ?></td>
292 <td><input type="checkbox" name="bronchitis_lungs_bs_reduced"></input></td>
293 <td align="right"><?php xl('increased:','e'); ?></td>
294 <td><input type="checkbox" name="bronchitis_lungs_bs_increased"></input></td>
295 </tr>
297 <tr>
298 <td width="60"></td>
299 <td><?php xl('Crackles:','e'); ?></td>
300 <td align="right"><?php xl('LLL:','e'); ?></td>
301 <td><input type="checkbox" name="bronchitis_lungs_crackles_lll"></input></td>
302 <td align="right"><?php xl('RLL:','e'); ?></td>
303 <td><input type="checkbox" name="bronchitis_lungs_crackles_rll"></input></td>
304 <td align="right"><?php xl('Bilateral:','e'); ?></td>
305 <td><input type="checkbox" name="bronchitis_lungs_crackles_bll"></input></td>
306 </tr>
308 <tr>
309 <td width="60"></td>
310 <td><?php xl('Rubs:','e'); ?></td>
311 <td align="right"><?php xl('LLL:','e'); ?></td>
312 <td><input type="checkbox" name="bronchitis_lungs_rubs_lll"></input></td>
313 <td align="right"><?php xl('RLL:','e'); ?></td>
314 <td><input type="checkbox" name="bronchitis_lungs_rubs_rll"></input></td>
315 <td align="right"><?php xl('Bilateral:','e'); ?></td>
316 <td><input type="checkbox" name="bronchitis_lungs_rubs_bll"></input></td>
317 </tr>
319 <tr>
320 <td width="60"></td>
321 <td><?php xl('Wheezes:','e'); ?></td>
322 <td align="right"><?php xl('LLL:','e'); ?></td>
323 <td><input type="checkbox" name="bronchitis_lungs_wheezes_lll"></input></td>
324 <td align="right"><?php xl('RLL:','e'); ?></td>
325 <td><input type="checkbox" name="bronchitis_lungs_wheezes_rll"></input></td>
326 <td align="right"><?php xl('Bilateral:','e'); ?></td>
327 <td><input type="checkbox" name="bronchitis_lungs_wheezes_bll"></input></td>
328 <td align="right"><?php xl('Diffuse:','e'); ?></td>
329 <td><input type="checkbox" name="bronchitis_lungs_wheezes_dll"></input></td>
330 </tr>
331 </table>
333 <table>
334 <tr>
335 <td width="218" align="right" ><?php xl('Normal Lung Exam: ','e'); ?></td>
336 <td><input type="checkbox" name="bronchitis_lungs_normal_exam"></input></td>
337 <td width="140" align="right" ><?php xl('Not Examined: ','e'); ?></td>
338 <td><input type="checkbox" name="bronchitis_lungs_not_examined"></input></td>
339 </tr>
340 </table>
341 <br></br>
343 <span class="text" ><?php xl('Diagnostic Tests:','e'); ?></span><br></br>
344 <textarea name="bronchitis_diagnostic_tests" rows="4" cols="67" wrap="virtual name"></textarea>
345 <br></br>
347 <span class="text" ><?php xl('Diagnosis:','e'); ?> </span>
348 <table><tr>
349 <td>
350 <select name="diagnosis1_bronchitis_form" >
351 <option value="None"><?php xl('None','e'); ?></option>
352 <option value="465.9, URI"><?php xl('465.9, URI','e'); ?></option>
353 <option value="466.0, Bronchitis, Acute NOS"><?php xl('466.0, Bronchitis, Acute NOS','e'); ?></option>
354 <option value="493.92, Astma, Acute Exac."><?php xl('493.92, Asthma, Acute Exac.','e'); ?></option>
355 <option value="491.8, Bronchitis, Chronic"><?php xl('491.8, Bronchitis, Chronic','e'); ?></option>
356 <option value="496.0, COPD"><?php xl('496.0, COPD','e'); ?></option>
357 <option value="491.21,COPD Exacerbation"><?php xl('491.21, COPD Exacerbation','e'); ?></option>
358 <option value="486.0, Pneumonia, Acute"><?php xl('486.0, Pneumonia, Acute','e'); ?></option>
359 <option value="519.7, Bronchospasm"><?php xl('519.7, Bronchospasm','e'); ?></option>
360 <br><br>
361 </select>
362 </td>
363 </tr>
364 <tr>
365 <td>
366 <select name="diagnosis2_bronchitis_form">
367 <option value="None"><?php xl('None','e'); ?></option>
368 <option value="465.9, URI"><?php xl('465.9, URI','e'); ?></option>
369 <option value="466.0, Bronchitis, Acute NOS"><?php xl('466.0, Bronchitis, Acute NOS','e'); ?></option>
370 <option value="493.92, Asthma, Acute Exac."><?php xl('493.92, Asthma, Acute Exac.','e'); ?></option>
371 <option value="491.8, Bronchitis, Chronic"><?php xl('491.8, Bronchitis, Chronic','e'); ?></option>
372 <option value="496.0, COPD"><?php xl('496.0, COPD','e'); ?></option>
373 <option value="491.21,COPD Exacerbation"><?php xl('491.21, COPD Exacerbation','e'); ?></option>
374 <option value="486.0, Pneumonia, Acute"><?php xl('486.0, Pneumonia, Acute','e'); ?></option>
375 <option value="519.7, Bronchospasm"><?php xl('519.7, Bronchospasm','e'); ?></option>
376 <br><br>
377 </select>
378 </td>
379 </tr>
380 <tr>
381 <td>
382 <select name="diagnosis3_bronchitis_form">
383 <option value="None"><?php xl('None','e'); ?></option>
384 <option value="465.9, URI"><?php xl('465.9, URI','e'); ?></option>
385 <option value="466.0, Bronchitis, Acute NOS"><?php xl('466.0, Bronchitis, Acute NOS','e'); ?></option>
386 <option value="493.92, Asthma, Acute Exac."><?php xl('493.92, Asthma, Acute Exac.','e'); ?></option>
387 <option value="491.8, Bronchitis, Chronic"><?php xl('491.8, Bronchitis, Chronic','e'); ?></option>
388 <option value="496.0, COPD"><?php xl('496.0, COPD','e'); ?></option>
389 <option value="491.21,COPD Exacerbation"><?php xl('491.21, COPD Exacerbation','e'); ?></option>
390 <option value="486.0, Pneumonia, Acute"><?php xl('486.0, Pneumonia, Acute','e'); ?></option>
391 <option value="519.7, Bronchospasm"><?php xl('519.7, Bronchospasm','e'); ?></option>
392 <br><br>
393 </select>
394 </td>
395 </tr>
396 <tr>
397 <td>
398 <select name="diagnosis4_bronchitis_form">
399 <option value="None"><?php xl('None','e'); ?></option>
400 <option value="465.9, URI"><?php xl('465.9, URI','e'); ?></option>
401 <option value="466.0, Bronchitis, Acute NOS"><?php xl('466.0, Bronchitis, Acute NOS','e'); ?></option>
402 <option value="493.92, Asthma, Acute Exac."><?php xl('493.92, Asthma, Acute Exac.','e'); ?></option>
403 <option value="491.8, Bronchitis, Chronic"><?php xl('491.8, Bronchitis, Chronic','e'); ?></option>
404 <option value="496.0, COPD"><?php xl('496.0, COPD','e'); ?></option>
405 <option value="491.21,COPD Exacerbation"><?php xl('491.21, COPD Exacerbation','e'); ?></option>
406 <option value="486.0, Pneumonia, Acute"><?php xl('486.0, Pneumonia, Acute','e'); ?></option>
407 <option value="519.7, Bronchospasm"><?php xl('519.7, Bronchospasm','e'); ?></option>
408 <br><br>
409 </select>
410 </td>
411 </tr>
412 <table>
413 <br></br>
415 <span class="text" ><?php xl('Additional Diagnosis:','e'); ?> </span><br></br>
416 <textarea name="bronchitis_additional_diagnosis" rows="4" cols="67" wrap="virtual name"></textarea>
417 <br></br>
419 <span class="text" ><?php xl('Treatment:','e'); ?> </span><br></br>
420 <textarea name="bronchitis_treatment" rows="4" cols="67" wrap="virtual name"></textarea>
422 <br></br>
423 <input type="Button" value="<?php xl('Check Input Data','e'); ?>" style="color: #483D8B" onClick = "onset_check(my_form)"<br>
424 <br>
425 <a href="javascript:top.restoreSession();document.my_form.submit();" class="link_submit">[<?php xl('Save','e'); ?>]</a>
426 <br>
427 <a href="<?php echo "$rootdir/patient_file/encounter/$returnurl";?>" class="link" style="color: #483D8B"
428 onclick="top.restoreSession()">[<?php xl('Don\'t Save','e'); ?>]</a>
429 </form>
431 <?php
432 formFooter();