fix: set default x12 partner for item in billing manager (#7502)
[openemr.git] / contrib / forms / ros2 / report.php
blobc9fa793cbe5660b6e1ad4573df4a2acf71ebab4a
1 <?php
3 // Copyright (C) 2009 Aron Racho <aron@mi-squared.com>
4 //
5 // This program is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU General Public License
7 // as published by the Free Software Foundation; either version 2
8 //------------Forms generated from formsWiz
9 require_once("../../globals.php");
10 require_once($GLOBALS["srcdir"] . "/api.inc.php");
11 function ros2_report($pid, $encounter, $cols, $id)
13 $count = 0;
14 $data = formFetch("form_ros2", $id);
15 //echo "" . text($data['general_headache']) . "";
16 if ($data) {
17 print "<table cellpadding=0 cellspacing=3px border=0>";
19 echo "<tr><td colspan='3'><span class='bold'><u>GENERAL:</u></span></td></tr>";
20 if (($data["general_headache"] != "N/A" && $data["general_headache"] != "" && $data["general_headache"] != "--") || ( $data["general_headache_text"] != "" && $data["general_headache_text"] != null )) {
21 echo "<tr>";
22 echo "<td>";
23 echo "<span class='text'>headache:<span>";
24 echo "</td>";
25 echo "<td>";
26 echo "<span class='text'>" . text($data['general_headache']) . "</span>";
27 echo "</td>";
28 echo "<td>";
29 if ($data['general_headache_text'] != null) {
30 echo "<span class='text'>" . text($data['general_headache_text']) . "</span>";
31 } else {
32 echo "<br/>";
35 echo "</td>";
36 echo "</tr>";
39 if (($data["general_fever"] != "N/A" && $data["general_fever"] != "" && $data["general_fever"] != "--") || ( $data["general_fever_text"] != "" && $data["general_fever_text"] != null )) {
40 echo "<tr>";
41 echo "<td>";
42 echo "<span class='text'>fever:<span>";
43 echo "</td>";
44 echo "<td>";
45 echo "<span class='text'>" . text($data['general_fever']) . "</span>";
46 echo "</td>";
47 echo "<td>";
48 if ($data['general_fever_text'] != null) {
49 echo "<span class='text'>(" . text($data['general_fever_text']) . ")</span>";
50 } else {
51 echo "<br/>";
54 echo "</td>";
55 echo "</tr>";
58 if (($data["general_chills"] != "N/A" && $data["general_chills"] != "" && $data["general_chills"] != "--") || ( $data["general_chills_text"] != "" && $data["general_chills_text"] != null )) {
59 echo "<tr>";
60 echo "<td>";
61 echo "<span class='text'>chills:<span>";
62 echo "</td>";
63 echo "<td>";
64 echo "<span class='text'>" . text($data['general_chills']) . "</span>";
65 echo "</td>";
66 echo "<td>";
67 if ($data['general_chills_text'] != null) {
68 echo "<span class='text'>" . text($data['general_chills_text']) . ")</span>";
69 } else {
70 echo "<br/>";
73 echo "</td>";
74 echo "</tr>";
77 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 )) {
78 echo "<tr>";
79 echo "<td>";
80 echo "<span class='text'>body aches:<span>";
81 echo "</td>";
82 echo "<td>";
83 echo "<span class='text'>" . text($data['general_body_aches']) . "</span>";
84 echo "</td>";
85 echo "<td>";
86 if ($data['general_body_aches_text'] != null) {
87 echo "<span class='text'>(" . text($data['general_body_aches_text']) . ")</span>";
88 } else {
89 echo "<br/>";
92 echo "</td>";
93 echo "</tr>";
96 if (($data["general_fatigue"] != "N/A" && $data["general_fatigue"] != "" && $data["general_fatigue"] != "--") || ( $data["general_fatigue_text"] != "" && $data["general_fatigue_text"] != null )) {
97 echo "<tr>";
98 echo "<td>";
99 echo "<span class='text'>fatigue:<span>";
100 echo "</td>";
101 echo "<td>";
102 echo "<span class='text'>" . text($data['general_fatigue']) . "</span>";
103 echo "</td>";
104 echo "<td>";
105 if ($data['general_fatigue_text'] != null) {
106 echo "<span class='text'>(" . text($data['general_fatigue_text']) . ")</span>";
107 } else {
108 echo "<br/>";
111 echo "</td>";
112 echo "</tr>";
115 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 )) {
116 echo "<tr>";
117 echo "<td>";
118 echo "<span class='text'>loss of appetite:<span>";
119 echo "</td>";
120 echo "<td>";
121 echo "<span class='text'>" . text($data['general_loss_of_appetite']) . "</span>";
122 echo "</td>";
123 echo "<td>";
124 if ($data['general_loss_of_appetite_text'] != null) {
125 echo "<span class='text'>(" . text($data['general_loss_of_appetite_text']) . ")</span>";
126 } else {
127 echo "<br/>";
130 echo "</td>";
131 echo "</tr>";
134 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 )) {
135 echo "<tr>";
136 echo "<td>";
137 echo "<span class='text'>weight loss:<span>";
138 echo "</td>";
139 echo "<td>";
140 echo "<span class='text'>" . text($data['general_weight_loss']) . "</span>";
141 echo "</td>";
142 echo "<td>";
143 if ($data['general_weight_loss_text'] != null) {
144 echo "<span class='text'>(" . text($data['general_weight_loss_text']) . ")</span>";
145 } else {
146 echo "<br/>";
149 echo "</td>";
150 echo "</tr>";
153 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 )) {
154 echo "<tr>";
155 echo "<td>";
156 echo "<span class='text'>daytime drowsiness:<span>";
157 echo "</td>";
158 echo "<td>";
159 echo "<span class='text'>" . text($data['general_daytime_drowsiness']) . "</span>";
160 echo "</td>";
161 echo "<td>";
162 if ($data['general_daytime_drowsiness_text'] != null) {
163 echo "<span class='text'>(" . text($data['general_daytime_drowsiness_text']) . ")</span>";
164 } else {
165 echo "<br/>";
168 echo "</td>";
169 echo "</tr>";
172 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 )) {
173 echo "<tr>";
174 echo "<td>";
175 echo "<span class='text'>excessive snoring:<span>";
176 echo "</td>";
177 echo "<td>";
178 echo "<span class='text'>" . text($data['general_excessive_snoring']) . "</span>";
179 echo "</td>";
180 echo "<td>";
181 if ($data['general_excessive_snoring_text'] != null) {
182 echo "<span class='text'>(" . text($data['general_excessive_snoring_text']) . ")</span>";
183 } else {
184 echo "<br/>";
187 echo "</td>";
188 echo "</tr>";
191 echo "<tr><td colspan='3'><span class='bold'><u>NEURO:</u></span></td></tr>";
192 if (($data["neuro_disorientation"] != "N/A" && $data["neuro_disorientation"] != "" && $data["neuro_disorientation"] != "--") || ( $data["neuro_disorientation_text"] != "" && $data["neuro_disorientation_text"] != null )) {
193 echo "<tr>";
194 echo "<td>";
195 echo "<span class='text'>disorientation:<span>";
196 echo "</td>";
197 echo "<td>";
198 echo "<span class='text'>" . text($data['neuro_disorientation']) . "</span>";
199 echo "</td>";
200 echo "<td>";
201 if ($data['neuro_disorientation_text'] != null) {
202 echo "<span class='text'>(" . text($data['neuro_disorientation_text']) . ")</span>";
203 } else {
204 echo "<br/>";
207 echo "</td>";
208 echo "</tr>";
211 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 )) {
212 echo "<tr>";
213 echo "<td>";
214 echo "<span class='text'>loss of consciousness:<span>";
215 echo "</td>";
216 echo "<td>";
217 echo "<span class='text'>" . text($data['neuro_loss_of_consciousness']) . "</span>";
218 echo "</td>";
219 echo "<td>";
220 if ($data['neuro_loss_of_consciousness_text'] != null) {
221 echo "<span class='text'>(" . text($data['neuro_loss_of_consciousness_text']) . ")</span>";
222 } else {
223 echo "<br/>";
226 echo "</td>";
227 echo "</tr>";
230 if (($data["neuro_numbness"] != "N/A" && $data["neuro_numbness"] != "" && $data["neuro_numbness"] != "--") || ( $data["neuro_numbness_text"] != "" && $data["neuro_numbness_text"] != null )) {
231 echo "<tr>";
232 echo "<td>";
233 echo "<span class='text'>numbness:<span>";
234 echo "</td>";
235 echo "<td>";
236 echo "<span class='text'>" . text($data['neuro_numbness']) . "</span>";
237 echo "</td>";
238 echo "<td>";
239 if ($data['neuro_numbness_text'] != null) {
240 echo "<span class='text'>(" . text($data['neuro_numbness_text']) . ")</span>";
241 } else {
242 echo "<br/>";
245 echo "</td>";
246 echo "</tr>";
249 if (($data["neuro_tingling"] != "N/A" && $data["neuro_tingling"] != "" && $data["neuro_tingling"] != "--") || ( $data["neuro_tingling_text"] != "" && $data["neuro_tingling_text"] != null )) {
250 echo "<tr>";
251 echo "<td>";
252 echo "<span class='text'>tingling:<span>";
253 echo "</td>";
254 echo "<td>";
255 echo "<span class='text'>" . text($data['neuro_tingling']) . "</span>";
256 echo "</td>";
257 echo "<td>";
258 if ($data['neuro_tingling_text'] != null) {
259 echo "<span class='text'>(" . text($data['neuro_tingling_text']) . ")</span>";
260 } else {
261 echo "<br/>";
264 echo "</td>";
265 echo "</tr>";
268 if (($data["neuro_restlessness"] != "N/A" && $data["neuro_restlessness"] != "" && $data["neuro_restlessness"] != "--") || ( $data["neuro_restlessness_text"] != "" && $data["neuro_restlessness_text"] != null )) {
269 echo "<tr>";
270 echo "<td>";
271 echo "<span class='text'>restlessness:<span>";
272 echo "</td>";
273 echo "<td>";
274 echo "<span class='text'>" . text($data['neuro_restlessness']) . "</span>";
275 echo "</td>";
276 echo "<td>";
277 if ($data['neuro_restlessness_text'] != null) {
278 echo "<span class='text'>(" . text($data['neuro_restlessness_text']) . ")</span>";
279 } else {
280 echo "<br/>";
283 echo "</td>";
284 echo "</tr>";
287 if (($data["neuro_dizziness"] != "N/A" && $data["neuro_dizziness"] != "" && $data["neuro_dizziness"] != "--") || ( $data["neuro_dizziness_text"] != "" && $data["neuro_dizziness_text"] != null )) {
288 echo "<tr>";
289 echo "<td>";
290 echo "<span class='text'>dizziness:<span>";
291 echo "</td>";
292 echo "<td>";
293 echo "<span class='text'>" . text($data['neuro_dizziness']) . "</span>";
294 echo "</td>";
295 echo "<td>";
296 if ($data['neuro_dizziness_text'] != null) {
297 echo "<span class='text'>(" . text($data['neuro_dizziness_text']) . ")</span>";
298 } else {
299 echo "<br/>";
302 echo "</td>";
303 echo "</tr>";
306 if (($data["neuro_vertigo"] != "N/A" && $data["neuro_vertigo"] != "" && $data["neuro_vertigo"] != "--") || ( $data["neuro_vertigo_text"] != "" && $data["neuro_vertigo_text"] != null )) {
307 echo "<tr>";
308 echo "<td>";
309 echo "<span class='text'>vertigo:<span>";
310 echo "</td>";
311 echo "<td>";
312 echo "<span class='text'>" . text($data['neuro_vertigo']) . "</span>";
313 echo "</td>";
314 echo "<td>";
315 if ($data['neuro_vertigo_text'] != null) {
316 echo "<span class='text'>(" . text($data['neuro_vertigo_text']) . ")</span>";
317 } else {
318 echo "<br/>";
321 echo "</td>";
322 echo "</tr>";
325 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 )) {
326 echo "<tr>";
327 echo "<td>";
328 echo "<span class='text'>Amaurosis Fugax:<span>";
329 echo "</td>";
330 echo "<td>";
331 echo "<span class='text'>" . text($data['neuro_amaurosis_fugax']) . "</span>";
332 echo "</td>";
333 echo "<td>";
334 if ($data['neuro_amaurosis_fugax_text'] != null) {
335 echo "<span class='text'>(" . text($data['neuro_amaurosis_fugax_text']) . ")</span>";
336 } else {
337 echo "<br/>";
340 echo "</td>";
341 echo "</tr>";
344 if (($data["neuro_stroke"] != "N/A" && $data["neuro_stroke"] != "" && $data["neuro_stroke"] != "--") || ( $data["neuro_stroke_text"] != "" && $data["neuro_stroke_text"] != null )) {
345 echo "<tr>";
346 echo "<td>";
347 echo "<span class='text'>Stroke:<span>";
348 echo "</td>";
349 echo "<td>";
350 echo "<span class='text'>" . text($data['neuro_stroke']) . "</span>";
351 echo "</td>";
352 echo "<td>";
353 if ($data['neuro_stroke_text'] != null) {
354 echo "<span class='text'>(" . text($data['neuro_stroke_text']) . ")</span>";
355 } else {
356 echo "<br/>";
359 echo "</td>";
360 echo "</tr>";
363 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 )) {
364 echo "<tr>";
365 echo "<td>";
366 echo "<span class='text'>Gait Abnormality:<span>";
367 echo "</td>";
368 echo "<td>";
369 echo "<span class='text'>" . text($data['neuro_gait_abnormality']) . "</span>";
370 echo "</td>";
371 echo "<td>";
372 if ($data['neuro_gait_abnormality_text'] != null) {
373 echo "<span class='text'>(" . text($data['neuro_gait_abnormality_text']) . ")</span>";
374 } else {
375 echo "<br/>";
378 echo "</td>";
379 echo "</tr>";
382 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 )) {
383 echo "<tr>";
384 echo "<td>";
385 echo "<span class='text'>Frequent headaches:<span>";
386 echo "</td>";
387 echo "<td>";
388 echo "<span class='text'>" . text($data['neuro_frequent_headaches']) . "</span>";
389 echo "</td>";
390 echo "<td>";
391 if ($data['neuro_frequent_headaches_text'] != null) {
392 echo "<span class='text'>(" . text($data['neuro_frequent_headaches_text']) . ")</span>";
393 } else {
394 echo "<br/>";
397 echo "</td>";
398 echo "</tr>";
401 if (($data["neuro_parathesias"] != "N/A" && $data["neuro_parathesias"] != "" && $data["neuro_parathesias"] != "--") || ( $data["neuro_parathesias_text"] != "" && $data["neuro_parathesias_text"] != null )) {
402 echo "<tr>";
403 echo "<td>";
404 echo "<span class='text'>Parathesias:<span>";
405 echo "</td>";
406 echo "<td>";
407 echo "<span class='text'>" . text($data['neuro_parathesias']) . "</span>";
408 echo "</td>";
409 echo "<td>";
410 if ($data['neuro_parathesias_text'] != null) {
411 echo "<span class='text'>(" . text($data['neuro_parathesias_text']) . ")</span>";
412 } else {
413 echo "<br/>";
416 echo "</td>";
417 echo "</tr>";
420 if (($data["neuro_seizures"] != "N/A" && $data["neuro_seizures"] != "" && $data["neuro_seizures"] != "--") || ( $data["neuro_seizures_text"] != "" && $data["neuro_seizures_text"] != null )) {
421 echo "<tr>";
422 echo "<td>";
423 echo "<span class='text'>Seizures:<span>";
424 echo "</td>";
425 echo "<td>";
426 echo "<span class='text'>" . text($data['neuro_seizures']) . "</span>";
427 echo "</td>";
428 echo "<td>";
429 if ($data['neuro_seizures_text'] != null) {
430 echo "<span class='text'>(" . text($data['neuro_seizures_text']) . ")</span>";
431 } else {
432 echo "<br/>";
435 echo "</td>";
436 echo "</tr>";
439 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 )) {
440 echo "<tr>";
441 echo "<td>";
442 echo "<span class='text'>Trans Ischemic Attacks:<span>";
443 echo "</td>";
444 echo "<td>";
445 echo "<span class='text'>" . text($data['neuro_trans_ischemic_attacks']) . "</span>";
446 echo "</td>";
447 echo "<td>";
448 if ($data['neuro_trans_ischemic_attacks_text'] != null) {
449 echo "<span class='text'>(" . text($data['neuro_trans_ischemic_attacks_text']) . ")</span>";
450 } else {
451 echo "<br/>";
454 echo "</td>";
455 echo "</tr>";
458 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 )) {
459 echo "<tr>";
460 echo "<td>";
461 echo "<span class='text'>Significant Tremors:<span>";
462 echo "</td>";
463 echo "<td>";
464 echo "<span class='text'>" . text($data['neuro_significant_tremors']) . "</span>";
465 echo "</td>";
466 echo "<td>";
467 if ($data['neuro_significant_tremors_text'] != null) {
468 echo "<span class='text'>(" . text($data['neuro_significant_tremors_text']) . ")</span>";
469 } else {
470 echo "<br/>";
473 echo "</td>";
474 echo "</tr>";
477 echo "<tr><td colspan='3'><span class='bold'><u>NECK:</u></span></td></tr>";
478 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 )) {
479 echo "<tr>";
480 echo "<td>";
481 echo "<span class='text'>neck stiffness:<span>";
482 echo "</td>";
483 echo "<td>";
484 echo "<span class='text'>" . text($data['neck_neck_stiffness']) . "</span>";
485 echo "</td>";
486 echo "<td>";
487 if ($data['neck_neck_stiffness_text'] != null) {
488 echo "<span class='text'>(" . text($data['neck_neck_stiffness_text']) . ")</span>";
489 } else {
490 echo "<br/>";
493 echo "</td>";
494 echo "</tr>";
497 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 )) {
498 echo "<tr>";
499 echo "<td>";
500 echo "<span class='text'>neck pain:<span>";
501 echo "</td>";
502 echo "<td>";
503 echo "<span class='text'>" . text($data['neck_neck_pain']) . "</span>";
504 echo "</td>";
505 echo "<td>";
506 if ($data['neck_neck_pain_text'] != null) {
507 echo "<span class='text'>(" . text($data['neck_neck_pain_text']) . ")</span>";
508 } else {
509 echo "<br/>";
512 echo "</td>";
513 echo "</tr>";
516 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 )) {
517 echo "<tr>";
518 echo "<td>";
519 echo "<span class='text'>Neck Masses:<span>";
520 echo "</td>";
521 echo "<td>";
522 echo "<span class='text'>" . text($data['neck_neck_masses']) . "</span>";
523 echo "</td>";
524 echo "<td>";
525 if ($data['neck_neck_masses_text'] != null) {
526 echo "<span class='text'>(" . text($data['neck_neck_masses_text']) . ")</span>";
527 } else {
528 echo "<br/>";
531 echo "</td>";
532 echo "</tr>";
535 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 )) {
536 echo "<tr>";
537 echo "<td>";
538 echo "<span class='text'>Neck Tenderness:<span>";
539 echo "</td>";
540 echo "<td>";
541 echo "<span class='text'>" . text($data['neck_neck_tenderness']) . "</span>";
542 echo "</td>";
543 echo "<td>";
544 if ($data['neck_neck_tenderness_text'] != null) {
545 echo "<span class='text'>(" . text($data['neck_neck_tenderness_text']) . ")</span>";
546 } else {
547 echo "<br/>";
550 echo "</td>";
551 echo "</tr>";
554 echo "<tr><td colspan='3'><span class='bold'><u>HEENT:</u></span></td></tr>";
555 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 )) {
556 echo "<tr>";
557 echo "<td>";
558 echo "<span class='text'>oral ulcers:<span>";
559 echo "</td>";
560 echo "<td>";
561 echo "<span class='text'>" . text($data['heent_oral_ulcers']) . "</span>";
562 echo "</td>";
563 echo "<td>";
564 if ($data['heent_oral_ulcers_text'] != null) {
565 echo "<span class='text'>(" . text($data['heent_oral_ulcers_text']) . ")</span>";
566 } else {
567 echo "<br/>";
570 echo "</td>";
571 echo "</tr>";
574 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 )) {
575 echo "<tr>";
576 echo "<td>";
577 echo "<span class='text'>Excessive Cavities:<span>";
578 echo "</td>";
579 echo "<td>";
580 echo "<span class='text'>" . text($data['heent_excessive_cavities']) . "</span>";
581 echo "</td>";
582 echo "<td>";
583 if ($data['heent_excessive_cavities_text'] != null) {
584 echo "<span class='text'>(" . text($data['heent_excessive_cavities_text']) . ")</span>";
585 } else {
586 echo "<br/>";
589 echo "</td>";
590 echo "</tr>";
593 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 )) {
594 echo "<tr>";
595 echo "<td>";
596 echo "<span class='text'>Gingival Disease:<span>";
597 echo "</td>";
598 echo "<td>";
599 echo "<span class='text'>" . text($data['heent_gingival_disease']) . "</span>";
600 echo "</td>";
601 echo "<td>";
602 if ($data['heent_gingival_disease_text'] != null) {
603 echo "<span class='text'>(" . text($data['heent_gingival_disease_text']) . ")</span>";
604 } else {
605 echo "<br/>";
608 echo "</td>";
609 echo "</tr>";
612 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 )) {
613 echo "<tr>";
614 echo "<td>";
615 echo "<span class='text'>Persistent hoarseness:<span>";
616 echo "</td>";
617 echo "<td>";
618 echo "<span class='text'>" . text($data['heent_persistent_hoarseness']) . "</span>";
619 echo "</td>";
620 echo "<td>";
621 if ($data['heent_persistent_hoarseness_text'] != null) {
622 echo "<span class='text'>(" . text($data['heent_persistent_hoarseness_text']) . ")</span>";
623 } else {
624 echo "<br/>";
627 echo "</td>";
628 echo "</tr>";
631 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 )) {
632 echo "<tr>";
633 echo "<td>";
634 echo "<span class='text'>Mouth Lesions:<span>";
635 echo "</td>";
636 echo "<td>";
637 echo "<span class='text'>" . text($data['heent_mouth_lesions']) . "</span>";
638 echo "</td>";
639 echo "<td>";
640 if ($data['heent_mouth_lesions_text'] != null) {
641 echo "<span class='text'>(" . text($data['heent_mouth_lesions_text']) . ")</span>";
642 } else {
643 echo "<br/>";
646 echo "</td>";
647 echo "</tr>";
650 if (($data["heent_dysphagia"] != "N/A" && $data["heent_dysphagia"] != "" && $data["heent_dysphagia"] != "--") || ( $data["heent_dysphagia_text"] != "" && $data["heent_dysphagia_text"] != null )) {
651 echo "<tr>";
652 echo "<td>";
653 echo "<span class='text'>Dysphagia:<span>";
654 echo "</td>";
655 echo "<td>";
656 echo "<span class='text'>" . text($data['heent_dysphagia']) . "</span>";
657 echo "</td>";
658 echo "<td>";
659 if ($data['heent_dysphagia_text'] != null) {
660 echo "<span class='text'>(" . text($data['heent_dysphagia_text']) . ")</span>";
661 } else {
662 echo "<br/>";
665 echo "</td>";
666 echo "</tr>";
669 if (($data["heent_odynophagia"] != "N/A" && $data["heent_odynophagia"] != "" && $data["heent_odynophagia"] != "--") || ( $data["heent_odynophagia_text"] != "" && $data["heent_odynophagia_text"] != null )) {
670 echo "<tr>";
671 echo "<td>";
672 echo "<span class='text'>Odynophagia:<span>";
673 echo "</td>";
674 echo "<td>";
675 echo "<span class='text'>" . text($data['heent_odynophagia']) . "</span>";
676 echo "</td>";
677 echo "<td>";
678 if ($data['heent_odynophagia_text'] != null) {
679 echo "<span class='text'>(" . text($data['heent_odynophagia_text']) . ")</span>";
680 } else {
681 echo "<br/>";
684 echo "</td>";
685 echo "</tr>";
688 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 )) {
689 echo "<tr>";
690 echo "<td>";
691 echo "<span class='text'>dental pain:<span>";
692 echo "</td>";
693 echo "<td>";
694 echo "<span class='text'>" . text($data['heent_dental_pain']) . "</span>";
695 echo "</td>";
696 echo "<td>";
697 if ($data['heent_dental_pain_text'] != null) {
698 echo "<span class='text'>(" . text($data['heent_dental_pain_text']) . ")</span>";
699 } else {
700 echo "<br/>";
703 echo "</td>";
704 echo "</tr>";
707 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 )) {
708 echo "<tr>";
709 echo "<td>";
710 echo "<span class='text'>sore throat:<span>";
711 echo "</td>";
712 echo "<td>";
713 echo "<span class='text'>" . text($data['heent_sore_throat']) . "</span>";
714 echo "</td>";
715 echo "<td>";
716 if ($data['heent_sore_throat_text'] != null) {
717 echo "<span class='text'>(" . text($data['heent_sore_throat_text']) . ")</span>";
718 } else {
719 echo "<br/>";
722 echo "</td>";
723 echo "</tr>";
726 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 )) {
727 echo "<tr>";
728 echo "<td>";
729 echo "<span class='text'>ear pain:<span>";
730 echo "</td>";
731 echo "<td>";
732 echo "<span class='text'>" . text($data['heent_ear_pain']) . "</span>";
733 echo "</td>";
734 echo "<td>";
735 if ($data['heent_ear_pain_text'] != null) {
736 echo "<span class='text'>(" . text($data['heent_ear_pain_text']) . ")</span>";
737 } else {
738 echo "<br/>";
741 echo "</td>";
742 echo "</tr>";
745 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 )) {
746 echo "<tr>";
747 echo "<td>";
748 echo "<span class='text'>ear discharge:<span>";
749 echo "</td>";
750 echo "<td>";
751 echo "<span class='text'>" . text($data['heent_ear_discharge']) . "</span>";
752 echo "</td>";
753 echo "<td>";
754 if ($data['heent_ear_discharge_text'] != null) {
755 echo "<span class='text'>(" . text($data['heent_ear_discharge_text']) . ")</span>";
756 } else {
757 echo "<br/>";
760 echo "</td>";
761 echo "</tr>";
764 if (($data["heent_tinnitus"] != "N/A" && $data["heent_tinnitus"] != "" && $data["heent_tinnitus"] != "--") || ( $data["heent_tinnitus_text"] != "" && $data["heent_tinnitus_text"] != null )) {
765 echo "<tr>";
766 echo "<td>";
767 echo "<span class='text'>tinnitus:<span>";
768 echo "</td>";
769 echo "<td>";
770 echo "<span class='text'>" . text($data['heent_tinnitus']) . "</span>";
771 echo "</td>";
772 echo "<td>";
773 if ($data['heent_tinnitus_text'] != null) {
774 echo "<span class='text'>(" . text($data['heent_tinnitus_text']) . ")</span>";
775 } else {
776 echo "<br/>";
779 echo "</td>";
780 echo "</tr>";
783 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 )) {
784 echo "<tr>";
785 echo "<td>";
786 echo "<span class='text'>hearing loss:<span>";
787 echo "</td>";
788 echo "<td>";
789 echo "<span class='text'>" . text($data['heent_hearing_loss']) . "</span>";
790 echo "</td>";
791 echo "<td>";
792 if ($data['heent_hearing_loss_text'] != null) {
793 echo "<span class='text'>(" . text($data['heent_hearing_loss_text']) . ")</span>";
794 } else {
795 echo "<br/>";
798 echo "</td>";
799 echo "</tr>";
802 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 )) {
803 echo "<tr>";
804 echo "<td>";
805 echo "<span class='text'>Allergic Rhinitis:<span>";
806 echo "</td>";
807 echo "<td>";
808 echo "<span class='text'>" . text($data['heent_allergic_rhinitis']) . "</span>";
809 echo "</td>";
810 echo "<td>";
811 if ($data['heent_allergic_rhinitis_text'] != null) {
812 echo "<span class='text'>(" . text($data['heent_allergic_rhinitis_text']) . ")</span>";
813 } else {
814 echo "<br/>";
817 echo "</td>";
818 echo "</tr>";
821 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 )) {
822 echo "<tr>";
823 echo "<td>";
824 echo "<span class='text'>Nasal Congestion:<span>";
825 echo "</td>";
826 echo "<td>";
827 echo "<span class='text'>" . text($data['heent_nasal_congestion']) . "</span>";
828 echo "</td>";
829 echo "<td>";
830 if ($data['heent_nasal_congestion_text'] != null) {
831 echo "<span class='text'>(" . text($data['heent_nasal_congestion_text']) . ")</span>";
832 } else {
833 echo "<br/>";
836 echo "</td>";
837 echo "</tr>";
840 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 )) {
841 echo "<tr>";
842 echo "<td>";
843 echo "<span class='text'>Nasal Discharge:<span>";
844 echo "</td>";
845 echo "<td>";
846 echo "<span class='text'>" . text($data['heent_nasal_discharge']) . "</span>";
847 echo "</td>";
848 echo "<td>";
849 if ($data['heent_nasal_discharge_text'] != null) {
850 echo "<span class='text'>(" . text($data['heent_nasal_discharge_text']) . ")</span>";
851 } else {
852 echo "<br/>";
855 echo "</td>";
856 echo "</tr>";
859 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 )) {
860 echo "<tr>";
861 echo "<td>";
862 echo "<span class='text'>Nasal Injury:<span>";
863 echo "</td>";
864 echo "<td>";
865 echo "<span class='text'>" . text($data['heent_nasal_injury']) . "</span>";
866 echo "</td>";
867 echo "<td>";
868 if ($data['heent_nasal_injury_text'] != null) {
869 echo "<span class='text'>(" . text($data['heent_nasal_injury_text']) . ")</span>";
870 } else {
871 echo "<br/>";
874 echo "</td>";
875 echo "</tr>";
878 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 )) {
879 echo "<tr>";
880 echo "<td>";
881 echo "<span class='text'>Nasal Surgery:<span>";
882 echo "</td>";
883 echo "<td>";
884 echo "<span class='text'>" . text($data['heent_nasal_surgery']) . "</span>";
885 echo "</td>";
886 echo "<td>";
887 if ($data['heent_nasal_surgery_text'] != null) {
888 echo "<span class='text'>(" . text($data['heent_nasal_surgery_text']) . ")</span>";
889 } else {
890 echo "<br/>";
893 echo "</td>";
894 echo "</tr>";
897 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 )) {
898 echo "<tr>";
899 echo "<td>";
900 echo "<span class='text'>Nose Bleeds:<span>";
901 echo "</td>";
902 echo "<td>";
903 echo "<span class='text'>" . text($data['heent_nose_bleeds']) . "</span>";
904 echo "</td>";
905 echo "<td>";
906 if ($data['heent_nose_bleeds_text'] != null) {
907 echo "<span class='text'>(" . text($data['heent_nose_bleeds_text']) . ")</span>";
908 } else {
909 echo "<br/>";
912 echo "</td>";
913 echo "</tr>";
916 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 )) {
917 echo "<tr>";
918 echo "<td>";
919 echo "<span class='text'>post nasal drip:<span>";
920 echo "</td>";
921 echo "<td>";
922 echo "<span class='text'>" . text($data['heent_post_nasal_drip']) . "</span>";
923 echo "</td>";
924 echo "<td>";
925 if ($data['heent_post_nasal_drip_text'] != null) {
926 echo "<span class='text'>(" . text($data['heent_post_nasal_drip_text']) . ")</span>";
927 } else {
928 echo "<br/>";
931 echo "</td>";
932 echo "</tr>";
935 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 )) {
936 echo "<tr>";
937 echo "<td>";
938 echo "<span class='text'>sinus pressure:<span>";
939 echo "</td>";
940 echo "<td>";
941 echo "<span class='text'>" . text($data['heent_sinus_pressure']) . "</span>";
942 echo "</td>";
943 echo "<td>";
944 if ($data['heent_sinus_pressure_text'] != null) {
945 echo "<span class='text'>(" . text($data['heent_sinus_pressure_text']) . ")</span>";
946 } else {
947 echo "<br/>";
950 echo "</td>";
951 echo "</tr>";
954 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 )) {
955 echo "<tr>";
956 echo "<td>";
957 echo "<span class='text'>sinus pain:<span>";
958 echo "</td>";
959 echo "<td>";
960 echo "<span class='text'>" . text($data['heent_sinus_pain']) . "</span>";
961 echo "</td>";
962 echo "<td>";
963 if ($data['heent_sinus_pain_text'] != null) {
964 echo "<span class='text'>(" . text($data['heent_sinus_pain_text']) . ")</span>";
965 } else {
966 echo "<br/>";
969 echo "</td>";
970 echo "</tr>";
973 if (($data["heent_headache"] != "N/A" && $data["heent_headache"] != "" && $data["heent_headache"] != "--") || ( $data["heent_headache_text"] != "" && $data["heent_headache_text"] != null )) {
974 echo "<tr>";
975 echo "<td>";
976 echo "<span class='text'>headache:<span>";
977 echo "</td>";
978 echo "<td>";
979 echo "<span class='text'>" . text($data['heent_headache']) . "</span>";
980 echo "</td>";
981 echo "<td>";
982 if ($data['heent_headache_text'] != null) {
983 echo "<span class='text'>(" . text($data['heent_headache_text']) . ")</span>";
984 } else {
985 echo "<br/>";
988 echo "</td>";
989 echo "</tr>";
992 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 )) {
993 echo "<tr>";
994 echo "<td>";
995 echo "<span class='text'>eye pain:<span>";
996 echo "</td>";
997 echo "<td>";
998 echo "<span class='text'>" . text($data['heent_eye_pain']) . "</span>";
999 echo "</td>";
1000 echo "<td>";
1001 if ($data['heent_eye_pain_text'] != null) {
1002 echo "<span class='text'>(" . text($data['heent_eye_pain_text']) . ")</span>";
1003 } else {
1004 echo "<br/>";
1007 echo "</td>";
1008 echo "</tr>";
1011 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 )) {
1012 echo "<tr>";
1013 echo "<td>";
1014 echo "<span class='text'>eye redness:<span>";
1015 echo "</td>";
1016 echo "<td>";
1017 echo "<span class='text'>" . text($data['heent_eye_redness']) . "</span>";
1018 echo "</td>";
1019 echo "<td>";
1020 if ($data['heent_eye_redness_text'] != null) {
1021 echo "<span class='text'>(" . text($data['heent_eye_redness_text']) . ")</span>";
1022 } else {
1023 echo "<br/>";
1026 echo "</td>";
1027 echo "</tr>";
1030 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 )) {
1031 echo "<tr>";
1032 echo "<td>";
1033 echo "<span class='text'>visual changes:<span>";
1034 echo "</td>";
1035 echo "<td>";
1036 echo "<span class='text'>" . text($data['heent_visual_changes']) . "</span>";
1037 echo "</td>";
1038 echo "<td>";
1039 if ($data['heent_visual_changes_text'] != null) {
1040 echo "<span class='text'>(" . text($data['heent_visual_changes_text']) . ")</span>";
1041 } else {
1042 echo "<br/>";
1045 echo "</td>";
1046 echo "</tr>";
1049 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 )) {
1050 echo "<tr>";
1051 echo "<td>";
1052 echo "<span class='text'>blurry vision:<span>";
1053 echo "</td>";
1054 echo "<td>";
1055 echo "<span class='text'>" . text($data['heent_blurry_vision']) . "</span>";
1056 echo "</td>";
1057 echo "<td>";
1058 if ($data['heent_blurry_vision_text'] != null) {
1059 echo "<span class='text'>(" . text($data['heent_blurry_vision_text']) . ")</span>";
1060 } else {
1061 echo "<br/>";
1064 echo "</td>";
1065 echo "</tr>";
1068 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 )) {
1069 echo "<tr>";
1070 echo "<td>";
1071 echo "<span class='text'>Eye Discharge:<span>";
1072 echo "</td>";
1073 echo "<td>";
1074 echo "<span class='text'>" . text($data['heent_eye_discharge']) . "</span>";
1075 echo "</td>";
1076 echo "<td>";
1077 if ($data['heent_eye_discharge_text'] != null) {
1078 echo "<span class='text'>(" . text($data['heent_eye_discharge_text']) . ")</span>";
1079 } else {
1080 echo "<br/>";
1083 echo "</td>";
1084 echo "</tr>";
1087 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 )) {
1088 echo "<tr>";
1089 echo "<td>";
1090 echo "<span class='text'>Eye Glasses/ Contacts:<span>";
1091 echo "</td>";
1092 echo "<td>";
1093 echo "<span class='text'>" . text($data['heent_eye_glasses_contacts']) . "</span>";
1094 echo "</td>";
1095 echo "<td>";
1096 if ($data['heent_eye_glasses_contacts_text'] != null) {
1097 echo "<span class='text'>(" . text($data['heent_eye_glasses_contacts_text']) . ")</span>";
1098 } else {
1099 echo "<br/>";
1102 echo "</td>";
1103 echo "</tr>";
1106 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 )) {
1107 echo "<tr>";
1108 echo "<td>";
1109 echo "<span class='text'>Excess Tearing:<span>";
1110 echo "</td>";
1111 echo "<td>";
1112 echo "<span class='text'>" . text($data['heent_excess_tearing']) . "</span>";
1113 echo "</td>";
1114 echo "<td>";
1115 if ($data['heent_excess_tearing_text'] != null) {
1116 echo "<span class='text'>(" . text($data['heent_excess_tearing_text']) . ")</span>";
1117 } else {
1118 echo "<br/>";
1121 echo "</td>";
1122 echo "</tr>";
1125 if (($data["heent_photophobia"] != "N/A" && $data["heent_photophobia"] != "" && $data["heent_photophobia"] != "--") || ( $data["heent_photophobia_text"] != "" && $data["heent_photophobia_text"] != null )) {
1126 echo "<tr>";
1127 echo "<td>";
1128 echo "<span class='text'>Photophobia:<span>";
1129 echo "</td>";
1130 echo "<td>";
1131 echo "<span class='text'>" . text($data['heent_photophobia']) . "</span>";
1132 echo "</td>";
1133 echo "<td>";
1134 if ($data['heent_photophobia_text'] != null) {
1135 echo "<span class='text'>(" . text($data['heent_photophobia_text']) . ")</span>";
1136 } else {
1137 echo "<br/>";
1140 echo "</td>";
1141 echo "</tr>";
1144 if (($data["heent_scotomata"] != "N/A" && $data["heent_scotomata"] != "" && $data["heent_scotomata"] != "--") || ( $data["heent_scotomata_text"] != "" && $data["heent_scotomata_text"] != null )) {
1145 echo "<tr>";
1146 echo "<td>";
1147 echo "<span class='text'>Scotomata:<span>";
1148 echo "</td>";
1149 echo "<td>";
1150 echo "<span class='text'>" . text($data['heent_scotomata']) . "</span>";
1151 echo "</td>";
1152 echo "<td>";
1153 if ($data['heent_scotomata_text'] != null) {
1154 echo "<span class='text'>(" . text($data['heent_scotomata_text']) . ")</span>";
1155 } else {
1156 echo "<br/>";
1159 echo "</td>";
1160 echo "</tr>";
1163 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 )) {
1164 echo "<tr>";
1165 echo "<td>";
1166 echo "<span class='text'>Tunnel vision:<span>";
1167 echo "</td>";
1168 echo "<td>";
1169 echo "<span class='text'>" . text($data['heent_tunnel_vision']) . "</span>";
1170 echo "</td>";
1171 echo "<td>";
1172 if ($data['heent_tunnel_vision_text'] != null) {
1173 echo "<span class='text'>(" . text($data['heent_tunnel_vision_text']) . ")</span>";
1174 } else {
1175 echo "<br/>";
1178 echo "</td>";
1179 echo "</tr>";
1182 if (($data["heent_glaucoma"] != "N/A" && $data["heent_glaucoma"] != "" && $data["heent_glaucoma"] != "--") || ( $data["heent_glaucoma_text"] != "" && $data["heent_glaucoma_text"] != null )) {
1183 echo "<tr>";
1184 echo "<td>";
1185 echo "<span class='text'>Glaucoma:<span>";
1186 echo "</td>";
1187 echo "<td>";
1188 echo "<span class='text'>" . text($data['heent_glaucoma']) . "</span>";
1189 echo "</td>";
1190 echo "<td>";
1191 if ($data['heent_glaucoma_text'] != null) {
1192 echo "<span class='text'>(" . text($data['heent_glaucoma_text']) . ")</span>";
1193 } else {
1194 echo "<br/>";
1197 echo "</td>";
1198 echo "</tr>";
1201 echo "<tr><td colspan='3'><span class='bold'><u>CARDIOVASCULAR: </u></span></td></tr>";
1202 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 )) {
1203 echo "<tr>";
1204 echo "<td>";
1205 echo "<span class='text'>sub sternal or left chest pain:<span>";
1206 echo "</td>";
1207 echo "<td>";
1208 echo "<span class='text'>" . text($data['cardiovascular_sub_sternal_or_left_chest_pain']) . "</span>";
1209 echo "</td>";
1210 echo "<td>";
1211 if ($data['cardiovascular_sub_sternal_or_left_chest_pain_text'] != null) {
1212 echo "<span class='text'>(" . text($data['cardiovascular_sub_sternal_or_left_chest_pain_text']) . ")</span>";
1213 } else {
1214 echo "<br/>";
1217 echo "</td>";
1218 echo "</tr>";
1221 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 )) {
1222 echo "<tr>";
1223 echo "<td>";
1224 echo "<span class='text'>other chest pain:<span>";
1225 echo "</td>";
1226 echo "<td>";
1227 echo "<span class='text'>" . text($data['cardiovascular_other_chest_pain']) . "</span>";
1228 echo "</td>";
1229 echo "<td>";
1230 if ($data['cardiovascular_other_chest_pain_text'] != null) {
1231 echo "<span class='text'>(" . text($data['cardiovascular_other_chest_pain_text']) . ")</span>";
1232 } else {
1233 echo "<br/>";
1236 echo "</td>";
1237 echo "</tr>";
1240 if (($data["cardiovascular_palpitations"] != "N/A" && $data["cardiovascular_palpitations"] != "" && $data["cardiovascular_palpitations"] != "--") || ( $data["cardiovascular_palpitations_text"] != "" && $data["cardiovascular_palpitations_text"] != null )) {
1241 echo "<tr>";
1242 echo "<td>";
1243 echo "<span class='text'>palpitations:<span>";
1244 echo "</td>";
1245 echo "<td>";
1246 echo "<span class='text'>" . text($data['cardiovascular_palpitations']) . "</span>";
1247 echo "</td>";
1248 echo "<td>";
1249 if ($data['cardiovascular_palpitations_text'] != null) {
1250 echo "<span class='text'>(" . text($data['cardiovascular_palpitations_text']) . ")</span>";
1251 } else {
1252 echo "<br/>";
1255 echo "</td>";
1256 echo "</tr>";
1259 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 )) {
1260 echo "<tr>";
1261 echo "<td>";
1262 echo "<span class='text'>irregular rhythm:<span>";
1263 echo "</td>";
1264 echo "<td>";
1265 echo "<span class='text'>" . text($data['cardiovascular_irregular_rhythm']) . "</span>";
1266 echo "</td>";
1267 echo "<td>";
1268 if ($data['cardiovascular_irregular_rhythm_text'] != null) {
1269 echo "<span class='text'>(" . text($data['cardiovascular_irregular_rhythm_text']) . ")</span>";
1270 } else {
1271 echo "<br/>";
1274 echo "</td>";
1275 echo "</tr>";
1278 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 )) {
1279 echo "<tr>";
1280 echo "<td>";
1281 echo "<span class='text'>jugular vein distention:<span>";
1282 echo "</td>";
1283 echo "<td>";
1284 echo "<span class='text'>" . text($data['cardiovascular_jugular_vein_distention']) . "</span>";
1285 echo "</td>";
1286 echo "<td>";
1287 if ($data['cardiovascular_jugular_vein_distention_text'] != null) {
1288 echo "<span class='text'>(" . text($data['cardiovascular_jugular_vein_distention_text']) . ")</span>";
1289 } else {
1290 echo "<br/>";
1293 echo "</td>";
1294 echo "</tr>";
1297 if (($data["cardiovascular_claudication"] != "N/A" && $data["cardiovascular_claudication"] != "" && $data["cardiovascular_claudication"] != "--") || ( $data["cardiovascular_claudication_text"] != "" && $data["cardiovascular_claudication_text"] != null )) {
1298 echo "<tr>";
1299 echo "<td>";
1300 echo "<span class='text'>Claudication:<span>";
1301 echo "</td>";
1302 echo "<td>";
1303 echo "<span class='text'>" . text($data['cardiovascular_claudication']) . "</span>";
1304 echo "</td>";
1305 echo "<td>";
1306 if ($data['cardiovascular_claudication_text'] != null) {
1307 echo "<span class='text'>(" . text($data['cardiovascular_claudication_text']) . ")</span>";
1308 } else {
1309 echo "<br/>";
1312 echo "</td>";
1313 echo "</tr>";
1316 if (($data["cardiovascular_dizziness"] != "N/A" && $data["cardiovascular_dizziness"] != "" && $data["cardiovascular_dizziness"] != "--") || ( $data["cardiovascular_dizziness_text"] != "" && $data["cardiovascular_dizziness_text"] != null )) {
1317 echo "<tr>";
1318 echo "<td>";
1319 echo "<span class='text'>Dizziness:<span>";
1320 echo "</td>";
1321 echo "<td>";
1322 echo "<span class='text'>" . text($data['cardiovascular_dizziness']) . "</span>";
1323 echo "</td>";
1324 echo "<td>";
1325 if ($data['cardiovascular_dizziness_text'] != null) {
1326 echo "<span class='text'>(" . text($data['cardiovascular_dizziness_text']) . ")</span>";
1327 } else {
1328 echo "<br/>";
1331 echo "</td>";
1332 echo "</tr>";
1335 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 )) {
1336 echo "<tr>";
1337 echo "<td>";
1338 echo "<span class='text'>Dyspnea on Exertion:<span>";
1339 echo "</td>";
1340 echo "<td>";
1341 echo "<span class='text'>" . text($data['cardiovascular_dyspnea_on_exertion']) . "</span>";
1342 echo "</td>";
1343 echo "<td>";
1344 if ($data['cardiovascular_dyspnea_on_exertion_text'] != null) {
1345 echo "<span class='text'>(" . text($data['cardiovascular_dyspnea_on_exertion_text']) . ")</span>";
1346 } else {
1347 echo "<br/>";
1350 echo "</td>";
1351 echo "</tr>";
1354 if (($data["cardiovascular_orthopnea"] != "N/A" && $data["cardiovascular_orthopnea"] != "" && $data["cardiovascular_orthopnea"] != "--") || ( $data["cardiovascular_orthopnea_text"] != "" && $data["cardiovascular_orthopnea_text"] != null )) {
1355 echo "<tr>";
1356 echo "<td>";
1357 echo "<span class='text'>Orthopnea:<span>";
1358 echo "</td>";
1359 echo "<td>";
1360 echo "<span class='text'>" . text($data['cardiovascular_orthopnea']) . "</span>";
1361 echo "</td>";
1362 echo "<td>";
1363 if ($data['cardiovascular_orthopnea_text'] != null) {
1364 echo "<span class='text'>(" . text($data['cardiovascular_orthopnea_text']) . ")</span>";
1365 } else {
1366 echo "<br/>";
1369 echo "</td>";
1370 echo "</tr>";
1373 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 )) {
1374 echo "<tr>";
1375 echo "<td>";
1376 echo "<span class='text'>Noctural Dyspnea:<span>";
1377 echo "</td>";
1378 echo "<td>";
1379 echo "<span class='text'>" . text($data['cardiovascular_noctural_dyspnea']) . "</span>";
1380 echo "</td>";
1381 echo "<td>";
1382 if ($data['cardiovascular_noctural_dyspnea_text'] != null) {
1383 echo "<span class='text'>(" . text($data['cardiovascular_noctural_dyspnea_text']) . ")</span>";
1384 } else {
1385 echo "<br/>";
1388 echo "</td>";
1389 echo "</tr>";
1392 if (($data["cardiovascular_edema"] != "N/A" && $data["cardiovascular_edema"] != "" && $data["cardiovascular_edema"] != "--") || ( $data["cardiovascular_edema_text"] != "" && $data["cardiovascular_edema_text"] != null )) {
1393 echo "<tr>";
1394 echo "<td>";
1395 echo "<span class='text'>Edema:<span>";
1396 echo "</td>";
1397 echo "<td>";
1398 echo "<span class='text'>" . text($data['cardiovascular_edema']) . "</span>";
1399 echo "</td>";
1400 echo "<td>";
1401 if ($data['cardiovascular_edema_text'] != null) {
1402 echo "<span class='text'>(" . text($data['cardiovascular_edema_text']) . ")</span>";
1403 } else {
1404 echo "<br/>";
1407 echo "</td>";
1408 echo "</tr>";
1411 if (($data["cardiovascular_presyncope"] != "N/A" && $data["cardiovascular_presyncope"] != "" && $data["cardiovascular_presyncope"] != "--") || ( $data["cardiovascular_presyncope_text"] != "" && $data["cardiovascular_presyncope_text"] != null )) {
1412 echo "<tr>";
1413 echo "<td>";
1414 echo "<span class='text'>Presyncope:<span>";
1415 echo "</td>";
1416 echo "<td>";
1417 echo "<span class='text'>" . text($data['cardiovascular_presyncope']) . "</span>";
1418 echo "</td>";
1419 echo "<td>";
1420 if ($data['cardiovascular_presyncope_text'] != null) {
1421 echo "<span class='text'>(" . text($data['cardiovascular_presyncope_text']) . ")</span>";
1422 } else {
1423 echo "<br/>";
1426 echo "</td>";
1427 echo "</tr>";
1430 if (($data["cardiovascular_syncope"] != "N/A" && $data["cardiovascular_syncope"] != "" && $data["cardiovascular_syncope"] != "--") || ( $data["cardiovascular_syncope_text"] != "" && $data["cardiovascular_syncope_text"] != null )) {
1431 echo "<tr>";
1432 echo "<td>";
1433 echo "<span class='text'>Syncope:<span>";
1434 echo "</td>";
1435 echo "<td>";
1436 echo "<span class='text'>" . text($data['cardiovascular_syncope']) . "</span>";
1437 echo "</td>";
1438 echo "<td>";
1439 if ($data['cardiovascular_syncope_text'] != null) {
1440 echo "<span class='text'>(" . text($data['cardiovascular_syncope_text']) . ")</span>";
1441 } else {
1442 echo "<br/>";
1445 echo "</td>";
1446 echo "</tr>";
1449 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 )) {
1450 echo "<tr>";
1451 echo "<td>";
1452 echo "<span class='text'>Heart Murmur:<span>";
1453 echo "</td>";
1454 echo "<td>";
1455 echo "<span class='text'>" . text($data['cardiovascular_heart_murmur']) . "</span>";
1456 echo "</td>";
1457 echo "<td>";
1458 if ($data['cardiovascular_heart_murmur_text'] != null) {
1459 echo "<span class='text'>(" . text($data['cardiovascular_heart_murmur_text']) . ")</span>";
1460 } else {
1461 echo "<br/>";
1464 echo "</td>";
1465 echo "</tr>";
1468 if (($data["cardiovascular_raynauds"] != "N/A" && $data["cardiovascular_raynauds"] != "" && $data["cardiovascular_raynauds"] != "--") || ( $data["cardiovascular_raynauds_text"] != "" && $data["cardiovascular_raynauds_text"] != null )) {
1469 echo "<tr>";
1470 echo "<td>";
1471 echo "<span class='text'>Raynauds:<span>";
1472 echo "</td>";
1473 echo "<td>";
1474 echo "<span class='text'>" . text($data['cardiovascular_raynauds']) . "</span>";
1475 echo "</td>";
1476 echo "<td>";
1477 if ($data['cardiovascular_raynauds_text'] != null) {
1478 echo "<span class='text'>(" . text($data['cardiovascular_raynauds_text']) . ")</span>";
1479 } else {
1480 echo "<br/>";
1483 echo "</td>";
1484 echo "</tr>";
1487 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 )) {
1488 echo "<tr>";
1489 echo "<td>";
1490 echo "<span class='text'>Severe Varicose Veins:<span>";
1491 echo "</td>";
1492 echo "<td>";
1493 echo "<span class='text'>" . text($data['cardiovascular_severe_varicose_veins']) . "</span>";
1494 echo "</td>";
1495 echo "<td>";
1496 if ($data['cardiovascular_severe_varicose_veins_text'] != null) {
1497 echo "<span class='text'>(" . text($data['cardiovascular_severe_varicose_veins_text']) . ")</span>";
1498 } else {
1499 echo "<br/>";
1502 echo "</td>";
1503 echo "</tr>";
1506 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 )) {
1507 echo "<tr>";
1508 echo "<td>";
1509 echo "<span class='text'>Deep Vein Thrombosis:<span>";
1510 echo "</td>";
1511 echo "<td>";
1512 echo "<span class='text'>" . text($data['cardiovascular_deep_vein_thrombosis']) . "</span>";
1513 echo "</td>";
1514 echo "<td>";
1515 if ($data['cardiovascular_deep_vein_thrombosis_text'] != null) {
1516 echo "<span class='text'>(" . text($data['cardiovascular_deep_vein_thrombosis_text']) . ")</span>";
1517 } else {
1518 echo "<br/>";
1521 echo "</td>";
1522 echo "</tr>";
1525 if (($data["cardiovascular_thrombophlebitis"] != "N/A" && $data["cardiovascular_thrombophlebitis"] != "" && $data["cardiovascular_thrombophlebitis"] != "--") || ( $data["cardiovascular_thrombophlebitis_text"] != "" && $data["cardiovascular_thrombophlebitis_text"] != null )) {
1526 echo "<tr>";
1527 echo "<td>";
1528 echo "<span class='text'>Thrombophlebitis:<span>";
1529 echo "</td>";
1530 echo "<td>";
1531 echo "<span class='text'>" . text($data['cardiovascular_thrombophlebitis']) . "</span>";
1532 echo "</td>";
1533 echo "<td>";
1534 if ($data['cardiovascular_thrombophlebitis_text'] != null) {
1535 echo "<span class='text'>(" . text($data['cardiovascular_thrombophlebitis_text']) . ")</span>";
1536 } else {
1537 echo "<br/>";
1540 echo "</td>";
1541 echo "</tr>";
1544 echo "<tr><td colspan='3'><span class='bold'><u>RESPIRATIONS:</u></span></td></tr>";
1545 if (($data["respirations_cough"] != "N/A" && $data["respirations_cough"] != "" && $data["respirations_cough"] != "--") || ( $data["respirations_cough_text"] != "" && $data["respirations_cough_text"] != null )) {
1546 echo "<tr>";
1547 echo "<td>";
1548 echo "<span class='text'>cough:<span>";
1549 echo "</td>";
1550 echo "<td>";
1551 echo "<span class='text'>" . text($data['respirations_cough']) . "</span>";
1552 echo "</td>";
1553 echo "<td>";
1554 if ($data['respirations_cough_text'] != null) {
1555 echo "<span class='text'>(" . text($data['respirations_cough_text']) . ")</span>";
1556 } else {
1557 echo "<br/>";
1560 echo "</td>";
1561 echo "</tr>";
1564 if (($data["respirations_sputum"] != "N/A" && $data["respirations_sputum"] != "" && $data["respirations_sputum"] != "--") || ( $data["respirations_sputum_text"] != "" && $data["respirations_sputum_text"] != null )) {
1565 echo "<tr>";
1566 echo "<td>";
1567 echo "<span class='text'>sputum:<span>";
1568 echo "</td>";
1569 echo "<td>";
1570 echo "<span class='text'>" . text($data['respirations_sputum']) . "</span>";
1571 echo "</td>";
1572 echo "<td>";
1573 if ($data['respirations_sputum_text'] != null) {
1574 echo "<span class='text'>(" . text($data['respirations_sputum_text']) . ")</span>";
1575 } else {
1576 echo "<br/>";
1579 echo "</td>";
1580 echo "</tr>";
1583 if (($data["respirations_dyspnea"] != "N/A" && $data["respirations_dyspnea"] != "" && $data["respirations_dyspnea"] != "--") || ( $data["respirations_dyspnea_text"] != "" && $data["respirations_dyspnea_text"] != null )) {
1584 echo "<tr>";
1585 echo "<td>";
1586 echo "<span class='text'>dyspnea:<span>";
1587 echo "</td>";
1588 echo "<td>";
1589 echo "<span class='text'>" . text($data['respirations_dyspnea']) . "</span>";
1590 echo "</td>";
1591 echo "<td>";
1592 if ($data['respirations_dyspnea_text'] != null) {
1593 echo "<span class='text'>(" . text($data['respirations_dyspnea_text']) . ")</span>";
1594 } else {
1595 echo "<br/>";
1598 echo "</td>";
1599 echo "</tr>";
1602 if (($data["respirations_wheezes"] != "N/A" && $data["respirations_wheezes"] != "" && $data["respirations_wheezes"] != "--") || ( $data["respirations_wheezes_text"] != "" && $data["respirations_wheezes_text"] != null )) {
1603 echo "<tr>";
1604 echo "<td>";
1605 echo "<span class='text'>wheezes:<span>";
1606 echo "</td>";
1607 echo "<td>";
1608 echo "<span class='text'>" . text($data['respirations_wheezes']) . "</span>";
1609 echo "</td>";
1610 echo "<td>";
1611 if ($data['respirations_wheezes_text'] != null) {
1612 echo "<span class='text'>(" . text($data['respirations_wheezes_text']) . ")</span>";
1613 } else {
1614 echo "<br/>";
1617 echo "</td>";
1618 echo "</tr>";
1621 if (($data["respirations_rales"] != "N/A" && $data["respirations_rales"] != "" && $data["respirations_rales"] != "--") || ( $data["respirations_rales_text"] != "" && $data["respirations_rales_text"] != null )) {
1622 echo "<tr>";
1623 echo "<td>";
1624 echo "<span class='text'>rales:<span>";
1625 echo "</td>";
1626 echo "<td>";
1627 echo "<span class='text'>" . text($data['respirations_rales']) . "</span>";
1628 echo "</td>";
1629 echo "<td>";
1630 if ($data['respirations_rales_text'] != null) {
1631 echo "<span class='text'>(" . text($data['respirations_rales_text']) . ")</span>";
1632 } else {
1633 echo "<br/>";
1636 echo "</td>";
1637 echo "</tr>";
1640 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 )) {
1641 echo "<tr>";
1642 echo "<td>";
1643 echo "<span class='text'>labored breathing:<span>";
1644 echo "</td>";
1645 echo "<td>";
1646 echo "<span class='text'>" . text($data['respirations_labored_breathing']) . "</span>";
1647 echo "</td>";
1648 echo "<td>";
1649 if ($data['respirations_labored_breathing_text'] != null) {
1650 echo "<span class='text'>(" . text($data['respirations_labored_breathing_text']) . ")</span>";
1651 } else {
1652 echo "<br/>";
1655 echo "</td>";
1656 echo "</tr>";
1659 if (($data["respirations_hemoptysis"] != "N/A" && $data["respirations_hemoptysis"] != "" && $data["respirations_hemoptysis"] != "--") || ( $data["respirations_hemoptysis_text"] != "" && $data["respirations_hemoptysis_text"] != null )) {
1660 echo "<tr>";
1661 echo "<td>";
1662 echo "<span class='text'>Hemoptysis:<span>";
1663 echo "</td>";
1664 echo "<td>";
1665 echo "<span class='text'>" . text($data['respirations_hemoptysis']) . "</span>";
1666 echo "</td>";
1667 echo "<td>";
1668 if ($data['respirations_hemoptysis_text'] != null) {
1669 echo "<span class='text'>(" . text($data['respirations_hemoptysis_text']) . ")</span>";
1670 } else {
1671 echo "<br/>";
1674 echo "</td>";
1675 echo "</tr>";
1678 echo "<tr><td colspan='3'><span class='bold'><u>GU</u></span></td></tr>";
1679 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 )) {
1680 echo "<tr>";
1681 echo "<td>";
1682 echo "<span class='text'>frequent urination:<span>";
1683 echo "</td>";
1684 echo "<td>";
1685 echo "<span class='text'>" . text($data['gu_frequent_urination']) . "</span>";
1686 echo "</td>";
1687 echo "<td>";
1688 if ($data['gu_frequent_urination_text'] != null) {
1689 echo "<span class='text'>(" . text($data['gu_frequent_urination_text']) . ")</span>";
1690 } else {
1691 echo "<br/>";
1694 echo "</td>";
1695 echo "</tr>";
1698 if (($data["gu_dysuria"] != "N/A" && $data["gu_dysuria"] != "" && $data["gu_dysuria"] != "--") || ( $data["gu_dysuria_text"] != "" && $data["gu_dysuria_text"] != null )) {
1699 echo "<tr>";
1700 echo "<td>";
1701 echo "<span class='text'>dysuria:<span>";
1702 echo "</td>";
1703 echo "<td>";
1704 echo "<span class='text'>" . text($data['gu_dysuria']) . "</span>";
1705 echo "</td>";
1706 echo "<td>";
1707 if ($data['gu_dysuria_text'] != null) {
1708 echo "<span class='text'>(" . text($data['gu_dysuria_text']) . ")</span>";
1709 } else {
1710 echo "<br/>";
1713 echo "</td>";
1714 echo "</tr>";
1717 if (($data["gu_dyspareunia"] != "N/A" && $data["gu_dyspareunia"] != "" && $data["gu_dyspareunia"] != "--") || ( $data["gu_dyspareunia_text"] != "" && $data["gu_dyspareunia_text"] != null )) {
1718 echo "<tr>";
1719 echo "<td>";
1720 echo "<span class='text'>dyspareunia:<span>";
1721 echo "</td>";
1722 echo "<td>";
1723 echo "<span class='text'>" . text($data['gu_dyspareunia']) . "</span>";
1724 echo "</td>";
1725 echo "<td>";
1726 if ($data['gu_dyspareunia_text'] != null) {
1727 echo "<span class='text'>(" . text($data['gu_dyspareunia_text']) . ")</span>";
1728 } else {
1729 echo "<br/>";
1732 echo "</td>";
1733 echo "</tr>";
1736 if (($data["gu_discharge"] != "N/A" && $data["gu_discharge"] != "" && $data["gu_discharge"] != "--") || ( $data["gu_discharge_text"] != "" && $data["gu_discharge_text"] != null )) {
1737 echo "<tr>";
1738 echo "<td>";
1739 echo "<span class='text'>discharge:<span>";
1740 echo "</td>";
1741 echo "<td>";
1742 echo "<span class='text'>" . text($data['gu_discharge']) . "</span>";
1743 echo "</td>";
1744 echo "<td>";
1745 if ($data['gu_discharge_text'] != null) {
1746 echo "<span class='text'>(" . text($data['gu_discharge_text']) . ")</span>";
1747 } else {
1748 echo "<br/>";
1751 echo "</td>";
1752 echo "</tr>";
1755 if (($data["gu_odor"] != "N/A" && $data["gu_odor"] != "" && $data["gu_odor"] != "--") || ( $data["gu_odor_text"] != "" && $data["gu_odor_text"] != null )) {
1756 echo "<tr>";
1757 echo "<td>";
1758 echo "<span class='text'>odor:<span>";
1759 echo "</td>";
1760 echo "<td>";
1761 echo "<span class='text'>" . text($data['gu_odor']) . "</span>";
1762 echo "</td>";
1763 echo "<td>";
1764 if ($data['gu_odor_text'] != null) {
1765 echo "<span class='text'>(" . text($data['gu_odor_text']) . ")</span>";
1766 } else {
1767 echo "<br/>";
1770 echo "</td>";
1771 echo "</tr>";
1774 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 )) {
1775 echo "<tr>";
1776 echo "<td>";
1777 echo "<span class='text'>fertility problems:<span>";
1778 echo "</td>";
1779 echo "<td>";
1780 echo "<span class='text'>" . text($data['gu_fertility_problems']) . "</span>";
1781 echo "</td>";
1782 echo "<td>";
1783 if ($data['gu_fertility_problems_text'] != null) {
1784 echo "<span class='text'>(" . text($data['gu_fertility_problems_text']) . ")</span>";
1785 } else {
1786 echo "<br/>";
1789 echo "</td>";
1790 echo "</tr>";
1793 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 )) {
1794 echo "<tr>";
1795 echo "<td>";
1796 echo "<span class='text'>Flank Pain Kidney Stone:<span>";
1797 echo "</td>";
1798 echo "<td>";
1799 echo "<span class='text'>" . text($data['gu_flank_pain_kidney_stone']) . "</span>";
1800 echo "</td>";
1801 echo "<td>";
1802 if ($data['gu_flank_pain_kidney_stone_text'] != null) {
1803 echo "<span class='text'>(" . text($data['gu_flank_pain_kidney_stone_text']) . ")</span>";
1804 } else {
1805 echo "<br/>";
1808 echo "</td>";
1809 echo "</tr>";
1812 if (($data["gu_polyuria"] != "N/A" && $data["gu_polyuria"] != "" && $data["gu_polyuria"] != "--") || ( $data["gu_polyuria_text"] != "" && $data["gu_polyuria_text"] != null )) {
1813 echo "<tr>";
1814 echo "<td>";
1815 echo "<span class='text'>Polyuria:<span>";
1816 echo "</td>";
1817 echo "<td>";
1818 echo "<span class='text'>" . text($data['gu_polyuria']) . "</span>";
1819 echo "</td>";
1820 echo "<td>";
1821 if ($data['gu_polyuria_text'] != null) {
1822 echo "<span class='text'>(" . text($data['gu_polyuria_text']) . ")</span>";
1823 } else {
1824 echo "<br/>";
1827 echo "</td>";
1828 echo "</tr>";
1831 if (($data["gu_hematuria"] != "N/A" && $data["gu_hematuria"] != "" && $data["gu_hematuria"] != "--") || ( $data["gu_hematuria_text"] != "" && $data["gu_hematuria_text"] != null )) {
1832 echo "<tr>";
1833 echo "<td>";
1834 echo "<span class='text'>Hematuria:<span>";
1835 echo "</td>";
1836 echo "<td>";
1837 echo "<span class='text'>" . text($data['gu_hematuria']) . "</span>";
1838 echo "</td>";
1839 echo "<td>";
1840 if ($data['gu_hematuria_text'] != null) {
1841 echo "<span class='text'>(" . text($data['gu_hematuria_text']) . ")</span>";
1842 } else {
1843 echo "<br/>";
1846 echo "</td>";
1847 echo "</tr>";
1850 if (($data["gu_pyuria"] != "N/A" && $data["gu_pyuria"] != "" && $data["gu_pyuria"] != "--") || ( $data["gu_pyuria_text"] != "" && $data["gu_pyuria_text"] != null )) {
1851 echo "<tr>";
1852 echo "<td>";
1853 echo "<span class='text'>Pyuria:<span>";
1854 echo "</td>";
1855 echo "<td>";
1856 echo "<span class='text'>" . text($data['gu_pyuria']) . "</span>";
1857 echo "</td>";
1858 echo "<td>";
1859 if ($data['gu_pyuria_text'] != null) {
1860 echo "<span class='text'>(" . text($data['gu_pyuria_text']) . ")</span>";
1861 } else {
1862 echo "<br/>";
1865 echo "</td>";
1866 echo "</tr>";
1869 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 )) {
1870 echo "<tr>";
1871 echo "<td>";
1872 echo "<span class='text'>Umbilical Hernia:<span>";
1873 echo "</td>";
1874 echo "<td>";
1875 echo "<span class='text'>" . text($data['gu_umbilical_hernia']) . "</span>";
1876 echo "</td>";
1877 echo "<td>";
1878 if ($data['gu_umbilical_hernia_text'] != null) {
1879 echo "<span class='text'>(" . text($data['gu_umbilical_hernia_text']) . ")</span>";
1880 } else {
1881 echo "<br/>";
1884 echo "</td>";
1885 echo "</tr>";
1888 if (($data["gu_incontinence"] != "N/A" && $data["gu_incontinence"] != "" && $data["gu_incontinence"] != "--") || ( $data["gu_incontinence_text"] != "" && $data["gu_incontinence_text"] != null )) {
1889 echo "<tr>";
1890 echo "<td>";
1891 echo "<span class='text'>Incontinence:<span>";
1892 echo "</td>";
1893 echo "<td>";
1894 echo "<span class='text'>" . text($data['gu_incontinence']) . "</span>";
1895 echo "</td>";
1896 echo "<td>";
1897 if ($data['gu_incontinence_text'] != null) {
1898 echo "<span class='text'>(" . text($data['gu_incontinence_text']) . ")</span>";
1899 } else {
1900 echo "<br/>";
1903 echo "</td>";
1904 echo "</tr>";
1907 if (($data["gu_nocturia"] != "N/A" && $data["gu_nocturia"] != "" && $data["gu_nocturia"] != "--") || ( $data["gu_nocturia_text"] != "" && $data["gu_nocturia_text"] != null )) {
1908 echo "<tr>";
1909 echo "<td>";
1910 echo "<span class='text'>Nocturia:<span>";
1911 echo "</td>";
1912 echo "<td>";
1913 echo "<span class='text'>" . text($data['gu_nocturia']) . "</span>";
1914 echo "</td>";
1915 echo "<td>";
1916 if ($data['gu_nocturia_text'] != null) {
1917 echo "<span class='text'>(" . text($data['gu_nocturia_text']) . ")</span>";
1918 } else {
1919 echo "<br/>";
1922 echo "</td>";
1923 echo "</tr>";
1926 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 )) {
1927 echo "<tr>";
1928 echo "<td>";
1929 echo "<span class='text'>Urinary Urgency:<span>";
1930 echo "</td>";
1931 echo "<td>";
1932 echo "<span class='text'>" . text($data['gu_urinary_urgency']) . "</span>";
1933 echo "</td>";
1934 echo "<td>";
1935 if ($data['gu_urinary_urgency_text'] != null) {
1936 echo "<span class='text'>(" . text($data['gu_urinary_urgency_text']) . ")</span>";
1937 } else {
1938 echo "<br/>";
1941 echo "</td>";
1942 echo "</tr>";
1945 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 )) {
1946 echo "<tr>";
1947 echo "<td>";
1948 echo "<span class='text'>Recurrent UTIs:<span>";
1949 echo "</td>";
1950 echo "<td>";
1951 echo "<span class='text'>" . text($data['gu_recurrent_utis']) . "</span>";
1952 echo "</td>";
1953 echo "<td>";
1954 if ($data['gu_recurrent_utis_text'] != null) {
1955 echo "<span class='text'>(" . text($data['gu_recurrent_utis_text']) . ")</span>";
1956 } else {
1957 echo "<br/>";
1960 echo "</td>";
1961 echo "</tr>";
1964 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 )) {
1965 echo "<tr>";
1966 echo "<td>";
1967 echo "<span class='text'>Venereal Disease:<span>";
1968 echo "</td>";
1969 echo "<td>";
1970 echo "<span class='text'>" . text($data['gu_venereal_disease']) . "</span>";
1971 echo "</td>";
1972 echo "<td>";
1973 if ($data['gu_venereal_disease_text'] != null) {
1974 echo "<span class='text'>(" . text($data['gu_venereal_disease_text']) . ")</span>";
1975 } else {
1976 echo "<br/>";
1979 echo "</td>";
1980 echo "</tr>";
1983 echo "<tr><td colspan='3'><span class='bold'><u>MALE GU</u></span></td></tr>";
1984 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 )) {
1985 echo "<tr>";
1986 echo "<td>";
1987 echo "<span class='text'>Erectile Dysfunction:<span>";
1988 echo "</td>";
1989 echo "<td>";
1990 echo "<span class='text'>" . text($data['male_gu_erectile_dysfunction']) . "</span>";
1991 echo "</td>";
1992 echo "<td>";
1993 if ($data['male_gu_erectile_dysfunction_text'] != null) {
1994 echo "<span class='text'>(" . text($data['male_gu_erectile_dysfunction_text']) . ")</span>";
1995 } else {
1996 echo "<br/>";
1999 echo "</td>";
2000 echo "</tr>";
2003 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 )) {
2004 echo "<tr>";
2005 echo "<td>";
2006 echo "<span class='text'>Inguinal Hernia:<span>";
2007 echo "</td>";
2008 echo "<td>";
2009 echo "<span class='text'>" . text($data['male_gu_inguinal_hernia']) . "</span>";
2010 echo "</td>";
2011 echo "<td>";
2012 if ($data['male_gu_inguinal_hernia_text'] != null) {
2013 echo "<span class='text'>(" . text($data['male_gu_inguinal_hernia_text']) . ")</span>";
2014 } else {
2015 echo "<br/>";
2018 echo "</td>";
2019 echo "</tr>";
2022 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 )) {
2023 echo "<tr>";
2024 echo "<td>";
2025 echo "<span class='text'>Penile Lesions:<span>";
2026 echo "</td>";
2027 echo "<td>";
2028 echo "<span class='text'>" . text($data['male_gu_penile_lesions']) . "</span>";
2029 echo "</td>";
2030 echo "<td>";
2031 if ($data['male_gu_penile_lesions_text'] != null) {
2032 echo "<span class='text'>(" . text($data['male_gu_penile_lesions_text']) . ")</span>";
2033 } else {
2034 echo "<br/>";
2037 echo "</td>";
2038 echo "</tr>";
2041 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 )) {
2042 echo "<tr>";
2043 echo "<td>";
2044 echo "<span class='text'>Scrotal Mass:<span>";
2045 echo "</td>";
2046 echo "<td>";
2047 echo "<span class='text'>" . text($data['male_gu_scrotal_mass']) . "</span>";
2048 echo "</td>";
2049 echo "<td>";
2050 if ($data['male_gu_scrotal_mass_text'] != null) {
2051 echo "<span class='text'>(" . text($data['male_gu_scrotal_mass_text']) . ")</span>";
2052 } else {
2053 echo "<br/>";
2056 echo "</td>";
2057 echo "</tr>";
2060 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 )) {
2061 echo "<tr>";
2062 echo "<td>";
2063 echo "<span class='text'>Testicular Pain:<span>";
2064 echo "</td>";
2065 echo "<td>";
2066 echo "<span class='text'>" . text($data['male_gu_testicular_pain']) . "</span>";
2067 echo "</td>";
2068 echo "<td>";
2069 if ($data['male_gu_testicular_pain_text'] != null) {
2070 echo "<span class='text'>(" . text($data['male_gu_testicular_pain_text']) . ")</span>";
2071 } else {
2072 echo "<br/>";
2075 echo "</td>";
2076 echo "</tr>";
2079 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 )) {
2080 echo "<tr>";
2081 echo "<td>";
2082 echo "<span class='text'>Urethral Discharge:<span>";
2083 echo "</td>";
2084 echo "<td>";
2085 echo "<span class='text'>" . text($data['male_gu_urethral_discharge']) . "</span>";
2086 echo "</td>";
2087 echo "<td>";
2088 if ($data['male_gu_urethral_discharge_text'] != null) {
2089 echo "<span class='text'>(" . text($data['male_gu_urethral_discharge_text']) . ")</span>";
2090 } else {
2091 echo "<br/>";
2094 echo "</td>";
2095 echo "</tr>";
2098 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 )) {
2099 echo "<tr>";
2100 echo "<td>";
2101 echo "<span class='text'>Weak Urinary Stream:<span>";
2102 echo "</td>";
2103 echo "<td>";
2104 echo "<span class='text'>" . text($data['male_gu_weak_urinary_stream']) . "</span>";
2105 echo "</td>";
2106 echo "<td>";
2107 if ($data['male_gu_weak_urinary_stream_text'] != null) {
2108 echo "<span class='text'>(" . text($data['male_gu_weak_urinary_stream_text']) . ")</span>";
2109 } else {
2110 echo "<br/>";
2113 echo "</td>";
2114 echo "</tr>";
2117 echo "<tr><td colspan='3'><span class='bold'><u>FEMALE GU</u></span></td></tr>";
2118 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 )) {
2119 echo "<tr>";
2120 echo "<td>";
2121 echo "<span class='text'>Abnormal Menses:<span>";
2122 echo "</td>";
2123 echo "<td>";
2124 echo "<span class='text'>" . text($data['female_gu_abnormal_menses']) . "</span>";
2125 echo "</td>";
2126 echo "<td>";
2127 if ($data['female_gu_abnormal_menses_text'] != null) {
2128 echo "<span class='text'>(" . text($data['female_gu_abnormal_menses_text']) . ")</span>";
2129 } else {
2130 echo "<br/>";
2133 echo "</td>";
2134 echo "</tr>";
2137 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 )) {
2138 echo "<tr>";
2139 echo "<td>";
2140 echo "<span class='text'>Abnormal Vaginal Bleeding:<span>";
2141 echo "</td>";
2142 echo "<td>";
2143 echo "<span class='text'>" . text($data['female_gu_abnormal_vaginal_bleeding']) . "</span>";
2144 echo "</td>";
2145 echo "<td>";
2146 if ($data['female_gu_abnormal_vaginal_bleeding_text'] != null) {
2147 echo "<span class='text'>(" . text($data['female_gu_abnormal_vaginal_bleeding_text']) . ")</span>";
2148 } else {
2149 echo "<br/>";
2152 echo "</td>";
2153 echo "</tr>";
2156 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 )) {
2157 echo "<tr>";
2158 echo "<td>";
2159 echo "<span class='text'>Vaginal Discharge :<span>";
2160 echo "</td>";
2161 echo "<td>";
2162 echo "<span class='text'>" . text($data['female_gu_vaginal_discharge']) . "</span>";
2163 echo "</td>";
2164 echo "<td>";
2165 if ($data['female_gu_vaginal_discharge_text'] != null) {
2166 echo "<span class='text'>(" . text($data['female_gu_vaginal_discharge_text']) . ")</span>";
2167 } else {
2168 echo "<br/>";
2171 echo "</td>";
2172 echo "</tr>";
2175 echo "<tr><td colspan='3'><span class='bold'><u>GI</u></span></td></tr>";
2176 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 )) {
2177 echo "<tr>";
2178 echo "<td>";
2179 echo "<span class='text'>abdominal pain:<span>";
2180 echo "</td>";
2181 echo "<td>";
2182 echo "<span class='text'>" . text($data['gi_abdominal_pain']) . "</span>";
2183 echo "</td>";
2184 echo "<td>";
2185 if ($data['gi_abdominal_pain_text'] != null) {
2186 echo "<span class='text'>(" . text($data['gi_abdominal_pain_text']) . ")</span>";
2187 } else {
2188 echo "<br/>";
2191 echo "</td>";
2192 echo "</tr>";
2195 if (($data["gi_cramps"] != "N/A" && $data["gi_cramps"] != "" && $data["gi_cramps"] != "--") || ( $data["gi_cramps_text"] != "" && $data["gi_cramps_text"] != null )) {
2196 echo "<tr>";
2197 echo "<td>";
2198 echo "<span class='text'>cramps:<span>";
2199 echo "</td>";
2200 echo "<td>";
2201 echo "<span class='text'>" . text($data['gi_cramps']) . "</span>";
2202 echo "</td>";
2203 echo "<td>";
2204 if ($data['gi_cramps_text'] != null) {
2205 echo "<span class='text'>(" . text($data['gi_cramps_text']) . ")</span>";
2206 } else {
2207 echo "<br/>";
2210 echo "</td>";
2211 echo "</tr>";
2214 if (($data["gi_tenderness"] != "N/A" && $data["gi_tenderness"] != "" && $data["gi_tenderness"] != "--") || ( $data["gi_tenderness_text"] != "" && $data["gi_tenderness_text"] != null )) {
2215 echo "<tr>";
2216 echo "<td>";
2217 echo "<span class='text'>tenderness:<span>";
2218 echo "</td>";
2219 echo "<td>";
2220 echo "<span class='text'>" . text($data['gi_tenderness']) . "</span>";
2221 echo "</td>";
2222 echo "<td>";
2223 if ($data['gi_tenderness_text'] != null) {
2224 echo "<span class='text'>(" . text($data['gi_tenderness_text']) . ")</span>";
2225 } else {
2226 echo "<br/>";
2229 echo "</td>";
2230 echo "</tr>";
2233 if (($data["gi_vomiting"] != "N/A" && $data["gi_vomiting"] != "" && $data["gi_vomiting"] != "--") || ( $data["gi_vomiting_text"] != "" && $data["gi_vomiting_text"] != null )) {
2234 echo "<tr>";
2235 echo "<td>";
2236 echo "<span class='text'>vomiting:<span>";
2237 echo "</td>";
2238 echo "<td>";
2239 echo "<span class='text'>" . text($data['gi_vomiting']) . "</span>";
2240 echo "</td>";
2241 echo "<td>";
2242 if ($data['gi_vomiting_text'] != null) {
2243 echo "<span class='text'>(" . text($data['gi_vomiting_text']) . ")</span>";
2244 } else {
2245 echo "<br/>";
2248 echo "</td>";
2249 echo "</tr>";
2252 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 )) {
2253 echo "<tr>";
2254 echo "<td>";
2255 echo "<span class='text'>frequent diarrhea:<span>";
2256 echo "</td>";
2257 echo "<td>";
2258 echo "<span class='text'>" . text($data['gi_frequent_diarrhea']) . "</span>";
2259 echo "</td>";
2260 echo "<td>";
2261 if ($data['gi_frequent_diarrhea_text'] != null) {
2262 echo "<span class='text'>(" . text($data['gi_frequent_diarrhea_text']) . ")</span>";
2263 } else {
2264 echo "<br/>";
2267 echo "</td>";
2268 echo "</tr>";
2271 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 )) {
2272 echo "<tr>";
2273 echo "<td>";
2274 echo "<span class='text'>significant constipation:<span>";
2275 echo "</td>";
2276 echo "<td>";
2277 echo "<span class='text'>" . text($data['gi_significant_constipation']) . "</span>";
2278 echo "</td>";
2279 echo "<td>";
2280 if ($data['gi_significant_constipation_text'] != null) {
2281 echo "<span class='text'>(" . text($data['gi_significant_constipation_text']) . ")</span>";
2282 } else {
2283 echo "<br/>";
2286 echo "</td>";
2287 echo "</tr>";
2290 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 )) {
2291 echo "<tr>";
2292 echo "<td>";
2293 echo "<span class='text'>Excessive Belching:<span>";
2294 echo "</td>";
2295 echo "<td>";
2296 echo "<span class='text'>" . text($data['gi_excessive_belching']) . "</span>";
2297 echo "</td>";
2298 echo "<td>";
2299 if ($data['gi_excessive_belching_text'] != null) {
2300 echo "<span class='text'>(" . text($data['gi_excessive_belching_text']) . ")</span>";
2301 } else {
2302 echo "<br/>";
2305 echo "</td>";
2306 echo "</tr>";
2309 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 )) {
2310 echo "<tr>";
2311 echo "<td>";
2312 echo "<span class='text'>Changed Bowel Habits:<span>";
2313 echo "</td>";
2314 echo "<td>";
2315 echo "<span class='text'>" . text($data['gi_changed_bowel_habits']) . "</span>";
2316 echo "</td>";
2317 echo "<td>";
2318 if ($data['gi_changed_bowel_habits_text'] != null) {
2319 echo "<span class='text'>(" . text($data['gi_changed_bowel_habits_text']) . ")</span>";
2320 } else {
2321 echo "<br/>";
2324 echo "</td>";
2325 echo "</tr>";
2328 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 )) {
2329 echo "<tr>";
2330 echo "<td>";
2331 echo "<span class='text'>Excessive Flatulence:<span>";
2332 echo "</td>";
2333 echo "<td>";
2334 echo "<span class='text'>" . text($data['gi_excessive_flatulence']) . "</span>";
2335 echo "</td>";
2336 echo "<td>";
2337 if ($data['gi_excessive_flatulence_text'] != null) {
2338 echo "<span class='text'>(" . text($data['gi_excessive_flatulence_text']) . ")</span>";
2339 } else {
2340 echo "<br/>";
2343 echo "</td>";
2344 echo "</tr>";
2347 if (($data["gi_hematemesis"] != "N/A" && $data["gi_hematemesis"] != "" && $data["gi_hematemesis"] != "--") || ( $data["gi_hematemesis_text"] != "" && $data["gi_hematemesis_text"] != null )) {
2348 echo "<tr>";
2349 echo "<td>";
2350 echo "<span class='text'>Hematemesis:<span>";
2351 echo "</td>";
2352 echo "<td>";
2353 echo "<span class='text'>" . text($data['gi_hematemesis']) . "</span>";
2354 echo "</td>";
2355 echo "<td>";
2356 if ($data['gi_hematemesis_text'] != null) {
2357 echo "<span class='text'>(" . text($data['gi_hematemesis_text']) . ")</span>";
2358 } else {
2359 echo "<br/>";
2362 echo "</td>";
2363 echo "</tr>";
2366 if (($data["gi_hemorrhoids"] != "N/A" && $data["gi_hemorrhoids"] != "" && $data["gi_hemorrhoids"] != "--") || ( $data["gi_hemorrhoids_text"] != "" && $data["gi_hemorrhoids_text"] != null )) {
2367 echo "<tr>";
2368 echo "<td>";
2369 echo "<span class='text'>Hemorrhoids:<span>";
2370 echo "</td>";
2371 echo "<td>";
2372 echo "<span class='text'>" . text($data['gi_hemorrhoids']) . "</span>";
2373 echo "</td>";
2374 echo "<td>";
2375 if ($data['gi_hemorrhoids_text'] != null) {
2376 echo "<span class='text'>(" . text($data['gi_hemorrhoids_text']) . ")</span>";
2377 } else {
2378 echo "<br/>";
2381 echo "</td>";
2382 echo "</tr>";
2385 if (($data["gi_hepatitis"] != "N/A" && $data["gi_hepatitis"] != "" && $data["gi_hepatitis"] != "--") || ( $data["gi_hepatitis_text"] != "" && $data["gi_hepatitis_text"] != null )) {
2386 echo "<tr>";
2387 echo "<td>";
2388 echo "<span class='text'>Hepatitis:<span>";
2389 echo "</td>";
2390 echo "<td>";
2391 echo "<span class='text'>" . text($data['gi_hepatitis']) . "</span>";
2392 echo "</td>";
2393 echo "<td>";
2394 if ($data['gi_hepatitis_text'] != null) {
2395 echo "<span class='text'>(" . text($data['gi_hepatitis_text']) . ")</span>";
2396 } else {
2397 echo "<br/>";
2400 echo "</td>";
2401 echo "</tr>";
2404 if (($data["gi_jaundice"] != "N/A" && $data["gi_jaundice"] != "" && $data["gi_jaundice"] != "--") || ( $data["gi_jaundice_text"] != "" && $data["gi_jaundice_text"] != null )) {
2405 echo "<tr>";
2406 echo "<td>";
2407 echo "<span class='text'>Jaundice:<span>";
2408 echo "</td>";
2409 echo "<td>";
2410 echo "<span class='text'>" . text($data['gi_jaundice']) . "</span>";
2411 echo "</td>";
2412 echo "<td>";
2413 if ($data['gi_jaundice_text'] != null) {
2414 echo "<span class='text'>(" . text($data['gi_jaundice_text']) . ")</span>";
2415 } else {
2416 echo "<br/>";
2419 echo "</td>";
2420 echo "</tr>";
2423 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 )) {
2424 echo "<tr>";
2425 echo "<td>";
2426 echo "<span class='text'>Lactose Intolerance:<span>";
2427 echo "</td>";
2428 echo "<td>";
2429 echo "<span class='text'>" . text($data['gi_lactose_intolerance']) . "</span>";
2430 echo "</td>";
2431 echo "<td>";
2432 if ($data['gi_lactose_intolerance_text'] != null) {
2433 echo "<span class='text'>(" . text($data['gi_lactose_intolerance_text']) . ")</span>";
2434 } else {
2435 echo "<br/>";
2438 echo "</td>";
2439 echo "</tr>";
2442 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 )) {
2443 echo "<tr>";
2444 echo "<td>";
2445 echo "<span class='text'>Chronic Laxative Use:<span>";
2446 echo "</td>";
2447 echo "<td>";
2448 echo "<span class='text'>" . text($data['gi_chronic_laxative_use']) . "</span>";
2449 echo "</td>";
2450 echo "<td>";
2451 if ($data['gi_chronic_laxative_use_text'] != null) {
2452 echo "<span class='text'>(" . text($data['gi_chronic_laxative_use_text']) . ")</span>";
2453 } else {
2454 echo "<br/>";
2457 echo "</td>";
2458 echo "</tr>";
2461 if (($data["gi_melena"] != "N/A" && $data["gi_melena"] != "" && $data["gi_melena"] != "--") || ( $data["gi_melena_text"] != "" && $data["gi_melena_text"] != null )) {
2462 echo "<tr>";
2463 echo "<td>";
2464 echo "<span class='text'>Melena:<span>";
2465 echo "</td>";
2466 echo "<td>";
2467 echo "<span class='text'>" . text($data['gi_melena']) . "</span>";
2468 echo "</td>";
2469 echo "<td>";
2470 if ($data['gi_melena_text'] != null) {
2471 echo "<span class='text'>(" . text($data['gi_melena_text']) . ")</span>";
2472 } else {
2473 echo "<br/>";
2476 echo "</td>";
2477 echo "</tr>";
2480 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 )) {
2481 echo "<tr>";
2482 echo "<td>";
2483 echo "<span class='text'>Frequent Nausea:<span>";
2484 echo "</td>";
2485 echo "<td>";
2486 echo "<span class='text'>" . text($data['gi_frequent_nausea']) . "</span>";
2487 echo "</td>";
2488 echo "<td>";
2489 if ($data['gi_frequent_nausea_text'] != null) {
2490 echo "<span class='text'>(" . text($data['gi_frequent_nausea_text']) . ")</span>";
2491 } else {
2492 echo "<br/>";
2495 echo "</td>";
2496 echo "</tr>";
2499 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 )) {
2500 echo "<tr>";
2501 echo "<td>";
2502 echo "<span class='text'>Rectal Bleeding:<span>";
2503 echo "</td>";
2504 echo "<td>";
2505 echo "<span class='text'>" . text($data['gi_rectal_bleeding']) . "</span>";
2506 echo "</td>";
2507 echo "<td>";
2508 if ($data['gi_rectal_bleeding_text'] != null) {
2509 echo "<span class='text'>(" . text($data['gi_rectal_bleeding_text']) . ")</span>";
2510 } else {
2511 echo "<br/>";
2514 echo "</td>";
2515 echo "</tr>";
2518 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 )) {
2519 echo "<tr>";
2520 echo "<td>";
2521 echo "<span class='text'>Rectal Pain:<span>";
2522 echo "</td>";
2523 echo "<td>";
2524 echo "<span class='text'>" . text($data['gi_rectal_pain']) . "</span>";
2525 echo "</td>";
2526 echo "<td>";
2527 if ($data['gi_rectal_pain_text'] != null) {
2528 echo "<span class='text'>(" . text($data['gi_rectal_pain_text']) . ")</span>";
2529 } else {
2530 echo "<br/>";
2533 echo "</td>";
2534 echo "</tr>";
2537 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 )) {
2538 echo "<tr>";
2539 echo "<td>";
2540 echo "<span class='text'>Stool Caliber Change:<span>";
2541 echo "</td>";
2542 echo "<td>";
2543 echo "<span class='text'>" . text($data['gi_stool_caliber_change']) . "</span>";
2544 echo "</td>";
2545 echo "<td>";
2546 if ($data['gi_stool_caliber_change_text'] != null) {
2547 echo "<span class='text'>(" . text($data['gi_stool_caliber_change_text']) . ")</span>";
2548 } else {
2549 echo "<br/>";
2552 echo "</td>";
2553 echo "</tr>";
2556 echo "<tr><td colspan='3'><span class='bold'><u>INTEGUMENT:</u></span></td></tr>";
2557 if (($data["integument_pallor"] != "N/A" && $data["integument_pallor"] != "" && $data["integument_pallor"] != "--") || ( $data["integument_pallor_text"] != "" && $data["integument_pallor_text"] != null )) {
2558 echo "<tr>";
2559 echo "<td>";
2560 echo "<span class='text'>pallor:<span>";
2561 echo "</td>";
2562 echo "<td>";
2563 echo "<span class='text'>" . text($data['integument_pallor']) . "</span>";
2564 echo "</td>";
2565 echo "<td>";
2566 if ($data['integument_pallor_text'] != null) {
2567 echo "<span class='text'>(" . text($data['integument_pallor_text']) . ")</span>";
2568 } else {
2569 echo "<br/>";
2572 echo "</td>";
2573 echo "</tr>";
2576 if (($data["integument_diaphoresis"] != "N/A" && $data["integument_diaphoresis"] != "" && $data["integument_diaphoresis"] != "--") || ( $data["integument_diaphoresis_text"] != "" && $data["integument_diaphoresis_text"] != null )) {
2577 echo "<tr>";
2578 echo "<td>";
2579 echo "<span class='text'>diaphoresis:<span>";
2580 echo "</td>";
2581 echo "<td>";
2582 echo "<span class='text'>" . text($data['integument_diaphoresis']) . "</span>";
2583 echo "</td>";
2584 echo "<td>";
2585 if ($data['integument_diaphoresis_text'] != null) {
2586 echo "<span class='text'>(" . text($data['integument_diaphoresis_text']) . ")</span>";
2587 } else {
2588 echo "<br/>";
2591 echo "</td>";
2592 echo "</tr>";
2595 if (($data["integument_rash"] != "N/A" && $data["integument_rash"] != "" && $data["integument_rash"] != "--") || ( $data["integument_rash_text"] != "" && $data["integument_rash_text"] != null )) {
2596 echo "<tr>";
2597 echo "<td>";
2598 echo "<span class='text'>rash:<span>";
2599 echo "</td>";
2600 echo "<td>";
2601 echo "<span class='text'>" . text($data['integument_rash']) . "</span>";
2602 echo "</td>";
2603 echo "<td>";
2604 if ($data['integument_rash_text'] != null) {
2605 echo "<span class='text'>(" . text($data['integument_rash_text']) . ")</span>";
2606 } else {
2607 echo "<br/>";
2610 echo "</td>";
2611 echo "</tr>";
2614 if (($data["integument_itching"] != "N/A" && $data["integument_itching"] != "" && $data["integument_itching"] != "--") || ( $data["integument_itching_text"] != "" && $data["integument_itching_text"] != null )) {
2615 echo "<tr>";
2616 echo "<td>";
2617 echo "<span class='text'>itching:<span>";
2618 echo "</td>";
2619 echo "<td>";
2620 echo "<span class='text'>" . text($data['integument_itching']) . "</span>";
2621 echo "</td>";
2622 echo "<td>";
2623 if ($data['integument_itching_text'] != null) {
2624 echo "<span class='text'>(" . text($data['integument_itching_text']) . ")</span>";
2625 } else {
2626 echo "<br/>";
2629 echo "</td>";
2630 echo "</tr>";
2633 if (($data["integument_ulcers"] != "N/A" && $data["integument_ulcers"] != "" && $data["integument_ulcers"] != "--") || ( $data["integument_ulcers_text"] != "" && $data["integument_ulcers_text"] != null )) {
2634 echo "<tr>";
2635 echo "<td>";
2636 echo "<span class='text'>ulcers:<span>";
2637 echo "</td>";
2638 echo "<td>";
2639 echo "<span class='text'>" . text($data['integument_ulcers']) . "</span>";
2640 echo "</td>";
2641 echo "<td>";
2642 if ($data['integument_ulcers_text'] != null) {
2643 echo "<span class='text'>(" . text($data['integument_ulcers_text']) . ")</span>";
2644 } else {
2645 echo "<br/>";
2648 echo "</td>";
2649 echo "</tr>";
2652 if (($data["integument_abscess"] != "N/A" && $data["integument_abscess"] != "" && $data["integument_abscess"] != "--") || ( $data["integument_abscess_text"] != "" && $data["integument_abscess_text"] != null )) {
2653 echo "<tr>";
2654 echo "<td>";
2655 echo "<span class='text'>abscess:<span>";
2656 echo "</td>";
2657 echo "<td>";
2658 echo "<span class='text'>" . text($data['integument_abscess']) . "</span>";
2659 echo "</td>";
2660 echo "<td>";
2661 if ($data['integument_abscess_text'] != null) {
2662 echo "<span class='text'>(" . text($data['integument_abscess_text']) . ")</span>";
2663 } else {
2664 echo "<br/>";
2667 echo "</td>";
2668 echo "</tr>";
2671 if (($data["integument_nodules"] != "N/A" && $data["integument_nodules"] != "" && $data["integument_nodules"] != "--") || ( $data["integument_nodules_text"] != "" && $data["integument_nodules_text"] != null )) {
2672 echo "<tr>";
2673 echo "<td>";
2674 echo "<span class='text'>nodules:<span>";
2675 echo "</td>";
2676 echo "<td>";
2677 echo "<span class='text'>" . text($data['integument_nodules']) . "</span>";
2678 echo "</td>";
2679 echo "<td>";
2680 if ($data['integument_nodules_text'] != null) {
2681 echo "<span class='text'>(" . text($data['integument_nodules_text']) . ")</span>";
2682 } else {
2683 echo "<br/>";
2686 echo "</td>";
2687 echo "</tr>";
2690 if (($data["integument_acne"] != "N/A" && $data["integument_acne"] != "" && $data["integument_acne"] != "--") || ( $data["integument_acne_text"] != "" && $data["integument_acne_text"] != null )) {
2691 echo "<tr>";
2692 echo "<td>";
2693 echo "<span class='text'>Acne:<span>";
2694 echo "</td>";
2695 echo "<td>";
2696 echo "<span class='text'>" . text($data['integument_acne']) . "</span>";
2697 echo "</td>";
2698 echo "<td>";
2699 if ($data['integument_acne_text'] != null) {
2700 echo "<span class='text'>(" . text($data['integument_acne_text']) . ")</span>";
2701 } else {
2702 echo "<br/>";
2705 echo "</td>";
2706 echo "</tr>";
2709 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 )) {
2710 echo "<tr>";
2711 echo "<td>";
2712 echo "<span class='text'>Recurrent Boils:<span>";
2713 echo "</td>";
2714 echo "<td>";
2715 echo "<span class='text'>" . text($data['integument_recurrent_boils']) . "</span>";
2716 echo "</td>";
2717 echo "<td>";
2718 if ($data['integument_recurrent_boils_text'] != null) {
2719 echo "<span class='text'>(" . text($data['integument_recurrent_boils_text']) . ")</span>";
2720 } else {
2721 echo "<br/>";
2724 echo "</td>";
2725 echo "</tr>";
2728 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 )) {
2729 echo "<tr>";
2730 echo "<td>";
2731 echo "<span class='text'>Chronic Eczema:<span>";
2732 echo "</td>";
2733 echo "<td>";
2734 echo "<span class='text'>" . text($data['integument_chronic_eczema']) . "</span>";
2735 echo "</td>";
2736 echo "<td>";
2737 if ($data['integument_chronic_eczema_text'] != null) {
2738 echo "<span class='text'>(" . text($data['integument_chronic_eczema_text']) . ")</span>";
2739 } else {
2740 echo "<br/>";
2743 echo "</td>";
2744 echo "</tr>";
2747 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 )) {
2748 echo "<tr>";
2749 echo "<td>";
2750 echo "<span class='text'>Changing Moles:<span>";
2751 echo "</td>";
2752 echo "<td>";
2753 echo "<span class='text'>" . text($data['integument_changing_moles']) . "</span>";
2754 echo "</td>";
2755 echo "<td>";
2756 if ($data['integument_changing_moles_text'] != null) {
2757 echo "<span class='text'>(" . text($data['integument_changing_moles_text']) . ")</span>";
2758 } else {
2759 echo "<br/>";
2762 echo "</td>";
2763 echo "</tr>";
2766 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 )) {
2767 echo "<tr>";
2768 echo "<td>";
2769 echo "<span class='text'>Nail Abnormalities:<span>";
2770 echo "</td>";
2771 echo "<td>";
2772 echo "<span class='text'>" . text($data['integument_nail_abnormalities']) . "</span>";
2773 echo "</td>";
2774 echo "<td>";
2775 if ($data['integument_nail_abnormalities_text'] != null) {
2776 echo "<span class='text'>(" . text($data['integument_nail_abnormalities_text']) . ")</span>";
2777 } else {
2778 echo "<br/>";
2781 echo "</td>";
2782 echo "</tr>";
2785 if (($data["integument_psoriasis"] != "N/A" && $data["integument_psoriasis"] != "" && $data["integument_psoriasis"] != "--") || ( $data["integument_psoriasis_text"] != "" && $data["integument_psoriasis_text"] != null )) {
2786 echo "<tr>";
2787 echo "<td>";
2788 echo "<span class='text'>Psoriasis:<span>";
2789 echo "</td>";
2790 echo "<td>";
2791 echo "<span class='text'>" . text($data['integument_psoriasis']) . "</span>";
2792 echo "</td>";
2793 echo "<td>";
2794 if ($data['integument_psoriasis_text'] != null) {
2795 echo "<span class='text'>(" . text($data['integument_psoriasis_text']) . ")</span>";
2796 } else {
2797 echo "<br/>";
2800 echo "</td>";
2801 echo "</tr>";
2804 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 )) {
2805 echo "<tr>";
2806 echo "<td>";
2807 echo "<span class='text'>Recurrent Hives:<span>";
2808 echo "</td>";
2809 echo "<td>";
2810 echo "<span class='text'>" . text($data['integument_recurrent_hives']) . "</span>";
2811 echo "</td>";
2812 echo "<td>";
2813 if ($data['integument_recurrent_hives_text'] != null) {
2814 echo "<span class='text'>(" . text($data['integument_recurrent_hives_text']) . ")</span>";
2815 } else {
2816 echo "<br/>";
2819 echo "</td>";
2820 echo "</tr>";
2823 echo "<tr><td colspan='3'><span class='bold'><u>MUSCULOSKELETAL:</u></span></td></tr>";
2824 if (($data["musculoskeletal_deformity"] != "N/A" && $data["musculoskeletal_deformity"] != "" && $data["musculoskeletal_deformity"] != "--") || ( $data["musculoskeletal_deformity_text"] != "" && $data["musculoskeletal_deformity_text"] != null )) {
2825 echo "<tr>";
2826 echo "<td>";
2827 echo "<span class='text'>deformity:<span>";
2828 echo "</td>";
2829 echo "<td>";
2830 echo "<span class='text'>" . text($data['musculoskeletal_deformity']) . "</span>";
2831 echo "</td>";
2832 echo "<td>";
2833 if ($data['musculoskeletal_deformity_text'] != null) {
2834 echo "<span class='text'>(" . text($data['musculoskeletal_deformity_text']) . ")</span>";
2835 } else {
2836 echo "<br/>";
2839 echo "</td>";
2840 echo "</tr>";
2843 if (($data["musculoskeletal_edema"] != "N/A" && $data["musculoskeletal_edema"] != "" && $data["musculoskeletal_edema"] != "--") || ( $data["musculoskeletal_edema_text"] != "" && $data["musculoskeletal_edema_text"] != null )) {
2844 echo "<tr>";
2845 echo "<td>";
2846 echo "<span class='text'>edema:<span>";
2847 echo "</td>";
2848 echo "<td>";
2849 echo "<span class='text'>" . text($data['musculoskeletal_edema']) . "</span>";
2850 echo "</td>";
2851 echo "<td>";
2852 if ($data['musculoskeletal_edema_text'] != null) {
2853 echo "<span class='text'>(" . text($data['musculoskeletal_edema_text']) . ")</span>";
2854 } else {
2855 echo "<br/>";
2858 echo "</td>";
2859 echo "</tr>";
2862 if (($data["musculoskeletal_pain"] != "N/A" && $data["musculoskeletal_pain"] != "" && $data["musculoskeletal_pain"] != "--") || ( $data["musculoskeletal_pain_text"] != "" && $data["musculoskeletal_pain_text"] != null )) {
2863 echo "<tr>";
2864 echo "<td>";
2865 echo "<span class='text'>pain:<span>";
2866 echo "</td>";
2867 echo "<td>";
2868 echo "<span class='text'>" . text($data['musculoskeletal_pain']) . "</span>";
2869 echo "</td>";
2870 echo "<td>";
2871 if ($data['musculoskeletal_pain_text'] != null) {
2872 echo "<span class='text'>(" . text($data['musculoskeletal_pain_text']) . ")</span>";
2873 } else {
2874 echo "<br/>";
2877 echo "</td>";
2878 echo "</tr>";
2881 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 )) {
2882 echo "<tr>";
2883 echo "<td>";
2884 echo "<span class='text'>limited ROM:<span>";
2885 echo "</td>";
2886 echo "<td>";
2887 echo "<span class='text'>" . text($data['musculoskeletal_limited_rom']) . "</span>";
2888 echo "</td>";
2889 echo "<td>";
2890 if ($data['musculoskeletal_limited_rom_text'] != null) {
2891 echo "<span class='text'>(" . text($data['musculoskeletal_limited_rom_text']) . ")</span>";
2892 } else {
2893 echo "<br/>";
2896 echo "</td>";
2897 echo "</tr>";
2900 if (($data["musculoskeletal_gait"] != "N/A" && $data["musculoskeletal_gait"] != "" && $data["musculoskeletal_gait"] != "--") || ( $data["musculoskeletal_gait_text"] != "" && $data["musculoskeletal_gait_text"] != null )) {
2901 echo "<tr>";
2902 echo "<td>";
2903 echo "<span class='text'>gait:<span>";
2904 echo "</td>";
2905 echo "<td>";
2906 echo "<span class='text'>" . text($data['musculoskeletal_gait']) . "</span>";
2907 echo "</td>";
2908 echo "<td>";
2909 if ($data['musculoskeletal_gait_text'] != null) {
2910 echo "<span class='text'>(" . text($data['musculoskeletal_gait_text']) . ")</span>";
2911 } else {
2912 echo "<br/>";
2915 echo "</td>";
2916 echo "</tr>";
2919 if (($data["musculoskeletal_arthritis"] != "N/A" && $data["musculoskeletal_arthritis"] != "" && $data["musculoskeletal_arthritis"] != "--") || ( $data["musculoskeletal_arthritis_text"] != "" && $data["musculoskeletal_arthritis_text"] != null )) {
2920 echo "<tr>";
2921 echo "<td>";
2922 echo "<span class='text'>Arthritis:<span>";
2923 echo "</td>";
2924 echo "<td>";
2925 echo "<span class='text'>" . text($data['musculoskeletal_arthritis']) . "</span>";
2926 echo "</td>";
2927 echo "<td>";
2928 if ($data['musculoskeletal_arthritis_text'] != null) {
2929 echo "<span class='text'>(" . text($data['musculoskeletal_arthritis_text']) . ")</span>";
2930 } else {
2931 echo "<br/>";
2934 echo "</td>";
2935 echo "</tr>";
2938 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 )) {
2939 echo "<tr>";
2940 echo "<td>";
2941 echo "<span class='text'>Neck Pain:<span>";
2942 echo "</td>";
2943 echo "<td>";
2944 echo "<span class='text'>" . text($data['musculoskeletal_neck_pain']) . "</span>";
2945 echo "</td>";
2946 echo "<td>";
2947 if ($data['musculoskeletal_neck_pain_text'] != null) {
2948 echo "<span class='text'>(" . text($data['musculoskeletal_neck_pain_text']) . ")</span>";
2949 } else {
2950 echo "<br/>";
2953 echo "</td>";
2954 echo "</tr>";
2957 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 )) {
2958 echo "<tr>";
2959 echo "<td>";
2960 echo "<span class='text'>Mid Back Pain:<span>";
2961 echo "</td>";
2962 echo "<td>";
2963 echo "<span class='text'>" . text($data['musculoskeletal_mid_back_pain']) . "</span>";
2964 echo "</td>";
2965 echo "<td>";
2966 if ($data['musculoskeletal_mid_back_pain_text'] != null) {
2967 echo "<span class='text'>(" . text($data['musculoskeletal_mid_back_pain_text']) . ")</span>";
2968 } else {
2969 echo "<br/>";
2972 echo "</td>";
2973 echo "</tr>";
2976 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 )) {
2977 echo "<tr>";
2978 echo "<td>";
2979 echo "<span class='text'>Low Back Pain:<span>";
2980 echo "</td>";
2981 echo "<td>";
2982 echo "<span class='text'>" . text($data['musculoskeletal_low_back_pain']) . "</span>";
2983 echo "</td>";
2984 echo "<td>";
2985 if ($data['musculoskeletal_low_back_pain_text'] != null) {
2986 echo "<span class='text'>(" . text($data['musculoskeletal_low_back_pain_text']) . ")</span>";
2987 } else {
2988 echo "<br/>";
2991 echo "</td>";
2992 echo "</tr>";
2995 if (($data["musculoskeletal_bursitis"] != "N/A" && $data["musculoskeletal_bursitis"] != "" && $data["musculoskeletal_bursitis"] != "--") || ( $data["musculoskeletal_bursitis_text"] != "" && $data["musculoskeletal_bursitis_text"] != null )) {
2996 echo "<tr>";
2997 echo "<td>";
2998 echo "<span class='text'>Bursitis:<span>";
2999 echo "</td>";
3000 echo "<td>";
3001 echo "<span class='text'>" . text($data['musculoskeletal_bursitis']) . "</span>";
3002 echo "</td>";
3003 echo "<td>";
3004 if ($data['musculoskeletal_bursitis_text'] != null) {
3005 echo "<span class='text'>(" . text($data['musculoskeletal_bursitis_text']) . ")</span>";
3006 } else {
3007 echo "<br/>";
3010 echo "</td>";
3011 echo "</tr>";
3014 if (($data["musculoskeletal_gout"] != "N/A" && $data["musculoskeletal_gout"] != "" && $data["musculoskeletal_gout"] != "--") || ( $data["musculoskeletal_gout_text"] != "" && $data["musculoskeletal_gout_text"] != null )) {
3015 echo "<tr>";
3016 echo "<td>";
3017 echo "<span class='text'>Gout:<span>";
3018 echo "</td>";
3019 echo "<td>";
3020 echo "<span class='text'>" . text($data['musculoskeletal_gout']) . "</span>";
3021 echo "</td>";
3022 echo "<td>";
3023 if ($data['musculoskeletal_gout_text'] != null) {
3024 echo "<span class='text'>(" . text($data['musculoskeletal_gout_text']) . ")</span>";
3025 } else {
3026 echo "<br/>";
3029 echo "</td>";
3030 echo "</tr>";
3033 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 )) {
3034 echo "<tr>";
3035 echo "<td>";
3036 echo "<span class='text'>Joint Injury:<span>";
3037 echo "</td>";
3038 echo "<td>";
3039 echo "<span class='text'>" . text($data['musculoskeletal_joint_injury']) . "</span>";
3040 echo "</td>";
3041 echo "<td>";
3042 if ($data['musculoskeletal_joint_injury_text'] != null) {
3043 echo "<span class='text'>(" . text($data['musculoskeletal_joint_injury_text']) . ")</span>";
3044 } else {
3045 echo "<br/>";
3048 echo "</td>";
3049 echo "</tr>";
3052 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 )) {
3053 echo "<tr>";
3054 echo "<td>";
3055 echo "<span class='text'>Joint Pain:<span>";
3056 echo "</td>";
3057 echo "<td>";
3058 echo "<span class='text'>" . text($data['musculoskeletal_joint_pain']) . "</span>";
3059 echo "</td>";
3060 echo "<td>";
3061 if ($data['musculoskeletal_joint_pain_text'] != null) {
3062 echo "<span class='text'>(" . text($data['musculoskeletal_joint_pain_text']) . ")</span>";
3063 } else {
3064 echo "<br/>";
3067 echo "</td>";
3068 echo "</tr>";
3071 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 )) {
3072 echo "<tr>";
3073 echo "<td>";
3074 echo "<span class='text'>Joint Swelling:<span>";
3075 echo "</td>";
3076 echo "<td>";
3077 echo "<span class='text'>" . text($data['musculoskeletal_joint_swelling']) . "</span>";
3078 echo "</td>";
3079 echo "<td>";
3080 if ($data['musculoskeletal_joint_swelling_text'] != null) {
3081 echo "<span class='text'>(" . text($data['musculoskeletal_joint_swelling_text']) . ")</span>";
3082 } else {
3083 echo "<br/>";
3086 echo "</td>";
3087 echo "</tr>";
3090 if (($data["musculoskeletal_myalgias"] != "N/A" && $data["musculoskeletal_myalgias"] != "" && $data["musculoskeletal_myalgias"] != "--") || ( $data["musculoskeletal_myalgias_text"] != "" && $data["musculoskeletal_myalgias_text"] != null )) {
3091 echo "<tr>";
3092 echo "<td>";
3093 echo "<span class='text'>Myalgias:<span>";
3094 echo "</td>";
3095 echo "<td>";
3096 echo "<span class='text'>" . text($data['musculoskeletal_myalgias']) . "</span>";
3097 echo "</td>";
3098 echo "<td>";
3099 if ($data['musculoskeletal_myalgias_text'] != null) {
3100 echo "<span class='text'>(" . text($data['musculoskeletal_myalgias_text']) . ")</span>";
3101 } else {
3102 echo "<br/>";
3105 echo "</td>";
3106 echo "</tr>";
3109 if (($data["musculoskeletal_sciatica"] != "N/A" && $data["musculoskeletal_sciatica"] != "" && $data["musculoskeletal_sciatica"] != "--") || ( $data["musculoskeletal_sciatica_text"] != "" && $data["musculoskeletal_sciatica_text"] != null )) {
3110 echo "<tr>";
3111 echo "<td>";
3112 echo "<span class='text'>Sciatica:<span>";
3113 echo "</td>";
3114 echo "<td>";
3115 echo "<span class='text'>" . text($data['musculoskeletal_sciatica']) . "</span>";
3116 echo "</td>";
3117 echo "<td>";
3118 if ($data['musculoskeletal_sciatica_text'] != null) {
3119 echo "<span class='text'>(" . text($data['musculoskeletal_sciatica_text']) . ")</span>";
3120 } else {
3121 echo "<br/>";
3124 echo "</td>";
3125 echo "</tr>";
3128 if (($data["musculoskeletal_scoliosis"] != "N/A" && $data["musculoskeletal_scoliosis"] != "" && $data["musculoskeletal_scoliosis"] != "--") || ( $data["musculoskeletal_scoliosis_text"] != "" && $data["musculoskeletal_scoliosis_text"] != null )) {
3129 echo "<tr>";
3130 echo "<td>";
3131 echo "<span class='text'>Scoliosis:<span>";
3132 echo "</td>";
3133 echo "<td>";
3134 echo "<span class='text'>" . text($data['musculoskeletal_scoliosis']) . "</span>";
3135 echo "</td>";
3136 echo "<td>";
3137 if ($data['musculoskeletal_scoliosis_text'] != null) {
3138 echo "<span class='text'>(" . text($data['musculoskeletal_scoliosis_text']) . ")</span>";
3139 } else {
3140 echo "<br/>";
3143 echo "</td>";
3144 echo "</tr>";
3147 echo "<tr><td colspan='3'><span class='bold'><u>HEMATOLOGICAL</u></span></td></tr>";
3148 if (($data["hematological_anemia"] != "N/A" && $data["hematological_anemia"] != "" && $data["hematological_anemia"] != "--") || ( $data["hematological_anemia_text"] != "" && $data["hematological_anemia_text"] != null )) {
3149 echo "<tr>";
3150 echo "<td>";
3151 echo "<span class='text'>Anemia:<span>";
3152 echo "</td>";
3153 echo "<td>";
3154 echo "<span class='text'>" . text($data['hematological_anemia']) . "</span>";
3155 echo "</td>";
3156 echo "<td>";
3157 if ($data['hematological_anemia_text'] != null) {
3158 echo "<span class='text'>(" . text($data['hematological_anemia_text']) . ")</span>";
3159 } else {
3160 echo "<br/>";
3163 echo "</td>";
3164 echo "</tr>";
3167 if (($data["hematological_pallor"] != "N/A" && $data["hematological_pallor"] != "" && $data["hematological_pallor"] != "--") || ( $data["hematological_pallor_text"] != "" && $data["hematological_pallor_text"] != null )) {
3168 echo "<tr>";
3169 echo "<td>";
3170 echo "<span class='text'>Pallor:<span>";
3171 echo "</td>";
3172 echo "<td>";
3173 echo "<span class='text'>" . text($data['hematological_pallor']) . "</span>";
3174 echo "</td>";
3175 echo "<td>";
3176 if ($data['hematological_pallor_text'] != null) {
3177 echo "<span class='text'>(" . text($data['hematological_pallor_text']) . ")</span>";
3178 } else {
3179 echo "<br/>";
3182 echo "</td>";
3183 echo "</tr>";
3186 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 )) {
3187 echo "<tr>";
3188 echo "<td>";
3189 echo "<span class='text'>Bleeding Tendencies:<span>";
3190 echo "</td>";
3191 echo "<td>";
3192 echo "<span class='text'>" . text($data['hematological_bleeding_tendencies']) . "</span>";
3193 echo "</td>";
3194 echo "<td>";
3195 if ($data['hematological_bleeding_tendencies_text'] != null) {
3196 echo "<span class='text'>(" . text($data['hematological_bleeding_tendencies_text']) . ")</span>";
3197 } else {
3198 echo "<br/>";
3201 echo "</td>";
3202 echo "</tr>";
3205 if (($data["hematological_bruising"] != "N/A" && $data["hematological_bruising"] != "" && $data["hematological_bruising"] != "--") || ( $data["hematological_bruising_text"] != "" && $data["hematological_bruising_text"] != null )) {
3206 echo "<tr>";
3207 echo "<td>";
3208 echo "<span class='text'>Bruising:<span>";
3209 echo "</td>";
3210 echo "<td>";
3211 echo "<span class='text'>" . text($data['hematological_bruising']) . "</span>";
3212 echo "</td>";
3213 echo "<td>";
3214 if ($data['hematological_bruising_text'] != null) {
3215 echo "<span class='text'>(" . text($data['hematological_bruising_text']) . ")</span>";
3216 } else {
3217 echo "<br/>";
3220 echo "</td>";
3221 echo "</tr>";
3224 echo "<tr><td colspan='3'><span class='bold'><u>ENDOCRINE</u></span></td></tr>";
3225 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 )) {
3226 echo "<tr>";
3227 echo "<td>";
3228 echo "<span class='text'>Thyroid Problems:<span>";
3229 echo "</td>";
3230 echo "<td>";
3231 echo "<span class='text'>" . text($data['endocrine_thyroid_problems']) . "</span>";
3232 echo "</td>";
3233 echo "<td>";
3234 if ($data['endocrine_thyroid_problems_text'] != null) {
3235 echo "<span class='text'>(" . text($data['endocrine_thyroid_problems_text']) . ")</span>";
3236 } else {
3237 echo "<br/>";
3240 echo "</td>";
3241 echo "</tr>";
3244 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 )) {
3245 echo "<tr>";
3246 echo "<td>";
3247 echo "<span class='text'>Enlarged Thyroid:<span>";
3248 echo "</td>";
3249 echo "<td>";
3250 echo "<span class='text'>" . text($data['endocrine_enlarged_thyroid']) . "</span>";
3251 echo "</td>";
3252 echo "<td>";
3253 if ($data['endocrine_enlarged_thyroid_text'] != null) {
3254 echo "<span class='text'>(" . text($data['endocrine_enlarged_thyroid_text']) . ")</span>";
3255 } else {
3256 echo "<br/>";
3259 echo "</td>";
3260 echo "</tr>";
3263 if (($data["endocrine_hyperglycemia"] != "N/A" && $data["endocrine_hyperglycemia"] != "" && $data["endocrine_hyperglycemia"] != "--") || ( $data["endocrine_hyperglycemia_text"] != "" && $data["endocrine_hyperglycemia_text"] != null )) {
3264 echo "<tr>";
3265 echo "<td>";
3266 echo "<span class='text'>Hyperglycemia:<span>";
3267 echo "</td>";
3268 echo "<td>";
3269 echo "<span class='text'>" . text($data['endocrine_hyperglycemia']) . "</span>";
3270 echo "</td>";
3271 echo "<td>";
3272 if ($data['endocrine_hyperglycemia_text'] != null) {
3273 echo "<span class='text'>(" . text($data['endocrine_hyperglycemia_text']) . ")</span>";
3274 } else {
3275 echo "<br/>";
3278 echo "</td>";
3279 echo "</tr>";
3282 if (($data["endocrine_hypoglycemia"] != "N/A" && $data["endocrine_hypoglycemia"] != "" && $data["endocrine_hypoglycemia"] != "--") || ( $data["endocrine_hypoglycemia_text"] != "" && $data["endocrine_hypoglycemia_text"] != null )) {
3283 echo "<tr>";
3284 echo "<td>";
3285 echo "<span class='text'>Hypoglycemia:<span>";
3286 echo "</td>";
3287 echo "<td>";
3288 echo "<span class='text'>" . text($data['endocrine_hypoglycemia']) . "</span>";
3289 echo "</td>";
3290 echo "<td>";
3291 if ($data['endocrine_hypoglycemia_text'] != null) {
3292 echo "<span class='text'>(" . text($data['endocrine_hypoglycemia_text']) . ")</span>";
3293 } else {
3294 echo "<br/>";
3297 echo "</td>";
3298 echo "</tr>";
3301 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 )) {
3302 echo "<tr>";
3303 echo "<td>";
3304 echo "<span class='text'>Cold Intolerance:<span>";
3305 echo "</td>";
3306 echo "<td>";
3307 echo "<span class='text'>" . text($data['endocrine_cold_intolerance']) . "</span>";
3308 echo "</td>";
3309 echo "<td>";
3310 if ($data['endocrine_cold_intolerance_text'] != null) {
3311 echo "<span class='text'>(" . text($data['endocrine_cold_intolerance_text']) . ")</span>";
3312 } else {
3313 echo "<br/>";
3316 echo "</td>";
3317 echo "</tr>";
3320 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 )) {
3321 echo "<tr>";
3322 echo "<td>";
3323 echo "<span class='text'>Heat Intolerance:<span>";
3324 echo "</td>";
3325 echo "<td>";
3326 echo "<span class='text'>" . text($data['endocrine_heat_intolerance']) . "</span>";
3327 echo "</td>";
3328 echo "<td>";
3329 if ($data['endocrine_heat_intolerance_text'] != null) {
3330 echo "<span class='text'>(" . text($data['endocrine_heat_intolerance_text']) . ")</span>";
3331 } else {
3332 echo "<br/>";
3335 echo "</td>";
3336 echo "</tr>";
3339 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 )) {
3340 echo "<tr>";
3341 echo "<td>";
3342 echo "<span class='text'>Early Awakening:<span>";
3343 echo "</td>";
3344 echo "<td>";
3345 echo "<span class='text'>" . text($data['endocrine_early_awakening']) . "</span>";
3346 echo "</td>";
3347 echo "<td>";
3348 if ($data['endocrine_early_awakening_text'] != null) {
3349 echo "<span class='text'>(" . text($data['endocrine_early_awakening_text']) . ")</span>";
3350 } else {
3351 echo "<br/>";
3354 echo "</td>";
3355 echo "</tr>";
3358 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 )) {
3359 echo "<tr>";
3360 echo "<td>";
3361 echo "<span class='text'>Fatigue unexplained:<span>";
3362 echo "</td>";
3363 echo "<td>";
3364 echo "<span class='text'>" . text($data['endocrine_fatigue_unexplained']) . "</span>";
3365 echo "</td>";
3366 echo "<td>";
3367 if ($data['endocrine_fatigue_unexplained_text'] != null) {
3368 echo "<span class='text'>(" . text($data['endocrine_fatigue_unexplained_text']) . ")</span>";
3369 } else {
3370 echo "<br/>";
3373 echo "</td>";
3374 echo "</tr>";
3377 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 )) {
3378 echo "<tr>";
3379 echo "<td>";
3380 echo "<span class='text'>Weight Gain:<span>";
3381 echo "</td>";
3382 echo "<td>";
3383 echo "<span class='text'>" . text($data['endocrine_weight_gain']) . "</span>";
3384 echo "</td>";
3385 echo "<td>";
3386 if ($data['endocrine_weight_gain_text'] != null) {
3387 echo "<span class='text'>(" . text($data['endocrine_weight_gain_text']) . ")</span>";
3388 } else {
3389 echo "<br/>";
3392 echo "</td>";
3393 echo "</tr>";
3396 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 )) {
3397 echo "<tr>";
3398 echo "<td>";
3399 echo "<span class='text'>Weight Loss:<span>";
3400 echo "</td>";
3401 echo "<td>";
3402 echo "<span class='text'>" . text($data['endocrine_weight_loss']) . "</span>";
3403 echo "</td>";
3404 echo "<td>";
3405 if ($data['endocrine_weight_loss_text'] != null) {
3406 echo "<span class='text'>(" . text($data['endocrine_weight_loss_text']) . ")</span>";
3407 } else {
3408 echo "<br/>";
3411 echo "</td>";
3412 echo "</tr>";
3415 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 )) {
3416 echo "<tr>";
3417 echo "<td>";
3418 echo "<span class='text'>Premenstrual symptoms:<span>";
3419 echo "</td>";
3420 echo "<td>";
3421 echo "<span class='text'>" . text($data['endocrine_premenstrual_symptoms']) . "</span>";
3422 echo "</td>";
3423 echo "<td>";
3424 if ($data['endocrine_premenstrual_symptoms_text'] != null) {
3425 echo "<span class='text'>(" . text($data['endocrine_premenstrual_symptoms_text']) . ")</span>";
3426 } else {
3427 echo "<br/>";
3430 echo "</td>";
3431 echo "</tr>";
3434 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 )) {
3435 echo "<tr>";
3436 echo "<td>";
3437 echo "<span class='text'>Hair (no change or no loss):<span>";
3438 echo "</td>";
3439 echo "<td>";
3440 echo "<span class='text'>" . text($data['endocrine_hair_no_change_or_no_loss']) . "</span>";
3441 echo "</td>";
3442 echo "<td>";
3443 if ($data['endocrine_hair_no_change_or_no_loss_text'] != null) {
3444 echo "<span class='text'>(" . text($data['endocrine_hair_no_change_or_no_loss_text']) . ")</span>";
3445 } else {
3446 echo "<br/>";
3449 echo "</td>";
3450 echo "</tr>";
3453 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 )) {
3454 echo "<tr>";
3455 echo "<td>";
3456 echo "<span class='text'>Hot flashes:<span>";
3457 echo "</td>";
3458 echo "<td>";
3459 echo "<span class='text'>" . text($data['endocrine_hot_flashes']) . "</span>";
3460 echo "</td>";
3461 echo "<td>";
3462 if ($data['endocrine_hot_flashes_text'] != null) {
3463 echo "<span class='text'>(" . text($data['endocrine_hot_flashes_text']) . ")</span>";
3464 } else {
3465 echo "<br/>";
3468 echo "</td>";
3469 echo "</tr>";
3472 echo "<tr><td colspan='3'><span class='bold'><u>LYMPHATIC</u></span></td></tr>";
3473 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 )) {
3474 echo "<tr>";
3475 echo "<td>";
3476 echo "<span class='text'>Swollen lymph nodes:<span>";
3477 echo "</td>";
3478 echo "<td>";
3479 echo "<span class='text'>" . text($data['lymphatic_swollen_lymph_nodes']) . "</span>";
3480 echo "</td>";
3481 echo "<td>";
3482 if ($data['lymphatic_swollen_lymph_nodes_text'] != null) {
3483 echo "<span class='text'>(" . text($data['lymphatic_swollen_lymph_nodes_text']) . ")</span>";
3484 } else {
3485 echo "<br/>";
3488 echo "</td>";
3489 echo "</tr>";
3492 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 )) {
3493 echo "<tr>";
3494 echo "<td>";
3495 echo "<span class='text'>Swollen extremities:<span>";
3496 echo "</td>";
3497 echo "<td>";
3498 echo "<span class='text'>" . text($data['lymphatic_swollen_extremities']) . "</span>";
3499 echo "</td>";
3500 echo "<td>";
3501 if ($data['lymphatic_swollen_extremities_text'] != null) {
3502 echo "<span class='text'>(" . text($data['lymphatic_swollen_extremities_text']) . ")</span>";
3503 } else {
3504 echo "<br/>";
3507 echo "</td>";
3508 echo "</tr>";
3511 echo "<tr><td colspan='3'><span class='bold'><u>PSYCHIATRIC</u></span></td></tr>";
3512 if (($data["psychiatric_compulsions"] != "N/A" && $data["psychiatric_compulsions"] != "" && $data["psychiatric_compulsions"] != "--") || ( $data["psychiatric_compulsions_text"] != "" && $data["psychiatric_compulsions_text"] != null )) {
3513 echo "<tr>";
3514 echo "<td>";
3515 echo "<span class='text'>Compulsions:<span>";
3516 echo "</td>";
3517 echo "<td>";
3518 echo "<span class='text'>" . text($data['psychiatric_compulsions']) . "</span>";
3519 echo "</td>";
3520 echo "<td>";
3521 if ($data['psychiatric_compulsions_text'] != null) {
3522 echo "<span class='text'>(" . text($data['psychiatric_compulsions_text']) . ")</span>";
3523 } else {
3524 echo "<br/>";
3527 echo "</td>";
3528 echo "</tr>";
3531 if (($data["psychiatric_depression"] != "N/A" && $data["psychiatric_depression"] != "" && $data["psychiatric_depression"] != "--") || ( $data["psychiatric_depression_text"] != "" && $data["psychiatric_depression_text"] != null )) {
3532 echo "<tr>";
3533 echo "<td>";
3534 echo "<span class='text'>Depression:<span>";
3535 echo "</td>";
3536 echo "<td>";
3537 echo "<span class='text'>" . text($data['psychiatric_depression']) . "</span>";
3538 echo "</td>";
3539 echo "<td>";
3540 if ($data['psychiatric_depression_text'] != null) {
3541 echo "<span class='text'>(" . text($data['psychiatric_depression_text']) . ")</span>";
3542 } else {
3543 echo "<br/>";
3546 echo "</td>";
3547 echo "</tr>";
3550 if (($data["psychiatric_fear"] != "N/A" && $data["psychiatric_fear"] != "" && $data["psychiatric_fear"] != "--") || ( $data["psychiatric_fear_text"] != "" && $data["psychiatric_fear_text"] != null )) {
3551 echo "<tr>";
3552 echo "<td>";
3553 echo "<span class='text'>Fear:<span>";
3554 echo "</td>";
3555 echo "<td>";
3556 echo "<span class='text'>" . text($data['psychiatric_fear']) . "</span>";
3557 echo "</td>";
3558 echo "<td>";
3559 if ($data['psychiatric_fear_text'] != null) {
3560 echo "<span class='text'>(" . text($data['psychiatric_fear_text']) . ")</span>";
3561 } else {
3562 echo "<br/>";
3565 echo "</td>";
3566 echo "</tr>";
3569 if (($data["psychiatric_anxiety"] != "N/A" && $data["psychiatric_anxiety"] != "" && $data["psychiatric_anxiety"] != "--") || ( $data["psychiatric_anxiety_text"] != "" && $data["psychiatric_anxiety_text"] != null )) {
3570 echo "<tr>";
3571 echo "<td>";
3572 echo "<span class='text'>Anxiety:<span>";
3573 echo "</td>";
3574 echo "<td>";
3575 echo "<span class='text'>" . text($data['psychiatric_anxiety']) . "</span>";
3576 echo "</td>";
3577 echo "<td>";
3578 if ($data['psychiatric_anxiety_text'] != null) {
3579 echo "<span class='text'>(" . text($data['psychiatric_anxiety_text']) . ")</span>";
3580 } else {
3581 echo "<br/>";
3584 echo "</td>";
3585 echo "</tr>";
3588 if (($data["psychiatric_hallucinations"] != "N/A" && $data["psychiatric_hallucinations"] != "" && $data["psychiatric_hallucinations"] != "--") || ( $data["psychiatric_hallucinations_text"] != "" && $data["psychiatric_hallucinations_text"] != null )) {
3589 echo "<tr>";
3590 echo "<td>";
3591 echo "<span class='text'>Hallucinations:<span>";
3592 echo "</td>";
3593 echo "<td>";
3594 echo "<span class='text'>" . text($data['psychiatric_hallucinations']) . "</span>";
3595 echo "</td>";
3596 echo "<td>";
3597 if ($data['psychiatric_hallucinations_text'] != null) {
3598 echo "<span class='text'>(" . text($data['psychiatric_hallucinations_text']) . ")</span>";
3599 } else {
3600 echo "<br/>";
3603 echo "</td>";
3604 echo "</tr>";
3607 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 )) {
3608 echo "<tr>";
3609 echo "<td>";
3610 echo "<span class='text'>Loss of Interest:<span>";
3611 echo "</td>";
3612 echo "<td>";
3613 echo "<span class='text'>" . text($data['psychiatric_loss_of_interest']) . "</span>";
3614 echo "</td>";
3615 echo "<td>";
3616 if ($data['psychiatric_loss_of_interest_text'] != null) {
3617 echo "<span class='text'>(" . text($data['psychiatric_loss_of_interest_text']) . ")</span>";
3618 } else {
3619 echo "<br/>";
3622 echo "</td>";
3623 echo "</tr>";
3626 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 )) {
3627 echo "<tr>";
3628 echo "<td>";
3629 echo "<span class='text'>Memory Loss:<span>";
3630 echo "</td>";
3631 echo "<td>";
3632 echo "<span class='text'>" . text($data['psychiatric_memory_loss']) . "</span>";
3633 echo "</td>";
3634 echo "<td>";
3635 if ($data['psychiatric_memory_loss_text'] != null) {
3636 echo "<span class='text'>(" . text($data['psychiatric_memory_loss_text']) . ")</span>";
3637 } else {
3638 echo "<br/>";
3641 echo "</td>";
3642 echo "</tr>";
3645 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 )) {
3646 echo "<tr>";
3647 echo "<td>";
3648 echo "<span class='text'>Mood Swings:<span>";
3649 echo "</td>";
3650 echo "<td>";
3651 echo "<span class='text'>" . text($data['psychiatric_mood_swings']) . "</span>";
3652 echo "</td>";
3653 echo "<td>";
3654 if ($data['psychiatric_mood_swings_text'] != null) {
3655 echo "<span class='text'>(" . text($data['psychiatric_mood_swings_text']) . ")</span>";
3656 } else {
3657 echo "<br/>";
3660 echo "</td>";
3661 echo "</tr>";
3664 if (($data["psychiatric_pananoia"] != "N/A" && $data["psychiatric_pananoia"] != "" && $data["psychiatric_pananoia"] != "--") || ( $data["psychiatric_pananoia_text"] != "" && $data["psychiatric_pananoia_text"] != null )) {
3665 echo "<tr>";
3666 echo "<td>";
3667 echo "<span class='text'>Pananoia:<span>";
3668 echo "</td>";
3669 echo "<td>";
3670 echo "<span class='text'>" . text($data['psychiatric_pananoia']) . "</span>";
3671 echo "</td>";
3672 echo "<td>";
3673 if ($data['psychiatric_pananoia_text'] != null) {
3674 echo "<span class='text'>(" . text($data['psychiatric_pananoia_text']) . ")</span>";
3675 } else {
3676 echo "<br/>";
3679 echo "</td>";
3680 echo "</tr>";
3683 if (($data["psychiatric_insomnia"] != "N/A" && $data["psychiatric_insomnia"] != "" && $data["psychiatric_insomnia"] != "--") || ( $data["psychiatric_insomnia_text"] != "" && $data["psychiatric_insomnia_text"] != null )) {
3684 echo "<tr>";
3685 echo "<td>";
3686 echo "<span class='text'>Insomnia:<span>";
3687 echo "</td>";
3688 echo "<td>";
3689 echo "<span class='text'>" . text($data['psychiatric_insomnia']) . "</span>";
3690 echo "</td>";
3691 echo "<td>";
3692 if ($data['psychiatric_insomnia_text'] != null) {
3693 echo "<span class='text'>(" . text($data['psychiatric_insomnia_text']) . ")</span>";
3694 } else {
3695 echo "<br/>";
3698 echo "</td>";
3699 echo "</tr>";
3702 print "</table>";
3706 function endsWith($FullStr, $EndStr)
3708 $StrLen = strlen($EndStr);
3709 $FullStrEnd = substr($FullStr, strlen($FullStr) - $StrLen);
3710 return $FullStrEnd == $EndStr;