Highway to PSR2
[openemr.git] / contrib / forms / ros2 / report.php
blobe739d75e1bd5dc3a5ac4f9a93c46f5be1a48a45a
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)
12 $count = 0;
13 $data = formFetch("form_ros2", $id);
14 //echo "${data['general_headache']}";
15 if ($data) {
16 print "<table cellpadding=0 cellspacing=3px border=0>";
18 echo "<tr><td colspan='3'><span class='bold'><u>GENERAL:</u></span></td></tr>";
19 if (($data["general_headache"] != "N/A" && $data["general_headache"] != "" && $data["general_headache"] != "--") || ( $data["general_headache_text"] != "" && $data["general_headache_text"] != null )) {
20 echo "<tr>";
21 echo "<td>";
22 echo "<span class='text'>headache:<span>";
23 echo "</td>";
24 echo "<td>";
25 echo "<span class='text'>${data['general_headache']}</span>";
26 echo "</td>";
27 echo "<td>";
28 if ($data['general_headache_text'] != null) {
29 echo "<span class='text'>(${data['general_headache_text']})</span>";
30 } else {
31 echo "<br/>";
34 echo "</td>";
35 echo "</tr>";
38 if (($data["general_fever"] != "N/A" && $data["general_fever"] != "" && $data["general_fever"] != "--") || ( $data["general_fever_text"] != "" && $data["general_fever_text"] != null )) {
39 echo "<tr>";
40 echo "<td>";
41 echo "<span class='text'>fever:<span>";
42 echo "</td>";
43 echo "<td>";
44 echo "<span class='text'>${data['general_fever']}</span>";
45 echo "</td>";
46 echo "<td>";
47 if ($data['general_fever_text'] != null) {
48 echo "<span class='text'>(${data['general_fever_text']})</span>";
49 } else {
50 echo "<br/>";
53 echo "</td>";
54 echo "</tr>";
57 if (($data["general_chills"] != "N/A" && $data["general_chills"] != "" && $data["general_chills"] != "--") || ( $data["general_chills_text"] != "" && $data["general_chills_text"] != null )) {
58 echo "<tr>";
59 echo "<td>";
60 echo "<span class='text'>chills:<span>";
61 echo "</td>";
62 echo "<td>";
63 echo "<span class='text'>${data['general_chills']}</span>";
64 echo "</td>";
65 echo "<td>";
66 if ($data['general_chills_text'] != null) {
67 echo "<span class='text'>(${data['general_chills_text']})</span>";
68 } else {
69 echo "<br/>";
72 echo "</td>";
73 echo "</tr>";
76 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 )) {
77 echo "<tr>";
78 echo "<td>";
79 echo "<span class='text'>body aches:<span>";
80 echo "</td>";
81 echo "<td>";
82 echo "<span class='text'>${data['general_body_aches']}</span>";
83 echo "</td>";
84 echo "<td>";
85 if ($data['general_body_aches_text'] != null) {
86 echo "<span class='text'>(${data['general_body_aches_text']})</span>";
87 } else {
88 echo "<br/>";
91 echo "</td>";
92 echo "</tr>";
95 if (($data["general_fatigue"] != "N/A" && $data["general_fatigue"] != "" && $data["general_fatigue"] != "--") || ( $data["general_fatigue_text"] != "" && $data["general_fatigue_text"] != null )) {
96 echo "<tr>";
97 echo "<td>";
98 echo "<span class='text'>fatigue:<span>";
99 echo "</td>";
100 echo "<td>";
101 echo "<span class='text'>${data['general_fatigue']}</span>";
102 echo "</td>";
103 echo "<td>";
104 if ($data['general_fatigue_text'] != null) {
105 echo "<span class='text'>(${data['general_fatigue_text']})</span>";
106 } else {
107 echo "<br/>";
110 echo "</td>";
111 echo "</tr>";
114 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 )) {
115 echo "<tr>";
116 echo "<td>";
117 echo "<span class='text'>loss of appetite:<span>";
118 echo "</td>";
119 echo "<td>";
120 echo "<span class='text'>${data['general_loss_of_appetite']}</span>";
121 echo "</td>";
122 echo "<td>";
123 if ($data['general_loss_of_appetite_text'] != null) {
124 echo "<span class='text'>(${data['general_loss_of_appetite_text']})</span>";
125 } else {
126 echo "<br/>";
129 echo "</td>";
130 echo "</tr>";
133 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 )) {
134 echo "<tr>";
135 echo "<td>";
136 echo "<span class='text'>weight loss:<span>";
137 echo "</td>";
138 echo "<td>";
139 echo "<span class='text'>${data['general_weight_loss']}</span>";
140 echo "</td>";
141 echo "<td>";
142 if ($data['general_weight_loss_text'] != null) {
143 echo "<span class='text'>(${data['general_weight_loss_text']})</span>";
144 } else {
145 echo "<br/>";
148 echo "</td>";
149 echo "</tr>";
152 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 )) {
153 echo "<tr>";
154 echo "<td>";
155 echo "<span class='text'>daytime drowsiness:<span>";
156 echo "</td>";
157 echo "<td>";
158 echo "<span class='text'>${data['general_daytime_drowsiness']}</span>";
159 echo "</td>";
160 echo "<td>";
161 if ($data['general_daytime_drowsiness_text'] != null) {
162 echo "<span class='text'>(${data['general_daytime_drowsiness_text']})</span>";
163 } else {
164 echo "<br/>";
167 echo "</td>";
168 echo "</tr>";
171 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 )) {
172 echo "<tr>";
173 echo "<td>";
174 echo "<span class='text'>excessive snoring:<span>";
175 echo "</td>";
176 echo "<td>";
177 echo "<span class='text'>${data['general_excessive_snoring']}</span>";
178 echo "</td>";
179 echo "<td>";
180 if ($data['general_excessive_snoring_text'] != null) {
181 echo "<span class='text'>(${data['general_excessive_snoring_text']})</span>";
182 } else {
183 echo "<br/>";
186 echo "</td>";
187 echo "</tr>";
190 echo "<tr><td colspan='3'><span class='bold'><u>NEURO:</u></span></td></tr>";
191 if (($data["neuro_disorientation"] != "N/A" && $data["neuro_disorientation"] != "" && $data["neuro_disorientation"] != "--") || ( $data["neuro_disorientation_text"] != "" && $data["neuro_disorientation_text"] != null )) {
192 echo "<tr>";
193 echo "<td>";
194 echo "<span class='text'>disorientation:<span>";
195 echo "</td>";
196 echo "<td>";
197 echo "<span class='text'>${data['neuro_disorientation']}</span>";
198 echo "</td>";
199 echo "<td>";
200 if ($data['neuro_disorientation_text'] != null) {
201 echo "<span class='text'>(${data['neuro_disorientation_text']})</span>";
202 } else {
203 echo "<br/>";
206 echo "</td>";
207 echo "</tr>";
210 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 )) {
211 echo "<tr>";
212 echo "<td>";
213 echo "<span class='text'>loss of consciousness:<span>";
214 echo "</td>";
215 echo "<td>";
216 echo "<span class='text'>${data['neuro_loss_of_consciousness']}</span>";
217 echo "</td>";
218 echo "<td>";
219 if ($data['neuro_loss_of_consciousness_text'] != null) {
220 echo "<span class='text'>(${data['neuro_loss_of_consciousness_text']})</span>";
221 } else {
222 echo "<br/>";
225 echo "</td>";
226 echo "</tr>";
229 if (($data["neuro_numbness"] != "N/A" && $data["neuro_numbness"] != "" && $data["neuro_numbness"] != "--") || ( $data["neuro_numbness_text"] != "" && $data["neuro_numbness_text"] != null )) {
230 echo "<tr>";
231 echo "<td>";
232 echo "<span class='text'>numbness:<span>";
233 echo "</td>";
234 echo "<td>";
235 echo "<span class='text'>${data['neuro_numbness']}</span>";
236 echo "</td>";
237 echo "<td>";
238 if ($data['neuro_numbness_text'] != null) {
239 echo "<span class='text'>(${data['neuro_numbness_text']})</span>";
240 } else {
241 echo "<br/>";
244 echo "</td>";
245 echo "</tr>";
248 if (($data["neuro_tingling"] != "N/A" && $data["neuro_tingling"] != "" && $data["neuro_tingling"] != "--") || ( $data["neuro_tingling_text"] != "" && $data["neuro_tingling_text"] != null )) {
249 echo "<tr>";
250 echo "<td>";
251 echo "<span class='text'>tingling:<span>";
252 echo "</td>";
253 echo "<td>";
254 echo "<span class='text'>${data['neuro_tingling']}</span>";
255 echo "</td>";
256 echo "<td>";
257 if ($data['neuro_tingling_text'] != null) {
258 echo "<span class='text'>(${data['neuro_tingling_text']})</span>";
259 } else {
260 echo "<br/>";
263 echo "</td>";
264 echo "</tr>";
267 if (($data["neuro_restlessness"] != "N/A" && $data["neuro_restlessness"] != "" && $data["neuro_restlessness"] != "--") || ( $data["neuro_restlessness_text"] != "" && $data["neuro_restlessness_text"] != null )) {
268 echo "<tr>";
269 echo "<td>";
270 echo "<span class='text'>restlessness:<span>";
271 echo "</td>";
272 echo "<td>";
273 echo "<span class='text'>${data['neuro_restlessness']}</span>";
274 echo "</td>";
275 echo "<td>";
276 if ($data['neuro_restlessness_text'] != null) {
277 echo "<span class='text'>(${data['neuro_restlessness_text']})</span>";
278 } else {
279 echo "<br/>";
282 echo "</td>";
283 echo "</tr>";
286 if (($data["neuro_dizziness"] != "N/A" && $data["neuro_dizziness"] != "" && $data["neuro_dizziness"] != "--") || ( $data["neuro_dizziness_text"] != "" && $data["neuro_dizziness_text"] != null )) {
287 echo "<tr>";
288 echo "<td>";
289 echo "<span class='text'>dizziness:<span>";
290 echo "</td>";
291 echo "<td>";
292 echo "<span class='text'>${data['neuro_dizziness']}</span>";
293 echo "</td>";
294 echo "<td>";
295 if ($data['neuro_dizziness_text'] != null) {
296 echo "<span class='text'>(${data['neuro_dizziness_text']})</span>";
297 } else {
298 echo "<br/>";
301 echo "</td>";
302 echo "</tr>";
305 if (($data["neuro_vertigo"] != "N/A" && $data["neuro_vertigo"] != "" && $data["neuro_vertigo"] != "--") || ( $data["neuro_vertigo_text"] != "" && $data["neuro_vertigo_text"] != null )) {
306 echo "<tr>";
307 echo "<td>";
308 echo "<span class='text'>vertigo:<span>";
309 echo "</td>";
310 echo "<td>";
311 echo "<span class='text'>${data['neuro_vertigo']}</span>";
312 echo "</td>";
313 echo "<td>";
314 if ($data['neuro_vertigo_text'] != null) {
315 echo "<span class='text'>(${data['neuro_vertigo_text']})</span>";
316 } else {
317 echo "<br/>";
320 echo "</td>";
321 echo "</tr>";
324 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 )) {
325 echo "<tr>";
326 echo "<td>";
327 echo "<span class='text'>Amaurosis Fugax:<span>";
328 echo "</td>";
329 echo "<td>";
330 echo "<span class='text'>${data['neuro_amaurosis_fugax']}</span>";
331 echo "</td>";
332 echo "<td>";
333 if ($data['neuro_amaurosis_fugax_text'] != null) {
334 echo "<span class='text'>(${data['neuro_amaurosis_fugax_text']})</span>";
335 } else {
336 echo "<br/>";
339 echo "</td>";
340 echo "</tr>";
343 if (($data["neuro_stroke"] != "N/A" && $data["neuro_stroke"] != "" && $data["neuro_stroke"] != "--") || ( $data["neuro_stroke_text"] != "" && $data["neuro_stroke_text"] != null )) {
344 echo "<tr>";
345 echo "<td>";
346 echo "<span class='text'>Stroke:<span>";
347 echo "</td>";
348 echo "<td>";
349 echo "<span class='text'>${data['neuro_stroke']}</span>";
350 echo "</td>";
351 echo "<td>";
352 if ($data['neuro_stroke_text'] != null) {
353 echo "<span class='text'>(${data['neuro_stroke_text']})</span>";
354 } else {
355 echo "<br/>";
358 echo "</td>";
359 echo "</tr>";
362 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 )) {
363 echo "<tr>";
364 echo "<td>";
365 echo "<span class='text'>Gait Abnormality:<span>";
366 echo "</td>";
367 echo "<td>";
368 echo "<span class='text'>${data['neuro_gait_abnormality']}</span>";
369 echo "</td>";
370 echo "<td>";
371 if ($data['neuro_gait_abnormality_text'] != null) {
372 echo "<span class='text'>(${data['neuro_gait_abnormality_text']})</span>";
373 } else {
374 echo "<br/>";
377 echo "</td>";
378 echo "</tr>";
381 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 )) {
382 echo "<tr>";
383 echo "<td>";
384 echo "<span class='text'>Frequent headaches:<span>";
385 echo "</td>";
386 echo "<td>";
387 echo "<span class='text'>${data['neuro_frequent_headaches']}</span>";
388 echo "</td>";
389 echo "<td>";
390 if ($data['neuro_frequent_headaches_text'] != null) {
391 echo "<span class='text'>(${data['neuro_frequent_headaches_text']})</span>";
392 } else {
393 echo "<br/>";
396 echo "</td>";
397 echo "</tr>";
400 if (($data["neuro_parathesias"] != "N/A" && $data["neuro_parathesias"] != "" && $data["neuro_parathesias"] != "--") || ( $data["neuro_parathesias_text"] != "" && $data["neuro_parathesias_text"] != null )) {
401 echo "<tr>";
402 echo "<td>";
403 echo "<span class='text'>Parathesias:<span>";
404 echo "</td>";
405 echo "<td>";
406 echo "<span class='text'>${data['neuro_parathesias']}</span>";
407 echo "</td>";
408 echo "<td>";
409 if ($data['neuro_parathesias_text'] != null) {
410 echo "<span class='text'>(${data['neuro_parathesias_text']})</span>";
411 } else {
412 echo "<br/>";
415 echo "</td>";
416 echo "</tr>";
419 if (($data["neuro_seizures"] != "N/A" && $data["neuro_seizures"] != "" && $data["neuro_seizures"] != "--") || ( $data["neuro_seizures_text"] != "" && $data["neuro_seizures_text"] != null )) {
420 echo "<tr>";
421 echo "<td>";
422 echo "<span class='text'>Seizures:<span>";
423 echo "</td>";
424 echo "<td>";
425 echo "<span class='text'>${data['neuro_seizures']}</span>";
426 echo "</td>";
427 echo "<td>";
428 if ($data['neuro_seizures_text'] != null) {
429 echo "<span class='text'>(${data['neuro_seizures_text']})</span>";
430 } else {
431 echo "<br/>";
434 echo "</td>";
435 echo "</tr>";
438 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 )) {
439 echo "<tr>";
440 echo "<td>";
441 echo "<span class='text'>Trans Ischemic Attacks:<span>";
442 echo "</td>";
443 echo "<td>";
444 echo "<span class='text'>${data['neuro_trans_ischemic_attacks']}</span>";
445 echo "</td>";
446 echo "<td>";
447 if ($data['neuro_trans_ischemic_attacks_text'] != null) {
448 echo "<span class='text'>(${data['neuro_trans_ischemic_attacks_text']})</span>";
449 } else {
450 echo "<br/>";
453 echo "</td>";
454 echo "</tr>";
457 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 )) {
458 echo "<tr>";
459 echo "<td>";
460 echo "<span class='text'>Significant Tremors:<span>";
461 echo "</td>";
462 echo "<td>";
463 echo "<span class='text'>${data['neuro_significant_tremors']}</span>";
464 echo "</td>";
465 echo "<td>";
466 if ($data['neuro_significant_tremors_text'] != null) {
467 echo "<span class='text'>(${data['neuro_significant_tremors_text']})</span>";
468 } else {
469 echo "<br/>";
472 echo "</td>";
473 echo "</tr>";
476 echo "<tr><td colspan='3'><span class='bold'><u>NECK:</u></span></td></tr>";
477 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 )) {
478 echo "<tr>";
479 echo "<td>";
480 echo "<span class='text'>neck stiffness:<span>";
481 echo "</td>";
482 echo "<td>";
483 echo "<span class='text'>${data['neck_neck_stiffness']}</span>";
484 echo "</td>";
485 echo "<td>";
486 if ($data['neck_neck_stiffness_text'] != null) {
487 echo "<span class='text'>(${data['neck_neck_stiffness_text']})</span>";
488 } else {
489 echo "<br/>";
492 echo "</td>";
493 echo "</tr>";
496 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 )) {
497 echo "<tr>";
498 echo "<td>";
499 echo "<span class='text'>neck pain:<span>";
500 echo "</td>";
501 echo "<td>";
502 echo "<span class='text'>${data['neck_neck_pain']}</span>";
503 echo "</td>";
504 echo "<td>";
505 if ($data['neck_neck_pain_text'] != null) {
506 echo "<span class='text'>(${data['neck_neck_pain_text']})</span>";
507 } else {
508 echo "<br/>";
511 echo "</td>";
512 echo "</tr>";
515 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 )) {
516 echo "<tr>";
517 echo "<td>";
518 echo "<span class='text'>Neck Masses:<span>";
519 echo "</td>";
520 echo "<td>";
521 echo "<span class='text'>${data['neck_neck_masses']}</span>";
522 echo "</td>";
523 echo "<td>";
524 if ($data['neck_neck_masses_text'] != null) {
525 echo "<span class='text'>(${data['neck_neck_masses_text']})</span>";
526 } else {
527 echo "<br/>";
530 echo "</td>";
531 echo "</tr>";
534 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 )) {
535 echo "<tr>";
536 echo "<td>";
537 echo "<span class='text'>Neck Tenderness:<span>";
538 echo "</td>";
539 echo "<td>";
540 echo "<span class='text'>${data['neck_neck_tenderness']}</span>";
541 echo "</td>";
542 echo "<td>";
543 if ($data['neck_neck_tenderness_text'] != null) {
544 echo "<span class='text'>(${data['neck_neck_tenderness_text']})</span>";
545 } else {
546 echo "<br/>";
549 echo "</td>";
550 echo "</tr>";
553 echo "<tr><td colspan='3'><span class='bold'><u>HEENT:</u></span></td></tr>";
554 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 )) {
555 echo "<tr>";
556 echo "<td>";
557 echo "<span class='text'>oral ulcers:<span>";
558 echo "</td>";
559 echo "<td>";
560 echo "<span class='text'>${data['heent_oral_ulcers']}</span>";
561 echo "</td>";
562 echo "<td>";
563 if ($data['heent_oral_ulcers_text'] != null) {
564 echo "<span class='text'>(${data['heent_oral_ulcers_text']})</span>";
565 } else {
566 echo "<br/>";
569 echo "</td>";
570 echo "</tr>";
573 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 )) {
574 echo "<tr>";
575 echo "<td>";
576 echo "<span class='text'>Excessive Cavities:<span>";
577 echo "</td>";
578 echo "<td>";
579 echo "<span class='text'>${data['heent_excessive_cavities']}</span>";
580 echo "</td>";
581 echo "<td>";
582 if ($data['heent_excessive_cavities_text'] != null) {
583 echo "<span class='text'>(${data['heent_excessive_cavities_text']})</span>";
584 } else {
585 echo "<br/>";
588 echo "</td>";
589 echo "</tr>";
592 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 )) {
593 echo "<tr>";
594 echo "<td>";
595 echo "<span class='text'>Gingival Disease:<span>";
596 echo "</td>";
597 echo "<td>";
598 echo "<span class='text'>${data['heent_gingival_disease']}</span>";
599 echo "</td>";
600 echo "<td>";
601 if ($data['heent_gingival_disease_text'] != null) {
602 echo "<span class='text'>(${data['heent_gingival_disease_text']})</span>";
603 } else {
604 echo "<br/>";
607 echo "</td>";
608 echo "</tr>";
611 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 )) {
612 echo "<tr>";
613 echo "<td>";
614 echo "<span class='text'>Persistent hoarseness:<span>";
615 echo "</td>";
616 echo "<td>";
617 echo "<span class='text'>${data['heent_persistent_hoarseness']}</span>";
618 echo "</td>";
619 echo "<td>";
620 if ($data['heent_persistent_hoarseness_text'] != null) {
621 echo "<span class='text'>(${data['heent_persistent_hoarseness_text']})</span>";
622 } else {
623 echo "<br/>";
626 echo "</td>";
627 echo "</tr>";
630 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 )) {
631 echo "<tr>";
632 echo "<td>";
633 echo "<span class='text'>Mouth Lesions:<span>";
634 echo "</td>";
635 echo "<td>";
636 echo "<span class='text'>${data['heent_mouth_lesions']}</span>";
637 echo "</td>";
638 echo "<td>";
639 if ($data['heent_mouth_lesions_text'] != null) {
640 echo "<span class='text'>(${data['heent_mouth_lesions_text']})</span>";
641 } else {
642 echo "<br/>";
645 echo "</td>";
646 echo "</tr>";
649 if (($data["heent_dysphagia"] != "N/A" && $data["heent_dysphagia"] != "" && $data["heent_dysphagia"] != "--") || ( $data["heent_dysphagia_text"] != "" && $data["heent_dysphagia_text"] != null )) {
650 echo "<tr>";
651 echo "<td>";
652 echo "<span class='text'>Dysphagia:<span>";
653 echo "</td>";
654 echo "<td>";
655 echo "<span class='text'>${data['heent_dysphagia']}</span>";
656 echo "</td>";
657 echo "<td>";
658 if ($data['heent_dysphagia_text'] != null) {
659 echo "<span class='text'>(${data['heent_dysphagia_text']})</span>";
660 } else {
661 echo "<br/>";
664 echo "</td>";
665 echo "</tr>";
668 if (($data["heent_odynophagia"] != "N/A" && $data["heent_odynophagia"] != "" && $data["heent_odynophagia"] != "--") || ( $data["heent_odynophagia_text"] != "" && $data["heent_odynophagia_text"] != null )) {
669 echo "<tr>";
670 echo "<td>";
671 echo "<span class='text'>Odynophagia:<span>";
672 echo "</td>";
673 echo "<td>";
674 echo "<span class='text'>${data['heent_odynophagia']}</span>";
675 echo "</td>";
676 echo "<td>";
677 if ($data['heent_odynophagia_text'] != null) {
678 echo "<span class='text'>(${data['heent_odynophagia_text']})</span>";
679 } else {
680 echo "<br/>";
683 echo "</td>";
684 echo "</tr>";
687 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 )) {
688 echo "<tr>";
689 echo "<td>";
690 echo "<span class='text'>dental pain:<span>";
691 echo "</td>";
692 echo "<td>";
693 echo "<span class='text'>${data['heent_dental_pain']}</span>";
694 echo "</td>";
695 echo "<td>";
696 if ($data['heent_dental_pain_text'] != null) {
697 echo "<span class='text'>(${data['heent_dental_pain_text']})</span>";
698 } else {
699 echo "<br/>";
702 echo "</td>";
703 echo "</tr>";
706 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 )) {
707 echo "<tr>";
708 echo "<td>";
709 echo "<span class='text'>sore throat:<span>";
710 echo "</td>";
711 echo "<td>";
712 echo "<span class='text'>${data['heent_sore_throat']}</span>";
713 echo "</td>";
714 echo "<td>";
715 if ($data['heent_sore_throat_text'] != null) {
716 echo "<span class='text'>(${data['heent_sore_throat_text']})</span>";
717 } else {
718 echo "<br/>";
721 echo "</td>";
722 echo "</tr>";
725 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 )) {
726 echo "<tr>";
727 echo "<td>";
728 echo "<span class='text'>ear pain:<span>";
729 echo "</td>";
730 echo "<td>";
731 echo "<span class='text'>${data['heent_ear_pain']}</span>";
732 echo "</td>";
733 echo "<td>";
734 if ($data['heent_ear_pain_text'] != null) {
735 echo "<span class='text'>(${data['heent_ear_pain_text']})</span>";
736 } else {
737 echo "<br/>";
740 echo "</td>";
741 echo "</tr>";
744 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 )) {
745 echo "<tr>";
746 echo "<td>";
747 echo "<span class='text'>ear discharge:<span>";
748 echo "</td>";
749 echo "<td>";
750 echo "<span class='text'>${data['heent_ear_discharge']}</span>";
751 echo "</td>";
752 echo "<td>";
753 if ($data['heent_ear_discharge_text'] != null) {
754 echo "<span class='text'>(${data['heent_ear_discharge_text']})</span>";
755 } else {
756 echo "<br/>";
759 echo "</td>";
760 echo "</tr>";
763 if (($data["heent_tinnitus"] != "N/A" && $data["heent_tinnitus"] != "" && $data["heent_tinnitus"] != "--") || ( $data["heent_tinnitus_text"] != "" && $data["heent_tinnitus_text"] != null )) {
764 echo "<tr>";
765 echo "<td>";
766 echo "<span class='text'>tinnitus:<span>";
767 echo "</td>";
768 echo "<td>";
769 echo "<span class='text'>${data['heent_tinnitus']}</span>";
770 echo "</td>";
771 echo "<td>";
772 if ($data['heent_tinnitus_text'] != null) {
773 echo "<span class='text'>(${data['heent_tinnitus_text']})</span>";
774 } else {
775 echo "<br/>";
778 echo "</td>";
779 echo "</tr>";
782 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 )) {
783 echo "<tr>";
784 echo "<td>";
785 echo "<span class='text'>hearing loss:<span>";
786 echo "</td>";
787 echo "<td>";
788 echo "<span class='text'>${data['heent_hearing_loss']}</span>";
789 echo "</td>";
790 echo "<td>";
791 if ($data['heent_hearing_loss_text'] != null) {
792 echo "<span class='text'>(${data['heent_hearing_loss_text']})</span>";
793 } else {
794 echo "<br/>";
797 echo "</td>";
798 echo "</tr>";
801 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 )) {
802 echo "<tr>";
803 echo "<td>";
804 echo "<span class='text'>Allergic Rhinitis:<span>";
805 echo "</td>";
806 echo "<td>";
807 echo "<span class='text'>${data['heent_allergic_rhinitis']}</span>";
808 echo "</td>";
809 echo "<td>";
810 if ($data['heent_allergic_rhinitis_text'] != null) {
811 echo "<span class='text'>(${data['heent_allergic_rhinitis_text']})</span>";
812 } else {
813 echo "<br/>";
816 echo "</td>";
817 echo "</tr>";
820 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 )) {
821 echo "<tr>";
822 echo "<td>";
823 echo "<span class='text'>Nasal Congestion:<span>";
824 echo "</td>";
825 echo "<td>";
826 echo "<span class='text'>${data['heent_nasal_congestion']}</span>";
827 echo "</td>";
828 echo "<td>";
829 if ($data['heent_nasal_congestion_text'] != null) {
830 echo "<span class='text'>(${data['heent_nasal_congestion_text']})</span>";
831 } else {
832 echo "<br/>";
835 echo "</td>";
836 echo "</tr>";
839 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 )) {
840 echo "<tr>";
841 echo "<td>";
842 echo "<span class='text'>Nasal Discharge:<span>";
843 echo "</td>";
844 echo "<td>";
845 echo "<span class='text'>${data['heent_nasal_discharge']}</span>";
846 echo "</td>";
847 echo "<td>";
848 if ($data['heent_nasal_discharge_text'] != null) {
849 echo "<span class='text'>(${data['heent_nasal_discharge_text']})</span>";
850 } else {
851 echo "<br/>";
854 echo "</td>";
855 echo "</tr>";
858 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 )) {
859 echo "<tr>";
860 echo "<td>";
861 echo "<span class='text'>Nasal Injury:<span>";
862 echo "</td>";
863 echo "<td>";
864 echo "<span class='text'>${data['heent_nasal_injury']}</span>";
865 echo "</td>";
866 echo "<td>";
867 if ($data['heent_nasal_injury_text'] != null) {
868 echo "<span class='text'>(${data['heent_nasal_injury_text']})</span>";
869 } else {
870 echo "<br/>";
873 echo "</td>";
874 echo "</tr>";
877 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 )) {
878 echo "<tr>";
879 echo "<td>";
880 echo "<span class='text'>Nasal Surgery:<span>";
881 echo "</td>";
882 echo "<td>";
883 echo "<span class='text'>${data['heent_nasal_surgery']}</span>";
884 echo "</td>";
885 echo "<td>";
886 if ($data['heent_nasal_surgery_text'] != null) {
887 echo "<span class='text'>(${data['heent_nasal_surgery_text']})</span>";
888 } else {
889 echo "<br/>";
892 echo "</td>";
893 echo "</tr>";
896 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 )) {
897 echo "<tr>";
898 echo "<td>";
899 echo "<span class='text'>Nose Bleeds:<span>";
900 echo "</td>";
901 echo "<td>";
902 echo "<span class='text'>${data['heent_nose_bleeds']}</span>";
903 echo "</td>";
904 echo "<td>";
905 if ($data['heent_nose_bleeds_text'] != null) {
906 echo "<span class='text'>(${data['heent_nose_bleeds_text']})</span>";
907 } else {
908 echo "<br/>";
911 echo "</td>";
912 echo "</tr>";
915 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 )) {
916 echo "<tr>";
917 echo "<td>";
918 echo "<span class='text'>post nasal drip:<span>";
919 echo "</td>";
920 echo "<td>";
921 echo "<span class='text'>${data['heent_post_nasal_drip']}</span>";
922 echo "</td>";
923 echo "<td>";
924 if ($data['heent_post_nasal_drip_text'] != null) {
925 echo "<span class='text'>(${data['heent_post_nasal_drip_text']})</span>";
926 } else {
927 echo "<br/>";
930 echo "</td>";
931 echo "</tr>";
934 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 )) {
935 echo "<tr>";
936 echo "<td>";
937 echo "<span class='text'>sinus pressure:<span>";
938 echo "</td>";
939 echo "<td>";
940 echo "<span class='text'>${data['heent_sinus_pressure']}</span>";
941 echo "</td>";
942 echo "<td>";
943 if ($data['heent_sinus_pressure_text'] != null) {
944 echo "<span class='text'>(${data['heent_sinus_pressure_text']})</span>";
945 } else {
946 echo "<br/>";
949 echo "</td>";
950 echo "</tr>";
953 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 )) {
954 echo "<tr>";
955 echo "<td>";
956 echo "<span class='text'>sinus pain:<span>";
957 echo "</td>";
958 echo "<td>";
959 echo "<span class='text'>${data['heent_sinus_pain']}</span>";
960 echo "</td>";
961 echo "<td>";
962 if ($data['heent_sinus_pain_text'] != null) {
963 echo "<span class='text'>(${data['heent_sinus_pain_text']})</span>";
964 } else {
965 echo "<br/>";
968 echo "</td>";
969 echo "</tr>";
972 if (($data["heent_headache"] != "N/A" && $data["heent_headache"] != "" && $data["heent_headache"] != "--") || ( $data["heent_headache_text"] != "" && $data["heent_headache_text"] != null )) {
973 echo "<tr>";
974 echo "<td>";
975 echo "<span class='text'>headache:<span>";
976 echo "</td>";
977 echo "<td>";
978 echo "<span class='text'>${data['heent_headache']}</span>";
979 echo "</td>";
980 echo "<td>";
981 if ($data['heent_headache_text'] != null) {
982 echo "<span class='text'>(${data['heent_headache_text']})</span>";
983 } else {
984 echo "<br/>";
987 echo "</td>";
988 echo "</tr>";
991 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 )) {
992 echo "<tr>";
993 echo "<td>";
994 echo "<span class='text'>eye pain:<span>";
995 echo "</td>";
996 echo "<td>";
997 echo "<span class='text'>${data['heent_eye_pain']}</span>";
998 echo "</td>";
999 echo "<td>";
1000 if ($data['heent_eye_pain_text'] != null) {
1001 echo "<span class='text'>(${data['heent_eye_pain_text']})</span>";
1002 } else {
1003 echo "<br/>";
1006 echo "</td>";
1007 echo "</tr>";
1010 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 )) {
1011 echo "<tr>";
1012 echo "<td>";
1013 echo "<span class='text'>eye redness:<span>";
1014 echo "</td>";
1015 echo "<td>";
1016 echo "<span class='text'>${data['heent_eye_redness']}</span>";
1017 echo "</td>";
1018 echo "<td>";
1019 if ($data['heent_eye_redness_text'] != null) {
1020 echo "<span class='text'>(${data['heent_eye_redness_text']})</span>";
1021 } else {
1022 echo "<br/>";
1025 echo "</td>";
1026 echo "</tr>";
1029 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 )) {
1030 echo "<tr>";
1031 echo "<td>";
1032 echo "<span class='text'>visual changes:<span>";
1033 echo "</td>";
1034 echo "<td>";
1035 echo "<span class='text'>${data['heent_visual_changes']}</span>";
1036 echo "</td>";
1037 echo "<td>";
1038 if ($data['heent_visual_changes_text'] != null) {
1039 echo "<span class='text'>(${data['heent_visual_changes_text']})</span>";
1040 } else {
1041 echo "<br/>";
1044 echo "</td>";
1045 echo "</tr>";
1048 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 )) {
1049 echo "<tr>";
1050 echo "<td>";
1051 echo "<span class='text'>blurry vision:<span>";
1052 echo "</td>";
1053 echo "<td>";
1054 echo "<span class='text'>${data['heent_blurry_vision']}</span>";
1055 echo "</td>";
1056 echo "<td>";
1057 if ($data['heent_blurry_vision_text'] != null) {
1058 echo "<span class='text'>(${data['heent_blurry_vision_text']})</span>";
1059 } else {
1060 echo "<br/>";
1063 echo "</td>";
1064 echo "</tr>";
1067 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 )) {
1068 echo "<tr>";
1069 echo "<td>";
1070 echo "<span class='text'>Eye Discharge:<span>";
1071 echo "</td>";
1072 echo "<td>";
1073 echo "<span class='text'>${data['heent_eye_discharge']}</span>";
1074 echo "</td>";
1075 echo "<td>";
1076 if ($data['heent_eye_discharge_text'] != null) {
1077 echo "<span class='text'>(${data['heent_eye_discharge_text']})</span>";
1078 } else {
1079 echo "<br/>";
1082 echo "</td>";
1083 echo "</tr>";
1086 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 )) {
1087 echo "<tr>";
1088 echo "<td>";
1089 echo "<span class='text'>Eye Glasses/ Contacts:<span>";
1090 echo "</td>";
1091 echo "<td>";
1092 echo "<span class='text'>${data['heent_eye_glasses_contacts']}</span>";
1093 echo "</td>";
1094 echo "<td>";
1095 if ($data['heent_eye_glasses_contacts_text'] != null) {
1096 echo "<span class='text'>(${data['heent_eye_glasses_contacts_text']})</span>";
1097 } else {
1098 echo "<br/>";
1101 echo "</td>";
1102 echo "</tr>";
1105 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 )) {
1106 echo "<tr>";
1107 echo "<td>";
1108 echo "<span class='text'>Excess Tearing:<span>";
1109 echo "</td>";
1110 echo "<td>";
1111 echo "<span class='text'>${data['heent_excess_tearing']}</span>";
1112 echo "</td>";
1113 echo "<td>";
1114 if ($data['heent_excess_tearing_text'] != null) {
1115 echo "<span class='text'>(${data['heent_excess_tearing_text']})</span>";
1116 } else {
1117 echo "<br/>";
1120 echo "</td>";
1121 echo "</tr>";
1124 if (($data["heent_photophobia"] != "N/A" && $data["heent_photophobia"] != "" && $data["heent_photophobia"] != "--") || ( $data["heent_photophobia_text"] != "" && $data["heent_photophobia_text"] != null )) {
1125 echo "<tr>";
1126 echo "<td>";
1127 echo "<span class='text'>Photophobia:<span>";
1128 echo "</td>";
1129 echo "<td>";
1130 echo "<span class='text'>${data['heent_photophobia']}</span>";
1131 echo "</td>";
1132 echo "<td>";
1133 if ($data['heent_photophobia_text'] != null) {
1134 echo "<span class='text'>(${data['heent_photophobia_text']})</span>";
1135 } else {
1136 echo "<br/>";
1139 echo "</td>";
1140 echo "</tr>";
1143 if (($data["heent_scotomata"] != "N/A" && $data["heent_scotomata"] != "" && $data["heent_scotomata"] != "--") || ( $data["heent_scotomata_text"] != "" && $data["heent_scotomata_text"] != null )) {
1144 echo "<tr>";
1145 echo "<td>";
1146 echo "<span class='text'>Scotomata:<span>";
1147 echo "</td>";
1148 echo "<td>";
1149 echo "<span class='text'>${data['heent_scotomata']}</span>";
1150 echo "</td>";
1151 echo "<td>";
1152 if ($data['heent_scotomata_text'] != null) {
1153 echo "<span class='text'>(${data['heent_scotomata_text']})</span>";
1154 } else {
1155 echo "<br/>";
1158 echo "</td>";
1159 echo "</tr>";
1162 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 )) {
1163 echo "<tr>";
1164 echo "<td>";
1165 echo "<span class='text'>Tunnel vision:<span>";
1166 echo "</td>";
1167 echo "<td>";
1168 echo "<span class='text'>${data['heent_tunnel_vision']}</span>";
1169 echo "</td>";
1170 echo "<td>";
1171 if ($data['heent_tunnel_vision_text'] != null) {
1172 echo "<span class='text'>(${data['heent_tunnel_vision_text']})</span>";
1173 } else {
1174 echo "<br/>";
1177 echo "</td>";
1178 echo "</tr>";
1181 if (($data["heent_glaucoma"] != "N/A" && $data["heent_glaucoma"] != "" && $data["heent_glaucoma"] != "--") || ( $data["heent_glaucoma_text"] != "" && $data["heent_glaucoma_text"] != null )) {
1182 echo "<tr>";
1183 echo "<td>";
1184 echo "<span class='text'>Glaucoma:<span>";
1185 echo "</td>";
1186 echo "<td>";
1187 echo "<span class='text'>${data['heent_glaucoma']}</span>";
1188 echo "</td>";
1189 echo "<td>";
1190 if ($data['heent_glaucoma_text'] != null) {
1191 echo "<span class='text'>(${data['heent_glaucoma_text']})</span>";
1192 } else {
1193 echo "<br/>";
1196 echo "</td>";
1197 echo "</tr>";
1200 echo "<tr><td colspan='3'><span class='bold'><u>CARDIOVASCULAR: </u></span></td></tr>";
1201 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 )) {
1202 echo "<tr>";
1203 echo "<td>";
1204 echo "<span class='text'>sub sternal or left chest pain:<span>";
1205 echo "</td>";
1206 echo "<td>";
1207 echo "<span class='text'>${data['cardiovascular_sub_sternal_or_left_chest_pain']}</span>";
1208 echo "</td>";
1209 echo "<td>";
1210 if ($data['cardiovascular_sub_sternal_or_left_chest_pain_text'] != null) {
1211 echo "<span class='text'>(${data['cardiovascular_sub_sternal_or_left_chest_pain_text']})</span>";
1212 } else {
1213 echo "<br/>";
1216 echo "</td>";
1217 echo "</tr>";
1220 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 )) {
1221 echo "<tr>";
1222 echo "<td>";
1223 echo "<span class='text'>other chest pain:<span>";
1224 echo "</td>";
1225 echo "<td>";
1226 echo "<span class='text'>${data['cardiovascular_other_chest_pain']}</span>";
1227 echo "</td>";
1228 echo "<td>";
1229 if ($data['cardiovascular_other_chest_pain_text'] != null) {
1230 echo "<span class='text'>(${data['cardiovascular_other_chest_pain_text']})</span>";
1231 } else {
1232 echo "<br/>";
1235 echo "</td>";
1236 echo "</tr>";
1239 if (($data["cardiovascular_palpitations"] != "N/A" && $data["cardiovascular_palpitations"] != "" && $data["cardiovascular_palpitations"] != "--") || ( $data["cardiovascular_palpitations_text"] != "" && $data["cardiovascular_palpitations_text"] != null )) {
1240 echo "<tr>";
1241 echo "<td>";
1242 echo "<span class='text'>palpitations:<span>";
1243 echo "</td>";
1244 echo "<td>";
1245 echo "<span class='text'>${data['cardiovascular_palpitations']}</span>";
1246 echo "</td>";
1247 echo "<td>";
1248 if ($data['cardiovascular_palpitations_text'] != null) {
1249 echo "<span class='text'>(${data['cardiovascular_palpitations_text']})</span>";
1250 } else {
1251 echo "<br/>";
1254 echo "</td>";
1255 echo "</tr>";
1258 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 )) {
1259 echo "<tr>";
1260 echo "<td>";
1261 echo "<span class='text'>irregular rhythm:<span>";
1262 echo "</td>";
1263 echo "<td>";
1264 echo "<span class='text'>${data['cardiovascular_irregular_rhythm']}</span>";
1265 echo "</td>";
1266 echo "<td>";
1267 if ($data['cardiovascular_irregular_rhythm_text'] != null) {
1268 echo "<span class='text'>(${data['cardiovascular_irregular_rhythm_text']})</span>";
1269 } else {
1270 echo "<br/>";
1273 echo "</td>";
1274 echo "</tr>";
1277 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 )) {
1278 echo "<tr>";
1279 echo "<td>";
1280 echo "<span class='text'>jugular vein distention:<span>";
1281 echo "</td>";
1282 echo "<td>";
1283 echo "<span class='text'>${data['cardiovascular_jugular_vein_distention']}</span>";
1284 echo "</td>";
1285 echo "<td>";
1286 if ($data['cardiovascular_jugular_vein_distention_text'] != null) {
1287 echo "<span class='text'>(${data['cardiovascular_jugular_vein_distention_text']})</span>";
1288 } else {
1289 echo "<br/>";
1292 echo "</td>";
1293 echo "</tr>";
1296 if (($data["cardiovascular_claudication"] != "N/A" && $data["cardiovascular_claudication"] != "" && $data["cardiovascular_claudication"] != "--") || ( $data["cardiovascular_claudication_text"] != "" && $data["cardiovascular_claudication_text"] != null )) {
1297 echo "<tr>";
1298 echo "<td>";
1299 echo "<span class='text'>Claudication:<span>";
1300 echo "</td>";
1301 echo "<td>";
1302 echo "<span class='text'>${data['cardiovascular_claudication']}</span>";
1303 echo "</td>";
1304 echo "<td>";
1305 if ($data['cardiovascular_claudication_text'] != null) {
1306 echo "<span class='text'>(${data['cardiovascular_claudication_text']})</span>";
1307 } else {
1308 echo "<br/>";
1311 echo "</td>";
1312 echo "</tr>";
1315 if (($data["cardiovascular_dizziness"] != "N/A" && $data["cardiovascular_dizziness"] != "" && $data["cardiovascular_dizziness"] != "--") || ( $data["cardiovascular_dizziness_text"] != "" && $data["cardiovascular_dizziness_text"] != null )) {
1316 echo "<tr>";
1317 echo "<td>";
1318 echo "<span class='text'>Dizziness:<span>";
1319 echo "</td>";
1320 echo "<td>";
1321 echo "<span class='text'>${data['cardiovascular_dizziness']}</span>";
1322 echo "</td>";
1323 echo "<td>";
1324 if ($data['cardiovascular_dizziness_text'] != null) {
1325 echo "<span class='text'>(${data['cardiovascular_dizziness_text']})</span>";
1326 } else {
1327 echo "<br/>";
1330 echo "</td>";
1331 echo "</tr>";
1334 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 )) {
1335 echo "<tr>";
1336 echo "<td>";
1337 echo "<span class='text'>Dyspnea on Exertion:<span>";
1338 echo "</td>";
1339 echo "<td>";
1340 echo "<span class='text'>${data['cardiovascular_dyspnea_on_exertion']}</span>";
1341 echo "</td>";
1342 echo "<td>";
1343 if ($data['cardiovascular_dyspnea_on_exertion_text'] != null) {
1344 echo "<span class='text'>(${data['cardiovascular_dyspnea_on_exertion_text']})</span>";
1345 } else {
1346 echo "<br/>";
1349 echo "</td>";
1350 echo "</tr>";
1353 if (($data["cardiovascular_orthopnea"] != "N/A" && $data["cardiovascular_orthopnea"] != "" && $data["cardiovascular_orthopnea"] != "--") || ( $data["cardiovascular_orthopnea_text"] != "" && $data["cardiovascular_orthopnea_text"] != null )) {
1354 echo "<tr>";
1355 echo "<td>";
1356 echo "<span class='text'>Orthopnea:<span>";
1357 echo "</td>";
1358 echo "<td>";
1359 echo "<span class='text'>${data['cardiovascular_orthopnea']}</span>";
1360 echo "</td>";
1361 echo "<td>";
1362 if ($data['cardiovascular_orthopnea_text'] != null) {
1363 echo "<span class='text'>(${data['cardiovascular_orthopnea_text']})</span>";
1364 } else {
1365 echo "<br/>";
1368 echo "</td>";
1369 echo "</tr>";
1372 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 )) {
1373 echo "<tr>";
1374 echo "<td>";
1375 echo "<span class='text'>Noctural Dyspnea:<span>";
1376 echo "</td>";
1377 echo "<td>";
1378 echo "<span class='text'>${data['cardiovascular_noctural_dyspnea']}</span>";
1379 echo "</td>";
1380 echo "<td>";
1381 if ($data['cardiovascular_noctural_dyspnea_text'] != null) {
1382 echo "<span class='text'>(${data['cardiovascular_noctural_dyspnea_text']})</span>";
1383 } else {
1384 echo "<br/>";
1387 echo "</td>";
1388 echo "</tr>";
1391 if (($data["cardiovascular_edema"] != "N/A" && $data["cardiovascular_edema"] != "" && $data["cardiovascular_edema"] != "--") || ( $data["cardiovascular_edema_text"] != "" && $data["cardiovascular_edema_text"] != null )) {
1392 echo "<tr>";
1393 echo "<td>";
1394 echo "<span class='text'>Edema:<span>";
1395 echo "</td>";
1396 echo "<td>";
1397 echo "<span class='text'>${data['cardiovascular_edema']}</span>";
1398 echo "</td>";
1399 echo "<td>";
1400 if ($data['cardiovascular_edema_text'] != null) {
1401 echo "<span class='text'>(${data['cardiovascular_edema_text']})</span>";
1402 } else {
1403 echo "<br/>";
1406 echo "</td>";
1407 echo "</tr>";
1410 if (($data["cardiovascular_presyncope"] != "N/A" && $data["cardiovascular_presyncope"] != "" && $data["cardiovascular_presyncope"] != "--") || ( $data["cardiovascular_presyncope_text"] != "" && $data["cardiovascular_presyncope_text"] != null )) {
1411 echo "<tr>";
1412 echo "<td>";
1413 echo "<span class='text'>Presyncope:<span>";
1414 echo "</td>";
1415 echo "<td>";
1416 echo "<span class='text'>${data['cardiovascular_presyncope']}</span>";
1417 echo "</td>";
1418 echo "<td>";
1419 if ($data['cardiovascular_presyncope_text'] != null) {
1420 echo "<span class='text'>(${data['cardiovascular_presyncope_text']})</span>";
1421 } else {
1422 echo "<br/>";
1425 echo "</td>";
1426 echo "</tr>";
1429 if (($data["cardiovascular_syncope"] != "N/A" && $data["cardiovascular_syncope"] != "" && $data["cardiovascular_syncope"] != "--") || ( $data["cardiovascular_syncope_text"] != "" && $data["cardiovascular_syncope_text"] != null )) {
1430 echo "<tr>";
1431 echo "<td>";
1432 echo "<span class='text'>Syncope:<span>";
1433 echo "</td>";
1434 echo "<td>";
1435 echo "<span class='text'>${data['cardiovascular_syncope']}</span>";
1436 echo "</td>";
1437 echo "<td>";
1438 if ($data['cardiovascular_syncope_text'] != null) {
1439 echo "<span class='text'>(${data['cardiovascular_syncope_text']})</span>";
1440 } else {
1441 echo "<br/>";
1444 echo "</td>";
1445 echo "</tr>";
1448 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 )) {
1449 echo "<tr>";
1450 echo "<td>";
1451 echo "<span class='text'>Heart Murmur:<span>";
1452 echo "</td>";
1453 echo "<td>";
1454 echo "<span class='text'>${data['cardiovascular_heart_murmur']}</span>";
1455 echo "</td>";
1456 echo "<td>";
1457 if ($data['cardiovascular_heart_murmur_text'] != null) {
1458 echo "<span class='text'>(${data['cardiovascular_heart_murmur_text']})</span>";
1459 } else {
1460 echo "<br/>";
1463 echo "</td>";
1464 echo "</tr>";
1467 if (($data["cardiovascular_raynauds"] != "N/A" && $data["cardiovascular_raynauds"] != "" && $data["cardiovascular_raynauds"] != "--") || ( $data["cardiovascular_raynauds_text"] != "" && $data["cardiovascular_raynauds_text"] != null )) {
1468 echo "<tr>";
1469 echo "<td>";
1470 echo "<span class='text'>Raynauds:<span>";
1471 echo "</td>";
1472 echo "<td>";
1473 echo "<span class='text'>${data['cardiovascular_raynauds']}</span>";
1474 echo "</td>";
1475 echo "<td>";
1476 if ($data['cardiovascular_raynauds_text'] != null) {
1477 echo "<span class='text'>(${data['cardiovascular_raynauds_text']})</span>";
1478 } else {
1479 echo "<br/>";
1482 echo "</td>";
1483 echo "</tr>";
1486 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 )) {
1487 echo "<tr>";
1488 echo "<td>";
1489 echo "<span class='text'>Severe Varicose Veins:<span>";
1490 echo "</td>";
1491 echo "<td>";
1492 echo "<span class='text'>${data['cardiovascular_severe_varicose_veins']}</span>";
1493 echo "</td>";
1494 echo "<td>";
1495 if ($data['cardiovascular_severe_varicose_veins_text'] != null) {
1496 echo "<span class='text'>(${data['cardiovascular_severe_varicose_veins_text']})</span>";
1497 } else {
1498 echo "<br/>";
1501 echo "</td>";
1502 echo "</tr>";
1505 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 )) {
1506 echo "<tr>";
1507 echo "<td>";
1508 echo "<span class='text'>Deep Vein Thrombosis:<span>";
1509 echo "</td>";
1510 echo "<td>";
1511 echo "<span class='text'>${data['cardiovascular_deep_vein_thrombosis']}</span>";
1512 echo "</td>";
1513 echo "<td>";
1514 if ($data['cardiovascular_deep_vein_thrombosis_text'] != null) {
1515 echo "<span class='text'>(${data['cardiovascular_deep_vein_thrombosis_text']})</span>";
1516 } else {
1517 echo "<br/>";
1520 echo "</td>";
1521 echo "</tr>";
1524 if (($data["cardiovascular_thrombophlebitis"] != "N/A" && $data["cardiovascular_thrombophlebitis"] != "" && $data["cardiovascular_thrombophlebitis"] != "--") || ( $data["cardiovascular_thrombophlebitis_text"] != "" && $data["cardiovascular_thrombophlebitis_text"] != null )) {
1525 echo "<tr>";
1526 echo "<td>";
1527 echo "<span class='text'>Thrombophlebitis:<span>";
1528 echo "</td>";
1529 echo "<td>";
1530 echo "<span class='text'>${data['cardiovascular_thrombophlebitis']}</span>";
1531 echo "</td>";
1532 echo "<td>";
1533 if ($data['cardiovascular_thrombophlebitis_text'] != null) {
1534 echo "<span class='text'>(${data['cardiovascular_thrombophlebitis_text']})</span>";
1535 } else {
1536 echo "<br/>";
1539 echo "</td>";
1540 echo "</tr>";
1543 echo "<tr><td colspan='3'><span class='bold'><u>RESPIRATIONS:</u></span></td></tr>";
1544 if (($data["respirations_cough"] != "N/A" && $data["respirations_cough"] != "" && $data["respirations_cough"] != "--") || ( $data["respirations_cough_text"] != "" && $data["respirations_cough_text"] != null )) {
1545 echo "<tr>";
1546 echo "<td>";
1547 echo "<span class='text'>cough:<span>";
1548 echo "</td>";
1549 echo "<td>";
1550 echo "<span class='text'>${data['respirations_cough']}</span>";
1551 echo "</td>";
1552 echo "<td>";
1553 if ($data['respirations_cough_text'] != null) {
1554 echo "<span class='text'>(${data['respirations_cough_text']})</span>";
1555 } else {
1556 echo "<br/>";
1559 echo "</td>";
1560 echo "</tr>";
1563 if (($data["respirations_sputum"] != "N/A" && $data["respirations_sputum"] != "" && $data["respirations_sputum"] != "--") || ( $data["respirations_sputum_text"] != "" && $data["respirations_sputum_text"] != null )) {
1564 echo "<tr>";
1565 echo "<td>";
1566 echo "<span class='text'>sputum:<span>";
1567 echo "</td>";
1568 echo "<td>";
1569 echo "<span class='text'>${data['respirations_sputum']}</span>";
1570 echo "</td>";
1571 echo "<td>";
1572 if ($data['respirations_sputum_text'] != null) {
1573 echo "<span class='text'>(${data['respirations_sputum_text']})</span>";
1574 } else {
1575 echo "<br/>";
1578 echo "</td>";
1579 echo "</tr>";
1582 if (($data["respirations_dyspnea"] != "N/A" && $data["respirations_dyspnea"] != "" && $data["respirations_dyspnea"] != "--") || ( $data["respirations_dyspnea_text"] != "" && $data["respirations_dyspnea_text"] != null )) {
1583 echo "<tr>";
1584 echo "<td>";
1585 echo "<span class='text'>dyspnea:<span>";
1586 echo "</td>";
1587 echo "<td>";
1588 echo "<span class='text'>${data['respirations_dyspnea']}</span>";
1589 echo "</td>";
1590 echo "<td>";
1591 if ($data['respirations_dyspnea_text'] != null) {
1592 echo "<span class='text'>(${data['respirations_dyspnea_text']})</span>";
1593 } else {
1594 echo "<br/>";
1597 echo "</td>";
1598 echo "</tr>";
1601 if (($data["respirations_wheezes"] != "N/A" && $data["respirations_wheezes"] != "" && $data["respirations_wheezes"] != "--") || ( $data["respirations_wheezes_text"] != "" && $data["respirations_wheezes_text"] != null )) {
1602 echo "<tr>";
1603 echo "<td>";
1604 echo "<span class='text'>wheezes:<span>";
1605 echo "</td>";
1606 echo "<td>";
1607 echo "<span class='text'>${data['respirations_wheezes']}</span>";
1608 echo "</td>";
1609 echo "<td>";
1610 if ($data['respirations_wheezes_text'] != null) {
1611 echo "<span class='text'>(${data['respirations_wheezes_text']})</span>";
1612 } else {
1613 echo "<br/>";
1616 echo "</td>";
1617 echo "</tr>";
1620 if (($data["respirations_rales"] != "N/A" && $data["respirations_rales"] != "" && $data["respirations_rales"] != "--") || ( $data["respirations_rales_text"] != "" && $data["respirations_rales_text"] != null )) {
1621 echo "<tr>";
1622 echo "<td>";
1623 echo "<span class='text'>rales:<span>";
1624 echo "</td>";
1625 echo "<td>";
1626 echo "<span class='text'>${data['respirations_rales']}</span>";
1627 echo "</td>";
1628 echo "<td>";
1629 if ($data['respirations_rales_text'] != null) {
1630 echo "<span class='text'>(${data['respirations_rales_text']})</span>";
1631 } else {
1632 echo "<br/>";
1635 echo "</td>";
1636 echo "</tr>";
1639 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 )) {
1640 echo "<tr>";
1641 echo "<td>";
1642 echo "<span class='text'>labored breathing:<span>";
1643 echo "</td>";
1644 echo "<td>";
1645 echo "<span class='text'>${data['respirations_labored_breathing']}</span>";
1646 echo "</td>";
1647 echo "<td>";
1648 if ($data['respirations_labored_breathing_text'] != null) {
1649 echo "<span class='text'>(${data['respirations_labored_breathing_text']})</span>";
1650 } else {
1651 echo "<br/>";
1654 echo "</td>";
1655 echo "</tr>";
1658 if (($data["respirations_hemoptysis"] != "N/A" && $data["respirations_hemoptysis"] != "" && $data["respirations_hemoptysis"] != "--") || ( $data["respirations_hemoptysis_text"] != "" && $data["respirations_hemoptysis_text"] != null )) {
1659 echo "<tr>";
1660 echo "<td>";
1661 echo "<span class='text'>Hemoptysis:<span>";
1662 echo "</td>";
1663 echo "<td>";
1664 echo "<span class='text'>${data['respirations_hemoptysis']}</span>";
1665 echo "</td>";
1666 echo "<td>";
1667 if ($data['respirations_hemoptysis_text'] != null) {
1668 echo "<span class='text'>(${data['respirations_hemoptysis_text']})</span>";
1669 } else {
1670 echo "<br/>";
1673 echo "</td>";
1674 echo "</tr>";
1677 echo "<tr><td colspan='3'><span class='bold'><u>GU</u></span></td></tr>";
1678 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 )) {
1679 echo "<tr>";
1680 echo "<td>";
1681 echo "<span class='text'>frequent urination:<span>";
1682 echo "</td>";
1683 echo "<td>";
1684 echo "<span class='text'>${data['gu_frequent_urination']}</span>";
1685 echo "</td>";
1686 echo "<td>";
1687 if ($data['gu_frequent_urination_text'] != null) {
1688 echo "<span class='text'>(${data['gu_frequent_urination_text']})</span>";
1689 } else {
1690 echo "<br/>";
1693 echo "</td>";
1694 echo "</tr>";
1697 if (($data["gu_dysuria"] != "N/A" && $data["gu_dysuria"] != "" && $data["gu_dysuria"] != "--") || ( $data["gu_dysuria_text"] != "" && $data["gu_dysuria_text"] != null )) {
1698 echo "<tr>";
1699 echo "<td>";
1700 echo "<span class='text'>dysuria:<span>";
1701 echo "</td>";
1702 echo "<td>";
1703 echo "<span class='text'>${data['gu_dysuria']}</span>";
1704 echo "</td>";
1705 echo "<td>";
1706 if ($data['gu_dysuria_text'] != null) {
1707 echo "<span class='text'>(${data['gu_dysuria_text']})</span>";
1708 } else {
1709 echo "<br/>";
1712 echo "</td>";
1713 echo "</tr>";
1716 if (($data["gu_dyspareunia"] != "N/A" && $data["gu_dyspareunia"] != "" && $data["gu_dyspareunia"] != "--") || ( $data["gu_dyspareunia_text"] != "" && $data["gu_dyspareunia_text"] != null )) {
1717 echo "<tr>";
1718 echo "<td>";
1719 echo "<span class='text'>dyspareunia:<span>";
1720 echo "</td>";
1721 echo "<td>";
1722 echo "<span class='text'>${data['gu_dyspareunia']}</span>";
1723 echo "</td>";
1724 echo "<td>";
1725 if ($data['gu_dyspareunia_text'] != null) {
1726 echo "<span class='text'>(${data['gu_dyspareunia_text']})</span>";
1727 } else {
1728 echo "<br/>";
1731 echo "</td>";
1732 echo "</tr>";
1735 if (($data["gu_discharge"] != "N/A" && $data["gu_discharge"] != "" && $data["gu_discharge"] != "--") || ( $data["gu_discharge_text"] != "" && $data["gu_discharge_text"] != null )) {
1736 echo "<tr>";
1737 echo "<td>";
1738 echo "<span class='text'>discharge:<span>";
1739 echo "</td>";
1740 echo "<td>";
1741 echo "<span class='text'>${data['gu_discharge']}</span>";
1742 echo "</td>";
1743 echo "<td>";
1744 if ($data['gu_discharge_text'] != null) {
1745 echo "<span class='text'>(${data['gu_discharge_text']})</span>";
1746 } else {
1747 echo "<br/>";
1750 echo "</td>";
1751 echo "</tr>";
1754 if (($data["gu_odor"] != "N/A" && $data["gu_odor"] != "" && $data["gu_odor"] != "--") || ( $data["gu_odor_text"] != "" && $data["gu_odor_text"] != null )) {
1755 echo "<tr>";
1756 echo "<td>";
1757 echo "<span class='text'>odor:<span>";
1758 echo "</td>";
1759 echo "<td>";
1760 echo "<span class='text'>${data['gu_odor']}</span>";
1761 echo "</td>";
1762 echo "<td>";
1763 if ($data['gu_odor_text'] != null) {
1764 echo "<span class='text'>(${data['gu_odor_text']})</span>";
1765 } else {
1766 echo "<br/>";
1769 echo "</td>";
1770 echo "</tr>";
1773 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 )) {
1774 echo "<tr>";
1775 echo "<td>";
1776 echo "<span class='text'>fertility problems:<span>";
1777 echo "</td>";
1778 echo "<td>";
1779 echo "<span class='text'>${data['gu_fertility_problems']}</span>";
1780 echo "</td>";
1781 echo "<td>";
1782 if ($data['gu_fertility_problems_text'] != null) {
1783 echo "<span class='text'>(${data['gu_fertility_problems_text']})</span>";
1784 } else {
1785 echo "<br/>";
1788 echo "</td>";
1789 echo "</tr>";
1792 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 )) {
1793 echo "<tr>";
1794 echo "<td>";
1795 echo "<span class='text'>Flank Pain Kidney Stone:<span>";
1796 echo "</td>";
1797 echo "<td>";
1798 echo "<span class='text'>${data['gu_flank_pain_kidney_stone']}</span>";
1799 echo "</td>";
1800 echo "<td>";
1801 if ($data['gu_flank_pain_kidney_stone_text'] != null) {
1802 echo "<span class='text'>(${data['gu_flank_pain_kidney_stone_text']})</span>";
1803 } else {
1804 echo "<br/>";
1807 echo "</td>";
1808 echo "</tr>";
1811 if (($data["gu_polyuria"] != "N/A" && $data["gu_polyuria"] != "" && $data["gu_polyuria"] != "--") || ( $data["gu_polyuria_text"] != "" && $data["gu_polyuria_text"] != null )) {
1812 echo "<tr>";
1813 echo "<td>";
1814 echo "<span class='text'>Polyuria:<span>";
1815 echo "</td>";
1816 echo "<td>";
1817 echo "<span class='text'>${data['gu_polyuria']}</span>";
1818 echo "</td>";
1819 echo "<td>";
1820 if ($data['gu_polyuria_text'] != null) {
1821 echo "<span class='text'>(${data['gu_polyuria_text']})</span>";
1822 } else {
1823 echo "<br/>";
1826 echo "</td>";
1827 echo "</tr>";
1830 if (($data["gu_hematuria"] != "N/A" && $data["gu_hematuria"] != "" && $data["gu_hematuria"] != "--") || ( $data["gu_hematuria_text"] != "" && $data["gu_hematuria_text"] != null )) {
1831 echo "<tr>";
1832 echo "<td>";
1833 echo "<span class='text'>Hematuria:<span>";
1834 echo "</td>";
1835 echo "<td>";
1836 echo "<span class='text'>${data['gu_hematuria']}</span>";
1837 echo "</td>";
1838 echo "<td>";
1839 if ($data['gu_hematuria_text'] != null) {
1840 echo "<span class='text'>(${data['gu_hematuria_text']})</span>";
1841 } else {
1842 echo "<br/>";
1845 echo "</td>";
1846 echo "</tr>";
1849 if (($data["gu_pyuria"] != "N/A" && $data["gu_pyuria"] != "" && $data["gu_pyuria"] != "--") || ( $data["gu_pyuria_text"] != "" && $data["gu_pyuria_text"] != null )) {
1850 echo "<tr>";
1851 echo "<td>";
1852 echo "<span class='text'>Pyuria:<span>";
1853 echo "</td>";
1854 echo "<td>";
1855 echo "<span class='text'>${data['gu_pyuria']}</span>";
1856 echo "</td>";
1857 echo "<td>";
1858 if ($data['gu_pyuria_text'] != null) {
1859 echo "<span class='text'>(${data['gu_pyuria_text']})</span>";
1860 } else {
1861 echo "<br/>";
1864 echo "</td>";
1865 echo "</tr>";
1868 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 )) {
1869 echo "<tr>";
1870 echo "<td>";
1871 echo "<span class='text'>Umbilical Hernia:<span>";
1872 echo "</td>";
1873 echo "<td>";
1874 echo "<span class='text'>${data['gu_umbilical_hernia']}</span>";
1875 echo "</td>";
1876 echo "<td>";
1877 if ($data['gu_umbilical_hernia_text'] != null) {
1878 echo "<span class='text'>(${data['gu_umbilical_hernia_text']})</span>";
1879 } else {
1880 echo "<br/>";
1883 echo "</td>";
1884 echo "</tr>";
1887 if (($data["gu_incontinence"] != "N/A" && $data["gu_incontinence"] != "" && $data["gu_incontinence"] != "--") || ( $data["gu_incontinence_text"] != "" && $data["gu_incontinence_text"] != null )) {
1888 echo "<tr>";
1889 echo "<td>";
1890 echo "<span class='text'>Incontinence:<span>";
1891 echo "</td>";
1892 echo "<td>";
1893 echo "<span class='text'>${data['gu_incontinence']}</span>";
1894 echo "</td>";
1895 echo "<td>";
1896 if ($data['gu_incontinence_text'] != null) {
1897 echo "<span class='text'>(${data['gu_incontinence_text']})</span>";
1898 } else {
1899 echo "<br/>";
1902 echo "</td>";
1903 echo "</tr>";
1906 if (($data["gu_nocturia"] != "N/A" && $data["gu_nocturia"] != "" && $data["gu_nocturia"] != "--") || ( $data["gu_nocturia_text"] != "" && $data["gu_nocturia_text"] != null )) {
1907 echo "<tr>";
1908 echo "<td>";
1909 echo "<span class='text'>Nocturia:<span>";
1910 echo "</td>";
1911 echo "<td>";
1912 echo "<span class='text'>${data['gu_nocturia']}</span>";
1913 echo "</td>";
1914 echo "<td>";
1915 if ($data['gu_nocturia_text'] != null) {
1916 echo "<span class='text'>(${data['gu_nocturia_text']})</span>";
1917 } else {
1918 echo "<br/>";
1921 echo "</td>";
1922 echo "</tr>";
1925 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 )) {
1926 echo "<tr>";
1927 echo "<td>";
1928 echo "<span class='text'>Urinary Urgency:<span>";
1929 echo "</td>";
1930 echo "<td>";
1931 echo "<span class='text'>${data['gu_urinary_urgency']}</span>";
1932 echo "</td>";
1933 echo "<td>";
1934 if ($data['gu_urinary_urgency_text'] != null) {
1935 echo "<span class='text'>(${data['gu_urinary_urgency_text']})</span>";
1936 } else {
1937 echo "<br/>";
1940 echo "</td>";
1941 echo "</tr>";
1944 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 )) {
1945 echo "<tr>";
1946 echo "<td>";
1947 echo "<span class='text'>Recurrent UTIs:<span>";
1948 echo "</td>";
1949 echo "<td>";
1950 echo "<span class='text'>${data['gu_recurrent_utis']}</span>";
1951 echo "</td>";
1952 echo "<td>";
1953 if ($data['gu_recurrent_utis_text'] != null) {
1954 echo "<span class='text'>(${data['gu_recurrent_utis_text']})</span>";
1955 } else {
1956 echo "<br/>";
1959 echo "</td>";
1960 echo "</tr>";
1963 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 )) {
1964 echo "<tr>";
1965 echo "<td>";
1966 echo "<span class='text'>Venereal Disease:<span>";
1967 echo "</td>";
1968 echo "<td>";
1969 echo "<span class='text'>${data['gu_venereal_disease']}</span>";
1970 echo "</td>";
1971 echo "<td>";
1972 if ($data['gu_venereal_disease_text'] != null) {
1973 echo "<span class='text'>(${data['gu_venereal_disease_text']})</span>";
1974 } else {
1975 echo "<br/>";
1978 echo "</td>";
1979 echo "</tr>";
1982 echo "<tr><td colspan='3'><span class='bold'><u>MALE GU</u></span></td></tr>";
1983 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 )) {
1984 echo "<tr>";
1985 echo "<td>";
1986 echo "<span class='text'>Erectile Dysfunction:<span>";
1987 echo "</td>";
1988 echo "<td>";
1989 echo "<span class='text'>${data['male_gu_erectile_dysfunction']}</span>";
1990 echo "</td>";
1991 echo "<td>";
1992 if ($data['male_gu_erectile_dysfunction_text'] != null) {
1993 echo "<span class='text'>(${data['male_gu_erectile_dysfunction_text']})</span>";
1994 } else {
1995 echo "<br/>";
1998 echo "</td>";
1999 echo "</tr>";
2002 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 )) {
2003 echo "<tr>";
2004 echo "<td>";
2005 echo "<span class='text'>Inguinal Hernia:<span>";
2006 echo "</td>";
2007 echo "<td>";
2008 echo "<span class='text'>${data['male_gu_inguinal_hernia']}</span>";
2009 echo "</td>";
2010 echo "<td>";
2011 if ($data['male_gu_inguinal_hernia_text'] != null) {
2012 echo "<span class='text'>(${data['male_gu_inguinal_hernia_text']})</span>";
2013 } else {
2014 echo "<br/>";
2017 echo "</td>";
2018 echo "</tr>";
2021 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 )) {
2022 echo "<tr>";
2023 echo "<td>";
2024 echo "<span class='text'>Penile Lesions:<span>";
2025 echo "</td>";
2026 echo "<td>";
2027 echo "<span class='text'>${data['male_gu_penile_lesions']}</span>";
2028 echo "</td>";
2029 echo "<td>";
2030 if ($data['male_gu_penile_lesions_text'] != null) {
2031 echo "<span class='text'>(${data['male_gu_penile_lesions_text']})</span>";
2032 } else {
2033 echo "<br/>";
2036 echo "</td>";
2037 echo "</tr>";
2040 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 )) {
2041 echo "<tr>";
2042 echo "<td>";
2043 echo "<span class='text'>Scrotal Mass:<span>";
2044 echo "</td>";
2045 echo "<td>";
2046 echo "<span class='text'>${data['male_gu_scrotal_mass']}</span>";
2047 echo "</td>";
2048 echo "<td>";
2049 if ($data['male_gu_scrotal_mass_text'] != null) {
2050 echo "<span class='text'>(${data['male_gu_scrotal_mass_text']})</span>";
2051 } else {
2052 echo "<br/>";
2055 echo "</td>";
2056 echo "</tr>";
2059 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 )) {
2060 echo "<tr>";
2061 echo "<td>";
2062 echo "<span class='text'>Testicular Pain:<span>";
2063 echo "</td>";
2064 echo "<td>";
2065 echo "<span class='text'>${data['male_gu_testicular_pain']}</span>";
2066 echo "</td>";
2067 echo "<td>";
2068 if ($data['male_gu_testicular_pain_text'] != null) {
2069 echo "<span class='text'>(${data['male_gu_testicular_pain_text']})</span>";
2070 } else {
2071 echo "<br/>";
2074 echo "</td>";
2075 echo "</tr>";
2078 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 )) {
2079 echo "<tr>";
2080 echo "<td>";
2081 echo "<span class='text'>Urethral Discharge:<span>";
2082 echo "</td>";
2083 echo "<td>";
2084 echo "<span class='text'>${data['male_gu_urethral_discharge']}</span>";
2085 echo "</td>";
2086 echo "<td>";
2087 if ($data['male_gu_urethral_discharge_text'] != null) {
2088 echo "<span class='text'>(${data['male_gu_urethral_discharge_text']})</span>";
2089 } else {
2090 echo "<br/>";
2093 echo "</td>";
2094 echo "</tr>";
2097 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 )) {
2098 echo "<tr>";
2099 echo "<td>";
2100 echo "<span class='text'>Weak Urinary Stream:<span>";
2101 echo "</td>";
2102 echo "<td>";
2103 echo "<span class='text'>${data['male_gu_weak_urinary_stream']}</span>";
2104 echo "</td>";
2105 echo "<td>";
2106 if ($data['male_gu_weak_urinary_stream_text'] != null) {
2107 echo "<span class='text'>(${data['male_gu_weak_urinary_stream_text']})</span>";
2108 } else {
2109 echo "<br/>";
2112 echo "</td>";
2113 echo "</tr>";
2116 echo "<tr><td colspan='3'><span class='bold'><u>FEMALE GU</u></span></td></tr>";
2117 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 )) {
2118 echo "<tr>";
2119 echo "<td>";
2120 echo "<span class='text'>Abnormal Menses:<span>";
2121 echo "</td>";
2122 echo "<td>";
2123 echo "<span class='text'>${data['female_gu_abnormal_menses']}</span>";
2124 echo "</td>";
2125 echo "<td>";
2126 if ($data['female_gu_abnormal_menses_text'] != null) {
2127 echo "<span class='text'>(${data['female_gu_abnormal_menses_text']})</span>";
2128 } else {
2129 echo "<br/>";
2132 echo "</td>";
2133 echo "</tr>";
2136 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 )) {
2137 echo "<tr>";
2138 echo "<td>";
2139 echo "<span class='text'>Abnormal Vaginal Bleeding:<span>";
2140 echo "</td>";
2141 echo "<td>";
2142 echo "<span class='text'>${data['female_gu_abnormal_vaginal_bleeding']}</span>";
2143 echo "</td>";
2144 echo "<td>";
2145 if ($data['female_gu_abnormal_vaginal_bleeding_text'] != null) {
2146 echo "<span class='text'>(${data['female_gu_abnormal_vaginal_bleeding_text']})</span>";
2147 } else {
2148 echo "<br/>";
2151 echo "</td>";
2152 echo "</tr>";
2155 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 )) {
2156 echo "<tr>";
2157 echo "<td>";
2158 echo "<span class='text'>Vaginal Discharge :<span>";
2159 echo "</td>";
2160 echo "<td>";
2161 echo "<span class='text'>${data['female_gu_vaginal_discharge']}</span>";
2162 echo "</td>";
2163 echo "<td>";
2164 if ($data['female_gu_vaginal_discharge_text'] != null) {
2165 echo "<span class='text'>(${data['female_gu_vaginal_discharge_text']})</span>";
2166 } else {
2167 echo "<br/>";
2170 echo "</td>";
2171 echo "</tr>";
2174 echo "<tr><td colspan='3'><span class='bold'><u>GI</u></span></td></tr>";
2175 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 )) {
2176 echo "<tr>";
2177 echo "<td>";
2178 echo "<span class='text'>abdominal pain:<span>";
2179 echo "</td>";
2180 echo "<td>";
2181 echo "<span class='text'>${data['gi_abdominal_pain']}</span>";
2182 echo "</td>";
2183 echo "<td>";
2184 if ($data['gi_abdominal_pain_text'] != null) {
2185 echo "<span class='text'>(${data['gi_abdominal_pain_text']})</span>";
2186 } else {
2187 echo "<br/>";
2190 echo "</td>";
2191 echo "</tr>";
2194 if (($data["gi_cramps"] != "N/A" && $data["gi_cramps"] != "" && $data["gi_cramps"] != "--") || ( $data["gi_cramps_text"] != "" && $data["gi_cramps_text"] != null )) {
2195 echo "<tr>";
2196 echo "<td>";
2197 echo "<span class='text'>cramps:<span>";
2198 echo "</td>";
2199 echo "<td>";
2200 echo "<span class='text'>${data['gi_cramps']}</span>";
2201 echo "</td>";
2202 echo "<td>";
2203 if ($data['gi_cramps_text'] != null) {
2204 echo "<span class='text'>(${data['gi_cramps_text']})</span>";
2205 } else {
2206 echo "<br/>";
2209 echo "</td>";
2210 echo "</tr>";
2213 if (($data["gi_tenderness"] != "N/A" && $data["gi_tenderness"] != "" && $data["gi_tenderness"] != "--") || ( $data["gi_tenderness_text"] != "" && $data["gi_tenderness_text"] != null )) {
2214 echo "<tr>";
2215 echo "<td>";
2216 echo "<span class='text'>tenderness:<span>";
2217 echo "</td>";
2218 echo "<td>";
2219 echo "<span class='text'>${data['gi_tenderness']}</span>";
2220 echo "</td>";
2221 echo "<td>";
2222 if ($data['gi_tenderness_text'] != null) {
2223 echo "<span class='text'>(${data['gi_tenderness_text']})</span>";
2224 } else {
2225 echo "<br/>";
2228 echo "</td>";
2229 echo "</tr>";
2232 if (($data["gi_vomiting"] != "N/A" && $data["gi_vomiting"] != "" && $data["gi_vomiting"] != "--") || ( $data["gi_vomiting_text"] != "" && $data["gi_vomiting_text"] != null )) {
2233 echo "<tr>";
2234 echo "<td>";
2235 echo "<span class='text'>vomiting:<span>";
2236 echo "</td>";
2237 echo "<td>";
2238 echo "<span class='text'>${data['gi_vomiting']}</span>";
2239 echo "</td>";
2240 echo "<td>";
2241 if ($data['gi_vomiting_text'] != null) {
2242 echo "<span class='text'>(${data['gi_vomiting_text']})</span>";
2243 } else {
2244 echo "<br/>";
2247 echo "</td>";
2248 echo "</tr>";
2251 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 )) {
2252 echo "<tr>";
2253 echo "<td>";
2254 echo "<span class='text'>frequent diarrhea:<span>";
2255 echo "</td>";
2256 echo "<td>";
2257 echo "<span class='text'>${data['gi_frequent_diarrhea']}</span>";
2258 echo "</td>";
2259 echo "<td>";
2260 if ($data['gi_frequent_diarrhea_text'] != null) {
2261 echo "<span class='text'>(${data['gi_frequent_diarrhea_text']})</span>";
2262 } else {
2263 echo "<br/>";
2266 echo "</td>";
2267 echo "</tr>";
2270 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 )) {
2271 echo "<tr>";
2272 echo "<td>";
2273 echo "<span class='text'>significant constipation:<span>";
2274 echo "</td>";
2275 echo "<td>";
2276 echo "<span class='text'>${data['gi_significant_constipation']}</span>";
2277 echo "</td>";
2278 echo "<td>";
2279 if ($data['gi_significant_constipation_text'] != null) {
2280 echo "<span class='text'>(${data['gi_significant_constipation_text']})</span>";
2281 } else {
2282 echo "<br/>";
2285 echo "</td>";
2286 echo "</tr>";
2289 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 )) {
2290 echo "<tr>";
2291 echo "<td>";
2292 echo "<span class='text'>Excessive Belching:<span>";
2293 echo "</td>";
2294 echo "<td>";
2295 echo "<span class='text'>${data['gi_excessive_belching']}</span>";
2296 echo "</td>";
2297 echo "<td>";
2298 if ($data['gi_excessive_belching_text'] != null) {
2299 echo "<span class='text'>(${data['gi_excessive_belching_text']})</span>";
2300 } else {
2301 echo "<br/>";
2304 echo "</td>";
2305 echo "</tr>";
2308 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 )) {
2309 echo "<tr>";
2310 echo "<td>";
2311 echo "<span class='text'>Changed Bowel Habits:<span>";
2312 echo "</td>";
2313 echo "<td>";
2314 echo "<span class='text'>${data['gi_changed_bowel_habits']}</span>";
2315 echo "</td>";
2316 echo "<td>";
2317 if ($data['gi_changed_bowel_habits_text'] != null) {
2318 echo "<span class='text'>(${data['gi_changed_bowel_habits_text']})</span>";
2319 } else {
2320 echo "<br/>";
2323 echo "</td>";
2324 echo "</tr>";
2327 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 )) {
2328 echo "<tr>";
2329 echo "<td>";
2330 echo "<span class='text'>Excessive Flatulence:<span>";
2331 echo "</td>";
2332 echo "<td>";
2333 echo "<span class='text'>${data['gi_excessive_flatulence']}</span>";
2334 echo "</td>";
2335 echo "<td>";
2336 if ($data['gi_excessive_flatulence_text'] != null) {
2337 echo "<span class='text'>(${data['gi_excessive_flatulence_text']})</span>";
2338 } else {
2339 echo "<br/>";
2342 echo "</td>";
2343 echo "</tr>";
2346 if (($data["gi_hematemesis"] != "N/A" && $data["gi_hematemesis"] != "" && $data["gi_hematemesis"] != "--") || ( $data["gi_hematemesis_text"] != "" && $data["gi_hematemesis_text"] != null )) {
2347 echo "<tr>";
2348 echo "<td>";
2349 echo "<span class='text'>Hematemesis:<span>";
2350 echo "</td>";
2351 echo "<td>";
2352 echo "<span class='text'>${data['gi_hematemesis']}</span>";
2353 echo "</td>";
2354 echo "<td>";
2355 if ($data['gi_hematemesis_text'] != null) {
2356 echo "<span class='text'>(${data['gi_hematemesis_text']})</span>";
2357 } else {
2358 echo "<br/>";
2361 echo "</td>";
2362 echo "</tr>";
2365 if (($data["gi_hemorrhoids"] != "N/A" && $data["gi_hemorrhoids"] != "" && $data["gi_hemorrhoids"] != "--") || ( $data["gi_hemorrhoids_text"] != "" && $data["gi_hemorrhoids_text"] != null )) {
2366 echo "<tr>";
2367 echo "<td>";
2368 echo "<span class='text'>Hemorrhoids:<span>";
2369 echo "</td>";
2370 echo "<td>";
2371 echo "<span class='text'>${data['gi_hemorrhoids']}</span>";
2372 echo "</td>";
2373 echo "<td>";
2374 if ($data['gi_hemorrhoids_text'] != null) {
2375 echo "<span class='text'>(${data['gi_hemorrhoids_text']})</span>";
2376 } else {
2377 echo "<br/>";
2380 echo "</td>";
2381 echo "</tr>";
2384 if (($data["gi_hepatitis"] != "N/A" && $data["gi_hepatitis"] != "" && $data["gi_hepatitis"] != "--") || ( $data["gi_hepatitis_text"] != "" && $data["gi_hepatitis_text"] != null )) {
2385 echo "<tr>";
2386 echo "<td>";
2387 echo "<span class='text'>Hepatitis:<span>";
2388 echo "</td>";
2389 echo "<td>";
2390 echo "<span class='text'>${data['gi_hepatitis']}</span>";
2391 echo "</td>";
2392 echo "<td>";
2393 if ($data['gi_hepatitis_text'] != null) {
2394 echo "<span class='text'>(${data['gi_hepatitis_text']})</span>";
2395 } else {
2396 echo "<br/>";
2399 echo "</td>";
2400 echo "</tr>";
2403 if (($data["gi_jaundice"] != "N/A" && $data["gi_jaundice"] != "" && $data["gi_jaundice"] != "--") || ( $data["gi_jaundice_text"] != "" && $data["gi_jaundice_text"] != null )) {
2404 echo "<tr>";
2405 echo "<td>";
2406 echo "<span class='text'>Jaundice:<span>";
2407 echo "</td>";
2408 echo "<td>";
2409 echo "<span class='text'>${data['gi_jaundice']}</span>";
2410 echo "</td>";
2411 echo "<td>";
2412 if ($data['gi_jaundice_text'] != null) {
2413 echo "<span class='text'>(${data['gi_jaundice_text']})</span>";
2414 } else {
2415 echo "<br/>";
2418 echo "</td>";
2419 echo "</tr>";
2422 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 )) {
2423 echo "<tr>";
2424 echo "<td>";
2425 echo "<span class='text'>Lactose Intolerance:<span>";
2426 echo "</td>";
2427 echo "<td>";
2428 echo "<span class='text'>${data['gi_lactose_intolerance']}</span>";
2429 echo "</td>";
2430 echo "<td>";
2431 if ($data['gi_lactose_intolerance_text'] != null) {
2432 echo "<span class='text'>(${data['gi_lactose_intolerance_text']})</span>";
2433 } else {
2434 echo "<br/>";
2437 echo "</td>";
2438 echo "</tr>";
2441 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 )) {
2442 echo "<tr>";
2443 echo "<td>";
2444 echo "<span class='text'>Chronic Laxative Use:<span>";
2445 echo "</td>";
2446 echo "<td>";
2447 echo "<span class='text'>${data['gi_chronic_laxative_use']}</span>";
2448 echo "</td>";
2449 echo "<td>";
2450 if ($data['gi_chronic_laxative_use_text'] != null) {
2451 echo "<span class='text'>(${data['gi_chronic_laxative_use_text']})</span>";
2452 } else {
2453 echo "<br/>";
2456 echo "</td>";
2457 echo "</tr>";
2460 if (($data["gi_melena"] != "N/A" && $data["gi_melena"] != "" && $data["gi_melena"] != "--") || ( $data["gi_melena_text"] != "" && $data["gi_melena_text"] != null )) {
2461 echo "<tr>";
2462 echo "<td>";
2463 echo "<span class='text'>Melena:<span>";
2464 echo "</td>";
2465 echo "<td>";
2466 echo "<span class='text'>${data['gi_melena']}</span>";
2467 echo "</td>";
2468 echo "<td>";
2469 if ($data['gi_melena_text'] != null) {
2470 echo "<span class='text'>(${data['gi_melena_text']})</span>";
2471 } else {
2472 echo "<br/>";
2475 echo "</td>";
2476 echo "</tr>";
2479 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 )) {
2480 echo "<tr>";
2481 echo "<td>";
2482 echo "<span class='text'>Frequent Nausea:<span>";
2483 echo "</td>";
2484 echo "<td>";
2485 echo "<span class='text'>${data['gi_frequent_nausea']}</span>";
2486 echo "</td>";
2487 echo "<td>";
2488 if ($data['gi_frequent_nausea_text'] != null) {
2489 echo "<span class='text'>(${data['gi_frequent_nausea_text']})</span>";
2490 } else {
2491 echo "<br/>";
2494 echo "</td>";
2495 echo "</tr>";
2498 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 )) {
2499 echo "<tr>";
2500 echo "<td>";
2501 echo "<span class='text'>Rectal Bleeding:<span>";
2502 echo "</td>";
2503 echo "<td>";
2504 echo "<span class='text'>${data['gi_rectal_bleeding']}</span>";
2505 echo "</td>";
2506 echo "<td>";
2507 if ($data['gi_rectal_bleeding_text'] != null) {
2508 echo "<span class='text'>(${data['gi_rectal_bleeding_text']})</span>";
2509 } else {
2510 echo "<br/>";
2513 echo "</td>";
2514 echo "</tr>";
2517 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 )) {
2518 echo "<tr>";
2519 echo "<td>";
2520 echo "<span class='text'>Rectal Pain:<span>";
2521 echo "</td>";
2522 echo "<td>";
2523 echo "<span class='text'>${data['gi_rectal_pain']}</span>";
2524 echo "</td>";
2525 echo "<td>";
2526 if ($data['gi_rectal_pain_text'] != null) {
2527 echo "<span class='text'>(${data['gi_rectal_pain_text']})</span>";
2528 } else {
2529 echo "<br/>";
2532 echo "</td>";
2533 echo "</tr>";
2536 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 )) {
2537 echo "<tr>";
2538 echo "<td>";
2539 echo "<span class='text'>Stool Caliber Change:<span>";
2540 echo "</td>";
2541 echo "<td>";
2542 echo "<span class='text'>${data['gi_stool_caliber_change']}</span>";
2543 echo "</td>";
2544 echo "<td>";
2545 if ($data['gi_stool_caliber_change_text'] != null) {
2546 echo "<span class='text'>(${data['gi_stool_caliber_change_text']})</span>";
2547 } else {
2548 echo "<br/>";
2551 echo "</td>";
2552 echo "</tr>";
2555 echo "<tr><td colspan='3'><span class='bold'><u>INTEGUMENT:</u></span></td></tr>";
2556 if (($data["integument_pallor"] != "N/A" && $data["integument_pallor"] != "" && $data["integument_pallor"] != "--") || ( $data["integument_pallor_text"] != "" && $data["integument_pallor_text"] != null )) {
2557 echo "<tr>";
2558 echo "<td>";
2559 echo "<span class='text'>pallor:<span>";
2560 echo "</td>";
2561 echo "<td>";
2562 echo "<span class='text'>${data['integument_pallor']}</span>";
2563 echo "</td>";
2564 echo "<td>";
2565 if ($data['integument_pallor_text'] != null) {
2566 echo "<span class='text'>(${data['integument_pallor_text']})</span>";
2567 } else {
2568 echo "<br/>";
2571 echo "</td>";
2572 echo "</tr>";
2575 if (($data["integument_diaphoresis"] != "N/A" && $data["integument_diaphoresis"] != "" && $data["integument_diaphoresis"] != "--") || ( $data["integument_diaphoresis_text"] != "" && $data["integument_diaphoresis_text"] != null )) {
2576 echo "<tr>";
2577 echo "<td>";
2578 echo "<span class='text'>diaphoresis:<span>";
2579 echo "</td>";
2580 echo "<td>";
2581 echo "<span class='text'>${data['integument_diaphoresis']}</span>";
2582 echo "</td>";
2583 echo "<td>";
2584 if ($data['integument_diaphoresis_text'] != null) {
2585 echo "<span class='text'>(${data['integument_diaphoresis_text']})</span>";
2586 } else {
2587 echo "<br/>";
2590 echo "</td>";
2591 echo "</tr>";
2594 if (($data["integument_rash"] != "N/A" && $data["integument_rash"] != "" && $data["integument_rash"] != "--") || ( $data["integument_rash_text"] != "" && $data["integument_rash_text"] != null )) {
2595 echo "<tr>";
2596 echo "<td>";
2597 echo "<span class='text'>rash:<span>";
2598 echo "</td>";
2599 echo "<td>";
2600 echo "<span class='text'>${data['integument_rash']}</span>";
2601 echo "</td>";
2602 echo "<td>";
2603 if ($data['integument_rash_text'] != null) {
2604 echo "<span class='text'>(${data['integument_rash_text']})</span>";
2605 } else {
2606 echo "<br/>";
2609 echo "</td>";
2610 echo "</tr>";
2613 if (($data["integument_itching"] != "N/A" && $data["integument_itching"] != "" && $data["integument_itching"] != "--") || ( $data["integument_itching_text"] != "" && $data["integument_itching_text"] != null )) {
2614 echo "<tr>";
2615 echo "<td>";
2616 echo "<span class='text'>itching:<span>";
2617 echo "</td>";
2618 echo "<td>";
2619 echo "<span class='text'>${data['integument_itching']}</span>";
2620 echo "</td>";
2621 echo "<td>";
2622 if ($data['integument_itching_text'] != null) {
2623 echo "<span class='text'>(${data['integument_itching_text']})</span>";
2624 } else {
2625 echo "<br/>";
2628 echo "</td>";
2629 echo "</tr>";
2632 if (($data["integument_ulcers"] != "N/A" && $data["integument_ulcers"] != "" && $data["integument_ulcers"] != "--") || ( $data["integument_ulcers_text"] != "" && $data["integument_ulcers_text"] != null )) {
2633 echo "<tr>";
2634 echo "<td>";
2635 echo "<span class='text'>ulcers:<span>";
2636 echo "</td>";
2637 echo "<td>";
2638 echo "<span class='text'>${data['integument_ulcers']}</span>";
2639 echo "</td>";
2640 echo "<td>";
2641 if ($data['integument_ulcers_text'] != null) {
2642 echo "<span class='text'>(${data['integument_ulcers_text']})</span>";
2643 } else {
2644 echo "<br/>";
2647 echo "</td>";
2648 echo "</tr>";
2651 if (($data["integument_abscess"] != "N/A" && $data["integument_abscess"] != "" && $data["integument_abscess"] != "--") || ( $data["integument_abscess_text"] != "" && $data["integument_abscess_text"] != null )) {
2652 echo "<tr>";
2653 echo "<td>";
2654 echo "<span class='text'>abscess:<span>";
2655 echo "</td>";
2656 echo "<td>";
2657 echo "<span class='text'>${data['integument_abscess']}</span>";
2658 echo "</td>";
2659 echo "<td>";
2660 if ($data['integument_abscess_text'] != null) {
2661 echo "<span class='text'>(${data['integument_abscess_text']})</span>";
2662 } else {
2663 echo "<br/>";
2666 echo "</td>";
2667 echo "</tr>";
2670 if (($data["integument_nodules"] != "N/A" && $data["integument_nodules"] != "" && $data["integument_nodules"] != "--") || ( $data["integument_nodules_text"] != "" && $data["integument_nodules_text"] != null )) {
2671 echo "<tr>";
2672 echo "<td>";
2673 echo "<span class='text'>nodules:<span>";
2674 echo "</td>";
2675 echo "<td>";
2676 echo "<span class='text'>${data['integument_nodules']}</span>";
2677 echo "</td>";
2678 echo "<td>";
2679 if ($data['integument_nodules_text'] != null) {
2680 echo "<span class='text'>(${data['integument_nodules_text']})</span>";
2681 } else {
2682 echo "<br/>";
2685 echo "</td>";
2686 echo "</tr>";
2689 if (($data["integument_acne"] != "N/A" && $data["integument_acne"] != "" && $data["integument_acne"] != "--") || ( $data["integument_acne_text"] != "" && $data["integument_acne_text"] != null )) {
2690 echo "<tr>";
2691 echo "<td>";
2692 echo "<span class='text'>Acne:<span>";
2693 echo "</td>";
2694 echo "<td>";
2695 echo "<span class='text'>${data['integument_acne']}</span>";
2696 echo "</td>";
2697 echo "<td>";
2698 if ($data['integument_acne_text'] != null) {
2699 echo "<span class='text'>(${data['integument_acne_text']})</span>";
2700 } else {
2701 echo "<br/>";
2704 echo "</td>";
2705 echo "</tr>";
2708 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 )) {
2709 echo "<tr>";
2710 echo "<td>";
2711 echo "<span class='text'>Recurrent Boils:<span>";
2712 echo "</td>";
2713 echo "<td>";
2714 echo "<span class='text'>${data['integument_recurrent_boils']}</span>";
2715 echo "</td>";
2716 echo "<td>";
2717 if ($data['integument_recurrent_boils_text'] != null) {
2718 echo "<span class='text'>(${data['integument_recurrent_boils_text']})</span>";
2719 } else {
2720 echo "<br/>";
2723 echo "</td>";
2724 echo "</tr>";
2727 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 )) {
2728 echo "<tr>";
2729 echo "<td>";
2730 echo "<span class='text'>Chronic Eczema:<span>";
2731 echo "</td>";
2732 echo "<td>";
2733 echo "<span class='text'>${data['integument_chronic_eczema']}</span>";
2734 echo "</td>";
2735 echo "<td>";
2736 if ($data['integument_chronic_eczema_text'] != null) {
2737 echo "<span class='text'>(${data['integument_chronic_eczema_text']})</span>";
2738 } else {
2739 echo "<br/>";
2742 echo "</td>";
2743 echo "</tr>";
2746 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 )) {
2747 echo "<tr>";
2748 echo "<td>";
2749 echo "<span class='text'>Changing Moles:<span>";
2750 echo "</td>";
2751 echo "<td>";
2752 echo "<span class='text'>${data['integument_changing_moles']}</span>";
2753 echo "</td>";
2754 echo "<td>";
2755 if ($data['integument_changing_moles_text'] != null) {
2756 echo "<span class='text'>(${data['integument_changing_moles_text']})</span>";
2757 } else {
2758 echo "<br/>";
2761 echo "</td>";
2762 echo "</tr>";
2765 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 )) {
2766 echo "<tr>";
2767 echo "<td>";
2768 echo "<span class='text'>Nail Abnormalities:<span>";
2769 echo "</td>";
2770 echo "<td>";
2771 echo "<span class='text'>${data['integument_nail_abnormalities']}</span>";
2772 echo "</td>";
2773 echo "<td>";
2774 if ($data['integument_nail_abnormalities_text'] != null) {
2775 echo "<span class='text'>(${data['integument_nail_abnormalities_text']})</span>";
2776 } else {
2777 echo "<br/>";
2780 echo "</td>";
2781 echo "</tr>";
2784 if (($data["integument_psoriasis"] != "N/A" && $data["integument_psoriasis"] != "" && $data["integument_psoriasis"] != "--") || ( $data["integument_psoriasis_text"] != "" && $data["integument_psoriasis_text"] != null )) {
2785 echo "<tr>";
2786 echo "<td>";
2787 echo "<span class='text'>Psoriasis:<span>";
2788 echo "</td>";
2789 echo "<td>";
2790 echo "<span class='text'>${data['integument_psoriasis']}</span>";
2791 echo "</td>";
2792 echo "<td>";
2793 if ($data['integument_psoriasis_text'] != null) {
2794 echo "<span class='text'>(${data['integument_psoriasis_text']})</span>";
2795 } else {
2796 echo "<br/>";
2799 echo "</td>";
2800 echo "</tr>";
2803 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 )) {
2804 echo "<tr>";
2805 echo "<td>";
2806 echo "<span class='text'>Recurrent Hives:<span>";
2807 echo "</td>";
2808 echo "<td>";
2809 echo "<span class='text'>${data['integument_recurrent_hives']}</span>";
2810 echo "</td>";
2811 echo "<td>";
2812 if ($data['integument_recurrent_hives_text'] != null) {
2813 echo "<span class='text'>(${data['integument_recurrent_hives_text']})</span>";
2814 } else {
2815 echo "<br/>";
2818 echo "</td>";
2819 echo "</tr>";
2822 echo "<tr><td colspan='3'><span class='bold'><u>MUSCULOSKELETAL:</u></span></td></tr>";
2823 if (($data["musculoskeletal_deformity"] != "N/A" && $data["musculoskeletal_deformity"] != "" && $data["musculoskeletal_deformity"] != "--") || ( $data["musculoskeletal_deformity_text"] != "" && $data["musculoskeletal_deformity_text"] != null )) {
2824 echo "<tr>";
2825 echo "<td>";
2826 echo "<span class='text'>deformity:<span>";
2827 echo "</td>";
2828 echo "<td>";
2829 echo "<span class='text'>${data['musculoskeletal_deformity']}</span>";
2830 echo "</td>";
2831 echo "<td>";
2832 if ($data['musculoskeletal_deformity_text'] != null) {
2833 echo "<span class='text'>(${data['musculoskeletal_deformity_text']})</span>";
2834 } else {
2835 echo "<br/>";
2838 echo "</td>";
2839 echo "</tr>";
2842 if (($data["musculoskeletal_edema"] != "N/A" && $data["musculoskeletal_edema"] != "" && $data["musculoskeletal_edema"] != "--") || ( $data["musculoskeletal_edema_text"] != "" && $data["musculoskeletal_edema_text"] != null )) {
2843 echo "<tr>";
2844 echo "<td>";
2845 echo "<span class='text'>edema:<span>";
2846 echo "</td>";
2847 echo "<td>";
2848 echo "<span class='text'>${data['musculoskeletal_edema']}</span>";
2849 echo "</td>";
2850 echo "<td>";
2851 if ($data['musculoskeletal_edema_text'] != null) {
2852 echo "<span class='text'>(${data['musculoskeletal_edema_text']})</span>";
2853 } else {
2854 echo "<br/>";
2857 echo "</td>";
2858 echo "</tr>";
2861 if (($data["musculoskeletal_pain"] != "N/A" && $data["musculoskeletal_pain"] != "" && $data["musculoskeletal_pain"] != "--") || ( $data["musculoskeletal_pain_text"] != "" && $data["musculoskeletal_pain_text"] != null )) {
2862 echo "<tr>";
2863 echo "<td>";
2864 echo "<span class='text'>pain:<span>";
2865 echo "</td>";
2866 echo "<td>";
2867 echo "<span class='text'>${data['musculoskeletal_pain']}</span>";
2868 echo "</td>";
2869 echo "<td>";
2870 if ($data['musculoskeletal_pain_text'] != null) {
2871 echo "<span class='text'>(${data['musculoskeletal_pain_text']})</span>";
2872 } else {
2873 echo "<br/>";
2876 echo "</td>";
2877 echo "</tr>";
2880 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 )) {
2881 echo "<tr>";
2882 echo "<td>";
2883 echo "<span class='text'>limited ROM:<span>";
2884 echo "</td>";
2885 echo "<td>";
2886 echo "<span class='text'>${data['musculoskeletal_limited_rom']}</span>";
2887 echo "</td>";
2888 echo "<td>";
2889 if ($data['musculoskeletal_limited_rom_text'] != null) {
2890 echo "<span class='text'>(${data['musculoskeletal_limited_rom_text']})</span>";
2891 } else {
2892 echo "<br/>";
2895 echo "</td>";
2896 echo "</tr>";
2899 if (($data["musculoskeletal_gait"] != "N/A" && $data["musculoskeletal_gait"] != "" && $data["musculoskeletal_gait"] != "--") || ( $data["musculoskeletal_gait_text"] != "" && $data["musculoskeletal_gait_text"] != null )) {
2900 echo "<tr>";
2901 echo "<td>";
2902 echo "<span class='text'>gait:<span>";
2903 echo "</td>";
2904 echo "<td>";
2905 echo "<span class='text'>${data['musculoskeletal_gait']}</span>";
2906 echo "</td>";
2907 echo "<td>";
2908 if ($data['musculoskeletal_gait_text'] != null) {
2909 echo "<span class='text'>(${data['musculoskeletal_gait_text']})</span>";
2910 } else {
2911 echo "<br/>";
2914 echo "</td>";
2915 echo "</tr>";
2918 if (($data["musculoskeletal_arthritis"] != "N/A" && $data["musculoskeletal_arthritis"] != "" && $data["musculoskeletal_arthritis"] != "--") || ( $data["musculoskeletal_arthritis_text"] != "" && $data["musculoskeletal_arthritis_text"] != null )) {
2919 echo "<tr>";
2920 echo "<td>";
2921 echo "<span class='text'>Arthritis:<span>";
2922 echo "</td>";
2923 echo "<td>";
2924 echo "<span class='text'>${data['musculoskeletal_arthritis']}</span>";
2925 echo "</td>";
2926 echo "<td>";
2927 if ($data['musculoskeletal_arthritis_text'] != null) {
2928 echo "<span class='text'>(${data['musculoskeletal_arthritis_text']})</span>";
2929 } else {
2930 echo "<br/>";
2933 echo "</td>";
2934 echo "</tr>";
2937 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 )) {
2938 echo "<tr>";
2939 echo "<td>";
2940 echo "<span class='text'>Neck Pain:<span>";
2941 echo "</td>";
2942 echo "<td>";
2943 echo "<span class='text'>${data['musculoskeletal_neck_pain']}</span>";
2944 echo "</td>";
2945 echo "<td>";
2946 if ($data['musculoskeletal_neck_pain_text'] != null) {
2947 echo "<span class='text'>(${data['musculoskeletal_neck_pain_text']})</span>";
2948 } else {
2949 echo "<br/>";
2952 echo "</td>";
2953 echo "</tr>";
2956 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 )) {
2957 echo "<tr>";
2958 echo "<td>";
2959 echo "<span class='text'>Mid Back Pain:<span>";
2960 echo "</td>";
2961 echo "<td>";
2962 echo "<span class='text'>${data['musculoskeletal_mid_back_pain']}</span>";
2963 echo "</td>";
2964 echo "<td>";
2965 if ($data['musculoskeletal_mid_back_pain_text'] != null) {
2966 echo "<span class='text'>(${data['musculoskeletal_mid_back_pain_text']})</span>";
2967 } else {
2968 echo "<br/>";
2971 echo "</td>";
2972 echo "</tr>";
2975 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 )) {
2976 echo "<tr>";
2977 echo "<td>";
2978 echo "<span class='text'>Low Back Pain:<span>";
2979 echo "</td>";
2980 echo "<td>";
2981 echo "<span class='text'>${data['musculoskeletal_low_back_pain']}</span>";
2982 echo "</td>";
2983 echo "<td>";
2984 if ($data['musculoskeletal_low_back_pain_text'] != null) {
2985 echo "<span class='text'>(${data['musculoskeletal_low_back_pain_text']})</span>";
2986 } else {
2987 echo "<br/>";
2990 echo "</td>";
2991 echo "</tr>";
2994 if (($data["musculoskeletal_bursitis"] != "N/A" && $data["musculoskeletal_bursitis"] != "" && $data["musculoskeletal_bursitis"] != "--") || ( $data["musculoskeletal_bursitis_text"] != "" && $data["musculoskeletal_bursitis_text"] != null )) {
2995 echo "<tr>";
2996 echo "<td>";
2997 echo "<span class='text'>Bursitis:<span>";
2998 echo "</td>";
2999 echo "<td>";
3000 echo "<span class='text'>${data['musculoskeletal_bursitis']}</span>";
3001 echo "</td>";
3002 echo "<td>";
3003 if ($data['musculoskeletal_bursitis_text'] != null) {
3004 echo "<span class='text'>(${data['musculoskeletal_bursitis_text']})</span>";
3005 } else {
3006 echo "<br/>";
3009 echo "</td>";
3010 echo "</tr>";
3013 if (($data["musculoskeletal_gout"] != "N/A" && $data["musculoskeletal_gout"] != "" && $data["musculoskeletal_gout"] != "--") || ( $data["musculoskeletal_gout_text"] != "" && $data["musculoskeletal_gout_text"] != null )) {
3014 echo "<tr>";
3015 echo "<td>";
3016 echo "<span class='text'>Gout:<span>";
3017 echo "</td>";
3018 echo "<td>";
3019 echo "<span class='text'>${data['musculoskeletal_gout']}</span>";
3020 echo "</td>";
3021 echo "<td>";
3022 if ($data['musculoskeletal_gout_text'] != null) {
3023 echo "<span class='text'>(${data['musculoskeletal_gout_text']})</span>";
3024 } else {
3025 echo "<br/>";
3028 echo "</td>";
3029 echo "</tr>";
3032 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 )) {
3033 echo "<tr>";
3034 echo "<td>";
3035 echo "<span class='text'>Joint Injury:<span>";
3036 echo "</td>";
3037 echo "<td>";
3038 echo "<span class='text'>${data['musculoskeletal_joint_injury']}</span>";
3039 echo "</td>";
3040 echo "<td>";
3041 if ($data['musculoskeletal_joint_injury_text'] != null) {
3042 echo "<span class='text'>(${data['musculoskeletal_joint_injury_text']})</span>";
3043 } else {
3044 echo "<br/>";
3047 echo "</td>";
3048 echo "</tr>";
3051 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 )) {
3052 echo "<tr>";
3053 echo "<td>";
3054 echo "<span class='text'>Joint Pain:<span>";
3055 echo "</td>";
3056 echo "<td>";
3057 echo "<span class='text'>${data['musculoskeletal_joint_pain']}</span>";
3058 echo "</td>";
3059 echo "<td>";
3060 if ($data['musculoskeletal_joint_pain_text'] != null) {
3061 echo "<span class='text'>(${data['musculoskeletal_joint_pain_text']})</span>";
3062 } else {
3063 echo "<br/>";
3066 echo "</td>";
3067 echo "</tr>";
3070 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 )) {
3071 echo "<tr>";
3072 echo "<td>";
3073 echo "<span class='text'>Joint Swelling:<span>";
3074 echo "</td>";
3075 echo "<td>";
3076 echo "<span class='text'>${data['musculoskeletal_joint_swelling']}</span>";
3077 echo "</td>";
3078 echo "<td>";
3079 if ($data['musculoskeletal_joint_swelling_text'] != null) {
3080 echo "<span class='text'>(${data['musculoskeletal_joint_swelling_text']})</span>";
3081 } else {
3082 echo "<br/>";
3085 echo "</td>";
3086 echo "</tr>";
3089 if (($data["musculoskeletal_myalgias"] != "N/A" && $data["musculoskeletal_myalgias"] != "" && $data["musculoskeletal_myalgias"] != "--") || ( $data["musculoskeletal_myalgias_text"] != "" && $data["musculoskeletal_myalgias_text"] != null )) {
3090 echo "<tr>";
3091 echo "<td>";
3092 echo "<span class='text'>Myalgias:<span>";
3093 echo "</td>";
3094 echo "<td>";
3095 echo "<span class='text'>${data['musculoskeletal_myalgias']}</span>";
3096 echo "</td>";
3097 echo "<td>";
3098 if ($data['musculoskeletal_myalgias_text'] != null) {
3099 echo "<span class='text'>(${data['musculoskeletal_myalgias_text']})</span>";
3100 } else {
3101 echo "<br/>";
3104 echo "</td>";
3105 echo "</tr>";
3108 if (($data["musculoskeletal_sciatica"] != "N/A" && $data["musculoskeletal_sciatica"] != "" && $data["musculoskeletal_sciatica"] != "--") || ( $data["musculoskeletal_sciatica_text"] != "" && $data["musculoskeletal_sciatica_text"] != null )) {
3109 echo "<tr>";
3110 echo "<td>";
3111 echo "<span class='text'>Sciatica:<span>";
3112 echo "</td>";
3113 echo "<td>";
3114 echo "<span class='text'>${data['musculoskeletal_sciatica']}</span>";
3115 echo "</td>";
3116 echo "<td>";
3117 if ($data['musculoskeletal_sciatica_text'] != null) {
3118 echo "<span class='text'>(${data['musculoskeletal_sciatica_text']})</span>";
3119 } else {
3120 echo "<br/>";
3123 echo "</td>";
3124 echo "</tr>";
3127 if (($data["musculoskeletal_scoliosis"] != "N/A" && $data["musculoskeletal_scoliosis"] != "" && $data["musculoskeletal_scoliosis"] != "--") || ( $data["musculoskeletal_scoliosis_text"] != "" && $data["musculoskeletal_scoliosis_text"] != null )) {
3128 echo "<tr>";
3129 echo "<td>";
3130 echo "<span class='text'>Scoliosis:<span>";
3131 echo "</td>";
3132 echo "<td>";
3133 echo "<span class='text'>${data['musculoskeletal_scoliosis']}</span>";
3134 echo "</td>";
3135 echo "<td>";
3136 if ($data['musculoskeletal_scoliosis_text'] != null) {
3137 echo "<span class='text'>(${data['musculoskeletal_scoliosis_text']})</span>";
3138 } else {
3139 echo "<br/>";
3142 echo "</td>";
3143 echo "</tr>";
3146 echo "<tr><td colspan='3'><span class='bold'><u>HEMATOLOGICAL</u></span></td></tr>";
3147 if (($data["hematological_anemia"] != "N/A" && $data["hematological_anemia"] != "" && $data["hematological_anemia"] != "--") || ( $data["hematological_anemia_text"] != "" && $data["hematological_anemia_text"] != null )) {
3148 echo "<tr>";
3149 echo "<td>";
3150 echo "<span class='text'>Anemia:<span>";
3151 echo "</td>";
3152 echo "<td>";
3153 echo "<span class='text'>${data['hematological_anemia']}</span>";
3154 echo "</td>";
3155 echo "<td>";
3156 if ($data['hematological_anemia_text'] != null) {
3157 echo "<span class='text'>(${data['hematological_anemia_text']})</span>";
3158 } else {
3159 echo "<br/>";
3162 echo "</td>";
3163 echo "</tr>";
3166 if (($data["hematological_pallor"] != "N/A" && $data["hematological_pallor"] != "" && $data["hematological_pallor"] != "--") || ( $data["hematological_pallor_text"] != "" && $data["hematological_pallor_text"] != null )) {
3167 echo "<tr>";
3168 echo "<td>";
3169 echo "<span class='text'>Pallor:<span>";
3170 echo "</td>";
3171 echo "<td>";
3172 echo "<span class='text'>${data['hematological_pallor']}</span>";
3173 echo "</td>";
3174 echo "<td>";
3175 if ($data['hematological_pallor_text'] != null) {
3176 echo "<span class='text'>(${data['hematological_pallor_text']})</span>";
3177 } else {
3178 echo "<br/>";
3181 echo "</td>";
3182 echo "</tr>";
3185 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 )) {
3186 echo "<tr>";
3187 echo "<td>";
3188 echo "<span class='text'>Bleeding Tendencies:<span>";
3189 echo "</td>";
3190 echo "<td>";
3191 echo "<span class='text'>${data['hematological_bleeding_tendencies']}</span>";
3192 echo "</td>";
3193 echo "<td>";
3194 if ($data['hematological_bleeding_tendencies_text'] != null) {
3195 echo "<span class='text'>(${data['hematological_bleeding_tendencies_text']})</span>";
3196 } else {
3197 echo "<br/>";
3200 echo "</td>";
3201 echo "</tr>";
3204 if (($data["hematological_bruising"] != "N/A" && $data["hematological_bruising"] != "" && $data["hematological_bruising"] != "--") || ( $data["hematological_bruising_text"] != "" && $data["hematological_bruising_text"] != null )) {
3205 echo "<tr>";
3206 echo "<td>";
3207 echo "<span class='text'>Bruising:<span>";
3208 echo "</td>";
3209 echo "<td>";
3210 echo "<span class='text'>${data['hematological_bruising']}</span>";
3211 echo "</td>";
3212 echo "<td>";
3213 if ($data['hematological_bruising_text'] != null) {
3214 echo "<span class='text'>(${data['hematological_bruising_text']})</span>";
3215 } else {
3216 echo "<br/>";
3219 echo "</td>";
3220 echo "</tr>";
3223 echo "<tr><td colspan='3'><span class='bold'><u>ENDOCRINE</u></span></td></tr>";
3224 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 )) {
3225 echo "<tr>";
3226 echo "<td>";
3227 echo "<span class='text'>Thyroid Problems:<span>";
3228 echo "</td>";
3229 echo "<td>";
3230 echo "<span class='text'>${data['endocrine_thyroid_problems']}</span>";
3231 echo "</td>";
3232 echo "<td>";
3233 if ($data['endocrine_thyroid_problems_text'] != null) {
3234 echo "<span class='text'>(${data['endocrine_thyroid_problems_text']})</span>";
3235 } else {
3236 echo "<br/>";
3239 echo "</td>";
3240 echo "</tr>";
3243 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 )) {
3244 echo "<tr>";
3245 echo "<td>";
3246 echo "<span class='text'>Enlarged Thyroid:<span>";
3247 echo "</td>";
3248 echo "<td>";
3249 echo "<span class='text'>${data['endocrine_enlarged_thyroid']}</span>";
3250 echo "</td>";
3251 echo "<td>";
3252 if ($data['endocrine_enlarged_thyroid_text'] != null) {
3253 echo "<span class='text'>(${data['endocrine_enlarged_thyroid_text']})</span>";
3254 } else {
3255 echo "<br/>";
3258 echo "</td>";
3259 echo "</tr>";
3262 if (($data["endocrine_hyperglycemia"] != "N/A" && $data["endocrine_hyperglycemia"] != "" && $data["endocrine_hyperglycemia"] != "--") || ( $data["endocrine_hyperglycemia_text"] != "" && $data["endocrine_hyperglycemia_text"] != null )) {
3263 echo "<tr>";
3264 echo "<td>";
3265 echo "<span class='text'>Hyperglycemia:<span>";
3266 echo "</td>";
3267 echo "<td>";
3268 echo "<span class='text'>${data['endocrine_hyperglycemia']}</span>";
3269 echo "</td>";
3270 echo "<td>";
3271 if ($data['endocrine_hyperglycemia_text'] != null) {
3272 echo "<span class='text'>(${data['endocrine_hyperglycemia_text']})</span>";
3273 } else {
3274 echo "<br/>";
3277 echo "</td>";
3278 echo "</tr>";
3281 if (($data["endocrine_hypoglycemia"] != "N/A" && $data["endocrine_hypoglycemia"] != "" && $data["endocrine_hypoglycemia"] != "--") || ( $data["endocrine_hypoglycemia_text"] != "" && $data["endocrine_hypoglycemia_text"] != null )) {
3282 echo "<tr>";
3283 echo "<td>";
3284 echo "<span class='text'>Hypoglycemia:<span>";
3285 echo "</td>";
3286 echo "<td>";
3287 echo "<span class='text'>${data['endocrine_hypoglycemia']}</span>";
3288 echo "</td>";
3289 echo "<td>";
3290 if ($data['endocrine_hypoglycemia_text'] != null) {
3291 echo "<span class='text'>(${data['endocrine_hypoglycemia_text']})</span>";
3292 } else {
3293 echo "<br/>";
3296 echo "</td>";
3297 echo "</tr>";
3300 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 )) {
3301 echo "<tr>";
3302 echo "<td>";
3303 echo "<span class='text'>Cold Intolerance:<span>";
3304 echo "</td>";
3305 echo "<td>";
3306 echo "<span class='text'>${data['endocrine_cold_intolerance']}</span>";
3307 echo "</td>";
3308 echo "<td>";
3309 if ($data['endocrine_cold_intolerance_text'] != null) {
3310 echo "<span class='text'>(${data['endocrine_cold_intolerance_text']})</span>";
3311 } else {
3312 echo "<br/>";
3315 echo "</td>";
3316 echo "</tr>";
3319 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 )) {
3320 echo "<tr>";
3321 echo "<td>";
3322 echo "<span class='text'>Heat Intolerance:<span>";
3323 echo "</td>";
3324 echo "<td>";
3325 echo "<span class='text'>${data['endocrine_heat_intolerance']}</span>";
3326 echo "</td>";
3327 echo "<td>";
3328 if ($data['endocrine_heat_intolerance_text'] != null) {
3329 echo "<span class='text'>(${data['endocrine_heat_intolerance_text']})</span>";
3330 } else {
3331 echo "<br/>";
3334 echo "</td>";
3335 echo "</tr>";
3338 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 )) {
3339 echo "<tr>";
3340 echo "<td>";
3341 echo "<span class='text'>Early Awakening:<span>";
3342 echo "</td>";
3343 echo "<td>";
3344 echo "<span class='text'>${data['endocrine_early_awakening']}</span>";
3345 echo "</td>";
3346 echo "<td>";
3347 if ($data['endocrine_early_awakening_text'] != null) {
3348 echo "<span class='text'>(${data['endocrine_early_awakening_text']})</span>";
3349 } else {
3350 echo "<br/>";
3353 echo "</td>";
3354 echo "</tr>";
3357 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 )) {
3358 echo "<tr>";
3359 echo "<td>";
3360 echo "<span class='text'>Fatigue unexplained:<span>";
3361 echo "</td>";
3362 echo "<td>";
3363 echo "<span class='text'>${data['endocrine_fatigue_unexplained']}</span>";
3364 echo "</td>";
3365 echo "<td>";
3366 if ($data['endocrine_fatigue_unexplained_text'] != null) {
3367 echo "<span class='text'>(${data['endocrine_fatigue_unexplained_text']})</span>";
3368 } else {
3369 echo "<br/>";
3372 echo "</td>";
3373 echo "</tr>";
3376 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 )) {
3377 echo "<tr>";
3378 echo "<td>";
3379 echo "<span class='text'>Weight Gain:<span>";
3380 echo "</td>";
3381 echo "<td>";
3382 echo "<span class='text'>${data['endocrine_weight_gain']}</span>";
3383 echo "</td>";
3384 echo "<td>";
3385 if ($data['endocrine_weight_gain_text'] != null) {
3386 echo "<span class='text'>(${data['endocrine_weight_gain_text']})</span>";
3387 } else {
3388 echo "<br/>";
3391 echo "</td>";
3392 echo "</tr>";
3395 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 )) {
3396 echo "<tr>";
3397 echo "<td>";
3398 echo "<span class='text'>Weight Loss:<span>";
3399 echo "</td>";
3400 echo "<td>";
3401 echo "<span class='text'>${data['endocrine_weight_loss']}</span>";
3402 echo "</td>";
3403 echo "<td>";
3404 if ($data['endocrine_weight_loss_text'] != null) {
3405 echo "<span class='text'>(${data['endocrine_weight_loss_text']})</span>";
3406 } else {
3407 echo "<br/>";
3410 echo "</td>";
3411 echo "</tr>";
3414 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 )) {
3415 echo "<tr>";
3416 echo "<td>";
3417 echo "<span class='text'>Premenstrual symptoms:<span>";
3418 echo "</td>";
3419 echo "<td>";
3420 echo "<span class='text'>${data['endocrine_premenstrual_symptoms']}</span>";
3421 echo "</td>";
3422 echo "<td>";
3423 if ($data['endocrine_premenstrual_symptoms_text'] != null) {
3424 echo "<span class='text'>(${data['endocrine_premenstrual_symptoms_text']})</span>";
3425 } else {
3426 echo "<br/>";
3429 echo "</td>";
3430 echo "</tr>";
3433 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 )) {
3434 echo "<tr>";
3435 echo "<td>";
3436 echo "<span class='text'>Hair (no change or no loss):<span>";
3437 echo "</td>";
3438 echo "<td>";
3439 echo "<span class='text'>${data['endocrine_hair_no_change_or_no_loss']}</span>";
3440 echo "</td>";
3441 echo "<td>";
3442 if ($data['endocrine_hair_no_change_or_no_loss_text'] != null) {
3443 echo "<span class='text'>(${data['endocrine_hair_no_change_or_no_loss_text']})</span>";
3444 } else {
3445 echo "<br/>";
3448 echo "</td>";
3449 echo "</tr>";
3452 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 )) {
3453 echo "<tr>";
3454 echo "<td>";
3455 echo "<span class='text'>Hot flashes:<span>";
3456 echo "</td>";
3457 echo "<td>";
3458 echo "<span class='text'>${data['endocrine_hot_flashes']}</span>";
3459 echo "</td>";
3460 echo "<td>";
3461 if ($data['endocrine_hot_flashes_text'] != null) {
3462 echo "<span class='text'>(${data['endocrine_hot_flashes_text']})</span>";
3463 } else {
3464 echo "<br/>";
3467 echo "</td>";
3468 echo "</tr>";
3471 echo "<tr><td colspan='3'><span class='bold'><u>LYMPHATIC</u></span></td></tr>";
3472 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 )) {
3473 echo "<tr>";
3474 echo "<td>";
3475 echo "<span class='text'>Swollen lymph nodes:<span>";
3476 echo "</td>";
3477 echo "<td>";
3478 echo "<span class='text'>${data['lymphatic_swollen_lymph_nodes']}</span>";
3479 echo "</td>";
3480 echo "<td>";
3481 if ($data['lymphatic_swollen_lymph_nodes_text'] != null) {
3482 echo "<span class='text'>(${data['lymphatic_swollen_lymph_nodes_text']})</span>";
3483 } else {
3484 echo "<br/>";
3487 echo "</td>";
3488 echo "</tr>";
3491 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 )) {
3492 echo "<tr>";
3493 echo "<td>";
3494 echo "<span class='text'>Swollen extremities:<span>";
3495 echo "</td>";
3496 echo "<td>";
3497 echo "<span class='text'>${data['lymphatic_swollen_extremities']}</span>";
3498 echo "</td>";
3499 echo "<td>";
3500 if ($data['lymphatic_swollen_extremities_text'] != null) {
3501 echo "<span class='text'>(${data['lymphatic_swollen_extremities_text']})</span>";
3502 } else {
3503 echo "<br/>";
3506 echo "</td>";
3507 echo "</tr>";
3510 echo "<tr><td colspan='3'><span class='bold'><u>PSYCHIATRIC</u></span></td></tr>";
3511 if (($data["psychiatric_compulsions"] != "N/A" && $data["psychiatric_compulsions"] != "" && $data["psychiatric_compulsions"] != "--") || ( $data["psychiatric_compulsions_text"] != "" && $data["psychiatric_compulsions_text"] != null )) {
3512 echo "<tr>";
3513 echo "<td>";
3514 echo "<span class='text'>Compulsions:<span>";
3515 echo "</td>";
3516 echo "<td>";
3517 echo "<span class='text'>${data['psychiatric_compulsions']}</span>";
3518 echo "</td>";
3519 echo "<td>";
3520 if ($data['psychiatric_compulsions_text'] != null) {
3521 echo "<span class='text'>(${data['psychiatric_compulsions_text']})</span>";
3522 } else {
3523 echo "<br/>";
3526 echo "</td>";
3527 echo "</tr>";
3530 if (($data["psychiatric_depression"] != "N/A" && $data["psychiatric_depression"] != "" && $data["psychiatric_depression"] != "--") || ( $data["psychiatric_depression_text"] != "" && $data["psychiatric_depression_text"] != null )) {
3531 echo "<tr>";
3532 echo "<td>";
3533 echo "<span class='text'>Depression:<span>";
3534 echo "</td>";
3535 echo "<td>";
3536 echo "<span class='text'>${data['psychiatric_depression']}</span>";
3537 echo "</td>";
3538 echo "<td>";
3539 if ($data['psychiatric_depression_text'] != null) {
3540 echo "<span class='text'>(${data['psychiatric_depression_text']})</span>";
3541 } else {
3542 echo "<br/>";
3545 echo "</td>";
3546 echo "</tr>";
3549 if (($data["psychiatric_fear"] != "N/A" && $data["psychiatric_fear"] != "" && $data["psychiatric_fear"] != "--") || ( $data["psychiatric_fear_text"] != "" && $data["psychiatric_fear_text"] != null )) {
3550 echo "<tr>";
3551 echo "<td>";
3552 echo "<span class='text'>Fear:<span>";
3553 echo "</td>";
3554 echo "<td>";
3555 echo "<span class='text'>${data['psychiatric_fear']}</span>";
3556 echo "</td>";
3557 echo "<td>";
3558 if ($data['psychiatric_fear_text'] != null) {
3559 echo "<span class='text'>(${data['psychiatric_fear_text']})</span>";
3560 } else {
3561 echo "<br/>";
3564 echo "</td>";
3565 echo "</tr>";
3568 if (($data["psychiatric_anxiety"] != "N/A" && $data["psychiatric_anxiety"] != "" && $data["psychiatric_anxiety"] != "--") || ( $data["psychiatric_anxiety_text"] != "" && $data["psychiatric_anxiety_text"] != null )) {
3569 echo "<tr>";
3570 echo "<td>";
3571 echo "<span class='text'>Anxiety:<span>";
3572 echo "</td>";
3573 echo "<td>";
3574 echo "<span class='text'>${data['psychiatric_anxiety']}</span>";
3575 echo "</td>";
3576 echo "<td>";
3577 if ($data['psychiatric_anxiety_text'] != null) {
3578 echo "<span class='text'>(${data['psychiatric_anxiety_text']})</span>";
3579 } else {
3580 echo "<br/>";
3583 echo "</td>";
3584 echo "</tr>";
3587 if (($data["psychiatric_hallucinations"] != "N/A" && $data["psychiatric_hallucinations"] != "" && $data["psychiatric_hallucinations"] != "--") || ( $data["psychiatric_hallucinations_text"] != "" && $data["psychiatric_hallucinations_text"] != null )) {
3588 echo "<tr>";
3589 echo "<td>";
3590 echo "<span class='text'>Hallucinations:<span>";
3591 echo "</td>";
3592 echo "<td>";
3593 echo "<span class='text'>${data['psychiatric_hallucinations']}</span>";
3594 echo "</td>";
3595 echo "<td>";
3596 if ($data['psychiatric_hallucinations_text'] != null) {
3597 echo "<span class='text'>(${data['psychiatric_hallucinations_text']})</span>";
3598 } else {
3599 echo "<br/>";
3602 echo "</td>";
3603 echo "</tr>";
3606 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 )) {
3607 echo "<tr>";
3608 echo "<td>";
3609 echo "<span class='text'>Loss of Interest:<span>";
3610 echo "</td>";
3611 echo "<td>";
3612 echo "<span class='text'>${data['psychiatric_loss_of_interest']}</span>";
3613 echo "</td>";
3614 echo "<td>";
3615 if ($data['psychiatric_loss_of_interest_text'] != null) {
3616 echo "<span class='text'>(${data['psychiatric_loss_of_interest_text']})</span>";
3617 } else {
3618 echo "<br/>";
3621 echo "</td>";
3622 echo "</tr>";
3625 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 )) {
3626 echo "<tr>";
3627 echo "<td>";
3628 echo "<span class='text'>Memory Loss:<span>";
3629 echo "</td>";
3630 echo "<td>";
3631 echo "<span class='text'>${data['psychiatric_memory_loss']}</span>";
3632 echo "</td>";
3633 echo "<td>";
3634 if ($data['psychiatric_memory_loss_text'] != null) {
3635 echo "<span class='text'>(${data['psychiatric_memory_loss_text']})</span>";
3636 } else {
3637 echo "<br/>";
3640 echo "</td>";
3641 echo "</tr>";
3644 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 )) {
3645 echo "<tr>";
3646 echo "<td>";
3647 echo "<span class='text'>Mood Swings:<span>";
3648 echo "</td>";
3649 echo "<td>";
3650 echo "<span class='text'>${data['psychiatric_mood_swings']}</span>";
3651 echo "</td>";
3652 echo "<td>";
3653 if ($data['psychiatric_mood_swings_text'] != null) {
3654 echo "<span class='text'>(${data['psychiatric_mood_swings_text']})</span>";
3655 } else {
3656 echo "<br/>";
3659 echo "</td>";
3660 echo "</tr>";
3663 if (($data["psychiatric_pananoia"] != "N/A" && $data["psychiatric_pananoia"] != "" && $data["psychiatric_pananoia"] != "--") || ( $data["psychiatric_pananoia_text"] != "" && $data["psychiatric_pananoia_text"] != null )) {
3664 echo "<tr>";
3665 echo "<td>";
3666 echo "<span class='text'>Pananoia:<span>";
3667 echo "</td>";
3668 echo "<td>";
3669 echo "<span class='text'>${data['psychiatric_pananoia']}</span>";
3670 echo "</td>";
3671 echo "<td>";
3672 if ($data['psychiatric_pananoia_text'] != null) {
3673 echo "<span class='text'>(${data['psychiatric_pananoia_text']})</span>";
3674 } else {
3675 echo "<br/>";
3678 echo "</td>";
3679 echo "</tr>";
3682 if (($data["psychiatric_insomnia"] != "N/A" && $data["psychiatric_insomnia"] != "" && $data["psychiatric_insomnia"] != "--") || ( $data["psychiatric_insomnia_text"] != "" && $data["psychiatric_insomnia_text"] != null )) {
3683 echo "<tr>";
3684 echo "<td>";
3685 echo "<span class='text'>Insomnia:<span>";
3686 echo "</td>";
3687 echo "<td>";
3688 echo "<span class='text'>${data['psychiatric_insomnia']}</span>";
3689 echo "</td>";
3690 echo "<td>";
3691 if ($data['psychiatric_insomnia_text'] != null) {
3692 echo "<span class='text'>(${data['psychiatric_insomnia_text']})</span>";
3693 } else {
3694 echo "<br/>";
3697 echo "</td>";
3698 echo "</tr>";
3701 print "</table>";
3705 function endsWith($FullStr, $EndStr)
3707 $StrLen = strlen($EndStr);
3708 $FullStrEnd = substr($FullStr, strlen($FullStr) - $StrLen);
3709 return $FullStrEnd == $EndStr;