fixed, contribution by danly7
[openemr.git] / contrib / forms / ros2 / report.php
blobc498fb7457a279dbb3f9e629cf2f06c31d85c2cd
1 <?php
2 // Copyright (C) 2009 Aron Racho <aron@mi-squared.com>
3 //
4 // This program is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU General Public License
6 // as published by the Free Software Foundation; either version 2
7 //------------Forms generated from formsWiz
8 include_once("../../globals.php");
9 include_once($GLOBALS["srcdir"] . "/api.inc");
10 function ros2_report( $pid, $encounter, $cols, $id) {
11 $count = 0;
12 $data = formFetch("form_ros2", $id);
13 //echo "${data['general_headache']}";
14 if ($data) {
15 print "<table cellpadding=0 cellspacing=3px border=0>";
17 echo "<tr><td colspan='3'><span class='bold'><u>GENERAL:</u></span></td></tr>";
18 if ( ($data["general_headache"] != "N/A" && $data["general_headache"] != "" && $data["general_headache"] != "--") || ( $data["general_headache_text"] != "" && $data["general_headache_text"] != null ) ) {
19 echo "<tr>";
20 echo "<td>";
21 echo "<span class='text'>headache:<span>";
22 echo "</td>";
23 echo "<td>";
24 echo "<span class='text'>${data['general_headache']}</span>";
25 echo "</td>";
26 echo "<td>";
27 if ( $data['general_headache_text'] != null ) {
28 echo "<span class='text'>(${data['general_headache_text']})</span>";
29 } else {
30 echo "<br/>";
32 echo "</td>";
33 echo "</tr>";
35 if ( ($data["general_fever"] != "N/A" && $data["general_fever"] != "" && $data["general_fever"] != "--") || ( $data["general_fever_text"] != "" && $data["general_fever_text"] != null ) ) {
36 echo "<tr>";
37 echo "<td>";
38 echo "<span class='text'>fever:<span>";
39 echo "</td>";
40 echo "<td>";
41 echo "<span class='text'>${data['general_fever']}</span>";
42 echo "</td>";
43 echo "<td>";
44 if ( $data['general_fever_text'] != null ) {
45 echo "<span class='text'>(${data['general_fever_text']})</span>";
46 } else {
47 echo "<br/>";
49 echo "</td>";
50 echo "</tr>";
52 if ( ($data["general_chills"] != "N/A" && $data["general_chills"] != "" && $data["general_chills"] != "--") || ( $data["general_chills_text"] != "" && $data["general_chills_text"] != null ) ) {
53 echo "<tr>";
54 echo "<td>";
55 echo "<span class='text'>chills:<span>";
56 echo "</td>";
57 echo "<td>";
58 echo "<span class='text'>${data['general_chills']}</span>";
59 echo "</td>";
60 echo "<td>";
61 if ( $data['general_chills_text'] != null ) {
62 echo "<span class='text'>(${data['general_chills_text']})</span>";
63 } else {
64 echo "<br/>";
66 echo "</td>";
67 echo "</tr>";
69 if ( ($data["general_body_aches"] != "N/A" && $data["general_body_aches"] != "" && $data["general_body_aches"] != "--") || ( $data["general_body_aches_text"] != "" && $data["general_body_aches_text"] != null ) ) {
70 echo "<tr>";
71 echo "<td>";
72 echo "<span class='text'>body aches:<span>";
73 echo "</td>";
74 echo "<td>";
75 echo "<span class='text'>${data['general_body_aches']}</span>";
76 echo "</td>";
77 echo "<td>";
78 if ( $data['general_body_aches_text'] != null ) {
79 echo "<span class='text'>(${data['general_body_aches_text']})</span>";
80 } else {
81 echo "<br/>";
83 echo "</td>";
84 echo "</tr>";
86 if ( ($data["general_fatigue"] != "N/A" && $data["general_fatigue"] != "" && $data["general_fatigue"] != "--") || ( $data["general_fatigue_text"] != "" && $data["general_fatigue_text"] != null ) ) {
87 echo "<tr>";
88 echo "<td>";
89 echo "<span class='text'>fatigue:<span>";
90 echo "</td>";
91 echo "<td>";
92 echo "<span class='text'>${data['general_fatigue']}</span>";
93 echo "</td>";
94 echo "<td>";
95 if ( $data['general_fatigue_text'] != null ) {
96 echo "<span class='text'>(${data['general_fatigue_text']})</span>";
97 } else {
98 echo "<br/>";
100 echo "</td>";
101 echo "</tr>";
103 if ( ($data["general_loss_of_appetite"] != "N/A" && $data["general_loss_of_appetite"] != "" && $data["general_loss_of_appetite"] != "--") || ( $data["general_loss_of_appetite_text"] != "" && $data["general_loss_of_appetite_text"] != null ) ) {
104 echo "<tr>";
105 echo "<td>";
106 echo "<span class='text'>loss of appetite:<span>";
107 echo "</td>";
108 echo "<td>";
109 echo "<span class='text'>${data['general_loss_of_appetite']}</span>";
110 echo "</td>";
111 echo "<td>";
112 if ( $data['general_loss_of_appetite_text'] != null ) {
113 echo "<span class='text'>(${data['general_loss_of_appetite_text']})</span>";
114 } else {
115 echo "<br/>";
117 echo "</td>";
118 echo "</tr>";
120 if ( ($data["general_weight_loss"] != "N/A" && $data["general_weight_loss"] != "" && $data["general_weight_loss"] != "--") || ( $data["general_weight_loss_text"] != "" && $data["general_weight_loss_text"] != null ) ) {
121 echo "<tr>";
122 echo "<td>";
123 echo "<span class='text'>weight loss:<span>";
124 echo "</td>";
125 echo "<td>";
126 echo "<span class='text'>${data['general_weight_loss']}</span>";
127 echo "</td>";
128 echo "<td>";
129 if ( $data['general_weight_loss_text'] != null ) {
130 echo "<span class='text'>(${data['general_weight_loss_text']})</span>";
131 } else {
132 echo "<br/>";
134 echo "</td>";
135 echo "</tr>";
137 if ( ($data["general_daytime_drowsiness"] != "N/A" && $data["general_daytime_drowsiness"] != "" && $data["general_daytime_drowsiness"] != "--") || ( $data["general_daytime_drowsiness_text"] != "" && $data["general_daytime_drowsiness_text"] != null ) ) {
138 echo "<tr>";
139 echo "<td>";
140 echo "<span class='text'>daytime drowsiness:<span>";
141 echo "</td>";
142 echo "<td>";
143 echo "<span class='text'>${data['general_daytime_drowsiness']}</span>";
144 echo "</td>";
145 echo "<td>";
146 if ( $data['general_daytime_drowsiness_text'] != null ) {
147 echo "<span class='text'>(${data['general_daytime_drowsiness_text']})</span>";
148 } else {
149 echo "<br/>";
151 echo "</td>";
152 echo "</tr>";
154 if ( ($data["general_excessive_snoring"] != "N/A" && $data["general_excessive_snoring"] != "" && $data["general_excessive_snoring"] != "--") || ( $data["general_excessive_snoring_text"] != "" && $data["general_excessive_snoring_text"] != null ) ) {
155 echo "<tr>";
156 echo "<td>";
157 echo "<span class='text'>excessive snoring:<span>";
158 echo "</td>";
159 echo "<td>";
160 echo "<span class='text'>${data['general_excessive_snoring']}</span>";
161 echo "</td>";
162 echo "<td>";
163 if ( $data['general_excessive_snoring_text'] != null ) {
164 echo "<span class='text'>(${data['general_excessive_snoring_text']})</span>";
165 } else {
166 echo "<br/>";
168 echo "</td>";
169 echo "</tr>";
171 echo "<tr><td colspan='3'><span class='bold'><u>NEURO:</u></span></td></tr>";
172 if ( ($data["neuro_disorientation"] != "N/A" && $data["neuro_disorientation"] != "" && $data["neuro_disorientation"] != "--") || ( $data["neuro_disorientation_text"] != "" && $data["neuro_disorientation_text"] != null ) ) {
173 echo "<tr>";
174 echo "<td>";
175 echo "<span class='text'>disorientation:<span>";
176 echo "</td>";
177 echo "<td>";
178 echo "<span class='text'>${data['neuro_disorientation']}</span>";
179 echo "</td>";
180 echo "<td>";
181 if ( $data['neuro_disorientation_text'] != null ) {
182 echo "<span class='text'>(${data['neuro_disorientation_text']})</span>";
183 } else {
184 echo "<br/>";
186 echo "</td>";
187 echo "</tr>";
189 if ( ($data["neuro_loss_of_consciousness"] != "N/A" && $data["neuro_loss_of_consciousness"] != "" && $data["neuro_loss_of_consciousness"] != "--") || ( $data["neuro_loss_of_consciousness_text"] != "" && $data["neuro_loss_of_consciousness_text"] != null ) ) {
190 echo "<tr>";
191 echo "<td>";
192 echo "<span class='text'>loss of consciousness:<span>";
193 echo "</td>";
194 echo "<td>";
195 echo "<span class='text'>${data['neuro_loss_of_consciousness']}</span>";
196 echo "</td>";
197 echo "<td>";
198 if ( $data['neuro_loss_of_consciousness_text'] != null ) {
199 echo "<span class='text'>(${data['neuro_loss_of_consciousness_text']})</span>";
200 } else {
201 echo "<br/>";
203 echo "</td>";
204 echo "</tr>";
206 if ( ($data["neuro_numbness"] != "N/A" && $data["neuro_numbness"] != "" && $data["neuro_numbness"] != "--") || ( $data["neuro_numbness_text"] != "" && $data["neuro_numbness_text"] != null ) ) {
207 echo "<tr>";
208 echo "<td>";
209 echo "<span class='text'>numbness:<span>";
210 echo "</td>";
211 echo "<td>";
212 echo "<span class='text'>${data['neuro_numbness']}</span>";
213 echo "</td>";
214 echo "<td>";
215 if ( $data['neuro_numbness_text'] != null ) {
216 echo "<span class='text'>(${data['neuro_numbness_text']})</span>";
217 } else {
218 echo "<br/>";
220 echo "</td>";
221 echo "</tr>";
223 if ( ($data["neuro_tingling"] != "N/A" && $data["neuro_tingling"] != "" && $data["neuro_tingling"] != "--") || ( $data["neuro_tingling_text"] != "" && $data["neuro_tingling_text"] != null ) ) {
224 echo "<tr>";
225 echo "<td>";
226 echo "<span class='text'>tingling:<span>";
227 echo "</td>";
228 echo "<td>";
229 echo "<span class='text'>${data['neuro_tingling']}</span>";
230 echo "</td>";
231 echo "<td>";
232 if ( $data['neuro_tingling_text'] != null ) {
233 echo "<span class='text'>(${data['neuro_tingling_text']})</span>";
234 } else {
235 echo "<br/>";
237 echo "</td>";
238 echo "</tr>";
240 if ( ($data["neuro_restlessness"] != "N/A" && $data["neuro_restlessness"] != "" && $data["neuro_restlessness"] != "--") || ( $data["neuro_restlessness_text"] != "" && $data["neuro_restlessness_text"] != null ) ) {
241 echo "<tr>";
242 echo "<td>";
243 echo "<span class='text'>restlessness:<span>";
244 echo "</td>";
245 echo "<td>";
246 echo "<span class='text'>${data['neuro_restlessness']}</span>";
247 echo "</td>";
248 echo "<td>";
249 if ( $data['neuro_restlessness_text'] != null ) {
250 echo "<span class='text'>(${data['neuro_restlessness_text']})</span>";
251 } else {
252 echo "<br/>";
254 echo "</td>";
255 echo "</tr>";
257 if ( ($data["neuro_dizziness"] != "N/A" && $data["neuro_dizziness"] != "" && $data["neuro_dizziness"] != "--") || ( $data["neuro_dizziness_text"] != "" && $data["neuro_dizziness_text"] != null ) ) {
258 echo "<tr>";
259 echo "<td>";
260 echo "<span class='text'>dizziness:<span>";
261 echo "</td>";
262 echo "<td>";
263 echo "<span class='text'>${data['neuro_dizziness']}</span>";
264 echo "</td>";
265 echo "<td>";
266 if ( $data['neuro_dizziness_text'] != null ) {
267 echo "<span class='text'>(${data['neuro_dizziness_text']})</span>";
268 } else {
269 echo "<br/>";
271 echo "</td>";
272 echo "</tr>";
274 if ( ($data["neuro_vertigo"] != "N/A" && $data["neuro_vertigo"] != "" && $data["neuro_vertigo"] != "--") || ( $data["neuro_vertigo_text"] != "" && $data["neuro_vertigo_text"] != null ) ) {
275 echo "<tr>";
276 echo "<td>";
277 echo "<span class='text'>vertigo:<span>";
278 echo "</td>";
279 echo "<td>";
280 echo "<span class='text'>${data['neuro_vertigo']}</span>";
281 echo "</td>";
282 echo "<td>";
283 if ( $data['neuro_vertigo_text'] != null ) {
284 echo "<span class='text'>(${data['neuro_vertigo_text']})</span>";
285 } else {
286 echo "<br/>";
288 echo "</td>";
289 echo "</tr>";
291 if ( ($data["neuro_amaurosis_fugax"] != "N/A" && $data["neuro_amaurosis_fugax"] != "" && $data["neuro_amaurosis_fugax"] != "--") || ( $data["neuro_amaurosis_fugax_text"] != "" && $data["neuro_amaurosis_fugax_text"] != null ) ) {
292 echo "<tr>";
293 echo "<td>";
294 echo "<span class='text'>Amaurosis Fugax:<span>";
295 echo "</td>";
296 echo "<td>";
297 echo "<span class='text'>${data['neuro_amaurosis_fugax']}</span>";
298 echo "</td>";
299 echo "<td>";
300 if ( $data['neuro_amaurosis_fugax_text'] != null ) {
301 echo "<span class='text'>(${data['neuro_amaurosis_fugax_text']})</span>";
302 } else {
303 echo "<br/>";
305 echo "</td>";
306 echo "</tr>";
308 if ( ($data["neuro_stroke"] != "N/A" && $data["neuro_stroke"] != "" && $data["neuro_stroke"] != "--") || ( $data["neuro_stroke_text"] != "" && $data["neuro_stroke_text"] != null ) ) {
309 echo "<tr>";
310 echo "<td>";
311 echo "<span class='text'>Stroke:<span>";
312 echo "</td>";
313 echo "<td>";
314 echo "<span class='text'>${data['neuro_stroke']}</span>";
315 echo "</td>";
316 echo "<td>";
317 if ( $data['neuro_stroke_text'] != null ) {
318 echo "<span class='text'>(${data['neuro_stroke_text']})</span>";
319 } else {
320 echo "<br/>";
322 echo "</td>";
323 echo "</tr>";
325 if ( ($data["neuro_gait_abnormality"] != "N/A" && $data["neuro_gait_abnormality"] != "" && $data["neuro_gait_abnormality"] != "--") || ( $data["neuro_gait_abnormality_text"] != "" && $data["neuro_gait_abnormality_text"] != null ) ) {
326 echo "<tr>";
327 echo "<td>";
328 echo "<span class='text'>Gait Abnormality:<span>";
329 echo "</td>";
330 echo "<td>";
331 echo "<span class='text'>${data['neuro_gait_abnormality']}</span>";
332 echo "</td>";
333 echo "<td>";
334 if ( $data['neuro_gait_abnormality_text'] != null ) {
335 echo "<span class='text'>(${data['neuro_gait_abnormality_text']})</span>";
336 } else {
337 echo "<br/>";
339 echo "</td>";
340 echo "</tr>";
342 if ( ($data["neuro_frequent_headaches"] != "N/A" && $data["neuro_frequent_headaches"] != "" && $data["neuro_frequent_headaches"] != "--") || ( $data["neuro_frequent_headaches_text"] != "" && $data["neuro_frequent_headaches_text"] != null ) ) {
343 echo "<tr>";
344 echo "<td>";
345 echo "<span class='text'>Frequent headaches:<span>";
346 echo "</td>";
347 echo "<td>";
348 echo "<span class='text'>${data['neuro_frequent_headaches']}</span>";
349 echo "</td>";
350 echo "<td>";
351 if ( $data['neuro_frequent_headaches_text'] != null ) {
352 echo "<span class='text'>(${data['neuro_frequent_headaches_text']})</span>";
353 } else {
354 echo "<br/>";
356 echo "</td>";
357 echo "</tr>";
359 if ( ($data["neuro_parathesias"] != "N/A" && $data["neuro_parathesias"] != "" && $data["neuro_parathesias"] != "--") || ( $data["neuro_parathesias_text"] != "" && $data["neuro_parathesias_text"] != null ) ) {
360 echo "<tr>";
361 echo "<td>";
362 echo "<span class='text'>Parathesias:<span>";
363 echo "</td>";
364 echo "<td>";
365 echo "<span class='text'>${data['neuro_parathesias']}</span>";
366 echo "</td>";
367 echo "<td>";
368 if ( $data['neuro_parathesias_text'] != null ) {
369 echo "<span class='text'>(${data['neuro_parathesias_text']})</span>";
370 } else {
371 echo "<br/>";
373 echo "</td>";
374 echo "</tr>";
376 if ( ($data["neuro_seizures"] != "N/A" && $data["neuro_seizures"] != "" && $data["neuro_seizures"] != "--") || ( $data["neuro_seizures_text"] != "" && $data["neuro_seizures_text"] != null ) ) {
377 echo "<tr>";
378 echo "<td>";
379 echo "<span class='text'>Seizures:<span>";
380 echo "</td>";
381 echo "<td>";
382 echo "<span class='text'>${data['neuro_seizures']}</span>";
383 echo "</td>";
384 echo "<td>";
385 if ( $data['neuro_seizures_text'] != null ) {
386 echo "<span class='text'>(${data['neuro_seizures_text']})</span>";
387 } else {
388 echo "<br/>";
390 echo "</td>";
391 echo "</tr>";
393 if ( ($data["neuro_trans_ischemic_attacks"] != "N/A" && $data["neuro_trans_ischemic_attacks"] != "" && $data["neuro_trans_ischemic_attacks"] != "--") || ( $data["neuro_trans_ischemic_attacks_text"] != "" && $data["neuro_trans_ischemic_attacks_text"] != null ) ) {
394 echo "<tr>";
395 echo "<td>";
396 echo "<span class='text'>Trans Ischemic Attacks:<span>";
397 echo "</td>";
398 echo "<td>";
399 echo "<span class='text'>${data['neuro_trans_ischemic_attacks']}</span>";
400 echo "</td>";
401 echo "<td>";
402 if ( $data['neuro_trans_ischemic_attacks_text'] != null ) {
403 echo "<span class='text'>(${data['neuro_trans_ischemic_attacks_text']})</span>";
404 } else {
405 echo "<br/>";
407 echo "</td>";
408 echo "</tr>";
410 if ( ($data["neuro_significant_tremors"] != "N/A" && $data["neuro_significant_tremors"] != "" && $data["neuro_significant_tremors"] != "--") || ( $data["neuro_significant_tremors_text"] != "" && $data["neuro_significant_tremors_text"] != null ) ) {
411 echo "<tr>";
412 echo "<td>";
413 echo "<span class='text'>Significant Tremors:<span>";
414 echo "</td>";
415 echo "<td>";
416 echo "<span class='text'>${data['neuro_significant_tremors']}</span>";
417 echo "</td>";
418 echo "<td>";
419 if ( $data['neuro_significant_tremors_text'] != null ) {
420 echo "<span class='text'>(${data['neuro_significant_tremors_text']})</span>";
421 } else {
422 echo "<br/>";
424 echo "</td>";
425 echo "</tr>";
427 echo "<tr><td colspan='3'><span class='bold'><u>NECK:</u></span></td></tr>";
428 if ( ($data["neck_neck_stiffness"] != "N/A" && $data["neck_neck_stiffness"] != "" && $data["neck_neck_stiffness"] != "--") || ( $data["neck_neck_stiffness_text"] != "" && $data["neck_neck_stiffness_text"] != null ) ) {
429 echo "<tr>";
430 echo "<td>";
431 echo "<span class='text'>neck stiffness:<span>";
432 echo "</td>";
433 echo "<td>";
434 echo "<span class='text'>${data['neck_neck_stiffness']}</span>";
435 echo "</td>";
436 echo "<td>";
437 if ( $data['neck_neck_stiffness_text'] != null ) {
438 echo "<span class='text'>(${data['neck_neck_stiffness_text']})</span>";
439 } else {
440 echo "<br/>";
442 echo "</td>";
443 echo "</tr>";
445 if ( ($data["neck_neck_pain"] != "N/A" && $data["neck_neck_pain"] != "" && $data["neck_neck_pain"] != "--") || ( $data["neck_neck_pain_text"] != "" && $data["neck_neck_pain_text"] != null ) ) {
446 echo "<tr>";
447 echo "<td>";
448 echo "<span class='text'>neck pain:<span>";
449 echo "</td>";
450 echo "<td>";
451 echo "<span class='text'>${data['neck_neck_pain']}</span>";
452 echo "</td>";
453 echo "<td>";
454 if ( $data['neck_neck_pain_text'] != null ) {
455 echo "<span class='text'>(${data['neck_neck_pain_text']})</span>";
456 } else {
457 echo "<br/>";
459 echo "</td>";
460 echo "</tr>";
462 if ( ($data["neck_neck_masses"] != "N/A" && $data["neck_neck_masses"] != "" && $data["neck_neck_masses"] != "--") || ( $data["neck_neck_masses_text"] != "" && $data["neck_neck_masses_text"] != null ) ) {
463 echo "<tr>";
464 echo "<td>";
465 echo "<span class='text'>Neck Masses:<span>";
466 echo "</td>";
467 echo "<td>";
468 echo "<span class='text'>${data['neck_neck_masses']}</span>";
469 echo "</td>";
470 echo "<td>";
471 if ( $data['neck_neck_masses_text'] != null ) {
472 echo "<span class='text'>(${data['neck_neck_masses_text']})</span>";
473 } else {
474 echo "<br/>";
476 echo "</td>";
477 echo "</tr>";
479 if ( ($data["neck_neck_tenderness"] != "N/A" && $data["neck_neck_tenderness"] != "" && $data["neck_neck_tenderness"] != "--") || ( $data["neck_neck_tenderness_text"] != "" && $data["neck_neck_tenderness_text"] != null ) ) {
480 echo "<tr>";
481 echo "<td>";
482 echo "<span class='text'>Neck Tenderness:<span>";
483 echo "</td>";
484 echo "<td>";
485 echo "<span class='text'>${data['neck_neck_tenderness']}</span>";
486 echo "</td>";
487 echo "<td>";
488 if ( $data['neck_neck_tenderness_text'] != null ) {
489 echo "<span class='text'>(${data['neck_neck_tenderness_text']})</span>";
490 } else {
491 echo "<br/>";
493 echo "</td>";
494 echo "</tr>";
496 echo "<tr><td colspan='3'><span class='bold'><u>HEENT:</u></span></td></tr>";
497 if ( ($data["heent_oral_ulcers"] != "N/A" && $data["heent_oral_ulcers"] != "" && $data["heent_oral_ulcers"] != "--") || ( $data["heent_oral_ulcers_text"] != "" && $data["heent_oral_ulcers_text"] != null ) ) {
498 echo "<tr>";
499 echo "<td>";
500 echo "<span class='text'>oral ulcers:<span>";
501 echo "</td>";
502 echo "<td>";
503 echo "<span class='text'>${data['heent_oral_ulcers']}</span>";
504 echo "</td>";
505 echo "<td>";
506 if ( $data['heent_oral_ulcers_text'] != null ) {
507 echo "<span class='text'>(${data['heent_oral_ulcers_text']})</span>";
508 } else {
509 echo "<br/>";
511 echo "</td>";
512 echo "</tr>";
514 if ( ($data["heent_excessive_cavities"] != "N/A" && $data["heent_excessive_cavities"] != "" && $data["heent_excessive_cavities"] != "--") || ( $data["heent_excessive_cavities_text"] != "" && $data["heent_excessive_cavities_text"] != null ) ) {
515 echo "<tr>";
516 echo "<td>";
517 echo "<span class='text'>Excessive Cavities:<span>";
518 echo "</td>";
519 echo "<td>";
520 echo "<span class='text'>${data['heent_excessive_cavities']}</span>";
521 echo "</td>";
522 echo "<td>";
523 if ( $data['heent_excessive_cavities_text'] != null ) {
524 echo "<span class='text'>(${data['heent_excessive_cavities_text']})</span>";
525 } else {
526 echo "<br/>";
528 echo "</td>";
529 echo "</tr>";
531 if ( ($data["heent_gingival_disease"] != "N/A" && $data["heent_gingival_disease"] != "" && $data["heent_gingival_disease"] != "--") || ( $data["heent_gingival_disease_text"] != "" && $data["heent_gingival_disease_text"] != null ) ) {
532 echo "<tr>";
533 echo "<td>";
534 echo "<span class='text'>Gingival Disease:<span>";
535 echo "</td>";
536 echo "<td>";
537 echo "<span class='text'>${data['heent_gingival_disease']}</span>";
538 echo "</td>";
539 echo "<td>";
540 if ( $data['heent_gingival_disease_text'] != null ) {
541 echo "<span class='text'>(${data['heent_gingival_disease_text']})</span>";
542 } else {
543 echo "<br/>";
545 echo "</td>";
546 echo "</tr>";
548 if ( ($data["heent_persistent_hoarseness"] != "N/A" && $data["heent_persistent_hoarseness"] != "" && $data["heent_persistent_hoarseness"] != "--") || ( $data["heent_persistent_hoarseness_text"] != "" && $data["heent_persistent_hoarseness_text"] != null ) ) {
549 echo "<tr>";
550 echo "<td>";
551 echo "<span class='text'>Persistent hoarseness:<span>";
552 echo "</td>";
553 echo "<td>";
554 echo "<span class='text'>${data['heent_persistent_hoarseness']}</span>";
555 echo "</td>";
556 echo "<td>";
557 if ( $data['heent_persistent_hoarseness_text'] != null ) {
558 echo "<span class='text'>(${data['heent_persistent_hoarseness_text']})</span>";
559 } else {
560 echo "<br/>";
562 echo "</td>";
563 echo "</tr>";
565 if ( ($data["heent_mouth_lesions"] != "N/A" && $data["heent_mouth_lesions"] != "" && $data["heent_mouth_lesions"] != "--") || ( $data["heent_mouth_lesions_text"] != "" && $data["heent_mouth_lesions_text"] != null ) ) {
566 echo "<tr>";
567 echo "<td>";
568 echo "<span class='text'>Mouth Lesions:<span>";
569 echo "</td>";
570 echo "<td>";
571 echo "<span class='text'>${data['heent_mouth_lesions']}</span>";
572 echo "</td>";
573 echo "<td>";
574 if ( $data['heent_mouth_lesions_text'] != null ) {
575 echo "<span class='text'>(${data['heent_mouth_lesions_text']})</span>";
576 } else {
577 echo "<br/>";
579 echo "</td>";
580 echo "</tr>";
582 if ( ($data["heent_dysphagia"] != "N/A" && $data["heent_dysphagia"] != "" && $data["heent_dysphagia"] != "--") || ( $data["heent_dysphagia_text"] != "" && $data["heent_dysphagia_text"] != null ) ) {
583 echo "<tr>";
584 echo "<td>";
585 echo "<span class='text'>Dysphagia:<span>";
586 echo "</td>";
587 echo "<td>";
588 echo "<span class='text'>${data['heent_dysphagia']}</span>";
589 echo "</td>";
590 echo "<td>";
591 if ( $data['heent_dysphagia_text'] != null ) {
592 echo "<span class='text'>(${data['heent_dysphagia_text']})</span>";
593 } else {
594 echo "<br/>";
596 echo "</td>";
597 echo "</tr>";
599 if ( ($data["heent_odynophagia"] != "N/A" && $data["heent_odynophagia"] != "" && $data["heent_odynophagia"] != "--") || ( $data["heent_odynophagia_text"] != "" && $data["heent_odynophagia_text"] != null ) ) {
600 echo "<tr>";
601 echo "<td>";
602 echo "<span class='text'>Odynophagia:<span>";
603 echo "</td>";
604 echo "<td>";
605 echo "<span class='text'>${data['heent_odynophagia']}</span>";
606 echo "</td>";
607 echo "<td>";
608 if ( $data['heent_odynophagia_text'] != null ) {
609 echo "<span class='text'>(${data['heent_odynophagia_text']})</span>";
610 } else {
611 echo "<br/>";
613 echo "</td>";
614 echo "</tr>";
616 if ( ($data["heent_dental_pain"] != "N/A" && $data["heent_dental_pain"] != "" && $data["heent_dental_pain"] != "--") || ( $data["heent_dental_pain_text"] != "" && $data["heent_dental_pain_text"] != null ) ) {
617 echo "<tr>";
618 echo "<td>";
619 echo "<span class='text'>dental pain:<span>";
620 echo "</td>";
621 echo "<td>";
622 echo "<span class='text'>${data['heent_dental_pain']}</span>";
623 echo "</td>";
624 echo "<td>";
625 if ( $data['heent_dental_pain_text'] != null ) {
626 echo "<span class='text'>(${data['heent_dental_pain_text']})</span>";
627 } else {
628 echo "<br/>";
630 echo "</td>";
631 echo "</tr>";
633 if ( ($data["heent_sore_throat"] != "N/A" && $data["heent_sore_throat"] != "" && $data["heent_sore_throat"] != "--") || ( $data["heent_sore_throat_text"] != "" && $data["heent_sore_throat_text"] != null ) ) {
634 echo "<tr>";
635 echo "<td>";
636 echo "<span class='text'>sore throat:<span>";
637 echo "</td>";
638 echo "<td>";
639 echo "<span class='text'>${data['heent_sore_throat']}</span>";
640 echo "</td>";
641 echo "<td>";
642 if ( $data['heent_sore_throat_text'] != null ) {
643 echo "<span class='text'>(${data['heent_sore_throat_text']})</span>";
644 } else {
645 echo "<br/>";
647 echo "</td>";
648 echo "</tr>";
650 if ( ($data["heent_ear_pain"] != "N/A" && $data["heent_ear_pain"] != "" && $data["heent_ear_pain"] != "--") || ( $data["heent_ear_pain_text"] != "" && $data["heent_ear_pain_text"] != null ) ) {
651 echo "<tr>";
652 echo "<td>";
653 echo "<span class='text'>ear pain:<span>";
654 echo "</td>";
655 echo "<td>";
656 echo "<span class='text'>${data['heent_ear_pain']}</span>";
657 echo "</td>";
658 echo "<td>";
659 if ( $data['heent_ear_pain_text'] != null ) {
660 echo "<span class='text'>(${data['heent_ear_pain_text']})</span>";
661 } else {
662 echo "<br/>";
664 echo "</td>";
665 echo "</tr>";
667 if ( ($data["heent_ear_discharge"] != "N/A" && $data["heent_ear_discharge"] != "" && $data["heent_ear_discharge"] != "--") || ( $data["heent_ear_discharge_text"] != "" && $data["heent_ear_discharge_text"] != null ) ) {
668 echo "<tr>";
669 echo "<td>";
670 echo "<span class='text'>ear discharge:<span>";
671 echo "</td>";
672 echo "<td>";
673 echo "<span class='text'>${data['heent_ear_discharge']}</span>";
674 echo "</td>";
675 echo "<td>";
676 if ( $data['heent_ear_discharge_text'] != null ) {
677 echo "<span class='text'>(${data['heent_ear_discharge_text']})</span>";
678 } else {
679 echo "<br/>";
681 echo "</td>";
682 echo "</tr>";
684 if ( ($data["heent_tinnitus"] != "N/A" && $data["heent_tinnitus"] != "" && $data["heent_tinnitus"] != "--") || ( $data["heent_tinnitus_text"] != "" && $data["heent_tinnitus_text"] != null ) ) {
685 echo "<tr>";
686 echo "<td>";
687 echo "<span class='text'>tinnitus:<span>";
688 echo "</td>";
689 echo "<td>";
690 echo "<span class='text'>${data['heent_tinnitus']}</span>";
691 echo "</td>";
692 echo "<td>";
693 if ( $data['heent_tinnitus_text'] != null ) {
694 echo "<span class='text'>(${data['heent_tinnitus_text']})</span>";
695 } else {
696 echo "<br/>";
698 echo "</td>";
699 echo "</tr>";
701 if ( ($data["heent_hearing_loss"] != "N/A" && $data["heent_hearing_loss"] != "" && $data["heent_hearing_loss"] != "--") || ( $data["heent_hearing_loss_text"] != "" && $data["heent_hearing_loss_text"] != null ) ) {
702 echo "<tr>";
703 echo "<td>";
704 echo "<span class='text'>hearing loss:<span>";
705 echo "</td>";
706 echo "<td>";
707 echo "<span class='text'>${data['heent_hearing_loss']}</span>";
708 echo "</td>";
709 echo "<td>";
710 if ( $data['heent_hearing_loss_text'] != null ) {
711 echo "<span class='text'>(${data['heent_hearing_loss_text']})</span>";
712 } else {
713 echo "<br/>";
715 echo "</td>";
716 echo "</tr>";
718 if ( ($data["heent_allergic_rhinitis"] != "N/A" && $data["heent_allergic_rhinitis"] != "" && $data["heent_allergic_rhinitis"] != "--") || ( $data["heent_allergic_rhinitis_text"] != "" && $data["heent_allergic_rhinitis_text"] != null ) ) {
719 echo "<tr>";
720 echo "<td>";
721 echo "<span class='text'>Allergic Rhinitis:<span>";
722 echo "</td>";
723 echo "<td>";
724 echo "<span class='text'>${data['heent_allergic_rhinitis']}</span>";
725 echo "</td>";
726 echo "<td>";
727 if ( $data['heent_allergic_rhinitis_text'] != null ) {
728 echo "<span class='text'>(${data['heent_allergic_rhinitis_text']})</span>";
729 } else {
730 echo "<br/>";
732 echo "</td>";
733 echo "</tr>";
735 if ( ($data["heent_nasal_congestion"] != "N/A" && $data["heent_nasal_congestion"] != "" && $data["heent_nasal_congestion"] != "--") || ( $data["heent_nasal_congestion_text"] != "" && $data["heent_nasal_congestion_text"] != null ) ) {
736 echo "<tr>";
737 echo "<td>";
738 echo "<span class='text'>Nasal Congestion:<span>";
739 echo "</td>";
740 echo "<td>";
741 echo "<span class='text'>${data['heent_nasal_congestion']}</span>";
742 echo "</td>";
743 echo "<td>";
744 if ( $data['heent_nasal_congestion_text'] != null ) {
745 echo "<span class='text'>(${data['heent_nasal_congestion_text']})</span>";
746 } else {
747 echo "<br/>";
749 echo "</td>";
750 echo "</tr>";
752 if ( ($data["heent_nasal_discharge"] != "N/A" && $data["heent_nasal_discharge"] != "" && $data["heent_nasal_discharge"] != "--") || ( $data["heent_nasal_discharge_text"] != "" && $data["heent_nasal_discharge_text"] != null ) ) {
753 echo "<tr>";
754 echo "<td>";
755 echo "<span class='text'>Nasal Discharge:<span>";
756 echo "</td>";
757 echo "<td>";
758 echo "<span class='text'>${data['heent_nasal_discharge']}</span>";
759 echo "</td>";
760 echo "<td>";
761 if ( $data['heent_nasal_discharge_text'] != null ) {
762 echo "<span class='text'>(${data['heent_nasal_discharge_text']})</span>";
763 } else {
764 echo "<br/>";
766 echo "</td>";
767 echo "</tr>";
769 if ( ($data["heent_nasal_injury"] != "N/A" && $data["heent_nasal_injury"] != "" && $data["heent_nasal_injury"] != "--") || ( $data["heent_nasal_injury_text"] != "" && $data["heent_nasal_injury_text"] != null ) ) {
770 echo "<tr>";
771 echo "<td>";
772 echo "<span class='text'>Nasal Injury:<span>";
773 echo "</td>";
774 echo "<td>";
775 echo "<span class='text'>${data['heent_nasal_injury']}</span>";
776 echo "</td>";
777 echo "<td>";
778 if ( $data['heent_nasal_injury_text'] != null ) {
779 echo "<span class='text'>(${data['heent_nasal_injury_text']})</span>";
780 } else {
781 echo "<br/>";
783 echo "</td>";
784 echo "</tr>";
786 if ( ($data["heent_nasal_surgery"] != "N/A" && $data["heent_nasal_surgery"] != "" && $data["heent_nasal_surgery"] != "--") || ( $data["heent_nasal_surgery_text"] != "" && $data["heent_nasal_surgery_text"] != null ) ) {
787 echo "<tr>";
788 echo "<td>";
789 echo "<span class='text'>Nasal Surgery:<span>";
790 echo "</td>";
791 echo "<td>";
792 echo "<span class='text'>${data['heent_nasal_surgery']}</span>";
793 echo "</td>";
794 echo "<td>";
795 if ( $data['heent_nasal_surgery_text'] != null ) {
796 echo "<span class='text'>(${data['heent_nasal_surgery_text']})</span>";
797 } else {
798 echo "<br/>";
800 echo "</td>";
801 echo "</tr>";
803 if ( ($data["heent_nose_bleeds"] != "N/A" && $data["heent_nose_bleeds"] != "" && $data["heent_nose_bleeds"] != "--") || ( $data["heent_nose_bleeds_text"] != "" && $data["heent_nose_bleeds_text"] != null ) ) {
804 echo "<tr>";
805 echo "<td>";
806 echo "<span class='text'>Nose Bleeds:<span>";
807 echo "</td>";
808 echo "<td>";
809 echo "<span class='text'>${data['heent_nose_bleeds']}</span>";
810 echo "</td>";
811 echo "<td>";
812 if ( $data['heent_nose_bleeds_text'] != null ) {
813 echo "<span class='text'>(${data['heent_nose_bleeds_text']})</span>";
814 } else {
815 echo "<br/>";
817 echo "</td>";
818 echo "</tr>";
820 if ( ($data["heent_post_nasal_drip"] != "N/A" && $data["heent_post_nasal_drip"] != "" && $data["heent_post_nasal_drip"] != "--") || ( $data["heent_post_nasal_drip_text"] != "" && $data["heent_post_nasal_drip_text"] != null ) ) {
821 echo "<tr>";
822 echo "<td>";
823 echo "<span class='text'>post nasal drip:<span>";
824 echo "</td>";
825 echo "<td>";
826 echo "<span class='text'>${data['heent_post_nasal_drip']}</span>";
827 echo "</td>";
828 echo "<td>";
829 if ( $data['heent_post_nasal_drip_text'] != null ) {
830 echo "<span class='text'>(${data['heent_post_nasal_drip_text']})</span>";
831 } else {
832 echo "<br/>";
834 echo "</td>";
835 echo "</tr>";
837 if ( ($data["heent_sinus_pressure"] != "N/A" && $data["heent_sinus_pressure"] != "" && $data["heent_sinus_pressure"] != "--") || ( $data["heent_sinus_pressure_text"] != "" && $data["heent_sinus_pressure_text"] != null ) ) {
838 echo "<tr>";
839 echo "<td>";
840 echo "<span class='text'>sinus pressure:<span>";
841 echo "</td>";
842 echo "<td>";
843 echo "<span class='text'>${data['heent_sinus_pressure']}</span>";
844 echo "</td>";
845 echo "<td>";
846 if ( $data['heent_sinus_pressure_text'] != null ) {
847 echo "<span class='text'>(${data['heent_sinus_pressure_text']})</span>";
848 } else {
849 echo "<br/>";
851 echo "</td>";
852 echo "</tr>";
854 if ( ($data["heent_sinus_pain"] != "N/A" && $data["heent_sinus_pain"] != "" && $data["heent_sinus_pain"] != "--") || ( $data["heent_sinus_pain_text"] != "" && $data["heent_sinus_pain_text"] != null ) ) {
855 echo "<tr>";
856 echo "<td>";
857 echo "<span class='text'>sinus pain:<span>";
858 echo "</td>";
859 echo "<td>";
860 echo "<span class='text'>${data['heent_sinus_pain']}</span>";
861 echo "</td>";
862 echo "<td>";
863 if ( $data['heent_sinus_pain_text'] != null ) {
864 echo "<span class='text'>(${data['heent_sinus_pain_text']})</span>";
865 } else {
866 echo "<br/>";
868 echo "</td>";
869 echo "</tr>";
871 if ( ($data["heent_headache"] != "N/A" && $data["heent_headache"] != "" && $data["heent_headache"] != "--") || ( $data["heent_headache_text"] != "" && $data["heent_headache_text"] != null ) ) {
872 echo "<tr>";
873 echo "<td>";
874 echo "<span class='text'>headache:<span>";
875 echo "</td>";
876 echo "<td>";
877 echo "<span class='text'>${data['heent_headache']}</span>";
878 echo "</td>";
879 echo "<td>";
880 if ( $data['heent_headache_text'] != null ) {
881 echo "<span class='text'>(${data['heent_headache_text']})</span>";
882 } else {
883 echo "<br/>";
885 echo "</td>";
886 echo "</tr>";
888 if ( ($data["heent_eye_pain"] != "N/A" && $data["heent_eye_pain"] != "" && $data["heent_eye_pain"] != "--") || ( $data["heent_eye_pain_text"] != "" && $data["heent_eye_pain_text"] != null ) ) {
889 echo "<tr>";
890 echo "<td>";
891 echo "<span class='text'>eye pain:<span>";
892 echo "</td>";
893 echo "<td>";
894 echo "<span class='text'>${data['heent_eye_pain']}</span>";
895 echo "</td>";
896 echo "<td>";
897 if ( $data['heent_eye_pain_text'] != null ) {
898 echo "<span class='text'>(${data['heent_eye_pain_text']})</span>";
899 } else {
900 echo "<br/>";
902 echo "</td>";
903 echo "</tr>";
905 if ( ($data["heent_eye_redness"] != "N/A" && $data["heent_eye_redness"] != "" && $data["heent_eye_redness"] != "--") || ( $data["heent_eye_redness_text"] != "" && $data["heent_eye_redness_text"] != null ) ) {
906 echo "<tr>";
907 echo "<td>";
908 echo "<span class='text'>eye redness:<span>";
909 echo "</td>";
910 echo "<td>";
911 echo "<span class='text'>${data['heent_eye_redness']}</span>";
912 echo "</td>";
913 echo "<td>";
914 if ( $data['heent_eye_redness_text'] != null ) {
915 echo "<span class='text'>(${data['heent_eye_redness_text']})</span>";
916 } else {
917 echo "<br/>";
919 echo "</td>";
920 echo "</tr>";
922 if ( ($data["heent_visual_changes"] != "N/A" && $data["heent_visual_changes"] != "" && $data["heent_visual_changes"] != "--") || ( $data["heent_visual_changes_text"] != "" && $data["heent_visual_changes_text"] != null ) ) {
923 echo "<tr>";
924 echo "<td>";
925 echo "<span class='text'>visual changes:<span>";
926 echo "</td>";
927 echo "<td>";
928 echo "<span class='text'>${data['heent_visual_changes']}</span>";
929 echo "</td>";
930 echo "<td>";
931 if ( $data['heent_visual_changes_text'] != null ) {
932 echo "<span class='text'>(${data['heent_visual_changes_text']})</span>";
933 } else {
934 echo "<br/>";
936 echo "</td>";
937 echo "</tr>";
939 if ( ($data["heent_blurry_vision"] != "N/A" && $data["heent_blurry_vision"] != "" && $data["heent_blurry_vision"] != "--") || ( $data["heent_blurry_vision_text"] != "" && $data["heent_blurry_vision_text"] != null ) ) {
940 echo "<tr>";
941 echo "<td>";
942 echo "<span class='text'>blurry vision:<span>";
943 echo "</td>";
944 echo "<td>";
945 echo "<span class='text'>${data['heent_blurry_vision']}</span>";
946 echo "</td>";
947 echo "<td>";
948 if ( $data['heent_blurry_vision_text'] != null ) {
949 echo "<span class='text'>(${data['heent_blurry_vision_text']})</span>";
950 } else {
951 echo "<br/>";
953 echo "</td>";
954 echo "</tr>";
956 if ( ($data["heent_eye_discharge"] != "N/A" && $data["heent_eye_discharge"] != "" && $data["heent_eye_discharge"] != "--") || ( $data["heent_eye_discharge_text"] != "" && $data["heent_eye_discharge_text"] != null ) ) {
957 echo "<tr>";
958 echo "<td>";
959 echo "<span class='text'>Eye Discharge:<span>";
960 echo "</td>";
961 echo "<td>";
962 echo "<span class='text'>${data['heent_eye_discharge']}</span>";
963 echo "</td>";
964 echo "<td>";
965 if ( $data['heent_eye_discharge_text'] != null ) {
966 echo "<span class='text'>(${data['heent_eye_discharge_text']})</span>";
967 } else {
968 echo "<br/>";
970 echo "</td>";
971 echo "</tr>";
973 if ( ($data["heent_eye_glasses_contacts"] != "N/A" && $data["heent_eye_glasses_contacts"] != "" && $data["heent_eye_glasses_contacts"] != "--") || ( $data["heent_eye_glasses_contacts_text"] != "" && $data["heent_eye_glasses_contacts_text"] != null ) ) {
974 echo "<tr>";
975 echo "<td>";
976 echo "<span class='text'>Eye Glasses/ Contacts:<span>";
977 echo "</td>";
978 echo "<td>";
979 echo "<span class='text'>${data['heent_eye_glasses_contacts']}</span>";
980 echo "</td>";
981 echo "<td>";
982 if ( $data['heent_eye_glasses_contacts_text'] != null ) {
983 echo "<span class='text'>(${data['heent_eye_glasses_contacts_text']})</span>";
984 } else {
985 echo "<br/>";
987 echo "</td>";
988 echo "</tr>";
990 if ( ($data["heent_excess_tearing"] != "N/A" && $data["heent_excess_tearing"] != "" && $data["heent_excess_tearing"] != "--") || ( $data["heent_excess_tearing_text"] != "" && $data["heent_excess_tearing_text"] != null ) ) {
991 echo "<tr>";
992 echo "<td>";
993 echo "<span class='text'>Excess Tearing:<span>";
994 echo "</td>";
995 echo "<td>";
996 echo "<span class='text'>${data['heent_excess_tearing']}</span>";
997 echo "</td>";
998 echo "<td>";
999 if ( $data['heent_excess_tearing_text'] != null ) {
1000 echo "<span class='text'>(${data['heent_excess_tearing_text']})</span>";
1001 } else {
1002 echo "<br/>";
1004 echo "</td>";
1005 echo "</tr>";
1007 if ( ($data["heent_photophobia"] != "N/A" && $data["heent_photophobia"] != "" && $data["heent_photophobia"] != "--") || ( $data["heent_photophobia_text"] != "" && $data["heent_photophobia_text"] != null ) ) {
1008 echo "<tr>";
1009 echo "<td>";
1010 echo "<span class='text'>Photophobia:<span>";
1011 echo "</td>";
1012 echo "<td>";
1013 echo "<span class='text'>${data['heent_photophobia']}</span>";
1014 echo "</td>";
1015 echo "<td>";
1016 if ( $data['heent_photophobia_text'] != null ) {
1017 echo "<span class='text'>(${data['heent_photophobia_text']})</span>";
1018 } else {
1019 echo "<br/>";
1021 echo "</td>";
1022 echo "</tr>";
1024 if ( ($data["heent_scotomata"] != "N/A" && $data["heent_scotomata"] != "" && $data["heent_scotomata"] != "--") || ( $data["heent_scotomata_text"] != "" && $data["heent_scotomata_text"] != null ) ) {
1025 echo "<tr>";
1026 echo "<td>";
1027 echo "<span class='text'>Scotomata:<span>";
1028 echo "</td>";
1029 echo "<td>";
1030 echo "<span class='text'>${data['heent_scotomata']}</span>";
1031 echo "</td>";
1032 echo "<td>";
1033 if ( $data['heent_scotomata_text'] != null ) {
1034 echo "<span class='text'>(${data['heent_scotomata_text']})</span>";
1035 } else {
1036 echo "<br/>";
1038 echo "</td>";
1039 echo "</tr>";
1041 if ( ($data["heent_tunnel_vision"] != "N/A" && $data["heent_tunnel_vision"] != "" && $data["heent_tunnel_vision"] != "--") || ( $data["heent_tunnel_vision_text"] != "" && $data["heent_tunnel_vision_text"] != null ) ) {
1042 echo "<tr>";
1043 echo "<td>";
1044 echo "<span class='text'>Tunnel vision:<span>";
1045 echo "</td>";
1046 echo "<td>";
1047 echo "<span class='text'>${data['heent_tunnel_vision']}</span>";
1048 echo "</td>";
1049 echo "<td>";
1050 if ( $data['heent_tunnel_vision_text'] != null ) {
1051 echo "<span class='text'>(${data['heent_tunnel_vision_text']})</span>";
1052 } else {
1053 echo "<br/>";
1055 echo "</td>";
1056 echo "</tr>";
1058 if ( ($data["heent_glaucoma"] != "N/A" && $data["heent_glaucoma"] != "" && $data["heent_glaucoma"] != "--") || ( $data["heent_glaucoma_text"] != "" && $data["heent_glaucoma_text"] != null ) ) {
1059 echo "<tr>";
1060 echo "<td>";
1061 echo "<span class='text'>Glaucoma:<span>";
1062 echo "</td>";
1063 echo "<td>";
1064 echo "<span class='text'>${data['heent_glaucoma']}</span>";
1065 echo "</td>";
1066 echo "<td>";
1067 if ( $data['heent_glaucoma_text'] != null ) {
1068 echo "<span class='text'>(${data['heent_glaucoma_text']})</span>";
1069 } else {
1070 echo "<br/>";
1072 echo "</td>";
1073 echo "</tr>";
1075 echo "<tr><td colspan='3'><span class='bold'><u>CARDIOVASCULAR: </u></span></td></tr>";
1076 if ( ($data["cardiovascular_sub_sternal_or_left_chest_pain"] != "N/A" && $data["cardiovascular_sub_sternal_or_left_chest_pain"] != "" && $data["cardiovascular_sub_sternal_or_left_chest_pain"] != "--") || ( $data["cardiovascular_sub_sternal_or_left_chest_pain_text"] != "" && $data["cardiovascular_sub_sternal_or_left_chest_pain_text"] != null ) ) {
1077 echo "<tr>";
1078 echo "<td>";
1079 echo "<span class='text'>sub sternal or left chest pain:<span>";
1080 echo "</td>";
1081 echo "<td>";
1082 echo "<span class='text'>${data['cardiovascular_sub_sternal_or_left_chest_pain']}</span>";
1083 echo "</td>";
1084 echo "<td>";
1085 if ( $data['cardiovascular_sub_sternal_or_left_chest_pain_text'] != null ) {
1086 echo "<span class='text'>(${data['cardiovascular_sub_sternal_or_left_chest_pain_text']})</span>";
1087 } else {
1088 echo "<br/>";
1090 echo "</td>";
1091 echo "</tr>";
1093 if ( ($data["cardiovascular_other_chest_pain"] != "N/A" && $data["cardiovascular_other_chest_pain"] != "" && $data["cardiovascular_other_chest_pain"] != "--") || ( $data["cardiovascular_other_chest_pain_text"] != "" && $data["cardiovascular_other_chest_pain_text"] != null ) ) {
1094 echo "<tr>";
1095 echo "<td>";
1096 echo "<span class='text'>other chest pain:<span>";
1097 echo "</td>";
1098 echo "<td>";
1099 echo "<span class='text'>${data['cardiovascular_other_chest_pain']}</span>";
1100 echo "</td>";
1101 echo "<td>";
1102 if ( $data['cardiovascular_other_chest_pain_text'] != null ) {
1103 echo "<span class='text'>(${data['cardiovascular_other_chest_pain_text']})</span>";
1104 } else {
1105 echo "<br/>";
1107 echo "</td>";
1108 echo "</tr>";
1110 if ( ($data["cardiovascular_palpitations"] != "N/A" && $data["cardiovascular_palpitations"] != "" && $data["cardiovascular_palpitations"] != "--") || ( $data["cardiovascular_palpitations_text"] != "" && $data["cardiovascular_palpitations_text"] != null ) ) {
1111 echo "<tr>";
1112 echo "<td>";
1113 echo "<span class='text'>palpitations:<span>";
1114 echo "</td>";
1115 echo "<td>";
1116 echo "<span class='text'>${data['cardiovascular_palpitations']}</span>";
1117 echo "</td>";
1118 echo "<td>";
1119 if ( $data['cardiovascular_palpitations_text'] != null ) {
1120 echo "<span class='text'>(${data['cardiovascular_palpitations_text']})</span>";
1121 } else {
1122 echo "<br/>";
1124 echo "</td>";
1125 echo "</tr>";
1127 if ( ($data["cardiovascular_irregular_rhythm"] != "N/A" && $data["cardiovascular_irregular_rhythm"] != "" && $data["cardiovascular_irregular_rhythm"] != "--") || ( $data["cardiovascular_irregular_rhythm_text"] != "" && $data["cardiovascular_irregular_rhythm_text"] != null ) ) {
1128 echo "<tr>";
1129 echo "<td>";
1130 echo "<span class='text'>irregular rhythm:<span>";
1131 echo "</td>";
1132 echo "<td>";
1133 echo "<span class='text'>${data['cardiovascular_irregular_rhythm']}</span>";
1134 echo "</td>";
1135 echo "<td>";
1136 if ( $data['cardiovascular_irregular_rhythm_text'] != null ) {
1137 echo "<span class='text'>(${data['cardiovascular_irregular_rhythm_text']})</span>";
1138 } else {
1139 echo "<br/>";
1141 echo "</td>";
1142 echo "</tr>";
1144 if ( ($data["cardiovascular_jugular_vein_distention"] != "N/A" && $data["cardiovascular_jugular_vein_distention"] != "" && $data["cardiovascular_jugular_vein_distention"] != "--") || ( $data["cardiovascular_jugular_vein_distention_text"] != "" && $data["cardiovascular_jugular_vein_distention_text"] != null ) ) {
1145 echo "<tr>";
1146 echo "<td>";
1147 echo "<span class='text'>jugular vein distention:<span>";
1148 echo "</td>";
1149 echo "<td>";
1150 echo "<span class='text'>${data['cardiovascular_jugular_vein_distention']}</span>";
1151 echo "</td>";
1152 echo "<td>";
1153 if ( $data['cardiovascular_jugular_vein_distention_text'] != null ) {
1154 echo "<span class='text'>(${data['cardiovascular_jugular_vein_distention_text']})</span>";
1155 } else {
1156 echo "<br/>";
1158 echo "</td>";
1159 echo "</tr>";
1161 if ( ($data["cardiovascular_claudication"] != "N/A" && $data["cardiovascular_claudication"] != "" && $data["cardiovascular_claudication"] != "--") || ( $data["cardiovascular_claudication_text"] != "" && $data["cardiovascular_claudication_text"] != null ) ) {
1162 echo "<tr>";
1163 echo "<td>";
1164 echo "<span class='text'>Claudication:<span>";
1165 echo "</td>";
1166 echo "<td>";
1167 echo "<span class='text'>${data['cardiovascular_claudication']}</span>";
1168 echo "</td>";
1169 echo "<td>";
1170 if ( $data['cardiovascular_claudication_text'] != null ) {
1171 echo "<span class='text'>(${data['cardiovascular_claudication_text']})</span>";
1172 } else {
1173 echo "<br/>";
1175 echo "</td>";
1176 echo "</tr>";
1178 if ( ($data["cardiovascular_dizziness"] != "N/A" && $data["cardiovascular_dizziness"] != "" && $data["cardiovascular_dizziness"] != "--") || ( $data["cardiovascular_dizziness_text"] != "" && $data["cardiovascular_dizziness_text"] != null ) ) {
1179 echo "<tr>";
1180 echo "<td>";
1181 echo "<span class='text'>Dizziness:<span>";
1182 echo "</td>";
1183 echo "<td>";
1184 echo "<span class='text'>${data['cardiovascular_dizziness']}</span>";
1185 echo "</td>";
1186 echo "<td>";
1187 if ( $data['cardiovascular_dizziness_text'] != null ) {
1188 echo "<span class='text'>(${data['cardiovascular_dizziness_text']})</span>";
1189 } else {
1190 echo "<br/>";
1192 echo "</td>";
1193 echo "</tr>";
1195 if ( ($data["cardiovascular_dyspnea_on_exertion"] != "N/A" && $data["cardiovascular_dyspnea_on_exertion"] != "" && $data["cardiovascular_dyspnea_on_exertion"] != "--") || ( $data["cardiovascular_dyspnea_on_exertion_text"] != "" && $data["cardiovascular_dyspnea_on_exertion_text"] != null ) ) {
1196 echo "<tr>";
1197 echo "<td>";
1198 echo "<span class='text'>Dyspnea on Exertion:<span>";
1199 echo "</td>";
1200 echo "<td>";
1201 echo "<span class='text'>${data['cardiovascular_dyspnea_on_exertion']}</span>";
1202 echo "</td>";
1203 echo "<td>";
1204 if ( $data['cardiovascular_dyspnea_on_exertion_text'] != null ) {
1205 echo "<span class='text'>(${data['cardiovascular_dyspnea_on_exertion_text']})</span>";
1206 } else {
1207 echo "<br/>";
1209 echo "</td>";
1210 echo "</tr>";
1212 if ( ($data["cardiovascular_orthopnea"] != "N/A" && $data["cardiovascular_orthopnea"] != "" && $data["cardiovascular_orthopnea"] != "--") || ( $data["cardiovascular_orthopnea_text"] != "" && $data["cardiovascular_orthopnea_text"] != null ) ) {
1213 echo "<tr>";
1214 echo "<td>";
1215 echo "<span class='text'>Orthopnea:<span>";
1216 echo "</td>";
1217 echo "<td>";
1218 echo "<span class='text'>${data['cardiovascular_orthopnea']}</span>";
1219 echo "</td>";
1220 echo "<td>";
1221 if ( $data['cardiovascular_orthopnea_text'] != null ) {
1222 echo "<span class='text'>(${data['cardiovascular_orthopnea_text']})</span>";
1223 } else {
1224 echo "<br/>";
1226 echo "</td>";
1227 echo "</tr>";
1229 if ( ($data["cardiovascular_noctural_dyspnea"] != "N/A" && $data["cardiovascular_noctural_dyspnea"] != "" && $data["cardiovascular_noctural_dyspnea"] != "--") || ( $data["cardiovascular_noctural_dyspnea_text"] != "" && $data["cardiovascular_noctural_dyspnea_text"] != null ) ) {
1230 echo "<tr>";
1231 echo "<td>";
1232 echo "<span class='text'>Noctural Dyspnea:<span>";
1233 echo "</td>";
1234 echo "<td>";
1235 echo "<span class='text'>${data['cardiovascular_noctural_dyspnea']}</span>";
1236 echo "</td>";
1237 echo "<td>";
1238 if ( $data['cardiovascular_noctural_dyspnea_text'] != null ) {
1239 echo "<span class='text'>(${data['cardiovascular_noctural_dyspnea_text']})</span>";
1240 } else {
1241 echo "<br/>";
1243 echo "</td>";
1244 echo "</tr>";
1246 if ( ($data["cardiovascular_edema"] != "N/A" && $data["cardiovascular_edema"] != "" && $data["cardiovascular_edema"] != "--") || ( $data["cardiovascular_edema_text"] != "" && $data["cardiovascular_edema_text"] != null ) ) {
1247 echo "<tr>";
1248 echo "<td>";
1249 echo "<span class='text'>Edema:<span>";
1250 echo "</td>";
1251 echo "<td>";
1252 echo "<span class='text'>${data['cardiovascular_edema']}</span>";
1253 echo "</td>";
1254 echo "<td>";
1255 if ( $data['cardiovascular_edema_text'] != null ) {
1256 echo "<span class='text'>(${data['cardiovascular_edema_text']})</span>";
1257 } else {
1258 echo "<br/>";
1260 echo "</td>";
1261 echo "</tr>";
1263 if ( ($data["cardiovascular_presyncope"] != "N/A" && $data["cardiovascular_presyncope"] != "" && $data["cardiovascular_presyncope"] != "--") || ( $data["cardiovascular_presyncope_text"] != "" && $data["cardiovascular_presyncope_text"] != null ) ) {
1264 echo "<tr>";
1265 echo "<td>";
1266 echo "<span class='text'>Presyncope:<span>";
1267 echo "</td>";
1268 echo "<td>";
1269 echo "<span class='text'>${data['cardiovascular_presyncope']}</span>";
1270 echo "</td>";
1271 echo "<td>";
1272 if ( $data['cardiovascular_presyncope_text'] != null ) {
1273 echo "<span class='text'>(${data['cardiovascular_presyncope_text']})</span>";
1274 } else {
1275 echo "<br/>";
1277 echo "</td>";
1278 echo "</tr>";
1280 if ( ($data["cardiovascular_syncope"] != "N/A" && $data["cardiovascular_syncope"] != "" && $data["cardiovascular_syncope"] != "--") || ( $data["cardiovascular_syncope_text"] != "" && $data["cardiovascular_syncope_text"] != null ) ) {
1281 echo "<tr>";
1282 echo "<td>";
1283 echo "<span class='text'>Syncope:<span>";
1284 echo "</td>";
1285 echo "<td>";
1286 echo "<span class='text'>${data['cardiovascular_syncope']}</span>";
1287 echo "</td>";
1288 echo "<td>";
1289 if ( $data['cardiovascular_syncope_text'] != null ) {
1290 echo "<span class='text'>(${data['cardiovascular_syncope_text']})</span>";
1291 } else {
1292 echo "<br/>";
1294 echo "</td>";
1295 echo "</tr>";
1297 if ( ($data["cardiovascular_heart_murmur"] != "N/A" && $data["cardiovascular_heart_murmur"] != "" && $data["cardiovascular_heart_murmur"] != "--") || ( $data["cardiovascular_heart_murmur_text"] != "" && $data["cardiovascular_heart_murmur_text"] != null ) ) {
1298 echo "<tr>";
1299 echo "<td>";
1300 echo "<span class='text'>Heart Murmur:<span>";
1301 echo "</td>";
1302 echo "<td>";
1303 echo "<span class='text'>${data['cardiovascular_heart_murmur']}</span>";
1304 echo "</td>";
1305 echo "<td>";
1306 if ( $data['cardiovascular_heart_murmur_text'] != null ) {
1307 echo "<span class='text'>(${data['cardiovascular_heart_murmur_text']})</span>";
1308 } else {
1309 echo "<br/>";
1311 echo "</td>";
1312 echo "</tr>";
1314 if ( ($data["cardiovascular_raynauds"] != "N/A" && $data["cardiovascular_raynauds"] != "" && $data["cardiovascular_raynauds"] != "--") || ( $data["cardiovascular_raynauds_text"] != "" && $data["cardiovascular_raynauds_text"] != null ) ) {
1315 echo "<tr>";
1316 echo "<td>";
1317 echo "<span class='text'>Raynauds:<span>";
1318 echo "</td>";
1319 echo "<td>";
1320 echo "<span class='text'>${data['cardiovascular_raynauds']}</span>";
1321 echo "</td>";
1322 echo "<td>";
1323 if ( $data['cardiovascular_raynauds_text'] != null ) {
1324 echo "<span class='text'>(${data['cardiovascular_raynauds_text']})</span>";
1325 } else {
1326 echo "<br/>";
1328 echo "</td>";
1329 echo "</tr>";
1331 if ( ($data["cardiovascular_severe_varicose_veins"] != "N/A" && $data["cardiovascular_severe_varicose_veins"] != "" && $data["cardiovascular_severe_varicose_veins"] != "--") || ( $data["cardiovascular_severe_varicose_veins_text"] != "" && $data["cardiovascular_severe_varicose_veins_text"] != null ) ) {
1332 echo "<tr>";
1333 echo "<td>";
1334 echo "<span class='text'>Severe Varicose Veins:<span>";
1335 echo "</td>";
1336 echo "<td>";
1337 echo "<span class='text'>${data['cardiovascular_severe_varicose_veins']}</span>";
1338 echo "</td>";
1339 echo "<td>";
1340 if ( $data['cardiovascular_severe_varicose_veins_text'] != null ) {
1341 echo "<span class='text'>(${data['cardiovascular_severe_varicose_veins_text']})</span>";
1342 } else {
1343 echo "<br/>";
1345 echo "</td>";
1346 echo "</tr>";
1348 if ( ($data["cardiovascular_deep_vein_thrombosis"] != "N/A" && $data["cardiovascular_deep_vein_thrombosis"] != "" && $data["cardiovascular_deep_vein_thrombosis"] != "--") || ( $data["cardiovascular_deep_vein_thrombosis_text"] != "" && $data["cardiovascular_deep_vein_thrombosis_text"] != null ) ) {
1349 echo "<tr>";
1350 echo "<td>";
1351 echo "<span class='text'>Deep Vein Thrombosis:<span>";
1352 echo "</td>";
1353 echo "<td>";
1354 echo "<span class='text'>${data['cardiovascular_deep_vein_thrombosis']}</span>";
1355 echo "</td>";
1356 echo "<td>";
1357 if ( $data['cardiovascular_deep_vein_thrombosis_text'] != null ) {
1358 echo "<span class='text'>(${data['cardiovascular_deep_vein_thrombosis_text']})</span>";
1359 } else {
1360 echo "<br/>";
1362 echo "</td>";
1363 echo "</tr>";
1365 if ( ($data["cardiovascular_thrombophlebitis"] != "N/A" && $data["cardiovascular_thrombophlebitis"] != "" && $data["cardiovascular_thrombophlebitis"] != "--") || ( $data["cardiovascular_thrombophlebitis_text"] != "" && $data["cardiovascular_thrombophlebitis_text"] != null ) ) {
1366 echo "<tr>";
1367 echo "<td>";
1368 echo "<span class='text'>Thrombophlebitis:<span>";
1369 echo "</td>";
1370 echo "<td>";
1371 echo "<span class='text'>${data['cardiovascular_thrombophlebitis']}</span>";
1372 echo "</td>";
1373 echo "<td>";
1374 if ( $data['cardiovascular_thrombophlebitis_text'] != null ) {
1375 echo "<span class='text'>(${data['cardiovascular_thrombophlebitis_text']})</span>";
1376 } else {
1377 echo "<br/>";
1379 echo "</td>";
1380 echo "</tr>";
1382 echo "<tr><td colspan='3'><span class='bold'><u>RESPIRATIONS:</u></span></td></tr>";
1383 if ( ($data["respirations_cough"] != "N/A" && $data["respirations_cough"] != "" && $data["respirations_cough"] != "--") || ( $data["respirations_cough_text"] != "" && $data["respirations_cough_text"] != null ) ) {
1384 echo "<tr>";
1385 echo "<td>";
1386 echo "<span class='text'>cough:<span>";
1387 echo "</td>";
1388 echo "<td>";
1389 echo "<span class='text'>${data['respirations_cough']}</span>";
1390 echo "</td>";
1391 echo "<td>";
1392 if ( $data['respirations_cough_text'] != null ) {
1393 echo "<span class='text'>(${data['respirations_cough_text']})</span>";
1394 } else {
1395 echo "<br/>";
1397 echo "</td>";
1398 echo "</tr>";
1400 if ( ($data["respirations_sputum"] != "N/A" && $data["respirations_sputum"] != "" && $data["respirations_sputum"] != "--") || ( $data["respirations_sputum_text"] != "" && $data["respirations_sputum_text"] != null ) ) {
1401 echo "<tr>";
1402 echo "<td>";
1403 echo "<span class='text'>sputum:<span>";
1404 echo "</td>";
1405 echo "<td>";
1406 echo "<span class='text'>${data['respirations_sputum']}</span>";
1407 echo "</td>";
1408 echo "<td>";
1409 if ( $data['respirations_sputum_text'] != null ) {
1410 echo "<span class='text'>(${data['respirations_sputum_text']})</span>";
1411 } else {
1412 echo "<br/>";
1414 echo "</td>";
1415 echo "</tr>";
1417 if ( ($data["respirations_dyspnea"] != "N/A" && $data["respirations_dyspnea"] != "" && $data["respirations_dyspnea"] != "--") || ( $data["respirations_dyspnea_text"] != "" && $data["respirations_dyspnea_text"] != null ) ) {
1418 echo "<tr>";
1419 echo "<td>";
1420 echo "<span class='text'>dyspnea:<span>";
1421 echo "</td>";
1422 echo "<td>";
1423 echo "<span class='text'>${data['respirations_dyspnea']}</span>";
1424 echo "</td>";
1425 echo "<td>";
1426 if ( $data['respirations_dyspnea_text'] != null ) {
1427 echo "<span class='text'>(${data['respirations_dyspnea_text']})</span>";
1428 } else {
1429 echo "<br/>";
1431 echo "</td>";
1432 echo "</tr>";
1434 if ( ($data["respirations_wheezes"] != "N/A" && $data["respirations_wheezes"] != "" && $data["respirations_wheezes"] != "--") || ( $data["respirations_wheezes_text"] != "" && $data["respirations_wheezes_text"] != null ) ) {
1435 echo "<tr>";
1436 echo "<td>";
1437 echo "<span class='text'>wheezes:<span>";
1438 echo "</td>";
1439 echo "<td>";
1440 echo "<span class='text'>${data['respirations_wheezes']}</span>";
1441 echo "</td>";
1442 echo "<td>";
1443 if ( $data['respirations_wheezes_text'] != null ) {
1444 echo "<span class='text'>(${data['respirations_wheezes_text']})</span>";
1445 } else {
1446 echo "<br/>";
1448 echo "</td>";
1449 echo "</tr>";
1451 if ( ($data["respirations_rales"] != "N/A" && $data["respirations_rales"] != "" && $data["respirations_rales"] != "--") || ( $data["respirations_rales_text"] != "" && $data["respirations_rales_text"] != null ) ) {
1452 echo "<tr>";
1453 echo "<td>";
1454 echo "<span class='text'>rales:<span>";
1455 echo "</td>";
1456 echo "<td>";
1457 echo "<span class='text'>${data['respirations_rales']}</span>";
1458 echo "</td>";
1459 echo "<td>";
1460 if ( $data['respirations_rales_text'] != null ) {
1461 echo "<span class='text'>(${data['respirations_rales_text']})</span>";
1462 } else {
1463 echo "<br/>";
1465 echo "</td>";
1466 echo "</tr>";
1468 if ( ($data["respirations_labored_breathing"] != "N/A" && $data["respirations_labored_breathing"] != "" && $data["respirations_labored_breathing"] != "--") || ( $data["respirations_labored_breathing_text"] != "" && $data["respirations_labored_breathing_text"] != null ) ) {
1469 echo "<tr>";
1470 echo "<td>";
1471 echo "<span class='text'>labored breathing:<span>";
1472 echo "</td>";
1473 echo "<td>";
1474 echo "<span class='text'>${data['respirations_labored_breathing']}</span>";
1475 echo "</td>";
1476 echo "<td>";
1477 if ( $data['respirations_labored_breathing_text'] != null ) {
1478 echo "<span class='text'>(${data['respirations_labored_breathing_text']})</span>";
1479 } else {
1480 echo "<br/>";
1482 echo "</td>";
1483 echo "</tr>";
1485 if ( ($data["respirations_hemoptysis"] != "N/A" && $data["respirations_hemoptysis"] != "" && $data["respirations_hemoptysis"] != "--") || ( $data["respirations_hemoptysis_text"] != "" && $data["respirations_hemoptysis_text"] != null ) ) {
1486 echo "<tr>";
1487 echo "<td>";
1488 echo "<span class='text'>Hemoptysis:<span>";
1489 echo "</td>";
1490 echo "<td>";
1491 echo "<span class='text'>${data['respirations_hemoptysis']}</span>";
1492 echo "</td>";
1493 echo "<td>";
1494 if ( $data['respirations_hemoptysis_text'] != null ) {
1495 echo "<span class='text'>(${data['respirations_hemoptysis_text']})</span>";
1496 } else {
1497 echo "<br/>";
1499 echo "</td>";
1500 echo "</tr>";
1502 echo "<tr><td colspan='3'><span class='bold'><u>GU</u></span></td></tr>";
1503 if ( ($data["gu_frequent_urination"] != "N/A" && $data["gu_frequent_urination"] != "" && $data["gu_frequent_urination"] != "--") || ( $data["gu_frequent_urination_text"] != "" && $data["gu_frequent_urination_text"] != null ) ) {
1504 echo "<tr>";
1505 echo "<td>";
1506 echo "<span class='text'>frequent urination:<span>";
1507 echo "</td>";
1508 echo "<td>";
1509 echo "<span class='text'>${data['gu_frequent_urination']}</span>";
1510 echo "</td>";
1511 echo "<td>";
1512 if ( $data['gu_frequent_urination_text'] != null ) {
1513 echo "<span class='text'>(${data['gu_frequent_urination_text']})</span>";
1514 } else {
1515 echo "<br/>";
1517 echo "</td>";
1518 echo "</tr>";
1520 if ( ($data["gu_dysuria"] != "N/A" && $data["gu_dysuria"] != "" && $data["gu_dysuria"] != "--") || ( $data["gu_dysuria_text"] != "" && $data["gu_dysuria_text"] != null ) ) {
1521 echo "<tr>";
1522 echo "<td>";
1523 echo "<span class='text'>dysuria:<span>";
1524 echo "</td>";
1525 echo "<td>";
1526 echo "<span class='text'>${data['gu_dysuria']}</span>";
1527 echo "</td>";
1528 echo "<td>";
1529 if ( $data['gu_dysuria_text'] != null ) {
1530 echo "<span class='text'>(${data['gu_dysuria_text']})</span>";
1531 } else {
1532 echo "<br/>";
1534 echo "</td>";
1535 echo "</tr>";
1537 if ( ($data["gu_dyspareunia"] != "N/A" && $data["gu_dyspareunia"] != "" && $data["gu_dyspareunia"] != "--") || ( $data["gu_dyspareunia_text"] != "" && $data["gu_dyspareunia_text"] != null ) ) {
1538 echo "<tr>";
1539 echo "<td>";
1540 echo "<span class='text'>dyspareunia:<span>";
1541 echo "</td>";
1542 echo "<td>";
1543 echo "<span class='text'>${data['gu_dyspareunia']}</span>";
1544 echo "</td>";
1545 echo "<td>";
1546 if ( $data['gu_dyspareunia_text'] != null ) {
1547 echo "<span class='text'>(${data['gu_dyspareunia_text']})</span>";
1548 } else {
1549 echo "<br/>";
1551 echo "</td>";
1552 echo "</tr>";
1554 if ( ($data["gu_discharge"] != "N/A" && $data["gu_discharge"] != "" && $data["gu_discharge"] != "--") || ( $data["gu_discharge_text"] != "" && $data["gu_discharge_text"] != null ) ) {
1555 echo "<tr>";
1556 echo "<td>";
1557 echo "<span class='text'>discharge:<span>";
1558 echo "</td>";
1559 echo "<td>";
1560 echo "<span class='text'>${data['gu_discharge']}</span>";
1561 echo "</td>";
1562 echo "<td>";
1563 if ( $data['gu_discharge_text'] != null ) {
1564 echo "<span class='text'>(${data['gu_discharge_text']})</span>";
1565 } else {
1566 echo "<br/>";
1568 echo "</td>";
1569 echo "</tr>";
1571 if ( ($data["gu_odor"] != "N/A" && $data["gu_odor"] != "" && $data["gu_odor"] != "--") || ( $data["gu_odor_text"] != "" && $data["gu_odor_text"] != null ) ) {
1572 echo "<tr>";
1573 echo "<td>";
1574 echo "<span class='text'>odor:<span>";
1575 echo "</td>";
1576 echo "<td>";
1577 echo "<span class='text'>${data['gu_odor']}</span>";
1578 echo "</td>";
1579 echo "<td>";
1580 if ( $data['gu_odor_text'] != null ) {
1581 echo "<span class='text'>(${data['gu_odor_text']})</span>";
1582 } else {
1583 echo "<br/>";
1585 echo "</td>";
1586 echo "</tr>";
1588 if ( ($data["gu_fertility_problems"] != "N/A" && $data["gu_fertility_problems"] != "" && $data["gu_fertility_problems"] != "--") || ( $data["gu_fertility_problems_text"] != "" && $data["gu_fertility_problems_text"] != null ) ) {
1589 echo "<tr>";
1590 echo "<td>";
1591 echo "<span class='text'>fertility problems:<span>";
1592 echo "</td>";
1593 echo "<td>";
1594 echo "<span class='text'>${data['gu_fertility_problems']}</span>";
1595 echo "</td>";
1596 echo "<td>";
1597 if ( $data['gu_fertility_problems_text'] != null ) {
1598 echo "<span class='text'>(${data['gu_fertility_problems_text']})</span>";
1599 } else {
1600 echo "<br/>";
1602 echo "</td>";
1603 echo "</tr>";
1605 if ( ($data["gu_flank_pain_kidney_stone"] != "N/A" && $data["gu_flank_pain_kidney_stone"] != "" && $data["gu_flank_pain_kidney_stone"] != "--") || ( $data["gu_flank_pain_kidney_stone_text"] != "" && $data["gu_flank_pain_kidney_stone_text"] != null ) ) {
1606 echo "<tr>";
1607 echo "<td>";
1608 echo "<span class='text'>Flank Pain Kidney Stone:<span>";
1609 echo "</td>";
1610 echo "<td>";
1611 echo "<span class='text'>${data['gu_flank_pain_kidney_stone']}</span>";
1612 echo "</td>";
1613 echo "<td>";
1614 if ( $data['gu_flank_pain_kidney_stone_text'] != null ) {
1615 echo "<span class='text'>(${data['gu_flank_pain_kidney_stone_text']})</span>";
1616 } else {
1617 echo "<br/>";
1619 echo "</td>";
1620 echo "</tr>";
1622 if ( ($data["gu_polyuria"] != "N/A" && $data["gu_polyuria"] != "" && $data["gu_polyuria"] != "--") || ( $data["gu_polyuria_text"] != "" && $data["gu_polyuria_text"] != null ) ) {
1623 echo "<tr>";
1624 echo "<td>";
1625 echo "<span class='text'>Polyuria:<span>";
1626 echo "</td>";
1627 echo "<td>";
1628 echo "<span class='text'>${data['gu_polyuria']}</span>";
1629 echo "</td>";
1630 echo "<td>";
1631 if ( $data['gu_polyuria_text'] != null ) {
1632 echo "<span class='text'>(${data['gu_polyuria_text']})</span>";
1633 } else {
1634 echo "<br/>";
1636 echo "</td>";
1637 echo "</tr>";
1639 if ( ($data["gu_hematuria"] != "N/A" && $data["gu_hematuria"] != "" && $data["gu_hematuria"] != "--") || ( $data["gu_hematuria_text"] != "" && $data["gu_hematuria_text"] != null ) ) {
1640 echo "<tr>";
1641 echo "<td>";
1642 echo "<span class='text'>Hematuria:<span>";
1643 echo "</td>";
1644 echo "<td>";
1645 echo "<span class='text'>${data['gu_hematuria']}</span>";
1646 echo "</td>";
1647 echo "<td>";
1648 if ( $data['gu_hematuria_text'] != null ) {
1649 echo "<span class='text'>(${data['gu_hematuria_text']})</span>";
1650 } else {
1651 echo "<br/>";
1653 echo "</td>";
1654 echo "</tr>";
1656 if ( ($data["gu_pyuria"] != "N/A" && $data["gu_pyuria"] != "" && $data["gu_pyuria"] != "--") || ( $data["gu_pyuria_text"] != "" && $data["gu_pyuria_text"] != null ) ) {
1657 echo "<tr>";
1658 echo "<td>";
1659 echo "<span class='text'>Pyuria:<span>";
1660 echo "</td>";
1661 echo "<td>";
1662 echo "<span class='text'>${data['gu_pyuria']}</span>";
1663 echo "</td>";
1664 echo "<td>";
1665 if ( $data['gu_pyuria_text'] != null ) {
1666 echo "<span class='text'>(${data['gu_pyuria_text']})</span>";
1667 } else {
1668 echo "<br/>";
1670 echo "</td>";
1671 echo "</tr>";
1673 if ( ($data["gu_umbilical_hernia"] != "N/A" && $data["gu_umbilical_hernia"] != "" && $data["gu_umbilical_hernia"] != "--") || ( $data["gu_umbilical_hernia_text"] != "" && $data["gu_umbilical_hernia_text"] != null ) ) {
1674 echo "<tr>";
1675 echo "<td>";
1676 echo "<span class='text'>Umbilical Hernia:<span>";
1677 echo "</td>";
1678 echo "<td>";
1679 echo "<span class='text'>${data['gu_umbilical_hernia']}</span>";
1680 echo "</td>";
1681 echo "<td>";
1682 if ( $data['gu_umbilical_hernia_text'] != null ) {
1683 echo "<span class='text'>(${data['gu_umbilical_hernia_text']})</span>";
1684 } else {
1685 echo "<br/>";
1687 echo "</td>";
1688 echo "</tr>";
1690 if ( ($data["gu_incontinence"] != "N/A" && $data["gu_incontinence"] != "" && $data["gu_incontinence"] != "--") || ( $data["gu_incontinence_text"] != "" && $data["gu_incontinence_text"] != null ) ) {
1691 echo "<tr>";
1692 echo "<td>";
1693 echo "<span class='text'>Incontinence:<span>";
1694 echo "</td>";
1695 echo "<td>";
1696 echo "<span class='text'>${data['gu_incontinence']}</span>";
1697 echo "</td>";
1698 echo "<td>";
1699 if ( $data['gu_incontinence_text'] != null ) {
1700 echo "<span class='text'>(${data['gu_incontinence_text']})</span>";
1701 } else {
1702 echo "<br/>";
1704 echo "</td>";
1705 echo "</tr>";
1707 if ( ($data["gu_nocturia"] != "N/A" && $data["gu_nocturia"] != "" && $data["gu_nocturia"] != "--") || ( $data["gu_nocturia_text"] != "" && $data["gu_nocturia_text"] != null ) ) {
1708 echo "<tr>";
1709 echo "<td>";
1710 echo "<span class='text'>Nocturia:<span>";
1711 echo "</td>";
1712 echo "<td>";
1713 echo "<span class='text'>${data['gu_nocturia']}</span>";
1714 echo "</td>";
1715 echo "<td>";
1716 if ( $data['gu_nocturia_text'] != null ) {
1717 echo "<span class='text'>(${data['gu_nocturia_text']})</span>";
1718 } else {
1719 echo "<br/>";
1721 echo "</td>";
1722 echo "</tr>";
1724 if ( ($data["gu_urinary_urgency"] != "N/A" && $data["gu_urinary_urgency"] != "" && $data["gu_urinary_urgency"] != "--") || ( $data["gu_urinary_urgency_text"] != "" && $data["gu_urinary_urgency_text"] != null ) ) {
1725 echo "<tr>";
1726 echo "<td>";
1727 echo "<span class='text'>Urinary Urgency:<span>";
1728 echo "</td>";
1729 echo "<td>";
1730 echo "<span class='text'>${data['gu_urinary_urgency']}</span>";
1731 echo "</td>";
1732 echo "<td>";
1733 if ( $data['gu_urinary_urgency_text'] != null ) {
1734 echo "<span class='text'>(${data['gu_urinary_urgency_text']})</span>";
1735 } else {
1736 echo "<br/>";
1738 echo "</td>";
1739 echo "</tr>";
1741 if ( ($data["gu_recurrent_utis"] != "N/A" && $data["gu_recurrent_utis"] != "" && $data["gu_recurrent_utis"] != "--") || ( $data["gu_recurrent_utis_text"] != "" && $data["gu_recurrent_utis_text"] != null ) ) {
1742 echo "<tr>";
1743 echo "<td>";
1744 echo "<span class='text'>Recurrent UTIs:<span>";
1745 echo "</td>";
1746 echo "<td>";
1747 echo "<span class='text'>${data['gu_recurrent_utis']}</span>";
1748 echo "</td>";
1749 echo "<td>";
1750 if ( $data['gu_recurrent_utis_text'] != null ) {
1751 echo "<span class='text'>(${data['gu_recurrent_utis_text']})</span>";
1752 } else {
1753 echo "<br/>";
1755 echo "</td>";
1756 echo "</tr>";
1758 if ( ($data["gu_venereal_disease"] != "N/A" && $data["gu_venereal_disease"] != "" && $data["gu_venereal_disease"] != "--") || ( $data["gu_venereal_disease_text"] != "" && $data["gu_venereal_disease_text"] != null ) ) {
1759 echo "<tr>";
1760 echo "<td>";
1761 echo "<span class='text'>Venereal Disease:<span>";
1762 echo "</td>";
1763 echo "<td>";
1764 echo "<span class='text'>${data['gu_venereal_disease']}</span>";
1765 echo "</td>";
1766 echo "<td>";
1767 if ( $data['gu_venereal_disease_text'] != null ) {
1768 echo "<span class='text'>(${data['gu_venereal_disease_text']})</span>";
1769 } else {
1770 echo "<br/>";
1772 echo "</td>";
1773 echo "</tr>";
1775 echo "<tr><td colspan='3'><span class='bold'><u>MALE GU</u></span></td></tr>";
1776 if ( ($data["male_gu_erectile_dysfunction"] != "N/A" && $data["male_gu_erectile_dysfunction"] != "" && $data["male_gu_erectile_dysfunction"] != "--") || ( $data["male_gu_erectile_dysfunction_text"] != "" && $data["male_gu_erectile_dysfunction_text"] != null ) ) {
1777 echo "<tr>";
1778 echo "<td>";
1779 echo "<span class='text'>Erectile Dysfunction:<span>";
1780 echo "</td>";
1781 echo "<td>";
1782 echo "<span class='text'>${data['male_gu_erectile_dysfunction']}</span>";
1783 echo "</td>";
1784 echo "<td>";
1785 if ( $data['male_gu_erectile_dysfunction_text'] != null ) {
1786 echo "<span class='text'>(${data['male_gu_erectile_dysfunction_text']})</span>";
1787 } else {
1788 echo "<br/>";
1790 echo "</td>";
1791 echo "</tr>";
1793 if ( ($data["male_gu_inguinal_hernia"] != "N/A" && $data["male_gu_inguinal_hernia"] != "" && $data["male_gu_inguinal_hernia"] != "--") || ( $data["male_gu_inguinal_hernia_text"] != "" && $data["male_gu_inguinal_hernia_text"] != null ) ) {
1794 echo "<tr>";
1795 echo "<td>";
1796 echo "<span class='text'>Inguinal Hernia:<span>";
1797 echo "</td>";
1798 echo "<td>";
1799 echo "<span class='text'>${data['male_gu_inguinal_hernia']}</span>";
1800 echo "</td>";
1801 echo "<td>";
1802 if ( $data['male_gu_inguinal_hernia_text'] != null ) {
1803 echo "<span class='text'>(${data['male_gu_inguinal_hernia_text']})</span>";
1804 } else {
1805 echo "<br/>";
1807 echo "</td>";
1808 echo "</tr>";
1810 if ( ($data["male_gu_penile_lesions"] != "N/A" && $data["male_gu_penile_lesions"] != "" && $data["male_gu_penile_lesions"] != "--") || ( $data["male_gu_penile_lesions_text"] != "" && $data["male_gu_penile_lesions_text"] != null ) ) {
1811 echo "<tr>";
1812 echo "<td>";
1813 echo "<span class='text'>Penile Lesions:<span>";
1814 echo "</td>";
1815 echo "<td>";
1816 echo "<span class='text'>${data['male_gu_penile_lesions']}</span>";
1817 echo "</td>";
1818 echo "<td>";
1819 if ( $data['male_gu_penile_lesions_text'] != null ) {
1820 echo "<span class='text'>(${data['male_gu_penile_lesions_text']})</span>";
1821 } else {
1822 echo "<br/>";
1824 echo "</td>";
1825 echo "</tr>";
1827 if ( ($data["male_gu_scrotal_mass"] != "N/A" && $data["male_gu_scrotal_mass"] != "" && $data["male_gu_scrotal_mass"] != "--") || ( $data["male_gu_scrotal_mass_text"] != "" && $data["male_gu_scrotal_mass_text"] != null ) ) {
1828 echo "<tr>";
1829 echo "<td>";
1830 echo "<span class='text'>Scrotal Mass:<span>";
1831 echo "</td>";
1832 echo "<td>";
1833 echo "<span class='text'>${data['male_gu_scrotal_mass']}</span>";
1834 echo "</td>";
1835 echo "<td>";
1836 if ( $data['male_gu_scrotal_mass_text'] != null ) {
1837 echo "<span class='text'>(${data['male_gu_scrotal_mass_text']})</span>";
1838 } else {
1839 echo "<br/>";
1841 echo "</td>";
1842 echo "</tr>";
1844 if ( ($data["male_gu_testicular_pain"] != "N/A" && $data["male_gu_testicular_pain"] != "" && $data["male_gu_testicular_pain"] != "--") || ( $data["male_gu_testicular_pain_text"] != "" && $data["male_gu_testicular_pain_text"] != null ) ) {
1845 echo "<tr>";
1846 echo "<td>";
1847 echo "<span class='text'>Testicular Pain:<span>";
1848 echo "</td>";
1849 echo "<td>";
1850 echo "<span class='text'>${data['male_gu_testicular_pain']}</span>";
1851 echo "</td>";
1852 echo "<td>";
1853 if ( $data['male_gu_testicular_pain_text'] != null ) {
1854 echo "<span class='text'>(${data['male_gu_testicular_pain_text']})</span>";
1855 } else {
1856 echo "<br/>";
1858 echo "</td>";
1859 echo "</tr>";
1861 if ( ($data["male_gu_urethral_discharge"] != "N/A" && $data["male_gu_urethral_discharge"] != "" && $data["male_gu_urethral_discharge"] != "--") || ( $data["male_gu_urethral_discharge_text"] != "" && $data["male_gu_urethral_discharge_text"] != null ) ) {
1862 echo "<tr>";
1863 echo "<td>";
1864 echo "<span class='text'>Urethral Discharge:<span>";
1865 echo "</td>";
1866 echo "<td>";
1867 echo "<span class='text'>${data['male_gu_urethral_discharge']}</span>";
1868 echo "</td>";
1869 echo "<td>";
1870 if ( $data['male_gu_urethral_discharge_text'] != null ) {
1871 echo "<span class='text'>(${data['male_gu_urethral_discharge_text']})</span>";
1872 } else {
1873 echo "<br/>";
1875 echo "</td>";
1876 echo "</tr>";
1878 if ( ($data["male_gu_weak_urinary_stream"] != "N/A" && $data["male_gu_weak_urinary_stream"] != "" && $data["male_gu_weak_urinary_stream"] != "--") || ( $data["male_gu_weak_urinary_stream_text"] != "" && $data["male_gu_weak_urinary_stream_text"] != null ) ) {
1879 echo "<tr>";
1880 echo "<td>";
1881 echo "<span class='text'>Weak Urinary Stream:<span>";
1882 echo "</td>";
1883 echo "<td>";
1884 echo "<span class='text'>${data['male_gu_weak_urinary_stream']}</span>";
1885 echo "</td>";
1886 echo "<td>";
1887 if ( $data['male_gu_weak_urinary_stream_text'] != null ) {
1888 echo "<span class='text'>(${data['male_gu_weak_urinary_stream_text']})</span>";
1889 } else {
1890 echo "<br/>";
1892 echo "</td>";
1893 echo "</tr>";
1895 echo "<tr><td colspan='3'><span class='bold'><u>FEMALE GU</u></span></td></tr>";
1896 if ( ($data["female_gu_abnormal_menses"] != "N/A" && $data["female_gu_abnormal_menses"] != "" && $data["female_gu_abnormal_menses"] != "--") || ( $data["female_gu_abnormal_menses_text"] != "" && $data["female_gu_abnormal_menses_text"] != null ) ) {
1897 echo "<tr>";
1898 echo "<td>";
1899 echo "<span class='text'>Abnormal Menses:<span>";
1900 echo "</td>";
1901 echo "<td>";
1902 echo "<span class='text'>${data['female_gu_abnormal_menses']}</span>";
1903 echo "</td>";
1904 echo "<td>";
1905 if ( $data['female_gu_abnormal_menses_text'] != null ) {
1906 echo "<span class='text'>(${data['female_gu_abnormal_menses_text']})</span>";
1907 } else {
1908 echo "<br/>";
1910 echo "</td>";
1911 echo "</tr>";
1913 if ( ($data["female_gu_abnormal_vaginal_bleeding"] != "N/A" && $data["female_gu_abnormal_vaginal_bleeding"] != "" && $data["female_gu_abnormal_vaginal_bleeding"] != "--") || ( $data["female_gu_abnormal_vaginal_bleeding_text"] != "" && $data["female_gu_abnormal_vaginal_bleeding_text"] != null ) ) {
1914 echo "<tr>";
1915 echo "<td>";
1916 echo "<span class='text'>Abnormal Vaginal Bleeding:<span>";
1917 echo "</td>";
1918 echo "<td>";
1919 echo "<span class='text'>${data['female_gu_abnormal_vaginal_bleeding']}</span>";
1920 echo "</td>";
1921 echo "<td>";
1922 if ( $data['female_gu_abnormal_vaginal_bleeding_text'] != null ) {
1923 echo "<span class='text'>(${data['female_gu_abnormal_vaginal_bleeding_text']})</span>";
1924 } else {
1925 echo "<br/>";
1927 echo "</td>";
1928 echo "</tr>";
1930 if ( ($data["female_gu_vaginal_discharge"] != "N/A" && $data["female_gu_vaginal_discharge"] != "" && $data["female_gu_vaginal_discharge"] != "--") || ( $data["female_gu_vaginal_discharge_text"] != "" && $data["female_gu_vaginal_discharge_text"] != null ) ) {
1931 echo "<tr>";
1932 echo "<td>";
1933 echo "<span class='text'>Vaginal Discharge :<span>";
1934 echo "</td>";
1935 echo "<td>";
1936 echo "<span class='text'>${data['female_gu_vaginal_discharge']}</span>";
1937 echo "</td>";
1938 echo "<td>";
1939 if ( $data['female_gu_vaginal_discharge_text'] != null ) {
1940 echo "<span class='text'>(${data['female_gu_vaginal_discharge_text']})</span>";
1941 } else {
1942 echo "<br/>";
1944 echo "</td>";
1945 echo "</tr>";
1947 echo "<tr><td colspan='3'><span class='bold'><u>GI</u></span></td></tr>";
1948 if ( ($data["gi_abdominal_pain"] != "N/A" && $data["gi_abdominal_pain"] != "" && $data["gi_abdominal_pain"] != "--") || ( $data["gi_abdominal_pain_text"] != "" && $data["gi_abdominal_pain_text"] != null ) ) {
1949 echo "<tr>";
1950 echo "<td>";
1951 echo "<span class='text'>abdominal pain:<span>";
1952 echo "</td>";
1953 echo "<td>";
1954 echo "<span class='text'>${data['gi_abdominal_pain']}</span>";
1955 echo "</td>";
1956 echo "<td>";
1957 if ( $data['gi_abdominal_pain_text'] != null ) {
1958 echo "<span class='text'>(${data['gi_abdominal_pain_text']})</span>";
1959 } else {
1960 echo "<br/>";
1962 echo "</td>";
1963 echo "</tr>";
1965 if ( ($data["gi_cramps"] != "N/A" && $data["gi_cramps"] != "" && $data["gi_cramps"] != "--") || ( $data["gi_cramps_text"] != "" && $data["gi_cramps_text"] != null ) ) {
1966 echo "<tr>";
1967 echo "<td>";
1968 echo "<span class='text'>cramps:<span>";
1969 echo "</td>";
1970 echo "<td>";
1971 echo "<span class='text'>${data['gi_cramps']}</span>";
1972 echo "</td>";
1973 echo "<td>";
1974 if ( $data['gi_cramps_text'] != null ) {
1975 echo "<span class='text'>(${data['gi_cramps_text']})</span>";
1976 } else {
1977 echo "<br/>";
1979 echo "</td>";
1980 echo "</tr>";
1982 if ( ($data["gi_tenderness"] != "N/A" && $data["gi_tenderness"] != "" && $data["gi_tenderness"] != "--") || ( $data["gi_tenderness_text"] != "" && $data["gi_tenderness_text"] != null ) ) {
1983 echo "<tr>";
1984 echo "<td>";
1985 echo "<span class='text'>tenderness:<span>";
1986 echo "</td>";
1987 echo "<td>";
1988 echo "<span class='text'>${data['gi_tenderness']}</span>";
1989 echo "</td>";
1990 echo "<td>";
1991 if ( $data['gi_tenderness_text'] != null ) {
1992 echo "<span class='text'>(${data['gi_tenderness_text']})</span>";
1993 } else {
1994 echo "<br/>";
1996 echo "</td>";
1997 echo "</tr>";
1999 if ( ($data["gi_vomiting"] != "N/A" && $data["gi_vomiting"] != "" && $data["gi_vomiting"] != "--") || ( $data["gi_vomiting_text"] != "" && $data["gi_vomiting_text"] != null ) ) {
2000 echo "<tr>";
2001 echo "<td>";
2002 echo "<span class='text'>vomiting:<span>";
2003 echo "</td>";
2004 echo "<td>";
2005 echo "<span class='text'>${data['gi_vomiting']}</span>";
2006 echo "</td>";
2007 echo "<td>";
2008 if ( $data['gi_vomiting_text'] != null ) {
2009 echo "<span class='text'>(${data['gi_vomiting_text']})</span>";
2010 } else {
2011 echo "<br/>";
2013 echo "</td>";
2014 echo "</tr>";
2016 if ( ($data["gi_frequent_diarrhea"] != "N/A" && $data["gi_frequent_diarrhea"] != "" && $data["gi_frequent_diarrhea"] != "--") || ( $data["gi_frequent_diarrhea_text"] != "" && $data["gi_frequent_diarrhea_text"] != null ) ) {
2017 echo "<tr>";
2018 echo "<td>";
2019 echo "<span class='text'>frequent diarrhea:<span>";
2020 echo "</td>";
2021 echo "<td>";
2022 echo "<span class='text'>${data['gi_frequent_diarrhea']}</span>";
2023 echo "</td>";
2024 echo "<td>";
2025 if ( $data['gi_frequent_diarrhea_text'] != null ) {
2026 echo "<span class='text'>(${data['gi_frequent_diarrhea_text']})</span>";
2027 } else {
2028 echo "<br/>";
2030 echo "</td>";
2031 echo "</tr>";
2033 if ( ($data["gi_significant_constipation"] != "N/A" && $data["gi_significant_constipation"] != "" && $data["gi_significant_constipation"] != "--") || ( $data["gi_significant_constipation_text"] != "" && $data["gi_significant_constipation_text"] != null ) ) {
2034 echo "<tr>";
2035 echo "<td>";
2036 echo "<span class='text'>significant constipation:<span>";
2037 echo "</td>";
2038 echo "<td>";
2039 echo "<span class='text'>${data['gi_significant_constipation']}</span>";
2040 echo "</td>";
2041 echo "<td>";
2042 if ( $data['gi_significant_constipation_text'] != null ) {
2043 echo "<span class='text'>(${data['gi_significant_constipation_text']})</span>";
2044 } else {
2045 echo "<br/>";
2047 echo "</td>";
2048 echo "</tr>";
2050 if ( ($data["gi_excessive_belching"] != "N/A" && $data["gi_excessive_belching"] != "" && $data["gi_excessive_belching"] != "--") || ( $data["gi_excessive_belching_text"] != "" && $data["gi_excessive_belching_text"] != null ) ) {
2051 echo "<tr>";
2052 echo "<td>";
2053 echo "<span class='text'>Excessive Belching:<span>";
2054 echo "</td>";
2055 echo "<td>";
2056 echo "<span class='text'>${data['gi_excessive_belching']}</span>";
2057 echo "</td>";
2058 echo "<td>";
2059 if ( $data['gi_excessive_belching_text'] != null ) {
2060 echo "<span class='text'>(${data['gi_excessive_belching_text']})</span>";
2061 } else {
2062 echo "<br/>";
2064 echo "</td>";
2065 echo "</tr>";
2067 if ( ($data["gi_changed_bowel_habits"] != "N/A" && $data["gi_changed_bowel_habits"] != "" && $data["gi_changed_bowel_habits"] != "--") || ( $data["gi_changed_bowel_habits_text"] != "" && $data["gi_changed_bowel_habits_text"] != null ) ) {
2068 echo "<tr>";
2069 echo "<td>";
2070 echo "<span class='text'>Changed Bowel Habits:<span>";
2071 echo "</td>";
2072 echo "<td>";
2073 echo "<span class='text'>${data['gi_changed_bowel_habits']}</span>";
2074 echo "</td>";
2075 echo "<td>";
2076 if ( $data['gi_changed_bowel_habits_text'] != null ) {
2077 echo "<span class='text'>(${data['gi_changed_bowel_habits_text']})</span>";
2078 } else {
2079 echo "<br/>";
2081 echo "</td>";
2082 echo "</tr>";
2084 if ( ($data["gi_excessive_flatulence"] != "N/A" && $data["gi_excessive_flatulence"] != "" && $data["gi_excessive_flatulence"] != "--") || ( $data["gi_excessive_flatulence_text"] != "" && $data["gi_excessive_flatulence_text"] != null ) ) {
2085 echo "<tr>";
2086 echo "<td>";
2087 echo "<span class='text'>Excessive Flatulence:<span>";
2088 echo "</td>";
2089 echo "<td>";
2090 echo "<span class='text'>${data['gi_excessive_flatulence']}</span>";
2091 echo "</td>";
2092 echo "<td>";
2093 if ( $data['gi_excessive_flatulence_text'] != null ) {
2094 echo "<span class='text'>(${data['gi_excessive_flatulence_text']})</span>";
2095 } else {
2096 echo "<br/>";
2098 echo "</td>";
2099 echo "</tr>";
2101 if ( ($data["gi_hematemesis"] != "N/A" && $data["gi_hematemesis"] != "" && $data["gi_hematemesis"] != "--") || ( $data["gi_hematemesis_text"] != "" && $data["gi_hematemesis_text"] != null ) ) {
2102 echo "<tr>";
2103 echo "<td>";
2104 echo "<span class='text'>Hematemesis:<span>";
2105 echo "</td>";
2106 echo "<td>";
2107 echo "<span class='text'>${data['gi_hematemesis']}</span>";
2108 echo "</td>";
2109 echo "<td>";
2110 if ( $data['gi_hematemesis_text'] != null ) {
2111 echo "<span class='text'>(${data['gi_hematemesis_text']})</span>";
2112 } else {
2113 echo "<br/>";
2115 echo "</td>";
2116 echo "</tr>";
2118 if ( ($data["gi_hemorrhoids"] != "N/A" && $data["gi_hemorrhoids"] != "" && $data["gi_hemorrhoids"] != "--") || ( $data["gi_hemorrhoids_text"] != "" && $data["gi_hemorrhoids_text"] != null ) ) {
2119 echo "<tr>";
2120 echo "<td>";
2121 echo "<span class='text'>Hemorrhoids:<span>";
2122 echo "</td>";
2123 echo "<td>";
2124 echo "<span class='text'>${data['gi_hemorrhoids']}</span>";
2125 echo "</td>";
2126 echo "<td>";
2127 if ( $data['gi_hemorrhoids_text'] != null ) {
2128 echo "<span class='text'>(${data['gi_hemorrhoids_text']})</span>";
2129 } else {
2130 echo "<br/>";
2132 echo "</td>";
2133 echo "</tr>";
2135 if ( ($data["gi_hepatitis"] != "N/A" && $data["gi_hepatitis"] != "" && $data["gi_hepatitis"] != "--") || ( $data["gi_hepatitis_text"] != "" && $data["gi_hepatitis_text"] != null ) ) {
2136 echo "<tr>";
2137 echo "<td>";
2138 echo "<span class='text'>Hepatitis:<span>";
2139 echo "</td>";
2140 echo "<td>";
2141 echo "<span class='text'>${data['gi_hepatitis']}</span>";
2142 echo "</td>";
2143 echo "<td>";
2144 if ( $data['gi_hepatitis_text'] != null ) {
2145 echo "<span class='text'>(${data['gi_hepatitis_text']})</span>";
2146 } else {
2147 echo "<br/>";
2149 echo "</td>";
2150 echo "</tr>";
2152 if ( ($data["gi_jaundice"] != "N/A" && $data["gi_jaundice"] != "" && $data["gi_jaundice"] != "--") || ( $data["gi_jaundice_text"] != "" && $data["gi_jaundice_text"] != null ) ) {
2153 echo "<tr>";
2154 echo "<td>";
2155 echo "<span class='text'>Jaundice:<span>";
2156 echo "</td>";
2157 echo "<td>";
2158 echo "<span class='text'>${data['gi_jaundice']}</span>";
2159 echo "</td>";
2160 echo "<td>";
2161 if ( $data['gi_jaundice_text'] != null ) {
2162 echo "<span class='text'>(${data['gi_jaundice_text']})</span>";
2163 } else {
2164 echo "<br/>";
2166 echo "</td>";
2167 echo "</tr>";
2169 if ( ($data["gi_lactose_intolerance"] != "N/A" && $data["gi_lactose_intolerance"] != "" && $data["gi_lactose_intolerance"] != "--") || ( $data["gi_lactose_intolerance_text"] != "" && $data["gi_lactose_intolerance_text"] != null ) ) {
2170 echo "<tr>";
2171 echo "<td>";
2172 echo "<span class='text'>Lactose Intolerance:<span>";
2173 echo "</td>";
2174 echo "<td>";
2175 echo "<span class='text'>${data['gi_lactose_intolerance']}</span>";
2176 echo "</td>";
2177 echo "<td>";
2178 if ( $data['gi_lactose_intolerance_text'] != null ) {
2179 echo "<span class='text'>(${data['gi_lactose_intolerance_text']})</span>";
2180 } else {
2181 echo "<br/>";
2183 echo "</td>";
2184 echo "</tr>";
2186 if ( ($data["gi_chronic_laxative_use"] != "N/A" && $data["gi_chronic_laxative_use"] != "" && $data["gi_chronic_laxative_use"] != "--") || ( $data["gi_chronic_laxative_use_text"] != "" && $data["gi_chronic_laxative_use_text"] != null ) ) {
2187 echo "<tr>";
2188 echo "<td>";
2189 echo "<span class='text'>Chronic Laxative Use:<span>";
2190 echo "</td>";
2191 echo "<td>";
2192 echo "<span class='text'>${data['gi_chronic_laxative_use']}</span>";
2193 echo "</td>";
2194 echo "<td>";
2195 if ( $data['gi_chronic_laxative_use_text'] != null ) {
2196 echo "<span class='text'>(${data['gi_chronic_laxative_use_text']})</span>";
2197 } else {
2198 echo "<br/>";
2200 echo "</td>";
2201 echo "</tr>";
2203 if ( ($data["gi_melena"] != "N/A" && $data["gi_melena"] != "" && $data["gi_melena"] != "--") || ( $data["gi_melena_text"] != "" && $data["gi_melena_text"] != null ) ) {
2204 echo "<tr>";
2205 echo "<td>";
2206 echo "<span class='text'>Melena:<span>";
2207 echo "</td>";
2208 echo "<td>";
2209 echo "<span class='text'>${data['gi_melena']}</span>";
2210 echo "</td>";
2211 echo "<td>";
2212 if ( $data['gi_melena_text'] != null ) {
2213 echo "<span class='text'>(${data['gi_melena_text']})</span>";
2214 } else {
2215 echo "<br/>";
2217 echo "</td>";
2218 echo "</tr>";
2220 if ( ($data["gi_frequent_nausea"] != "N/A" && $data["gi_frequent_nausea"] != "" && $data["gi_frequent_nausea"] != "--") || ( $data["gi_frequent_nausea_text"] != "" && $data["gi_frequent_nausea_text"] != null ) ) {
2221 echo "<tr>";
2222 echo "<td>";
2223 echo "<span class='text'>Frequent Nausea:<span>";
2224 echo "</td>";
2225 echo "<td>";
2226 echo "<span class='text'>${data['gi_frequent_nausea']}</span>";
2227 echo "</td>";
2228 echo "<td>";
2229 if ( $data['gi_frequent_nausea_text'] != null ) {
2230 echo "<span class='text'>(${data['gi_frequent_nausea_text']})</span>";
2231 } else {
2232 echo "<br/>";
2234 echo "</td>";
2235 echo "</tr>";
2237 if ( ($data["gi_rectal_bleeding"] != "N/A" && $data["gi_rectal_bleeding"] != "" && $data["gi_rectal_bleeding"] != "--") || ( $data["gi_rectal_bleeding_text"] != "" && $data["gi_rectal_bleeding_text"] != null ) ) {
2238 echo "<tr>";
2239 echo "<td>";
2240 echo "<span class='text'>Rectal Bleeding:<span>";
2241 echo "</td>";
2242 echo "<td>";
2243 echo "<span class='text'>${data['gi_rectal_bleeding']}</span>";
2244 echo "</td>";
2245 echo "<td>";
2246 if ( $data['gi_rectal_bleeding_text'] != null ) {
2247 echo "<span class='text'>(${data['gi_rectal_bleeding_text']})</span>";
2248 } else {
2249 echo "<br/>";
2251 echo "</td>";
2252 echo "</tr>";
2254 if ( ($data["gi_rectal_pain"] != "N/A" && $data["gi_rectal_pain"] != "" && $data["gi_rectal_pain"] != "--") || ( $data["gi_rectal_pain_text"] != "" && $data["gi_rectal_pain_text"] != null ) ) {
2255 echo "<tr>";
2256 echo "<td>";
2257 echo "<span class='text'>Rectal Pain:<span>";
2258 echo "</td>";
2259 echo "<td>";
2260 echo "<span class='text'>${data['gi_rectal_pain']}</span>";
2261 echo "</td>";
2262 echo "<td>";
2263 if ( $data['gi_rectal_pain_text'] != null ) {
2264 echo "<span class='text'>(${data['gi_rectal_pain_text']})</span>";
2265 } else {
2266 echo "<br/>";
2268 echo "</td>";
2269 echo "</tr>";
2271 if ( ($data["gi_stool_caliber_change"] != "N/A" && $data["gi_stool_caliber_change"] != "" && $data["gi_stool_caliber_change"] != "--") || ( $data["gi_stool_caliber_change_text"] != "" && $data["gi_stool_caliber_change_text"] != null ) ) {
2272 echo "<tr>";
2273 echo "<td>";
2274 echo "<span class='text'>Stool Caliber Change:<span>";
2275 echo "</td>";
2276 echo "<td>";
2277 echo "<span class='text'>${data['gi_stool_caliber_change']}</span>";
2278 echo "</td>";
2279 echo "<td>";
2280 if ( $data['gi_stool_caliber_change_text'] != null ) {
2281 echo "<span class='text'>(${data['gi_stool_caliber_change_text']})</span>";
2282 } else {
2283 echo "<br/>";
2285 echo "</td>";
2286 echo "</tr>";
2288 echo "<tr><td colspan='3'><span class='bold'><u>INTEGUMENT:</u></span></td></tr>";
2289 if ( ($data["integument_pallor"] != "N/A" && $data["integument_pallor"] != "" && $data["integument_pallor"] != "--") || ( $data["integument_pallor_text"] != "" && $data["integument_pallor_text"] != null ) ) {
2290 echo "<tr>";
2291 echo "<td>";
2292 echo "<span class='text'>pallor:<span>";
2293 echo "</td>";
2294 echo "<td>";
2295 echo "<span class='text'>${data['integument_pallor']}</span>";
2296 echo "</td>";
2297 echo "<td>";
2298 if ( $data['integument_pallor_text'] != null ) {
2299 echo "<span class='text'>(${data['integument_pallor_text']})</span>";
2300 } else {
2301 echo "<br/>";
2303 echo "</td>";
2304 echo "</tr>";
2306 if ( ($data["integument_diaphoresis"] != "N/A" && $data["integument_diaphoresis"] != "" && $data["integument_diaphoresis"] != "--") || ( $data["integument_diaphoresis_text"] != "" && $data["integument_diaphoresis_text"] != null ) ) {
2307 echo "<tr>";
2308 echo "<td>";
2309 echo "<span class='text'>diaphoresis:<span>";
2310 echo "</td>";
2311 echo "<td>";
2312 echo "<span class='text'>${data['integument_diaphoresis']}</span>";
2313 echo "</td>";
2314 echo "<td>";
2315 if ( $data['integument_diaphoresis_text'] != null ) {
2316 echo "<span class='text'>(${data['integument_diaphoresis_text']})</span>";
2317 } else {
2318 echo "<br/>";
2320 echo "</td>";
2321 echo "</tr>";
2323 if ( ($data["integument_rash"] != "N/A" && $data["integument_rash"] != "" && $data["integument_rash"] != "--") || ( $data["integument_rash_text"] != "" && $data["integument_rash_text"] != null ) ) {
2324 echo "<tr>";
2325 echo "<td>";
2326 echo "<span class='text'>rash:<span>";
2327 echo "</td>";
2328 echo "<td>";
2329 echo "<span class='text'>${data['integument_rash']}</span>";
2330 echo "</td>";
2331 echo "<td>";
2332 if ( $data['integument_rash_text'] != null ) {
2333 echo "<span class='text'>(${data['integument_rash_text']})</span>";
2334 } else {
2335 echo "<br/>";
2337 echo "</td>";
2338 echo "</tr>";
2340 if ( ($data["integument_itching"] != "N/A" && $data["integument_itching"] != "" && $data["integument_itching"] != "--") || ( $data["integument_itching_text"] != "" && $data["integument_itching_text"] != null ) ) {
2341 echo "<tr>";
2342 echo "<td>";
2343 echo "<span class='text'>itching:<span>";
2344 echo "</td>";
2345 echo "<td>";
2346 echo "<span class='text'>${data['integument_itching']}</span>";
2347 echo "</td>";
2348 echo "<td>";
2349 if ( $data['integument_itching_text'] != null ) {
2350 echo "<span class='text'>(${data['integument_itching_text']})</span>";
2351 } else {
2352 echo "<br/>";
2354 echo "</td>";
2355 echo "</tr>";
2357 if ( ($data["integument_ulcers"] != "N/A" && $data["integument_ulcers"] != "" && $data["integument_ulcers"] != "--") || ( $data["integument_ulcers_text"] != "" && $data["integument_ulcers_text"] != null ) ) {
2358 echo "<tr>";
2359 echo "<td>";
2360 echo "<span class='text'>ulcers:<span>";
2361 echo "</td>";
2362 echo "<td>";
2363 echo "<span class='text'>${data['integument_ulcers']}</span>";
2364 echo "</td>";
2365 echo "<td>";
2366 if ( $data['integument_ulcers_text'] != null ) {
2367 echo "<span class='text'>(${data['integument_ulcers_text']})</span>";
2368 } else {
2369 echo "<br/>";
2371 echo "</td>";
2372 echo "</tr>";
2374 if ( ($data["integument_abscess"] != "N/A" && $data["integument_abscess"] != "" && $data["integument_abscess"] != "--") || ( $data["integument_abscess_text"] != "" && $data["integument_abscess_text"] != null ) ) {
2375 echo "<tr>";
2376 echo "<td>";
2377 echo "<span class='text'>abscess:<span>";
2378 echo "</td>";
2379 echo "<td>";
2380 echo "<span class='text'>${data['integument_abscess']}</span>";
2381 echo "</td>";
2382 echo "<td>";
2383 if ( $data['integument_abscess_text'] != null ) {
2384 echo "<span class='text'>(${data['integument_abscess_text']})</span>";
2385 } else {
2386 echo "<br/>";
2388 echo "</td>";
2389 echo "</tr>";
2391 if ( ($data["integument_nodules"] != "N/A" && $data["integument_nodules"] != "" && $data["integument_nodules"] != "--") || ( $data["integument_nodules_text"] != "" && $data["integument_nodules_text"] != null ) ) {
2392 echo "<tr>";
2393 echo "<td>";
2394 echo "<span class='text'>nodules:<span>";
2395 echo "</td>";
2396 echo "<td>";
2397 echo "<span class='text'>${data['integument_nodules']}</span>";
2398 echo "</td>";
2399 echo "<td>";
2400 if ( $data['integument_nodules_text'] != null ) {
2401 echo "<span class='text'>(${data['integument_nodules_text']})</span>";
2402 } else {
2403 echo "<br/>";
2405 echo "</td>";
2406 echo "</tr>";
2408 if ( ($data["integument_acne"] != "N/A" && $data["integument_acne"] != "" && $data["integument_acne"] != "--") || ( $data["integument_acne_text"] != "" && $data["integument_acne_text"] != null ) ) {
2409 echo "<tr>";
2410 echo "<td>";
2411 echo "<span class='text'>Acne:<span>";
2412 echo "</td>";
2413 echo "<td>";
2414 echo "<span class='text'>${data['integument_acne']}</span>";
2415 echo "</td>";
2416 echo "<td>";
2417 if ( $data['integument_acne_text'] != null ) {
2418 echo "<span class='text'>(${data['integument_acne_text']})</span>";
2419 } else {
2420 echo "<br/>";
2422 echo "</td>";
2423 echo "</tr>";
2425 if ( ($data["integument_recurrent_boils"] != "N/A" && $data["integument_recurrent_boils"] != "" && $data["integument_recurrent_boils"] != "--") || ( $data["integument_recurrent_boils_text"] != "" && $data["integument_recurrent_boils_text"] != null ) ) {
2426 echo "<tr>";
2427 echo "<td>";
2428 echo "<span class='text'>Recurrent Boils:<span>";
2429 echo "</td>";
2430 echo "<td>";
2431 echo "<span class='text'>${data['integument_recurrent_boils']}</span>";
2432 echo "</td>";
2433 echo "<td>";
2434 if ( $data['integument_recurrent_boils_text'] != null ) {
2435 echo "<span class='text'>(${data['integument_recurrent_boils_text']})</span>";
2436 } else {
2437 echo "<br/>";
2439 echo "</td>";
2440 echo "</tr>";
2442 if ( ($data["integument_chronic_eczema"] != "N/A" && $data["integument_chronic_eczema"] != "" && $data["integument_chronic_eczema"] != "--") || ( $data["integument_chronic_eczema_text"] != "" && $data["integument_chronic_eczema_text"] != null ) ) {
2443 echo "<tr>";
2444 echo "<td>";
2445 echo "<span class='text'>Chronic Eczema:<span>";
2446 echo "</td>";
2447 echo "<td>";
2448 echo "<span class='text'>${data['integument_chronic_eczema']}</span>";
2449 echo "</td>";
2450 echo "<td>";
2451 if ( $data['integument_chronic_eczema_text'] != null ) {
2452 echo "<span class='text'>(${data['integument_chronic_eczema_text']})</span>";
2453 } else {
2454 echo "<br/>";
2456 echo "</td>";
2457 echo "</tr>";
2459 if ( ($data["integument_changing_moles"] != "N/A" && $data["integument_changing_moles"] != "" && $data["integument_changing_moles"] != "--") || ( $data["integument_changing_moles_text"] != "" && $data["integument_changing_moles_text"] != null ) ) {
2460 echo "<tr>";
2461 echo "<td>";
2462 echo "<span class='text'>Changing Moles:<span>";
2463 echo "</td>";
2464 echo "<td>";
2465 echo "<span class='text'>${data['integument_changing_moles']}</span>";
2466 echo "</td>";
2467 echo "<td>";
2468 if ( $data['integument_changing_moles_text'] != null ) {
2469 echo "<span class='text'>(${data['integument_changing_moles_text']})</span>";
2470 } else {
2471 echo "<br/>";
2473 echo "</td>";
2474 echo "</tr>";
2476 if ( ($data["integument_nail_abnormalities"] != "N/A" && $data["integument_nail_abnormalities"] != "" && $data["integument_nail_abnormalities"] != "--") || ( $data["integument_nail_abnormalities_text"] != "" && $data["integument_nail_abnormalities_text"] != null ) ) {
2477 echo "<tr>";
2478 echo "<td>";
2479 echo "<span class='text'>Nail Abnormalities:<span>";
2480 echo "</td>";
2481 echo "<td>";
2482 echo "<span class='text'>${data['integument_nail_abnormalities']}</span>";
2483 echo "</td>";
2484 echo "<td>";
2485 if ( $data['integument_nail_abnormalities_text'] != null ) {
2486 echo "<span class='text'>(${data['integument_nail_abnormalities_text']})</span>";
2487 } else {
2488 echo "<br/>";
2490 echo "</td>";
2491 echo "</tr>";
2493 if ( ($data["integument_psoriasis"] != "N/A" && $data["integument_psoriasis"] != "" && $data["integument_psoriasis"] != "--") || ( $data["integument_psoriasis_text"] != "" && $data["integument_psoriasis_text"] != null ) ) {
2494 echo "<tr>";
2495 echo "<td>";
2496 echo "<span class='text'>Psoriasis:<span>";
2497 echo "</td>";
2498 echo "<td>";
2499 echo "<span class='text'>${data['integument_psoriasis']}</span>";
2500 echo "</td>";
2501 echo "<td>";
2502 if ( $data['integument_psoriasis_text'] != null ) {
2503 echo "<span class='text'>(${data['integument_psoriasis_text']})</span>";
2504 } else {
2505 echo "<br/>";
2507 echo "</td>";
2508 echo "</tr>";
2510 if ( ($data["integument_recurrent_hives"] != "N/A" && $data["integument_recurrent_hives"] != "" && $data["integument_recurrent_hives"] != "--") || ( $data["integument_recurrent_hives_text"] != "" && $data["integument_recurrent_hives_text"] != null ) ) {
2511 echo "<tr>";
2512 echo "<td>";
2513 echo "<span class='text'>Recurrent Hives:<span>";
2514 echo "</td>";
2515 echo "<td>";
2516 echo "<span class='text'>${data['integument_recurrent_hives']}</span>";
2517 echo "</td>";
2518 echo "<td>";
2519 if ( $data['integument_recurrent_hives_text'] != null ) {
2520 echo "<span class='text'>(${data['integument_recurrent_hives_text']})</span>";
2521 } else {
2522 echo "<br/>";
2524 echo "</td>";
2525 echo "</tr>";
2527 echo "<tr><td colspan='3'><span class='bold'><u>MUSCULOSKELETAL:</u></span></td></tr>";
2528 if ( ($data["musculoskeletal_deformity"] != "N/A" && $data["musculoskeletal_deformity"] != "" && $data["musculoskeletal_deformity"] != "--") || ( $data["musculoskeletal_deformity_text"] != "" && $data["musculoskeletal_deformity_text"] != null ) ) {
2529 echo "<tr>";
2530 echo "<td>";
2531 echo "<span class='text'>deformity:<span>";
2532 echo "</td>";
2533 echo "<td>";
2534 echo "<span class='text'>${data['musculoskeletal_deformity']}</span>";
2535 echo "</td>";
2536 echo "<td>";
2537 if ( $data['musculoskeletal_deformity_text'] != null ) {
2538 echo "<span class='text'>(${data['musculoskeletal_deformity_text']})</span>";
2539 } else {
2540 echo "<br/>";
2542 echo "</td>";
2543 echo "</tr>";
2545 if ( ($data["musculoskeletal_edema"] != "N/A" && $data["musculoskeletal_edema"] != "" && $data["musculoskeletal_edema"] != "--") || ( $data["musculoskeletal_edema_text"] != "" && $data["musculoskeletal_edema_text"] != null ) ) {
2546 echo "<tr>";
2547 echo "<td>";
2548 echo "<span class='text'>edema:<span>";
2549 echo "</td>";
2550 echo "<td>";
2551 echo "<span class='text'>${data['musculoskeletal_edema']}</span>";
2552 echo "</td>";
2553 echo "<td>";
2554 if ( $data['musculoskeletal_edema_text'] != null ) {
2555 echo "<span class='text'>(${data['musculoskeletal_edema_text']})</span>";
2556 } else {
2557 echo "<br/>";
2559 echo "</td>";
2560 echo "</tr>";
2562 if ( ($data["musculoskeletal_pain"] != "N/A" && $data["musculoskeletal_pain"] != "" && $data["musculoskeletal_pain"] != "--") || ( $data["musculoskeletal_pain_text"] != "" && $data["musculoskeletal_pain_text"] != null ) ) {
2563 echo "<tr>";
2564 echo "<td>";
2565 echo "<span class='text'>pain:<span>";
2566 echo "</td>";
2567 echo "<td>";
2568 echo "<span class='text'>${data['musculoskeletal_pain']}</span>";
2569 echo "</td>";
2570 echo "<td>";
2571 if ( $data['musculoskeletal_pain_text'] != null ) {
2572 echo "<span class='text'>(${data['musculoskeletal_pain_text']})</span>";
2573 } else {
2574 echo "<br/>";
2576 echo "</td>";
2577 echo "</tr>";
2579 if ( ($data["musculoskeletal_limited_rom"] != "N/A" && $data["musculoskeletal_limited_rom"] != "" && $data["musculoskeletal_limited_rom"] != "--") || ( $data["musculoskeletal_limited_rom_text"] != "" && $data["musculoskeletal_limited_rom_text"] != null ) ) {
2580 echo "<tr>";
2581 echo "<td>";
2582 echo "<span class='text'>limited ROM:<span>";
2583 echo "</td>";
2584 echo "<td>";
2585 echo "<span class='text'>${data['musculoskeletal_limited_rom']}</span>";
2586 echo "</td>";
2587 echo "<td>";
2588 if ( $data['musculoskeletal_limited_rom_text'] != null ) {
2589 echo "<span class='text'>(${data['musculoskeletal_limited_rom_text']})</span>";
2590 } else {
2591 echo "<br/>";
2593 echo "</td>";
2594 echo "</tr>";
2596 if ( ($data["musculoskeletal_gait"] != "N/A" && $data["musculoskeletal_gait"] != "" && $data["musculoskeletal_gait"] != "--") || ( $data["musculoskeletal_gait_text"] != "" && $data["musculoskeletal_gait_text"] != null ) ) {
2597 echo "<tr>";
2598 echo "<td>";
2599 echo "<span class='text'>gait:<span>";
2600 echo "</td>";
2601 echo "<td>";
2602 echo "<span class='text'>${data['musculoskeletal_gait']}</span>";
2603 echo "</td>";
2604 echo "<td>";
2605 if ( $data['musculoskeletal_gait_text'] != null ) {
2606 echo "<span class='text'>(${data['musculoskeletal_gait_text']})</span>";
2607 } else {
2608 echo "<br/>";
2610 echo "</td>";
2611 echo "</tr>";
2613 if ( ($data["musculoskeletal_arthritis"] != "N/A" && $data["musculoskeletal_arthritis"] != "" && $data["musculoskeletal_arthritis"] != "--") || ( $data["musculoskeletal_arthritis_text"] != "" && $data["musculoskeletal_arthritis_text"] != null ) ) {
2614 echo "<tr>";
2615 echo "<td>";
2616 echo "<span class='text'>Arthritis:<span>";
2617 echo "</td>";
2618 echo "<td>";
2619 echo "<span class='text'>${data['musculoskeletal_arthritis']}</span>";
2620 echo "</td>";
2621 echo "<td>";
2622 if ( $data['musculoskeletal_arthritis_text'] != null ) {
2623 echo "<span class='text'>(${data['musculoskeletal_arthritis_text']})</span>";
2624 } else {
2625 echo "<br/>";
2627 echo "</td>";
2628 echo "</tr>";
2630 if ( ($data["musculoskeletal_neck_pain"] != "N/A" && $data["musculoskeletal_neck_pain"] != "" && $data["musculoskeletal_neck_pain"] != "--") || ( $data["musculoskeletal_neck_pain_text"] != "" && $data["musculoskeletal_neck_pain_text"] != null ) ) {
2631 echo "<tr>";
2632 echo "<td>";
2633 echo "<span class='text'>Neck Pain:<span>";
2634 echo "</td>";
2635 echo "<td>";
2636 echo "<span class='text'>${data['musculoskeletal_neck_pain']}</span>";
2637 echo "</td>";
2638 echo "<td>";
2639 if ( $data['musculoskeletal_neck_pain_text'] != null ) {
2640 echo "<span class='text'>(${data['musculoskeletal_neck_pain_text']})</span>";
2641 } else {
2642 echo "<br/>";
2644 echo "</td>";
2645 echo "</tr>";
2647 if ( ($data["musculoskeletal_mid_back_pain"] != "N/A" && $data["musculoskeletal_mid_back_pain"] != "" && $data["musculoskeletal_mid_back_pain"] != "--") || ( $data["musculoskeletal_mid_back_pain_text"] != "" && $data["musculoskeletal_mid_back_pain_text"] != null ) ) {
2648 echo "<tr>";
2649 echo "<td>";
2650 echo "<span class='text'>Mid Back Pain:<span>";
2651 echo "</td>";
2652 echo "<td>";
2653 echo "<span class='text'>${data['musculoskeletal_mid_back_pain']}</span>";
2654 echo "</td>";
2655 echo "<td>";
2656 if ( $data['musculoskeletal_mid_back_pain_text'] != null ) {
2657 echo "<span class='text'>(${data['musculoskeletal_mid_back_pain_text']})</span>";
2658 } else {
2659 echo "<br/>";
2661 echo "</td>";
2662 echo "</tr>";
2664 if ( ($data["musculoskeletal_low_back_pain"] != "N/A" && $data["musculoskeletal_low_back_pain"] != "" && $data["musculoskeletal_low_back_pain"] != "--") || ( $data["musculoskeletal_low_back_pain_text"] != "" && $data["musculoskeletal_low_back_pain_text"] != null ) ) {
2665 echo "<tr>";
2666 echo "<td>";
2667 echo "<span class='text'>Low Back Pain:<span>";
2668 echo "</td>";
2669 echo "<td>";
2670 echo "<span class='text'>${data['musculoskeletal_low_back_pain']}</span>";
2671 echo "</td>";
2672 echo "<td>";
2673 if ( $data['musculoskeletal_low_back_pain_text'] != null ) {
2674 echo "<span class='text'>(${data['musculoskeletal_low_back_pain_text']})</span>";
2675 } else {
2676 echo "<br/>";
2678 echo "</td>";
2679 echo "</tr>";
2681 if ( ($data["musculoskeletal_bursitis"] != "N/A" && $data["musculoskeletal_bursitis"] != "" && $data["musculoskeletal_bursitis"] != "--") || ( $data["musculoskeletal_bursitis_text"] != "" && $data["musculoskeletal_bursitis_text"] != null ) ) {
2682 echo "<tr>";
2683 echo "<td>";
2684 echo "<span class='text'>Bursitis:<span>";
2685 echo "</td>";
2686 echo "<td>";
2687 echo "<span class='text'>${data['musculoskeletal_bursitis']}</span>";
2688 echo "</td>";
2689 echo "<td>";
2690 if ( $data['musculoskeletal_bursitis_text'] != null ) {
2691 echo "<span class='text'>(${data['musculoskeletal_bursitis_text']})</span>";
2692 } else {
2693 echo "<br/>";
2695 echo "</td>";
2696 echo "</tr>";
2698 if ( ($data["musculoskeletal_gout"] != "N/A" && $data["musculoskeletal_gout"] != "" && $data["musculoskeletal_gout"] != "--") || ( $data["musculoskeletal_gout_text"] != "" && $data["musculoskeletal_gout_text"] != null ) ) {
2699 echo "<tr>";
2700 echo "<td>";
2701 echo "<span class='text'>Gout:<span>";
2702 echo "</td>";
2703 echo "<td>";
2704 echo "<span class='text'>${data['musculoskeletal_gout']}</span>";
2705 echo "</td>";
2706 echo "<td>";
2707 if ( $data['musculoskeletal_gout_text'] != null ) {
2708 echo "<span class='text'>(${data['musculoskeletal_gout_text']})</span>";
2709 } else {
2710 echo "<br/>";
2712 echo "</td>";
2713 echo "</tr>";
2715 if ( ($data["musculoskeletal_joint_injury"] != "N/A" && $data["musculoskeletal_joint_injury"] != "" && $data["musculoskeletal_joint_injury"] != "--") || ( $data["musculoskeletal_joint_injury_text"] != "" && $data["musculoskeletal_joint_injury_text"] != null ) ) {
2716 echo "<tr>";
2717 echo "<td>";
2718 echo "<span class='text'>Joint Injury:<span>";
2719 echo "</td>";
2720 echo "<td>";
2721 echo "<span class='text'>${data['musculoskeletal_joint_injury']}</span>";
2722 echo "</td>";
2723 echo "<td>";
2724 if ( $data['musculoskeletal_joint_injury_text'] != null ) {
2725 echo "<span class='text'>(${data['musculoskeletal_joint_injury_text']})</span>";
2726 } else {
2727 echo "<br/>";
2729 echo "</td>";
2730 echo "</tr>";
2732 if ( ($data["musculoskeletal_joint_pain"] != "N/A" && $data["musculoskeletal_joint_pain"] != "" && $data["musculoskeletal_joint_pain"] != "--") || ( $data["musculoskeletal_joint_pain_text"] != "" && $data["musculoskeletal_joint_pain_text"] != null ) ) {
2733 echo "<tr>";
2734 echo "<td>";
2735 echo "<span class='text'>Joint Pain:<span>";
2736 echo "</td>";
2737 echo "<td>";
2738 echo "<span class='text'>${data['musculoskeletal_joint_pain']}</span>";
2739 echo "</td>";
2740 echo "<td>";
2741 if ( $data['musculoskeletal_joint_pain_text'] != null ) {
2742 echo "<span class='text'>(${data['musculoskeletal_joint_pain_text']})</span>";
2743 } else {
2744 echo "<br/>";
2746 echo "</td>";
2747 echo "</tr>";
2749 if ( ($data["musculoskeletal_joint_swelling"] != "N/A" && $data["musculoskeletal_joint_swelling"] != "" && $data["musculoskeletal_joint_swelling"] != "--") || ( $data["musculoskeletal_joint_swelling_text"] != "" && $data["musculoskeletal_joint_swelling_text"] != null ) ) {
2750 echo "<tr>";
2751 echo "<td>";
2752 echo "<span class='text'>Joint Swelling:<span>";
2753 echo "</td>";
2754 echo "<td>";
2755 echo "<span class='text'>${data['musculoskeletal_joint_swelling']}</span>";
2756 echo "</td>";
2757 echo "<td>";
2758 if ( $data['musculoskeletal_joint_swelling_text'] != null ) {
2759 echo "<span class='text'>(${data['musculoskeletal_joint_swelling_text']})</span>";
2760 } else {
2761 echo "<br/>";
2763 echo "</td>";
2764 echo "</tr>";
2766 if ( ($data["musculoskeletal_myalgias"] != "N/A" && $data["musculoskeletal_myalgias"] != "" && $data["musculoskeletal_myalgias"] != "--") || ( $data["musculoskeletal_myalgias_text"] != "" && $data["musculoskeletal_myalgias_text"] != null ) ) {
2767 echo "<tr>";
2768 echo "<td>";
2769 echo "<span class='text'>Myalgias:<span>";
2770 echo "</td>";
2771 echo "<td>";
2772 echo "<span class='text'>${data['musculoskeletal_myalgias']}</span>";
2773 echo "</td>";
2774 echo "<td>";
2775 if ( $data['musculoskeletal_myalgias_text'] != null ) {
2776 echo "<span class='text'>(${data['musculoskeletal_myalgias_text']})</span>";
2777 } else {
2778 echo "<br/>";
2780 echo "</td>";
2781 echo "</tr>";
2783 if ( ($data["musculoskeletal_sciatica"] != "N/A" && $data["musculoskeletal_sciatica"] != "" && $data["musculoskeletal_sciatica"] != "--") || ( $data["musculoskeletal_sciatica_text"] != "" && $data["musculoskeletal_sciatica_text"] != null ) ) {
2784 echo "<tr>";
2785 echo "<td>";
2786 echo "<span class='text'>Sciatica:<span>";
2787 echo "</td>";
2788 echo "<td>";
2789 echo "<span class='text'>${data['musculoskeletal_sciatica']}</span>";
2790 echo "</td>";
2791 echo "<td>";
2792 if ( $data['musculoskeletal_sciatica_text'] != null ) {
2793 echo "<span class='text'>(${data['musculoskeletal_sciatica_text']})</span>";
2794 } else {
2795 echo "<br/>";
2797 echo "</td>";
2798 echo "</tr>";
2800 if ( ($data["musculoskeletal_scoliosis"] != "N/A" && $data["musculoskeletal_scoliosis"] != "" && $data["musculoskeletal_scoliosis"] != "--") || ( $data["musculoskeletal_scoliosis_text"] != "" && $data["musculoskeletal_scoliosis_text"] != null ) ) {
2801 echo "<tr>";
2802 echo "<td>";
2803 echo "<span class='text'>Scoliosis:<span>";
2804 echo "</td>";
2805 echo "<td>";
2806 echo "<span class='text'>${data['musculoskeletal_scoliosis']}</span>";
2807 echo "</td>";
2808 echo "<td>";
2809 if ( $data['musculoskeletal_scoliosis_text'] != null ) {
2810 echo "<span class='text'>(${data['musculoskeletal_scoliosis_text']})</span>";
2811 } else {
2812 echo "<br/>";
2814 echo "</td>";
2815 echo "</tr>";
2817 echo "<tr><td colspan='3'><span class='bold'><u>HEMATOLOGICAL</u></span></td></tr>";
2818 if ( ($data["hematological_anemia"] != "N/A" && $data["hematological_anemia"] != "" && $data["hematological_anemia"] != "--") || ( $data["hematological_anemia_text"] != "" && $data["hematological_anemia_text"] != null ) ) {
2819 echo "<tr>";
2820 echo "<td>";
2821 echo "<span class='text'>Anemia:<span>";
2822 echo "</td>";
2823 echo "<td>";
2824 echo "<span class='text'>${data['hematological_anemia']}</span>";
2825 echo "</td>";
2826 echo "<td>";
2827 if ( $data['hematological_anemia_text'] != null ) {
2828 echo "<span class='text'>(${data['hematological_anemia_text']})</span>";
2829 } else {
2830 echo "<br/>";
2832 echo "</td>";
2833 echo "</tr>";
2835 if ( ($data["hematological_pallor"] != "N/A" && $data["hematological_pallor"] != "" && $data["hematological_pallor"] != "--") || ( $data["hematological_pallor_text"] != "" && $data["hematological_pallor_text"] != null ) ) {
2836 echo "<tr>";
2837 echo "<td>";
2838 echo "<span class='text'>Pallor:<span>";
2839 echo "</td>";
2840 echo "<td>";
2841 echo "<span class='text'>${data['hematological_pallor']}</span>";
2842 echo "</td>";
2843 echo "<td>";
2844 if ( $data['hematological_pallor_text'] != null ) {
2845 echo "<span class='text'>(${data['hematological_pallor_text']})</span>";
2846 } else {
2847 echo "<br/>";
2849 echo "</td>";
2850 echo "</tr>";
2852 if ( ($data["hematological_bleeding_tendencies"] != "N/A" && $data["hematological_bleeding_tendencies"] != "" && $data["hematological_bleeding_tendencies"] != "--") || ( $data["hematological_bleeding_tendencies_text"] != "" && $data["hematological_bleeding_tendencies_text"] != null ) ) {
2853 echo "<tr>";
2854 echo "<td>";
2855 echo "<span class='text'>Bleeding Tendencies:<span>";
2856 echo "</td>";
2857 echo "<td>";
2858 echo "<span class='text'>${data['hematological_bleeding_tendencies']}</span>";
2859 echo "</td>";
2860 echo "<td>";
2861 if ( $data['hematological_bleeding_tendencies_text'] != null ) {
2862 echo "<span class='text'>(${data['hematological_bleeding_tendencies_text']})</span>";
2863 } else {
2864 echo "<br/>";
2866 echo "</td>";
2867 echo "</tr>";
2869 if ( ($data["hematological_bruising"] != "N/A" && $data["hematological_bruising"] != "" && $data["hematological_bruising"] != "--") || ( $data["hematological_bruising_text"] != "" && $data["hematological_bruising_text"] != null ) ) {
2870 echo "<tr>";
2871 echo "<td>";
2872 echo "<span class='text'>Bruising:<span>";
2873 echo "</td>";
2874 echo "<td>";
2875 echo "<span class='text'>${data['hematological_bruising']}</span>";
2876 echo "</td>";
2877 echo "<td>";
2878 if ( $data['hematological_bruising_text'] != null ) {
2879 echo "<span class='text'>(${data['hematological_bruising_text']})</span>";
2880 } else {
2881 echo "<br/>";
2883 echo "</td>";
2884 echo "</tr>";
2886 echo "<tr><td colspan='3'><span class='bold'><u>ENDOCRINE</u></span></td></tr>";
2887 if ( ($data["endocrine_thyroid_problems"] != "N/A" && $data["endocrine_thyroid_problems"] != "" && $data["endocrine_thyroid_problems"] != "--") || ( $data["endocrine_thyroid_problems_text"] != "" && $data["endocrine_thyroid_problems_text"] != null ) ) {
2888 echo "<tr>";
2889 echo "<td>";
2890 echo "<span class='text'>Thyroid Problems:<span>";
2891 echo "</td>";
2892 echo "<td>";
2893 echo "<span class='text'>${data['endocrine_thyroid_problems']}</span>";
2894 echo "</td>";
2895 echo "<td>";
2896 if ( $data['endocrine_thyroid_problems_text'] != null ) {
2897 echo "<span class='text'>(${data['endocrine_thyroid_problems_text']})</span>";
2898 } else {
2899 echo "<br/>";
2901 echo "</td>";
2902 echo "</tr>";
2904 if ( ($data["endocrine_enlarged_thyroid"] != "N/A" && $data["endocrine_enlarged_thyroid"] != "" && $data["endocrine_enlarged_thyroid"] != "--") || ( $data["endocrine_enlarged_thyroid_text"] != "" && $data["endocrine_enlarged_thyroid_text"] != null ) ) {
2905 echo "<tr>";
2906 echo "<td>";
2907 echo "<span class='text'>Enlarged Thyroid:<span>";
2908 echo "</td>";
2909 echo "<td>";
2910 echo "<span class='text'>${data['endocrine_enlarged_thyroid']}</span>";
2911 echo "</td>";
2912 echo "<td>";
2913 if ( $data['endocrine_enlarged_thyroid_text'] != null ) {
2914 echo "<span class='text'>(${data['endocrine_enlarged_thyroid_text']})</span>";
2915 } else {
2916 echo "<br/>";
2918 echo "</td>";
2919 echo "</tr>";
2921 if ( ($data["endocrine_hyperglycemia"] != "N/A" && $data["endocrine_hyperglycemia"] != "" && $data["endocrine_hyperglycemia"] != "--") || ( $data["endocrine_hyperglycemia_text"] != "" && $data["endocrine_hyperglycemia_text"] != null ) ) {
2922 echo "<tr>";
2923 echo "<td>";
2924 echo "<span class='text'>Hyperglycemia:<span>";
2925 echo "</td>";
2926 echo "<td>";
2927 echo "<span class='text'>${data['endocrine_hyperglycemia']}</span>";
2928 echo "</td>";
2929 echo "<td>";
2930 if ( $data['endocrine_hyperglycemia_text'] != null ) {
2931 echo "<span class='text'>(${data['endocrine_hyperglycemia_text']})</span>";
2932 } else {
2933 echo "<br/>";
2935 echo "</td>";
2936 echo "</tr>";
2938 if ( ($data["endocrine_hypoglycemia"] != "N/A" && $data["endocrine_hypoglycemia"] != "" && $data["endocrine_hypoglycemia"] != "--") || ( $data["endocrine_hypoglycemia_text"] != "" && $data["endocrine_hypoglycemia_text"] != null ) ) {
2939 echo "<tr>";
2940 echo "<td>";
2941 echo "<span class='text'>Hypoglycemia:<span>";
2942 echo "</td>";
2943 echo "<td>";
2944 echo "<span class='text'>${data['endocrine_hypoglycemia']}</span>";
2945 echo "</td>";
2946 echo "<td>";
2947 if ( $data['endocrine_hypoglycemia_text'] != null ) {
2948 echo "<span class='text'>(${data['endocrine_hypoglycemia_text']})</span>";
2949 } else {
2950 echo "<br/>";
2952 echo "</td>";
2953 echo "</tr>";
2955 if ( ($data["endocrine_cold_intolerance"] != "N/A" && $data["endocrine_cold_intolerance"] != "" && $data["endocrine_cold_intolerance"] != "--") || ( $data["endocrine_cold_intolerance_text"] != "" && $data["endocrine_cold_intolerance_text"] != null ) ) {
2956 echo "<tr>";
2957 echo "<td>";
2958 echo "<span class='text'>Cold Intolerance:<span>";
2959 echo "</td>";
2960 echo "<td>";
2961 echo "<span class='text'>${data['endocrine_cold_intolerance']}</span>";
2962 echo "</td>";
2963 echo "<td>";
2964 if ( $data['endocrine_cold_intolerance_text'] != null ) {
2965 echo "<span class='text'>(${data['endocrine_cold_intolerance_text']})</span>";
2966 } else {
2967 echo "<br/>";
2969 echo "</td>";
2970 echo "</tr>";
2972 if ( ($data["endocrine_heat_intolerance"] != "N/A" && $data["endocrine_heat_intolerance"] != "" && $data["endocrine_heat_intolerance"] != "--") || ( $data["endocrine_heat_intolerance_text"] != "" && $data["endocrine_heat_intolerance_text"] != null ) ) {
2973 echo "<tr>";
2974 echo "<td>";
2975 echo "<span class='text'>Heat Intolerance:<span>";
2976 echo "</td>";
2977 echo "<td>";
2978 echo "<span class='text'>${data['endocrine_heat_intolerance']}</span>";
2979 echo "</td>";
2980 echo "<td>";
2981 if ( $data['endocrine_heat_intolerance_text'] != null ) {
2982 echo "<span class='text'>(${data['endocrine_heat_intolerance_text']})</span>";
2983 } else {
2984 echo "<br/>";
2986 echo "</td>";
2987 echo "</tr>";
2989 if ( ($data["endocrine_early_awakening"] != "N/A" && $data["endocrine_early_awakening"] != "" && $data["endocrine_early_awakening"] != "--") || ( $data["endocrine_early_awakening_text"] != "" && $data["endocrine_early_awakening_text"] != null ) ) {
2990 echo "<tr>";
2991 echo "<td>";
2992 echo "<span class='text'>Early Awakening:<span>";
2993 echo "</td>";
2994 echo "<td>";
2995 echo "<span class='text'>${data['endocrine_early_awakening']}</span>";
2996 echo "</td>";
2997 echo "<td>";
2998 if ( $data['endocrine_early_awakening_text'] != null ) {
2999 echo "<span class='text'>(${data['endocrine_early_awakening_text']})</span>";
3000 } else {
3001 echo "<br/>";
3003 echo "</td>";
3004 echo "</tr>";
3006 if ( ($data["endocrine_fatigue_unexplained"] != "N/A" && $data["endocrine_fatigue_unexplained"] != "" && $data["endocrine_fatigue_unexplained"] != "--") || ( $data["endocrine_fatigue_unexplained_text"] != "" && $data["endocrine_fatigue_unexplained_text"] != null ) ) {
3007 echo "<tr>";
3008 echo "<td>";
3009 echo "<span class='text'>Fatigue unexplained:<span>";
3010 echo "</td>";
3011 echo "<td>";
3012 echo "<span class='text'>${data['endocrine_fatigue_unexplained']}</span>";
3013 echo "</td>";
3014 echo "<td>";
3015 if ( $data['endocrine_fatigue_unexplained_text'] != null ) {
3016 echo "<span class='text'>(${data['endocrine_fatigue_unexplained_text']})</span>";
3017 } else {
3018 echo "<br/>";
3020 echo "</td>";
3021 echo "</tr>";
3023 if ( ($data["endocrine_weight_gain"] != "N/A" && $data["endocrine_weight_gain"] != "" && $data["endocrine_weight_gain"] != "--") || ( $data["endocrine_weight_gain_text"] != "" && $data["endocrine_weight_gain_text"] != null ) ) {
3024 echo "<tr>";
3025 echo "<td>";
3026 echo "<span class='text'>Weight Gain:<span>";
3027 echo "</td>";
3028 echo "<td>";
3029 echo "<span class='text'>${data['endocrine_weight_gain']}</span>";
3030 echo "</td>";
3031 echo "<td>";
3032 if ( $data['endocrine_weight_gain_text'] != null ) {
3033 echo "<span class='text'>(${data['endocrine_weight_gain_text']})</span>";
3034 } else {
3035 echo "<br/>";
3037 echo "</td>";
3038 echo "</tr>";
3040 if ( ($data["endocrine_weight_loss"] != "N/A" && $data["endocrine_weight_loss"] != "" && $data["endocrine_weight_loss"] != "--") || ( $data["endocrine_weight_loss_text"] != "" && $data["endocrine_weight_loss_text"] != null ) ) {
3041 echo "<tr>";
3042 echo "<td>";
3043 echo "<span class='text'>Weight Loss:<span>";
3044 echo "</td>";
3045 echo "<td>";
3046 echo "<span class='text'>${data['endocrine_weight_loss']}</span>";
3047 echo "</td>";
3048 echo "<td>";
3049 if ( $data['endocrine_weight_loss_text'] != null ) {
3050 echo "<span class='text'>(${data['endocrine_weight_loss_text']})</span>";
3051 } else {
3052 echo "<br/>";
3054 echo "</td>";
3055 echo "</tr>";
3057 if ( ($data["endocrine_premenstrual_symptoms"] != "N/A" && $data["endocrine_premenstrual_symptoms"] != "" && $data["endocrine_premenstrual_symptoms"] != "--") || ( $data["endocrine_premenstrual_symptoms_text"] != "" && $data["endocrine_premenstrual_symptoms_text"] != null ) ) {
3058 echo "<tr>";
3059 echo "<td>";
3060 echo "<span class='text'>Premenstrual symptoms:<span>";
3061 echo "</td>";
3062 echo "<td>";
3063 echo "<span class='text'>${data['endocrine_premenstrual_symptoms']}</span>";
3064 echo "</td>";
3065 echo "<td>";
3066 if ( $data['endocrine_premenstrual_symptoms_text'] != null ) {
3067 echo "<span class='text'>(${data['endocrine_premenstrual_symptoms_text']})</span>";
3068 } else {
3069 echo "<br/>";
3071 echo "</td>";
3072 echo "</tr>";
3074 if ( ($data["endocrine_hair_no_change_or_no_loss"] != "N/A" && $data["endocrine_hair_no_change_or_no_loss"] != "" && $data["endocrine_hair_no_change_or_no_loss"] != "--") || ( $data["endocrine_hair_no_change_or_no_loss_text"] != "" && $data["endocrine_hair_no_change_or_no_loss_text"] != null ) ) {
3075 echo "<tr>";
3076 echo "<td>";
3077 echo "<span class='text'>Hair (no change or no loss):<span>";
3078 echo "</td>";
3079 echo "<td>";
3080 echo "<span class='text'>${data['endocrine_hair_no_change_or_no_loss']}</span>";
3081 echo "</td>";
3082 echo "<td>";
3083 if ( $data['endocrine_hair_no_change_or_no_loss_text'] != null ) {
3084 echo "<span class='text'>(${data['endocrine_hair_no_change_or_no_loss_text']})</span>";
3085 } else {
3086 echo "<br/>";
3088 echo "</td>";
3089 echo "</tr>";
3091 if ( ($data["endocrine_hot_flashes"] != "N/A" && $data["endocrine_hot_flashes"] != "" && $data["endocrine_hot_flashes"] != "--") || ( $data["endocrine_hot_flashes_text"] != "" && $data["endocrine_hot_flashes_text"] != null ) ) {
3092 echo "<tr>";
3093 echo "<td>";
3094 echo "<span class='text'>Hot flashes:<span>";
3095 echo "</td>";
3096 echo "<td>";
3097 echo "<span class='text'>${data['endocrine_hot_flashes']}</span>";
3098 echo "</td>";
3099 echo "<td>";
3100 if ( $data['endocrine_hot_flashes_text'] != null ) {
3101 echo "<span class='text'>(${data['endocrine_hot_flashes_text']})</span>";
3102 } else {
3103 echo "<br/>";
3105 echo "</td>";
3106 echo "</tr>";
3108 echo "<tr><td colspan='3'><span class='bold'><u>LYMPHATIC</u></span></td></tr>";
3109 if ( ($data["lymphatic_swollen_lymph_nodes"] != "N/A" && $data["lymphatic_swollen_lymph_nodes"] != "" && $data["lymphatic_swollen_lymph_nodes"] != "--") || ( $data["lymphatic_swollen_lymph_nodes_text"] != "" && $data["lymphatic_swollen_lymph_nodes_text"] != null ) ) {
3110 echo "<tr>";
3111 echo "<td>";
3112 echo "<span class='text'>Swollen lymph nodes:<span>";
3113 echo "</td>";
3114 echo "<td>";
3115 echo "<span class='text'>${data['lymphatic_swollen_lymph_nodes']}</span>";
3116 echo "</td>";
3117 echo "<td>";
3118 if ( $data['lymphatic_swollen_lymph_nodes_text'] != null ) {
3119 echo "<span class='text'>(${data['lymphatic_swollen_lymph_nodes_text']})</span>";
3120 } else {
3121 echo "<br/>";
3123 echo "</td>";
3124 echo "</tr>";
3126 if ( ($data["lymphatic_swollen_extremities"] != "N/A" && $data["lymphatic_swollen_extremities"] != "" && $data["lymphatic_swollen_extremities"] != "--") || ( $data["lymphatic_swollen_extremities_text"] != "" && $data["lymphatic_swollen_extremities_text"] != null ) ) {
3127 echo "<tr>";
3128 echo "<td>";
3129 echo "<span class='text'>Swollen extremities:<span>";
3130 echo "</td>";
3131 echo "<td>";
3132 echo "<span class='text'>${data['lymphatic_swollen_extremities']}</span>";
3133 echo "</td>";
3134 echo "<td>";
3135 if ( $data['lymphatic_swollen_extremities_text'] != null ) {
3136 echo "<span class='text'>(${data['lymphatic_swollen_extremities_text']})</span>";
3137 } else {
3138 echo "<br/>";
3140 echo "</td>";
3141 echo "</tr>";
3143 echo "<tr><td colspan='3'><span class='bold'><u>PSYCHIATRIC</u></span></td></tr>";
3144 if ( ($data["psychiatric_compulsions"] != "N/A" && $data["psychiatric_compulsions"] != "" && $data["psychiatric_compulsions"] != "--") || ( $data["psychiatric_compulsions_text"] != "" && $data["psychiatric_compulsions_text"] != null ) ) {
3145 echo "<tr>";
3146 echo "<td>";
3147 echo "<span class='text'>Compulsions:<span>";
3148 echo "</td>";
3149 echo "<td>";
3150 echo "<span class='text'>${data['psychiatric_compulsions']}</span>";
3151 echo "</td>";
3152 echo "<td>";
3153 if ( $data['psychiatric_compulsions_text'] != null ) {
3154 echo "<span class='text'>(${data['psychiatric_compulsions_text']})</span>";
3155 } else {
3156 echo "<br/>";
3158 echo "</td>";
3159 echo "</tr>";
3161 if ( ($data["psychiatric_depression"] != "N/A" && $data["psychiatric_depression"] != "" && $data["psychiatric_depression"] != "--") || ( $data["psychiatric_depression_text"] != "" && $data["psychiatric_depression_text"] != null ) ) {
3162 echo "<tr>";
3163 echo "<td>";
3164 echo "<span class='text'>Depression:<span>";
3165 echo "</td>";
3166 echo "<td>";
3167 echo "<span class='text'>${data['psychiatric_depression']}</span>";
3168 echo "</td>";
3169 echo "<td>";
3170 if ( $data['psychiatric_depression_text'] != null ) {
3171 echo "<span class='text'>(${data['psychiatric_depression_text']})</span>";
3172 } else {
3173 echo "<br/>";
3175 echo "</td>";
3176 echo "</tr>";
3178 if ( ($data["psychiatric_fear"] != "N/A" && $data["psychiatric_fear"] != "" && $data["psychiatric_fear"] != "--") || ( $data["psychiatric_fear_text"] != "" && $data["psychiatric_fear_text"] != null ) ) {
3179 echo "<tr>";
3180 echo "<td>";
3181 echo "<span class='text'>Fear:<span>";
3182 echo "</td>";
3183 echo "<td>";
3184 echo "<span class='text'>${data['psychiatric_fear']}</span>";
3185 echo "</td>";
3186 echo "<td>";
3187 if ( $data['psychiatric_fear_text'] != null ) {
3188 echo "<span class='text'>(${data['psychiatric_fear_text']})</span>";
3189 } else {
3190 echo "<br/>";
3192 echo "</td>";
3193 echo "</tr>";
3195 if ( ($data["psychiatric_anxiety"] != "N/A" && $data["psychiatric_anxiety"] != "" && $data["psychiatric_anxiety"] != "--") || ( $data["psychiatric_anxiety_text"] != "" && $data["psychiatric_anxiety_text"] != null ) ) {
3196 echo "<tr>";
3197 echo "<td>";
3198 echo "<span class='text'>Anxiety:<span>";
3199 echo "</td>";
3200 echo "<td>";
3201 echo "<span class='text'>${data['psychiatric_anxiety']}</span>";
3202 echo "</td>";
3203 echo "<td>";
3204 if ( $data['psychiatric_anxiety_text'] != null ) {
3205 echo "<span class='text'>(${data['psychiatric_anxiety_text']})</span>";
3206 } else {
3207 echo "<br/>";
3209 echo "</td>";
3210 echo "</tr>";
3212 if ( ($data["psychiatric_hallucinations"] != "N/A" && $data["psychiatric_hallucinations"] != "" && $data["psychiatric_hallucinations"] != "--") || ( $data["psychiatric_hallucinations_text"] != "" && $data["psychiatric_hallucinations_text"] != null ) ) {
3213 echo "<tr>";
3214 echo "<td>";
3215 echo "<span class='text'>Hallucinations:<span>";
3216 echo "</td>";
3217 echo "<td>";
3218 echo "<span class='text'>${data['psychiatric_hallucinations']}</span>";
3219 echo "</td>";
3220 echo "<td>";
3221 if ( $data['psychiatric_hallucinations_text'] != null ) {
3222 echo "<span class='text'>(${data['psychiatric_hallucinations_text']})</span>";
3223 } else {
3224 echo "<br/>";
3226 echo "</td>";
3227 echo "</tr>";
3229 if ( ($data["psychiatric_loss_of_interest"] != "N/A" && $data["psychiatric_loss_of_interest"] != "" && $data["psychiatric_loss_of_interest"] != "--") || ( $data["psychiatric_loss_of_interest_text"] != "" && $data["psychiatric_loss_of_interest_text"] != null ) ) {
3230 echo "<tr>";
3231 echo "<td>";
3232 echo "<span class='text'>Loss of Interest:<span>";
3233 echo "</td>";
3234 echo "<td>";
3235 echo "<span class='text'>${data['psychiatric_loss_of_interest']}</span>";
3236 echo "</td>";
3237 echo "<td>";
3238 if ( $data['psychiatric_loss_of_interest_text'] != null ) {
3239 echo "<span class='text'>(${data['psychiatric_loss_of_interest_text']})</span>";
3240 } else {
3241 echo "<br/>";
3243 echo "</td>";
3244 echo "</tr>";
3246 if ( ($data["psychiatric_memory_loss"] != "N/A" && $data["psychiatric_memory_loss"] != "" && $data["psychiatric_memory_loss"] != "--") || ( $data["psychiatric_memory_loss_text"] != "" && $data["psychiatric_memory_loss_text"] != null ) ) {
3247 echo "<tr>";
3248 echo "<td>";
3249 echo "<span class='text'>Memory Loss:<span>";
3250 echo "</td>";
3251 echo "<td>";
3252 echo "<span class='text'>${data['psychiatric_memory_loss']}</span>";
3253 echo "</td>";
3254 echo "<td>";
3255 if ( $data['psychiatric_memory_loss_text'] != null ) {
3256 echo "<span class='text'>(${data['psychiatric_memory_loss_text']})</span>";
3257 } else {
3258 echo "<br/>";
3260 echo "</td>";
3261 echo "</tr>";
3263 if ( ($data["psychiatric_mood_swings"] != "N/A" && $data["psychiatric_mood_swings"] != "" && $data["psychiatric_mood_swings"] != "--") || ( $data["psychiatric_mood_swings_text"] != "" && $data["psychiatric_mood_swings_text"] != null ) ) {
3264 echo "<tr>";
3265 echo "<td>";
3266 echo "<span class='text'>Mood Swings:<span>";
3267 echo "</td>";
3268 echo "<td>";
3269 echo "<span class='text'>${data['psychiatric_mood_swings']}</span>";
3270 echo "</td>";
3271 echo "<td>";
3272 if ( $data['psychiatric_mood_swings_text'] != null ) {
3273 echo "<span class='text'>(${data['psychiatric_mood_swings_text']})</span>";
3274 } else {
3275 echo "<br/>";
3277 echo "</td>";
3278 echo "</tr>";
3280 if ( ($data["psychiatric_pananoia"] != "N/A" && $data["psychiatric_pananoia"] != "" && $data["psychiatric_pananoia"] != "--") || ( $data["psychiatric_pananoia_text"] != "" && $data["psychiatric_pananoia_text"] != null ) ) {
3281 echo "<tr>";
3282 echo "<td>";
3283 echo "<span class='text'>Pananoia:<span>";
3284 echo "</td>";
3285 echo "<td>";
3286 echo "<span class='text'>${data['psychiatric_pananoia']}</span>";
3287 echo "</td>";
3288 echo "<td>";
3289 if ( $data['psychiatric_pananoia_text'] != null ) {
3290 echo "<span class='text'>(${data['psychiatric_pananoia_text']})</span>";
3291 } else {
3292 echo "<br/>";
3294 echo "</td>";
3295 echo "</tr>";
3297 if ( ($data["psychiatric_insomnia"] != "N/A" && $data["psychiatric_insomnia"] != "" && $data["psychiatric_insomnia"] != "--") || ( $data["psychiatric_insomnia_text"] != "" && $data["psychiatric_insomnia_text"] != null ) ) {
3298 echo "<tr>";
3299 echo "<td>";
3300 echo "<span class='text'>Insomnia:<span>";
3301 echo "</td>";
3302 echo "<td>";
3303 echo "<span class='text'>${data['psychiatric_insomnia']}</span>";
3304 echo "</td>";
3305 echo "<td>";
3306 if ( $data['psychiatric_insomnia_text'] != null ) {
3307 echo "<span class='text'>(${data['psychiatric_insomnia_text']})</span>";
3308 } else {
3309 echo "<br/>";
3311 echo "</td>";
3312 echo "</tr>";
3315 print "</table>";
3320 function endsWith($FullStr, $EndStr)
3322 $StrLen = strlen($EndStr);
3323 $FullStrEnd = substr($FullStr, strlen($FullStr) - $StrLen);
3324 return $FullStrEnd == $EndStr;