2 // Copyright (C) 2009 Aron Racho <aron@mi-squared.com>
4 // This program is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU General Public License
6 // as published by the Free Software Foundation; either version 2
7 //------------Forms generated from formsWiz
8 include_once("../../globals.php");
9 include_once($GLOBALS["srcdir"] . "/api.inc");
10 function ros2_report( $pid, $encounter, $cols, $id) {
12 $data = formFetch("form_ros2", $id);
13 //echo "${data['general_headache']}";
15 print "<table cellpadding=0 cellspacing=3px border=0>";
17 echo "<tr><td colspan='3'><span class='bold'><u>GENERAL:</u></span></td></tr>";
18 if ( ($data["general_headache"] != "N/A" && $data["general_headache"] != "" && $data["general_headache"] != "--") ||
( $data["general_headache_text"] != "" && $data["general_headache_text"] != null ) ) {
21 echo "<span class='text'>headache:<span>";
24 echo "<span class='text'>${data['general_headache']}</span>";
27 if ( $data['general_headache_text'] != null ) {
28 echo "<span class='text'>(${data['general_headache_text']})</span>";
35 if ( ($data["general_fever"] != "N/A" && $data["general_fever"] != "" && $data["general_fever"] != "--") ||
( $data["general_fever_text"] != "" && $data["general_fever_text"] != null ) ) {
38 echo "<span class='text'>fever:<span>";
41 echo "<span class='text'>${data['general_fever']}</span>";
44 if ( $data['general_fever_text'] != null ) {
45 echo "<span class='text'>(${data['general_fever_text']})</span>";
52 if ( ($data["general_chills"] != "N/A" && $data["general_chills"] != "" && $data["general_chills"] != "--") ||
( $data["general_chills_text"] != "" && $data["general_chills_text"] != null ) ) {
55 echo "<span class='text'>chills:<span>";
58 echo "<span class='text'>${data['general_chills']}</span>";
61 if ( $data['general_chills_text'] != null ) {
62 echo "<span class='text'>(${data['general_chills_text']})</span>";
69 if ( ($data["general_body_aches"] != "N/A" && $data["general_body_aches"] != "" && $data["general_body_aches"] != "--") ||
( $data["general_body_aches_text"] != "" && $data["general_body_aches_text"] != null ) ) {
72 echo "<span class='text'>body aches:<span>";
75 echo "<span class='text'>${data['general_body_aches']}</span>";
78 if ( $data['general_body_aches_text'] != null ) {
79 echo "<span class='text'>(${data['general_body_aches_text']})</span>";
86 if ( ($data["general_fatigue"] != "N/A" && $data["general_fatigue"] != "" && $data["general_fatigue"] != "--") ||
( $data["general_fatigue_text"] != "" && $data["general_fatigue_text"] != null ) ) {
89 echo "<span class='text'>fatigue:<span>";
92 echo "<span class='text'>${data['general_fatigue']}</span>";
95 if ( $data['general_fatigue_text'] != null ) {
96 echo "<span class='text'>(${data['general_fatigue_text']})</span>";
103 if ( ($data["general_loss_of_appetite"] != "N/A" && $data["general_loss_of_appetite"] != "" && $data["general_loss_of_appetite"] != "--") ||
( $data["general_loss_of_appetite_text"] != "" && $data["general_loss_of_appetite_text"] != null ) ) {
106 echo "<span class='text'>loss of appetite:<span>";
109 echo "<span class='text'>${data['general_loss_of_appetite']}</span>";
112 if ( $data['general_loss_of_appetite_text'] != null ) {
113 echo "<span class='text'>(${data['general_loss_of_appetite_text']})</span>";
120 if ( ($data["general_weight_loss"] != "N/A" && $data["general_weight_loss"] != "" && $data["general_weight_loss"] != "--") ||
( $data["general_weight_loss_text"] != "" && $data["general_weight_loss_text"] != null ) ) {
123 echo "<span class='text'>weight loss:<span>";
126 echo "<span class='text'>${data['general_weight_loss']}</span>";
129 if ( $data['general_weight_loss_text'] != null ) {
130 echo "<span class='text'>(${data['general_weight_loss_text']})</span>";
137 if ( ($data["general_daytime_drowsiness"] != "N/A" && $data["general_daytime_drowsiness"] != "" && $data["general_daytime_drowsiness"] != "--") ||
( $data["general_daytime_drowsiness_text"] != "" && $data["general_daytime_drowsiness_text"] != null ) ) {
140 echo "<span class='text'>daytime drowsiness:<span>";
143 echo "<span class='text'>${data['general_daytime_drowsiness']}</span>";
146 if ( $data['general_daytime_drowsiness_text'] != null ) {
147 echo "<span class='text'>(${data['general_daytime_drowsiness_text']})</span>";
154 if ( ($data["general_excessive_snoring"] != "N/A" && $data["general_excessive_snoring"] != "" && $data["general_excessive_snoring"] != "--") ||
( $data["general_excessive_snoring_text"] != "" && $data["general_excessive_snoring_text"] != null ) ) {
157 echo "<span class='text'>excessive snoring:<span>";
160 echo "<span class='text'>${data['general_excessive_snoring']}</span>";
163 if ( $data['general_excessive_snoring_text'] != null ) {
164 echo "<span class='text'>(${data['general_excessive_snoring_text']})</span>";
171 echo "<tr><td colspan='3'><span class='bold'><u>NEURO:</u></span></td></tr>";
172 if ( ($data["neuro_disorientation"] != "N/A" && $data["neuro_disorientation"] != "" && $data["neuro_disorientation"] != "--") ||
( $data["neuro_disorientation_text"] != "" && $data["neuro_disorientation_text"] != null ) ) {
175 echo "<span class='text'>disorientation:<span>";
178 echo "<span class='text'>${data['neuro_disorientation']}</span>";
181 if ( $data['neuro_disorientation_text'] != null ) {
182 echo "<span class='text'>(${data['neuro_disorientation_text']})</span>";
189 if ( ($data["neuro_loss_of_consciousness"] != "N/A" && $data["neuro_loss_of_consciousness"] != "" && $data["neuro_loss_of_consciousness"] != "--") ||
( $data["neuro_loss_of_consciousness_text"] != "" && $data["neuro_loss_of_consciousness_text"] != null ) ) {
192 echo "<span class='text'>loss of consciousness:<span>";
195 echo "<span class='text'>${data['neuro_loss_of_consciousness']}</span>";
198 if ( $data['neuro_loss_of_consciousness_text'] != null ) {
199 echo "<span class='text'>(${data['neuro_loss_of_consciousness_text']})</span>";
206 if ( ($data["neuro_numbness"] != "N/A" && $data["neuro_numbness"] != "" && $data["neuro_numbness"] != "--") ||
( $data["neuro_numbness_text"] != "" && $data["neuro_numbness_text"] != null ) ) {
209 echo "<span class='text'>numbness:<span>";
212 echo "<span class='text'>${data['neuro_numbness']}</span>";
215 if ( $data['neuro_numbness_text'] != null ) {
216 echo "<span class='text'>(${data['neuro_numbness_text']})</span>";
223 if ( ($data["neuro_tingling"] != "N/A" && $data["neuro_tingling"] != "" && $data["neuro_tingling"] != "--") ||
( $data["neuro_tingling_text"] != "" && $data["neuro_tingling_text"] != null ) ) {
226 echo "<span class='text'>tingling:<span>";
229 echo "<span class='text'>${data['neuro_tingling']}</span>";
232 if ( $data['neuro_tingling_text'] != null ) {
233 echo "<span class='text'>(${data['neuro_tingling_text']})</span>";
240 if ( ($data["neuro_restlessness"] != "N/A" && $data["neuro_restlessness"] != "" && $data["neuro_restlessness"] != "--") ||
( $data["neuro_restlessness_text"] != "" && $data["neuro_restlessness_text"] != null ) ) {
243 echo "<span class='text'>restlessness:<span>";
246 echo "<span class='text'>${data['neuro_restlessness']}</span>";
249 if ( $data['neuro_restlessness_text'] != null ) {
250 echo "<span class='text'>(${data['neuro_restlessness_text']})</span>";
257 if ( ($data["neuro_dizziness"] != "N/A" && $data["neuro_dizziness"] != "" && $data["neuro_dizziness"] != "--") ||
( $data["neuro_dizziness_text"] != "" && $data["neuro_dizziness_text"] != null ) ) {
260 echo "<span class='text'>dizziness:<span>";
263 echo "<span class='text'>${data['neuro_dizziness']}</span>";
266 if ( $data['neuro_dizziness_text'] != null ) {
267 echo "<span class='text'>(${data['neuro_dizziness_text']})</span>";
274 if ( ($data["neuro_vertigo"] != "N/A" && $data["neuro_vertigo"] != "" && $data["neuro_vertigo"] != "--") ||
( $data["neuro_vertigo_text"] != "" && $data["neuro_vertigo_text"] != null ) ) {
277 echo "<span class='text'>vertigo:<span>";
280 echo "<span class='text'>${data['neuro_vertigo']}</span>";
283 if ( $data['neuro_vertigo_text'] != null ) {
284 echo "<span class='text'>(${data['neuro_vertigo_text']})</span>";
291 if ( ($data["neuro_amaurosis_fugax"] != "N/A" && $data["neuro_amaurosis_fugax"] != "" && $data["neuro_amaurosis_fugax"] != "--") ||
( $data["neuro_amaurosis_fugax_text"] != "" && $data["neuro_amaurosis_fugax_text"] != null ) ) {
294 echo "<span class='text'>Amaurosis Fugax:<span>";
297 echo "<span class='text'>${data['neuro_amaurosis_fugax']}</span>";
300 if ( $data['neuro_amaurosis_fugax_text'] != null ) {
301 echo "<span class='text'>(${data['neuro_amaurosis_fugax_text']})</span>";
308 if ( ($data["neuro_stroke"] != "N/A" && $data["neuro_stroke"] != "" && $data["neuro_stroke"] != "--") ||
( $data["neuro_stroke_text"] != "" && $data["neuro_stroke_text"] != null ) ) {
311 echo "<span class='text'>Stroke:<span>";
314 echo "<span class='text'>${data['neuro_stroke']}</span>";
317 if ( $data['neuro_stroke_text'] != null ) {
318 echo "<span class='text'>(${data['neuro_stroke_text']})</span>";
325 if ( ($data["neuro_gait_abnormality"] != "N/A" && $data["neuro_gait_abnormality"] != "" && $data["neuro_gait_abnormality"] != "--") ||
( $data["neuro_gait_abnormality_text"] != "" && $data["neuro_gait_abnormality_text"] != null ) ) {
328 echo "<span class='text'>Gait Abnormality:<span>";
331 echo "<span class='text'>${data['neuro_gait_abnormality']}</span>";
334 if ( $data['neuro_gait_abnormality_text'] != null ) {
335 echo "<span class='text'>(${data['neuro_gait_abnormality_text']})</span>";
342 if ( ($data["neuro_frequent_headaches"] != "N/A" && $data["neuro_frequent_headaches"] != "" && $data["neuro_frequent_headaches"] != "--") ||
( $data["neuro_frequent_headaches_text"] != "" && $data["neuro_frequent_headaches_text"] != null ) ) {
345 echo "<span class='text'>Frequent headaches:<span>";
348 echo "<span class='text'>${data['neuro_frequent_headaches']}</span>";
351 if ( $data['neuro_frequent_headaches_text'] != null ) {
352 echo "<span class='text'>(${data['neuro_frequent_headaches_text']})</span>";
359 if ( ($data["neuro_parathesias"] != "N/A" && $data["neuro_parathesias"] != "" && $data["neuro_parathesias"] != "--") ||
( $data["neuro_parathesias_text"] != "" && $data["neuro_parathesias_text"] != null ) ) {
362 echo "<span class='text'>Parathesias:<span>";
365 echo "<span class='text'>${data['neuro_parathesias']}</span>";
368 if ( $data['neuro_parathesias_text'] != null ) {
369 echo "<span class='text'>(${data['neuro_parathesias_text']})</span>";
376 if ( ($data["neuro_seizures"] != "N/A" && $data["neuro_seizures"] != "" && $data["neuro_seizures"] != "--") ||
( $data["neuro_seizures_text"] != "" && $data["neuro_seizures_text"] != null ) ) {
379 echo "<span class='text'>Seizures:<span>";
382 echo "<span class='text'>${data['neuro_seizures']}</span>";
385 if ( $data['neuro_seizures_text'] != null ) {
386 echo "<span class='text'>(${data['neuro_seizures_text']})</span>";
393 if ( ($data["neuro_trans_ischemic_attacks"] != "N/A" && $data["neuro_trans_ischemic_attacks"] != "" && $data["neuro_trans_ischemic_attacks"] != "--") ||
( $data["neuro_trans_ischemic_attacks_text"] != "" && $data["neuro_trans_ischemic_attacks_text"] != null ) ) {
396 echo "<span class='text'>Trans Ischemic Attacks:<span>";
399 echo "<span class='text'>${data['neuro_trans_ischemic_attacks']}</span>";
402 if ( $data['neuro_trans_ischemic_attacks_text'] != null ) {
403 echo "<span class='text'>(${data['neuro_trans_ischemic_attacks_text']})</span>";
410 if ( ($data["neuro_significant_tremors"] != "N/A" && $data["neuro_significant_tremors"] != "" && $data["neuro_significant_tremors"] != "--") ||
( $data["neuro_significant_tremors_text"] != "" && $data["neuro_significant_tremors_text"] != null ) ) {
413 echo "<span class='text'>Significant Tremors:<span>";
416 echo "<span class='text'>${data['neuro_significant_tremors']}</span>";
419 if ( $data['neuro_significant_tremors_text'] != null ) {
420 echo "<span class='text'>(${data['neuro_significant_tremors_text']})</span>";
427 echo "<tr><td colspan='3'><span class='bold'><u>NECK:</u></span></td></tr>";
428 if ( ($data["neck_neck_stiffness"] != "N/A" && $data["neck_neck_stiffness"] != "" && $data["neck_neck_stiffness"] != "--") ||
( $data["neck_neck_stiffness_text"] != "" && $data["neck_neck_stiffness_text"] != null ) ) {
431 echo "<span class='text'>neck stiffness:<span>";
434 echo "<span class='text'>${data['neck_neck_stiffness']}</span>";
437 if ( $data['neck_neck_stiffness_text'] != null ) {
438 echo "<span class='text'>(${data['neck_neck_stiffness_text']})</span>";
445 if ( ($data["neck_neck_pain"] != "N/A" && $data["neck_neck_pain"] != "" && $data["neck_neck_pain"] != "--") ||
( $data["neck_neck_pain_text"] != "" && $data["neck_neck_pain_text"] != null ) ) {
448 echo "<span class='text'>neck pain:<span>";
451 echo "<span class='text'>${data['neck_neck_pain']}</span>";
454 if ( $data['neck_neck_pain_text'] != null ) {
455 echo "<span class='text'>(${data['neck_neck_pain_text']})</span>";
462 if ( ($data["neck_neck_masses"] != "N/A" && $data["neck_neck_masses"] != "" && $data["neck_neck_masses"] != "--") ||
( $data["neck_neck_masses_text"] != "" && $data["neck_neck_masses_text"] != null ) ) {
465 echo "<span class='text'>Neck Masses:<span>";
468 echo "<span class='text'>${data['neck_neck_masses']}</span>";
471 if ( $data['neck_neck_masses_text'] != null ) {
472 echo "<span class='text'>(${data['neck_neck_masses_text']})</span>";
479 if ( ($data["neck_neck_tenderness"] != "N/A" && $data["neck_neck_tenderness"] != "" && $data["neck_neck_tenderness"] != "--") ||
( $data["neck_neck_tenderness_text"] != "" && $data["neck_neck_tenderness_text"] != null ) ) {
482 echo "<span class='text'>Neck Tenderness:<span>";
485 echo "<span class='text'>${data['neck_neck_tenderness']}</span>";
488 if ( $data['neck_neck_tenderness_text'] != null ) {
489 echo "<span class='text'>(${data['neck_neck_tenderness_text']})</span>";
496 echo "<tr><td colspan='3'><span class='bold'><u>HEENT:</u></span></td></tr>";
497 if ( ($data["heent_oral_ulcers"] != "N/A" && $data["heent_oral_ulcers"] != "" && $data["heent_oral_ulcers"] != "--") ||
( $data["heent_oral_ulcers_text"] != "" && $data["heent_oral_ulcers_text"] != null ) ) {
500 echo "<span class='text'>oral ulcers:<span>";
503 echo "<span class='text'>${data['heent_oral_ulcers']}</span>";
506 if ( $data['heent_oral_ulcers_text'] != null ) {
507 echo "<span class='text'>(${data['heent_oral_ulcers_text']})</span>";
514 if ( ($data["heent_excessive_cavities"] != "N/A" && $data["heent_excessive_cavities"] != "" && $data["heent_excessive_cavities"] != "--") ||
( $data["heent_excessive_cavities_text"] != "" && $data["heent_excessive_cavities_text"] != null ) ) {
517 echo "<span class='text'>Excessive Cavities:<span>";
520 echo "<span class='text'>${data['heent_excessive_cavities']}</span>";
523 if ( $data['heent_excessive_cavities_text'] != null ) {
524 echo "<span class='text'>(${data['heent_excessive_cavities_text']})</span>";
531 if ( ($data["heent_gingival_disease"] != "N/A" && $data["heent_gingival_disease"] != "" && $data["heent_gingival_disease"] != "--") ||
( $data["heent_gingival_disease_text"] != "" && $data["heent_gingival_disease_text"] != null ) ) {
534 echo "<span class='text'>Gingival Disease:<span>";
537 echo "<span class='text'>${data['heent_gingival_disease']}</span>";
540 if ( $data['heent_gingival_disease_text'] != null ) {
541 echo "<span class='text'>(${data['heent_gingival_disease_text']})</span>";
548 if ( ($data["heent_persistent_hoarseness"] != "N/A" && $data["heent_persistent_hoarseness"] != "" && $data["heent_persistent_hoarseness"] != "--") ||
( $data["heent_persistent_hoarseness_text"] != "" && $data["heent_persistent_hoarseness_text"] != null ) ) {
551 echo "<span class='text'>Persistent hoarseness:<span>";
554 echo "<span class='text'>${data['heent_persistent_hoarseness']}</span>";
557 if ( $data['heent_persistent_hoarseness_text'] != null ) {
558 echo "<span class='text'>(${data['heent_persistent_hoarseness_text']})</span>";
565 if ( ($data["heent_mouth_lesions"] != "N/A" && $data["heent_mouth_lesions"] != "" && $data["heent_mouth_lesions"] != "--") ||
( $data["heent_mouth_lesions_text"] != "" && $data["heent_mouth_lesions_text"] != null ) ) {
568 echo "<span class='text'>Mouth Lesions:<span>";
571 echo "<span class='text'>${data['heent_mouth_lesions']}</span>";
574 if ( $data['heent_mouth_lesions_text'] != null ) {
575 echo "<span class='text'>(${data['heent_mouth_lesions_text']})</span>";
582 if ( ($data["heent_dysphagia"] != "N/A" && $data["heent_dysphagia"] != "" && $data["heent_dysphagia"] != "--") ||
( $data["heent_dysphagia_text"] != "" && $data["heent_dysphagia_text"] != null ) ) {
585 echo "<span class='text'>Dysphagia:<span>";
588 echo "<span class='text'>${data['heent_dysphagia']}</span>";
591 if ( $data['heent_dysphagia_text'] != null ) {
592 echo "<span class='text'>(${data['heent_dysphagia_text']})</span>";
599 if ( ($data["heent_odynophagia"] != "N/A" && $data["heent_odynophagia"] != "" && $data["heent_odynophagia"] != "--") ||
( $data["heent_odynophagia_text"] != "" && $data["heent_odynophagia_text"] != null ) ) {
602 echo "<span class='text'>Odynophagia:<span>";
605 echo "<span class='text'>${data['heent_odynophagia']}</span>";
608 if ( $data['heent_odynophagia_text'] != null ) {
609 echo "<span class='text'>(${data['heent_odynophagia_text']})</span>";
616 if ( ($data["heent_dental_pain"] != "N/A" && $data["heent_dental_pain"] != "" && $data["heent_dental_pain"] != "--") ||
( $data["heent_dental_pain_text"] != "" && $data["heent_dental_pain_text"] != null ) ) {
619 echo "<span class='text'>dental pain:<span>";
622 echo "<span class='text'>${data['heent_dental_pain']}</span>";
625 if ( $data['heent_dental_pain_text'] != null ) {
626 echo "<span class='text'>(${data['heent_dental_pain_text']})</span>";
633 if ( ($data["heent_sore_throat"] != "N/A" && $data["heent_sore_throat"] != "" && $data["heent_sore_throat"] != "--") ||
( $data["heent_sore_throat_text"] != "" && $data["heent_sore_throat_text"] != null ) ) {
636 echo "<span class='text'>sore throat:<span>";
639 echo "<span class='text'>${data['heent_sore_throat']}</span>";
642 if ( $data['heent_sore_throat_text'] != null ) {
643 echo "<span class='text'>(${data['heent_sore_throat_text']})</span>";
650 if ( ($data["heent_ear_pain"] != "N/A" && $data["heent_ear_pain"] != "" && $data["heent_ear_pain"] != "--") ||
( $data["heent_ear_pain_text"] != "" && $data["heent_ear_pain_text"] != null ) ) {
653 echo "<span class='text'>ear pain:<span>";
656 echo "<span class='text'>${data['heent_ear_pain']}</span>";
659 if ( $data['heent_ear_pain_text'] != null ) {
660 echo "<span class='text'>(${data['heent_ear_pain_text']})</span>";
667 if ( ($data["heent_ear_discharge"] != "N/A" && $data["heent_ear_discharge"] != "" && $data["heent_ear_discharge"] != "--") ||
( $data["heent_ear_discharge_text"] != "" && $data["heent_ear_discharge_text"] != null ) ) {
670 echo "<span class='text'>ear discharge:<span>";
673 echo "<span class='text'>${data['heent_ear_discharge']}</span>";
676 if ( $data['heent_ear_discharge_text'] != null ) {
677 echo "<span class='text'>(${data['heent_ear_discharge_text']})</span>";
684 if ( ($data["heent_tinnitus"] != "N/A" && $data["heent_tinnitus"] != "" && $data["heent_tinnitus"] != "--") ||
( $data["heent_tinnitus_text"] != "" && $data["heent_tinnitus_text"] != null ) ) {
687 echo "<span class='text'>tinnitus:<span>";
690 echo "<span class='text'>${data['heent_tinnitus']}</span>";
693 if ( $data['heent_tinnitus_text'] != null ) {
694 echo "<span class='text'>(${data['heent_tinnitus_text']})</span>";
701 if ( ($data["heent_hearing_loss"] != "N/A" && $data["heent_hearing_loss"] != "" && $data["heent_hearing_loss"] != "--") ||
( $data["heent_hearing_loss_text"] != "" && $data["heent_hearing_loss_text"] != null ) ) {
704 echo "<span class='text'>hearing loss:<span>";
707 echo "<span class='text'>${data['heent_hearing_loss']}</span>";
710 if ( $data['heent_hearing_loss_text'] != null ) {
711 echo "<span class='text'>(${data['heent_hearing_loss_text']})</span>";
718 if ( ($data["heent_allergic_rhinitis"] != "N/A" && $data["heent_allergic_rhinitis"] != "" && $data["heent_allergic_rhinitis"] != "--") ||
( $data["heent_allergic_rhinitis_text"] != "" && $data["heent_allergic_rhinitis_text"] != null ) ) {
721 echo "<span class='text'>Allergic Rhinitis:<span>";
724 echo "<span class='text'>${data['heent_allergic_rhinitis']}</span>";
727 if ( $data['heent_allergic_rhinitis_text'] != null ) {
728 echo "<span class='text'>(${data['heent_allergic_rhinitis_text']})</span>";
735 if ( ($data["heent_nasal_congestion"] != "N/A" && $data["heent_nasal_congestion"] != "" && $data["heent_nasal_congestion"] != "--") ||
( $data["heent_nasal_congestion_text"] != "" && $data["heent_nasal_congestion_text"] != null ) ) {
738 echo "<span class='text'>Nasal Congestion:<span>";
741 echo "<span class='text'>${data['heent_nasal_congestion']}</span>";
744 if ( $data['heent_nasal_congestion_text'] != null ) {
745 echo "<span class='text'>(${data['heent_nasal_congestion_text']})</span>";
752 if ( ($data["heent_nasal_discharge"] != "N/A" && $data["heent_nasal_discharge"] != "" && $data["heent_nasal_discharge"] != "--") ||
( $data["heent_nasal_discharge_text"] != "" && $data["heent_nasal_discharge_text"] != null ) ) {
755 echo "<span class='text'>Nasal Discharge:<span>";
758 echo "<span class='text'>${data['heent_nasal_discharge']}</span>";
761 if ( $data['heent_nasal_discharge_text'] != null ) {
762 echo "<span class='text'>(${data['heent_nasal_discharge_text']})</span>";
769 if ( ($data["heent_nasal_injury"] != "N/A" && $data["heent_nasal_injury"] != "" && $data["heent_nasal_injury"] != "--") ||
( $data["heent_nasal_injury_text"] != "" && $data["heent_nasal_injury_text"] != null ) ) {
772 echo "<span class='text'>Nasal Injury:<span>";
775 echo "<span class='text'>${data['heent_nasal_injury']}</span>";
778 if ( $data['heent_nasal_injury_text'] != null ) {
779 echo "<span class='text'>(${data['heent_nasal_injury_text']})</span>";
786 if ( ($data["heent_nasal_surgery"] != "N/A" && $data["heent_nasal_surgery"] != "" && $data["heent_nasal_surgery"] != "--") ||
( $data["heent_nasal_surgery_text"] != "" && $data["heent_nasal_surgery_text"] != null ) ) {
789 echo "<span class='text'>Nasal Surgery:<span>";
792 echo "<span class='text'>${data['heent_nasal_surgery']}</span>";
795 if ( $data['heent_nasal_surgery_text'] != null ) {
796 echo "<span class='text'>(${data['heent_nasal_surgery_text']})</span>";
803 if ( ($data["heent_nose_bleeds"] != "N/A" && $data["heent_nose_bleeds"] != "" && $data["heent_nose_bleeds"] != "--") ||
( $data["heent_nose_bleeds_text"] != "" && $data["heent_nose_bleeds_text"] != null ) ) {
806 echo "<span class='text'>Nose Bleeds:<span>";
809 echo "<span class='text'>${data['heent_nose_bleeds']}</span>";
812 if ( $data['heent_nose_bleeds_text'] != null ) {
813 echo "<span class='text'>(${data['heent_nose_bleeds_text']})</span>";
820 if ( ($data["heent_post_nasal_drip"] != "N/A" && $data["heent_post_nasal_drip"] != "" && $data["heent_post_nasal_drip"] != "--") ||
( $data["heent_post_nasal_drip_text"] != "" && $data["heent_post_nasal_drip_text"] != null ) ) {
823 echo "<span class='text'>post nasal drip:<span>";
826 echo "<span class='text'>${data['heent_post_nasal_drip']}</span>";
829 if ( $data['heent_post_nasal_drip_text'] != null ) {
830 echo "<span class='text'>(${data['heent_post_nasal_drip_text']})</span>";
837 if ( ($data["heent_sinus_pressure"] != "N/A" && $data["heent_sinus_pressure"] != "" && $data["heent_sinus_pressure"] != "--") ||
( $data["heent_sinus_pressure_text"] != "" && $data["heent_sinus_pressure_text"] != null ) ) {
840 echo "<span class='text'>sinus pressure:<span>";
843 echo "<span class='text'>${data['heent_sinus_pressure']}</span>";
846 if ( $data['heent_sinus_pressure_text'] != null ) {
847 echo "<span class='text'>(${data['heent_sinus_pressure_text']})</span>";
854 if ( ($data["heent_sinus_pain"] != "N/A" && $data["heent_sinus_pain"] != "" && $data["heent_sinus_pain"] != "--") ||
( $data["heent_sinus_pain_text"] != "" && $data["heent_sinus_pain_text"] != null ) ) {
857 echo "<span class='text'>sinus pain:<span>";
860 echo "<span class='text'>${data['heent_sinus_pain']}</span>";
863 if ( $data['heent_sinus_pain_text'] != null ) {
864 echo "<span class='text'>(${data['heent_sinus_pain_text']})</span>";
871 if ( ($data["heent_headache"] != "N/A" && $data["heent_headache"] != "" && $data["heent_headache"] != "--") ||
( $data["heent_headache_text"] != "" && $data["heent_headache_text"] != null ) ) {
874 echo "<span class='text'>headache:<span>";
877 echo "<span class='text'>${data['heent_headache']}</span>";
880 if ( $data['heent_headache_text'] != null ) {
881 echo "<span class='text'>(${data['heent_headache_text']})</span>";
888 if ( ($data["heent_eye_pain"] != "N/A" && $data["heent_eye_pain"] != "" && $data["heent_eye_pain"] != "--") ||
( $data["heent_eye_pain_text"] != "" && $data["heent_eye_pain_text"] != null ) ) {
891 echo "<span class='text'>eye pain:<span>";
894 echo "<span class='text'>${data['heent_eye_pain']}</span>";
897 if ( $data['heent_eye_pain_text'] != null ) {
898 echo "<span class='text'>(${data['heent_eye_pain_text']})</span>";
905 if ( ($data["heent_eye_redness"] != "N/A" && $data["heent_eye_redness"] != "" && $data["heent_eye_redness"] != "--") ||
( $data["heent_eye_redness_text"] != "" && $data["heent_eye_redness_text"] != null ) ) {
908 echo "<span class='text'>eye redness:<span>";
911 echo "<span class='text'>${data['heent_eye_redness']}</span>";
914 if ( $data['heent_eye_redness_text'] != null ) {
915 echo "<span class='text'>(${data['heent_eye_redness_text']})</span>";
922 if ( ($data["heent_visual_changes"] != "N/A" && $data["heent_visual_changes"] != "" && $data["heent_visual_changes"] != "--") ||
( $data["heent_visual_changes_text"] != "" && $data["heent_visual_changes_text"] != null ) ) {
925 echo "<span class='text'>visual changes:<span>";
928 echo "<span class='text'>${data['heent_visual_changes']}</span>";
931 if ( $data['heent_visual_changes_text'] != null ) {
932 echo "<span class='text'>(${data['heent_visual_changes_text']})</span>";
939 if ( ($data["heent_blurry_vision"] != "N/A" && $data["heent_blurry_vision"] != "" && $data["heent_blurry_vision"] != "--") ||
( $data["heent_blurry_vision_text"] != "" && $data["heent_blurry_vision_text"] != null ) ) {
942 echo "<span class='text'>blurry vision:<span>";
945 echo "<span class='text'>${data['heent_blurry_vision']}</span>";
948 if ( $data['heent_blurry_vision_text'] != null ) {
949 echo "<span class='text'>(${data['heent_blurry_vision_text']})</span>";
956 if ( ($data["heent_eye_discharge"] != "N/A" && $data["heent_eye_discharge"] != "" && $data["heent_eye_discharge"] != "--") ||
( $data["heent_eye_discharge_text"] != "" && $data["heent_eye_discharge_text"] != null ) ) {
959 echo "<span class='text'>Eye Discharge:<span>";
962 echo "<span class='text'>${data['heent_eye_discharge']}</span>";
965 if ( $data['heent_eye_discharge_text'] != null ) {
966 echo "<span class='text'>(${data['heent_eye_discharge_text']})</span>";
973 if ( ($data["heent_eye_glasses_contacts"] != "N/A" && $data["heent_eye_glasses_contacts"] != "" && $data["heent_eye_glasses_contacts"] != "--") ||
( $data["heent_eye_glasses_contacts_text"] != "" && $data["heent_eye_glasses_contacts_text"] != null ) ) {
976 echo "<span class='text'>Eye Glasses/ Contacts:<span>";
979 echo "<span class='text'>${data['heent_eye_glasses_contacts']}</span>";
982 if ( $data['heent_eye_glasses_contacts_text'] != null ) {
983 echo "<span class='text'>(${data['heent_eye_glasses_contacts_text']})</span>";
990 if ( ($data["heent_excess_tearing"] != "N/A" && $data["heent_excess_tearing"] != "" && $data["heent_excess_tearing"] != "--") ||
( $data["heent_excess_tearing_text"] != "" && $data["heent_excess_tearing_text"] != null ) ) {
993 echo "<span class='text'>Excess Tearing:<span>";
996 echo "<span class='text'>${data['heent_excess_tearing']}</span>";
999 if ( $data['heent_excess_tearing_text'] != null ) {
1000 echo "<span class='text'>(${data['heent_excess_tearing_text']})</span>";
1007 if ( ($data["heent_photophobia"] != "N/A" && $data["heent_photophobia"] != "" && $data["heent_photophobia"] != "--") ||
( $data["heent_photophobia_text"] != "" && $data["heent_photophobia_text"] != null ) ) {
1010 echo "<span class='text'>Photophobia:<span>";
1013 echo "<span class='text'>${data['heent_photophobia']}</span>";
1016 if ( $data['heent_photophobia_text'] != null ) {
1017 echo "<span class='text'>(${data['heent_photophobia_text']})</span>";
1024 if ( ($data["heent_scotomata"] != "N/A" && $data["heent_scotomata"] != "" && $data["heent_scotomata"] != "--") ||
( $data["heent_scotomata_text"] != "" && $data["heent_scotomata_text"] != null ) ) {
1027 echo "<span class='text'>Scotomata:<span>";
1030 echo "<span class='text'>${data['heent_scotomata']}</span>";
1033 if ( $data['heent_scotomata_text'] != null ) {
1034 echo "<span class='text'>(${data['heent_scotomata_text']})</span>";
1041 if ( ($data["heent_tunnel_vision"] != "N/A" && $data["heent_tunnel_vision"] != "" && $data["heent_tunnel_vision"] != "--") ||
( $data["heent_tunnel_vision_text"] != "" && $data["heent_tunnel_vision_text"] != null ) ) {
1044 echo "<span class='text'>Tunnel vision:<span>";
1047 echo "<span class='text'>${data['heent_tunnel_vision']}</span>";
1050 if ( $data['heent_tunnel_vision_text'] != null ) {
1051 echo "<span class='text'>(${data['heent_tunnel_vision_text']})</span>";
1058 if ( ($data["heent_glaucoma"] != "N/A" && $data["heent_glaucoma"] != "" && $data["heent_glaucoma"] != "--") ||
( $data["heent_glaucoma_text"] != "" && $data["heent_glaucoma_text"] != null ) ) {
1061 echo "<span class='text'>Glaucoma:<span>";
1064 echo "<span class='text'>${data['heent_glaucoma']}</span>";
1067 if ( $data['heent_glaucoma_text'] != null ) {
1068 echo "<span class='text'>(${data['heent_glaucoma_text']})</span>";
1075 echo "<tr><td colspan='3'><span class='bold'><u>CARDIOVASCULAR: </u></span></td></tr>";
1076 if ( ($data["cardiovascular_sub_sternal_or_left_chest_pain"] != "N/A" && $data["cardiovascular_sub_sternal_or_left_chest_pain"] != "" && $data["cardiovascular_sub_sternal_or_left_chest_pain"] != "--") ||
( $data["cardiovascular_sub_sternal_or_left_chest_pain_text"] != "" && $data["cardiovascular_sub_sternal_or_left_chest_pain_text"] != null ) ) {
1079 echo "<span class='text'>sub sternal or left chest pain:<span>";
1082 echo "<span class='text'>${data['cardiovascular_sub_sternal_or_left_chest_pain']}</span>";
1085 if ( $data['cardiovascular_sub_sternal_or_left_chest_pain_text'] != null ) {
1086 echo "<span class='text'>(${data['cardiovascular_sub_sternal_or_left_chest_pain_text']})</span>";
1093 if ( ($data["cardiovascular_other_chest_pain"] != "N/A" && $data["cardiovascular_other_chest_pain"] != "" && $data["cardiovascular_other_chest_pain"] != "--") ||
( $data["cardiovascular_other_chest_pain_text"] != "" && $data["cardiovascular_other_chest_pain_text"] != null ) ) {
1096 echo "<span class='text'>other chest pain:<span>";
1099 echo "<span class='text'>${data['cardiovascular_other_chest_pain']}</span>";
1102 if ( $data['cardiovascular_other_chest_pain_text'] != null ) {
1103 echo "<span class='text'>(${data['cardiovascular_other_chest_pain_text']})</span>";
1110 if ( ($data["cardiovascular_palpitations"] != "N/A" && $data["cardiovascular_palpitations"] != "" && $data["cardiovascular_palpitations"] != "--") ||
( $data["cardiovascular_palpitations_text"] != "" && $data["cardiovascular_palpitations_text"] != null ) ) {
1113 echo "<span class='text'>palpitations:<span>";
1116 echo "<span class='text'>${data['cardiovascular_palpitations']}</span>";
1119 if ( $data['cardiovascular_palpitations_text'] != null ) {
1120 echo "<span class='text'>(${data['cardiovascular_palpitations_text']})</span>";
1127 if ( ($data["cardiovascular_irregular_rhythm"] != "N/A" && $data["cardiovascular_irregular_rhythm"] != "" && $data["cardiovascular_irregular_rhythm"] != "--") ||
( $data["cardiovascular_irregular_rhythm_text"] != "" && $data["cardiovascular_irregular_rhythm_text"] != null ) ) {
1130 echo "<span class='text'>irregular rhythm:<span>";
1133 echo "<span class='text'>${data['cardiovascular_irregular_rhythm']}</span>";
1136 if ( $data['cardiovascular_irregular_rhythm_text'] != null ) {
1137 echo "<span class='text'>(${data['cardiovascular_irregular_rhythm_text']})</span>";
1144 if ( ($data["cardiovascular_jugular_vein_distention"] != "N/A" && $data["cardiovascular_jugular_vein_distention"] != "" && $data["cardiovascular_jugular_vein_distention"] != "--") ||
( $data["cardiovascular_jugular_vein_distention_text"] != "" && $data["cardiovascular_jugular_vein_distention_text"] != null ) ) {
1147 echo "<span class='text'>jugular vein distention:<span>";
1150 echo "<span class='text'>${data['cardiovascular_jugular_vein_distention']}</span>";
1153 if ( $data['cardiovascular_jugular_vein_distention_text'] != null ) {
1154 echo "<span class='text'>(${data['cardiovascular_jugular_vein_distention_text']})</span>";
1161 if ( ($data["cardiovascular_claudication"] != "N/A" && $data["cardiovascular_claudication"] != "" && $data["cardiovascular_claudication"] != "--") ||
( $data["cardiovascular_claudication_text"] != "" && $data["cardiovascular_claudication_text"] != null ) ) {
1164 echo "<span class='text'>Claudication:<span>";
1167 echo "<span class='text'>${data['cardiovascular_claudication']}</span>";
1170 if ( $data['cardiovascular_claudication_text'] != null ) {
1171 echo "<span class='text'>(${data['cardiovascular_claudication_text']})</span>";
1178 if ( ($data["cardiovascular_dizziness"] != "N/A" && $data["cardiovascular_dizziness"] != "" && $data["cardiovascular_dizziness"] != "--") ||
( $data["cardiovascular_dizziness_text"] != "" && $data["cardiovascular_dizziness_text"] != null ) ) {
1181 echo "<span class='text'>Dizziness:<span>";
1184 echo "<span class='text'>${data['cardiovascular_dizziness']}</span>";
1187 if ( $data['cardiovascular_dizziness_text'] != null ) {
1188 echo "<span class='text'>(${data['cardiovascular_dizziness_text']})</span>";
1195 if ( ($data["cardiovascular_dyspnea_on_exertion"] != "N/A" && $data["cardiovascular_dyspnea_on_exertion"] != "" && $data["cardiovascular_dyspnea_on_exertion"] != "--") ||
( $data["cardiovascular_dyspnea_on_exertion_text"] != "" && $data["cardiovascular_dyspnea_on_exertion_text"] != null ) ) {
1198 echo "<span class='text'>Dyspnea on Exertion:<span>";
1201 echo "<span class='text'>${data['cardiovascular_dyspnea_on_exertion']}</span>";
1204 if ( $data['cardiovascular_dyspnea_on_exertion_text'] != null ) {
1205 echo "<span class='text'>(${data['cardiovascular_dyspnea_on_exertion_text']})</span>";
1212 if ( ($data["cardiovascular_orthopnea"] != "N/A" && $data["cardiovascular_orthopnea"] != "" && $data["cardiovascular_orthopnea"] != "--") ||
( $data["cardiovascular_orthopnea_text"] != "" && $data["cardiovascular_orthopnea_text"] != null ) ) {
1215 echo "<span class='text'>Orthopnea:<span>";
1218 echo "<span class='text'>${data['cardiovascular_orthopnea']}</span>";
1221 if ( $data['cardiovascular_orthopnea_text'] != null ) {
1222 echo "<span class='text'>(${data['cardiovascular_orthopnea_text']})</span>";
1229 if ( ($data["cardiovascular_noctural_dyspnea"] != "N/A" && $data["cardiovascular_noctural_dyspnea"] != "" && $data["cardiovascular_noctural_dyspnea"] != "--") ||
( $data["cardiovascular_noctural_dyspnea_text"] != "" && $data["cardiovascular_noctural_dyspnea_text"] != null ) ) {
1232 echo "<span class='text'>Noctural Dyspnea:<span>";
1235 echo "<span class='text'>${data['cardiovascular_noctural_dyspnea']}</span>";
1238 if ( $data['cardiovascular_noctural_dyspnea_text'] != null ) {
1239 echo "<span class='text'>(${data['cardiovascular_noctural_dyspnea_text']})</span>";
1246 if ( ($data["cardiovascular_edema"] != "N/A" && $data["cardiovascular_edema"] != "" && $data["cardiovascular_edema"] != "--") ||
( $data["cardiovascular_edema_text"] != "" && $data["cardiovascular_edema_text"] != null ) ) {
1249 echo "<span class='text'>Edema:<span>";
1252 echo "<span class='text'>${data['cardiovascular_edema']}</span>";
1255 if ( $data['cardiovascular_edema_text'] != null ) {
1256 echo "<span class='text'>(${data['cardiovascular_edema_text']})</span>";
1263 if ( ($data["cardiovascular_presyncope"] != "N/A" && $data["cardiovascular_presyncope"] != "" && $data["cardiovascular_presyncope"] != "--") ||
( $data["cardiovascular_presyncope_text"] != "" && $data["cardiovascular_presyncope_text"] != null ) ) {
1266 echo "<span class='text'>Presyncope:<span>";
1269 echo "<span class='text'>${data['cardiovascular_presyncope']}</span>";
1272 if ( $data['cardiovascular_presyncope_text'] != null ) {
1273 echo "<span class='text'>(${data['cardiovascular_presyncope_text']})</span>";
1280 if ( ($data["cardiovascular_syncope"] != "N/A" && $data["cardiovascular_syncope"] != "" && $data["cardiovascular_syncope"] != "--") ||
( $data["cardiovascular_syncope_text"] != "" && $data["cardiovascular_syncope_text"] != null ) ) {
1283 echo "<span class='text'>Syncope:<span>";
1286 echo "<span class='text'>${data['cardiovascular_syncope']}</span>";
1289 if ( $data['cardiovascular_syncope_text'] != null ) {
1290 echo "<span class='text'>(${data['cardiovascular_syncope_text']})</span>";
1297 if ( ($data["cardiovascular_heart_murmur"] != "N/A" && $data["cardiovascular_heart_murmur"] != "" && $data["cardiovascular_heart_murmur"] != "--") ||
( $data["cardiovascular_heart_murmur_text"] != "" && $data["cardiovascular_heart_murmur_text"] != null ) ) {
1300 echo "<span class='text'>Heart Murmur:<span>";
1303 echo "<span class='text'>${data['cardiovascular_heart_murmur']}</span>";
1306 if ( $data['cardiovascular_heart_murmur_text'] != null ) {
1307 echo "<span class='text'>(${data['cardiovascular_heart_murmur_text']})</span>";
1314 if ( ($data["cardiovascular_raynauds"] != "N/A" && $data["cardiovascular_raynauds"] != "" && $data["cardiovascular_raynauds"] != "--") ||
( $data["cardiovascular_raynauds_text"] != "" && $data["cardiovascular_raynauds_text"] != null ) ) {
1317 echo "<span class='text'>Raynauds:<span>";
1320 echo "<span class='text'>${data['cardiovascular_raynauds']}</span>";
1323 if ( $data['cardiovascular_raynauds_text'] != null ) {
1324 echo "<span class='text'>(${data['cardiovascular_raynauds_text']})</span>";
1331 if ( ($data["cardiovascular_severe_varicose_veins"] != "N/A" && $data["cardiovascular_severe_varicose_veins"] != "" && $data["cardiovascular_severe_varicose_veins"] != "--") ||
( $data["cardiovascular_severe_varicose_veins_text"] != "" && $data["cardiovascular_severe_varicose_veins_text"] != null ) ) {
1334 echo "<span class='text'>Severe Varicose Veins:<span>";
1337 echo "<span class='text'>${data['cardiovascular_severe_varicose_veins']}</span>";
1340 if ( $data['cardiovascular_severe_varicose_veins_text'] != null ) {
1341 echo "<span class='text'>(${data['cardiovascular_severe_varicose_veins_text']})</span>";
1348 if ( ($data["cardiovascular_deep_vein_thrombosis"] != "N/A" && $data["cardiovascular_deep_vein_thrombosis"] != "" && $data["cardiovascular_deep_vein_thrombosis"] != "--") ||
( $data["cardiovascular_deep_vein_thrombosis_text"] != "" && $data["cardiovascular_deep_vein_thrombosis_text"] != null ) ) {
1351 echo "<span class='text'>Deep Vein Thrombosis:<span>";
1354 echo "<span class='text'>${data['cardiovascular_deep_vein_thrombosis']}</span>";
1357 if ( $data['cardiovascular_deep_vein_thrombosis_text'] != null ) {
1358 echo "<span class='text'>(${data['cardiovascular_deep_vein_thrombosis_text']})</span>";
1365 if ( ($data["cardiovascular_thrombophlebitis"] != "N/A" && $data["cardiovascular_thrombophlebitis"] != "" && $data["cardiovascular_thrombophlebitis"] != "--") ||
( $data["cardiovascular_thrombophlebitis_text"] != "" && $data["cardiovascular_thrombophlebitis_text"] != null ) ) {
1368 echo "<span class='text'>Thrombophlebitis:<span>";
1371 echo "<span class='text'>${data['cardiovascular_thrombophlebitis']}</span>";
1374 if ( $data['cardiovascular_thrombophlebitis_text'] != null ) {
1375 echo "<span class='text'>(${data['cardiovascular_thrombophlebitis_text']})</span>";
1382 echo "<tr><td colspan='3'><span class='bold'><u>RESPIRATIONS:</u></span></td></tr>";
1383 if ( ($data["respirations_cough"] != "N/A" && $data["respirations_cough"] != "" && $data["respirations_cough"] != "--") ||
( $data["respirations_cough_text"] != "" && $data["respirations_cough_text"] != null ) ) {
1386 echo "<span class='text'>cough:<span>";
1389 echo "<span class='text'>${data['respirations_cough']}</span>";
1392 if ( $data['respirations_cough_text'] != null ) {
1393 echo "<span class='text'>(${data['respirations_cough_text']})</span>";
1400 if ( ($data["respirations_sputum"] != "N/A" && $data["respirations_sputum"] != "" && $data["respirations_sputum"] != "--") ||
( $data["respirations_sputum_text"] != "" && $data["respirations_sputum_text"] != null ) ) {
1403 echo "<span class='text'>sputum:<span>";
1406 echo "<span class='text'>${data['respirations_sputum']}</span>";
1409 if ( $data['respirations_sputum_text'] != null ) {
1410 echo "<span class='text'>(${data['respirations_sputum_text']})</span>";
1417 if ( ($data["respirations_dyspnea"] != "N/A" && $data["respirations_dyspnea"] != "" && $data["respirations_dyspnea"] != "--") ||
( $data["respirations_dyspnea_text"] != "" && $data["respirations_dyspnea_text"] != null ) ) {
1420 echo "<span class='text'>dyspnea:<span>";
1423 echo "<span class='text'>${data['respirations_dyspnea']}</span>";
1426 if ( $data['respirations_dyspnea_text'] != null ) {
1427 echo "<span class='text'>(${data['respirations_dyspnea_text']})</span>";
1434 if ( ($data["respirations_wheezes"] != "N/A" && $data["respirations_wheezes"] != "" && $data["respirations_wheezes"] != "--") ||
( $data["respirations_wheezes_text"] != "" && $data["respirations_wheezes_text"] != null ) ) {
1437 echo "<span class='text'>wheezes:<span>";
1440 echo "<span class='text'>${data['respirations_wheezes']}</span>";
1443 if ( $data['respirations_wheezes_text'] != null ) {
1444 echo "<span class='text'>(${data['respirations_wheezes_text']})</span>";
1451 if ( ($data["respirations_rales"] != "N/A" && $data["respirations_rales"] != "" && $data["respirations_rales"] != "--") ||
( $data["respirations_rales_text"] != "" && $data["respirations_rales_text"] != null ) ) {
1454 echo "<span class='text'>rales:<span>";
1457 echo "<span class='text'>${data['respirations_rales']}</span>";
1460 if ( $data['respirations_rales_text'] != null ) {
1461 echo "<span class='text'>(${data['respirations_rales_text']})</span>";
1468 if ( ($data["respirations_labored_breathing"] != "N/A" && $data["respirations_labored_breathing"] != "" && $data["respirations_labored_breathing"] != "--") ||
( $data["respirations_labored_breathing_text"] != "" && $data["respirations_labored_breathing_text"] != null ) ) {
1471 echo "<span class='text'>labored breathing:<span>";
1474 echo "<span class='text'>${data['respirations_labored_breathing']}</span>";
1477 if ( $data['respirations_labored_breathing_text'] != null ) {
1478 echo "<span class='text'>(${data['respirations_labored_breathing_text']})</span>";
1485 if ( ($data["respirations_hemoptysis"] != "N/A" && $data["respirations_hemoptysis"] != "" && $data["respirations_hemoptysis"] != "--") ||
( $data["respirations_hemoptysis_text"] != "" && $data["respirations_hemoptysis_text"] != null ) ) {
1488 echo "<span class='text'>Hemoptysis:<span>";
1491 echo "<span class='text'>${data['respirations_hemoptysis']}</span>";
1494 if ( $data['respirations_hemoptysis_text'] != null ) {
1495 echo "<span class='text'>(${data['respirations_hemoptysis_text']})</span>";
1502 echo "<tr><td colspan='3'><span class='bold'><u>GU</u></span></td></tr>";
1503 if ( ($data["gu_frequent_urination"] != "N/A" && $data["gu_frequent_urination"] != "" && $data["gu_frequent_urination"] != "--") ||
( $data["gu_frequent_urination_text"] != "" && $data["gu_frequent_urination_text"] != null ) ) {
1506 echo "<span class='text'>frequent urination:<span>";
1509 echo "<span class='text'>${data['gu_frequent_urination']}</span>";
1512 if ( $data['gu_frequent_urination_text'] != null ) {
1513 echo "<span class='text'>(${data['gu_frequent_urination_text']})</span>";
1520 if ( ($data["gu_dysuria"] != "N/A" && $data["gu_dysuria"] != "" && $data["gu_dysuria"] != "--") ||
( $data["gu_dysuria_text"] != "" && $data["gu_dysuria_text"] != null ) ) {
1523 echo "<span class='text'>dysuria:<span>";
1526 echo "<span class='text'>${data['gu_dysuria']}</span>";
1529 if ( $data['gu_dysuria_text'] != null ) {
1530 echo "<span class='text'>(${data['gu_dysuria_text']})</span>";
1537 if ( ($data["gu_dyspareunia"] != "N/A" && $data["gu_dyspareunia"] != "" && $data["gu_dyspareunia"] != "--") ||
( $data["gu_dyspareunia_text"] != "" && $data["gu_dyspareunia_text"] != null ) ) {
1540 echo "<span class='text'>dyspareunia:<span>";
1543 echo "<span class='text'>${data['gu_dyspareunia']}</span>";
1546 if ( $data['gu_dyspareunia_text'] != null ) {
1547 echo "<span class='text'>(${data['gu_dyspareunia_text']})</span>";
1554 if ( ($data["gu_discharge"] != "N/A" && $data["gu_discharge"] != "" && $data["gu_discharge"] != "--") ||
( $data["gu_discharge_text"] != "" && $data["gu_discharge_text"] != null ) ) {
1557 echo "<span class='text'>discharge:<span>";
1560 echo "<span class='text'>${data['gu_discharge']}</span>";
1563 if ( $data['gu_discharge_text'] != null ) {
1564 echo "<span class='text'>(${data['gu_discharge_text']})</span>";
1571 if ( ($data["gu_odor"] != "N/A" && $data["gu_odor"] != "" && $data["gu_odor"] != "--") ||
( $data["gu_odor_text"] != "" && $data["gu_odor_text"] != null ) ) {
1574 echo "<span class='text'>odor:<span>";
1577 echo "<span class='text'>${data['gu_odor']}</span>";
1580 if ( $data['gu_odor_text'] != null ) {
1581 echo "<span class='text'>(${data['gu_odor_text']})</span>";
1588 if ( ($data["gu_fertility_problems"] != "N/A" && $data["gu_fertility_problems"] != "" && $data["gu_fertility_problems"] != "--") ||
( $data["gu_fertility_problems_text"] != "" && $data["gu_fertility_problems_text"] != null ) ) {
1591 echo "<span class='text'>fertility problems:<span>";
1594 echo "<span class='text'>${data['gu_fertility_problems']}</span>";
1597 if ( $data['gu_fertility_problems_text'] != null ) {
1598 echo "<span class='text'>(${data['gu_fertility_problems_text']})</span>";
1605 if ( ($data["gu_flank_pain_kidney_stone"] != "N/A" && $data["gu_flank_pain_kidney_stone"] != "" && $data["gu_flank_pain_kidney_stone"] != "--") ||
( $data["gu_flank_pain_kidney_stone_text"] != "" && $data["gu_flank_pain_kidney_stone_text"] != null ) ) {
1608 echo "<span class='text'>Flank Pain Kidney Stone:<span>";
1611 echo "<span class='text'>${data['gu_flank_pain_kidney_stone']}</span>";
1614 if ( $data['gu_flank_pain_kidney_stone_text'] != null ) {
1615 echo "<span class='text'>(${data['gu_flank_pain_kidney_stone_text']})</span>";
1622 if ( ($data["gu_polyuria"] != "N/A" && $data["gu_polyuria"] != "" && $data["gu_polyuria"] != "--") ||
( $data["gu_polyuria_text"] != "" && $data["gu_polyuria_text"] != null ) ) {
1625 echo "<span class='text'>Polyuria:<span>";
1628 echo "<span class='text'>${data['gu_polyuria']}</span>";
1631 if ( $data['gu_polyuria_text'] != null ) {
1632 echo "<span class='text'>(${data['gu_polyuria_text']})</span>";
1639 if ( ($data["gu_hematuria"] != "N/A" && $data["gu_hematuria"] != "" && $data["gu_hematuria"] != "--") ||
( $data["gu_hematuria_text"] != "" && $data["gu_hematuria_text"] != null ) ) {
1642 echo "<span class='text'>Hematuria:<span>";
1645 echo "<span class='text'>${data['gu_hematuria']}</span>";
1648 if ( $data['gu_hematuria_text'] != null ) {
1649 echo "<span class='text'>(${data['gu_hematuria_text']})</span>";
1656 if ( ($data["gu_pyuria"] != "N/A" && $data["gu_pyuria"] != "" && $data["gu_pyuria"] != "--") ||
( $data["gu_pyuria_text"] != "" && $data["gu_pyuria_text"] != null ) ) {
1659 echo "<span class='text'>Pyuria:<span>";
1662 echo "<span class='text'>${data['gu_pyuria']}</span>";
1665 if ( $data['gu_pyuria_text'] != null ) {
1666 echo "<span class='text'>(${data['gu_pyuria_text']})</span>";
1673 if ( ($data["gu_umbilical_hernia"] != "N/A" && $data["gu_umbilical_hernia"] != "" && $data["gu_umbilical_hernia"] != "--") ||
( $data["gu_umbilical_hernia_text"] != "" && $data["gu_umbilical_hernia_text"] != null ) ) {
1676 echo "<span class='text'>Umbilical Hernia:<span>";
1679 echo "<span class='text'>${data['gu_umbilical_hernia']}</span>";
1682 if ( $data['gu_umbilical_hernia_text'] != null ) {
1683 echo "<span class='text'>(${data['gu_umbilical_hernia_text']})</span>";
1690 if ( ($data["gu_incontinence"] != "N/A" && $data["gu_incontinence"] != "" && $data["gu_incontinence"] != "--") ||
( $data["gu_incontinence_text"] != "" && $data["gu_incontinence_text"] != null ) ) {
1693 echo "<span class='text'>Incontinence:<span>";
1696 echo "<span class='text'>${data['gu_incontinence']}</span>";
1699 if ( $data['gu_incontinence_text'] != null ) {
1700 echo "<span class='text'>(${data['gu_incontinence_text']})</span>";
1707 if ( ($data["gu_nocturia"] != "N/A" && $data["gu_nocturia"] != "" && $data["gu_nocturia"] != "--") ||
( $data["gu_nocturia_text"] != "" && $data["gu_nocturia_text"] != null ) ) {
1710 echo "<span class='text'>Nocturia:<span>";
1713 echo "<span class='text'>${data['gu_nocturia']}</span>";
1716 if ( $data['gu_nocturia_text'] != null ) {
1717 echo "<span class='text'>(${data['gu_nocturia_text']})</span>";
1724 if ( ($data["gu_urinary_urgency"] != "N/A" && $data["gu_urinary_urgency"] != "" && $data["gu_urinary_urgency"] != "--") ||
( $data["gu_urinary_urgency_text"] != "" && $data["gu_urinary_urgency_text"] != null ) ) {
1727 echo "<span class='text'>Urinary Urgency:<span>";
1730 echo "<span class='text'>${data['gu_urinary_urgency']}</span>";
1733 if ( $data['gu_urinary_urgency_text'] != null ) {
1734 echo "<span class='text'>(${data['gu_urinary_urgency_text']})</span>";
1741 if ( ($data["gu_recurrent_utis"] != "N/A" && $data["gu_recurrent_utis"] != "" && $data["gu_recurrent_utis"] != "--") ||
( $data["gu_recurrent_utis_text"] != "" && $data["gu_recurrent_utis_text"] != null ) ) {
1744 echo "<span class='text'>Recurrent UTIs:<span>";
1747 echo "<span class='text'>${data['gu_recurrent_utis']}</span>";
1750 if ( $data['gu_recurrent_utis_text'] != null ) {
1751 echo "<span class='text'>(${data['gu_recurrent_utis_text']})</span>";
1758 if ( ($data["gu_venereal_disease"] != "N/A" && $data["gu_venereal_disease"] != "" && $data["gu_venereal_disease"] != "--") ||
( $data["gu_venereal_disease_text"] != "" && $data["gu_venereal_disease_text"] != null ) ) {
1761 echo "<span class='text'>Venereal Disease:<span>";
1764 echo "<span class='text'>${data['gu_venereal_disease']}</span>";
1767 if ( $data['gu_venereal_disease_text'] != null ) {
1768 echo "<span class='text'>(${data['gu_venereal_disease_text']})</span>";
1775 echo "<tr><td colspan='3'><span class='bold'><u>MALE GU</u></span></td></tr>";
1776 if ( ($data["male_gu_erectile_dysfunction"] != "N/A" && $data["male_gu_erectile_dysfunction"] != "" && $data["male_gu_erectile_dysfunction"] != "--") ||
( $data["male_gu_erectile_dysfunction_text"] != "" && $data["male_gu_erectile_dysfunction_text"] != null ) ) {
1779 echo "<span class='text'>Erectile Dysfunction:<span>";
1782 echo "<span class='text'>${data['male_gu_erectile_dysfunction']}</span>";
1785 if ( $data['male_gu_erectile_dysfunction_text'] != null ) {
1786 echo "<span class='text'>(${data['male_gu_erectile_dysfunction_text']})</span>";
1793 if ( ($data["male_gu_inguinal_hernia"] != "N/A" && $data["male_gu_inguinal_hernia"] != "" && $data["male_gu_inguinal_hernia"] != "--") ||
( $data["male_gu_inguinal_hernia_text"] != "" && $data["male_gu_inguinal_hernia_text"] != null ) ) {
1796 echo "<span class='text'>Inguinal Hernia:<span>";
1799 echo "<span class='text'>${data['male_gu_inguinal_hernia']}</span>";
1802 if ( $data['male_gu_inguinal_hernia_text'] != null ) {
1803 echo "<span class='text'>(${data['male_gu_inguinal_hernia_text']})</span>";
1810 if ( ($data["male_gu_penile_lesions"] != "N/A" && $data["male_gu_penile_lesions"] != "" && $data["male_gu_penile_lesions"] != "--") ||
( $data["male_gu_penile_lesions_text"] != "" && $data["male_gu_penile_lesions_text"] != null ) ) {
1813 echo "<span class='text'>Penile Lesions:<span>";
1816 echo "<span class='text'>${data['male_gu_penile_lesions']}</span>";
1819 if ( $data['male_gu_penile_lesions_text'] != null ) {
1820 echo "<span class='text'>(${data['male_gu_penile_lesions_text']})</span>";
1827 if ( ($data["male_gu_scrotal_mass"] != "N/A" && $data["male_gu_scrotal_mass"] != "" && $data["male_gu_scrotal_mass"] != "--") ||
( $data["male_gu_scrotal_mass_text"] != "" && $data["male_gu_scrotal_mass_text"] != null ) ) {
1830 echo "<span class='text'>Scrotal Mass:<span>";
1833 echo "<span class='text'>${data['male_gu_scrotal_mass']}</span>";
1836 if ( $data['male_gu_scrotal_mass_text'] != null ) {
1837 echo "<span class='text'>(${data['male_gu_scrotal_mass_text']})</span>";
1844 if ( ($data["male_gu_testicular_pain"] != "N/A" && $data["male_gu_testicular_pain"] != "" && $data["male_gu_testicular_pain"] != "--") ||
( $data["male_gu_testicular_pain_text"] != "" && $data["male_gu_testicular_pain_text"] != null ) ) {
1847 echo "<span class='text'>Testicular Pain:<span>";
1850 echo "<span class='text'>${data['male_gu_testicular_pain']}</span>";
1853 if ( $data['male_gu_testicular_pain_text'] != null ) {
1854 echo "<span class='text'>(${data['male_gu_testicular_pain_text']})</span>";
1861 if ( ($data["male_gu_urethral_discharge"] != "N/A" && $data["male_gu_urethral_discharge"] != "" && $data["male_gu_urethral_discharge"] != "--") ||
( $data["male_gu_urethral_discharge_text"] != "" && $data["male_gu_urethral_discharge_text"] != null ) ) {
1864 echo "<span class='text'>Urethral Discharge:<span>";
1867 echo "<span class='text'>${data['male_gu_urethral_discharge']}</span>";
1870 if ( $data['male_gu_urethral_discharge_text'] != null ) {
1871 echo "<span class='text'>(${data['male_gu_urethral_discharge_text']})</span>";
1878 if ( ($data["male_gu_weak_urinary_stream"] != "N/A" && $data["male_gu_weak_urinary_stream"] != "" && $data["male_gu_weak_urinary_stream"] != "--") ||
( $data["male_gu_weak_urinary_stream_text"] != "" && $data["male_gu_weak_urinary_stream_text"] != null ) ) {
1881 echo "<span class='text'>Weak Urinary Stream:<span>";
1884 echo "<span class='text'>${data['male_gu_weak_urinary_stream']}</span>";
1887 if ( $data['male_gu_weak_urinary_stream_text'] != null ) {
1888 echo "<span class='text'>(${data['male_gu_weak_urinary_stream_text']})</span>";
1895 echo "<tr><td colspan='3'><span class='bold'><u>FEMALE GU</u></span></td></tr>";
1896 if ( ($data["female_gu_abnormal_menses"] != "N/A" && $data["female_gu_abnormal_menses"] != "" && $data["female_gu_abnormal_menses"] != "--") ||
( $data["female_gu_abnormal_menses_text"] != "" && $data["female_gu_abnormal_menses_text"] != null ) ) {
1899 echo "<span class='text'>Abnormal Menses:<span>";
1902 echo "<span class='text'>${data['female_gu_abnormal_menses']}</span>";
1905 if ( $data['female_gu_abnormal_menses_text'] != null ) {
1906 echo "<span class='text'>(${data['female_gu_abnormal_menses_text']})</span>";
1913 if ( ($data["female_gu_abnormal_vaginal_bleeding"] != "N/A" && $data["female_gu_abnormal_vaginal_bleeding"] != "" && $data["female_gu_abnormal_vaginal_bleeding"] != "--") ||
( $data["female_gu_abnormal_vaginal_bleeding_text"] != "" && $data["female_gu_abnormal_vaginal_bleeding_text"] != null ) ) {
1916 echo "<span class='text'>Abnormal Vaginal Bleeding:<span>";
1919 echo "<span class='text'>${data['female_gu_abnormal_vaginal_bleeding']}</span>";
1922 if ( $data['female_gu_abnormal_vaginal_bleeding_text'] != null ) {
1923 echo "<span class='text'>(${data['female_gu_abnormal_vaginal_bleeding_text']})</span>";
1930 if ( ($data["female_gu_vaginal_discharge"] != "N/A" && $data["female_gu_vaginal_discharge"] != "" && $data["female_gu_vaginal_discharge"] != "--") ||
( $data["female_gu_vaginal_discharge_text"] != "" && $data["female_gu_vaginal_discharge_text"] != null ) ) {
1933 echo "<span class='text'>Vaginal Discharge :<span>";
1936 echo "<span class='text'>${data['female_gu_vaginal_discharge']}</span>";
1939 if ( $data['female_gu_vaginal_discharge_text'] != null ) {
1940 echo "<span class='text'>(${data['female_gu_vaginal_discharge_text']})</span>";
1947 echo "<tr><td colspan='3'><span class='bold'><u>GI</u></span></td></tr>";
1948 if ( ($data["gi_abdominal_pain"] != "N/A" && $data["gi_abdominal_pain"] != "" && $data["gi_abdominal_pain"] != "--") ||
( $data["gi_abdominal_pain_text"] != "" && $data["gi_abdominal_pain_text"] != null ) ) {
1951 echo "<span class='text'>abdominal pain:<span>";
1954 echo "<span class='text'>${data['gi_abdominal_pain']}</span>";
1957 if ( $data['gi_abdominal_pain_text'] != null ) {
1958 echo "<span class='text'>(${data['gi_abdominal_pain_text']})</span>";
1965 if ( ($data["gi_cramps"] != "N/A" && $data["gi_cramps"] != "" && $data["gi_cramps"] != "--") ||
( $data["gi_cramps_text"] != "" && $data["gi_cramps_text"] != null ) ) {
1968 echo "<span class='text'>cramps:<span>";
1971 echo "<span class='text'>${data['gi_cramps']}</span>";
1974 if ( $data['gi_cramps_text'] != null ) {
1975 echo "<span class='text'>(${data['gi_cramps_text']})</span>";
1982 if ( ($data["gi_tenderness"] != "N/A" && $data["gi_tenderness"] != "" && $data["gi_tenderness"] != "--") ||
( $data["gi_tenderness_text"] != "" && $data["gi_tenderness_text"] != null ) ) {
1985 echo "<span class='text'>tenderness:<span>";
1988 echo "<span class='text'>${data['gi_tenderness']}</span>";
1991 if ( $data['gi_tenderness_text'] != null ) {
1992 echo "<span class='text'>(${data['gi_tenderness_text']})</span>";
1999 if ( ($data["gi_vomiting"] != "N/A" && $data["gi_vomiting"] != "" && $data["gi_vomiting"] != "--") ||
( $data["gi_vomiting_text"] != "" && $data["gi_vomiting_text"] != null ) ) {
2002 echo "<span class='text'>vomiting:<span>";
2005 echo "<span class='text'>${data['gi_vomiting']}</span>";
2008 if ( $data['gi_vomiting_text'] != null ) {
2009 echo "<span class='text'>(${data['gi_vomiting_text']})</span>";
2016 if ( ($data["gi_frequent_diarrhea"] != "N/A" && $data["gi_frequent_diarrhea"] != "" && $data["gi_frequent_diarrhea"] != "--") ||
( $data["gi_frequent_diarrhea_text"] != "" && $data["gi_frequent_diarrhea_text"] != null ) ) {
2019 echo "<span class='text'>frequent diarrhea:<span>";
2022 echo "<span class='text'>${data['gi_frequent_diarrhea']}</span>";
2025 if ( $data['gi_frequent_diarrhea_text'] != null ) {
2026 echo "<span class='text'>(${data['gi_frequent_diarrhea_text']})</span>";
2033 if ( ($data["gi_significant_constipation"] != "N/A" && $data["gi_significant_constipation"] != "" && $data["gi_significant_constipation"] != "--") ||
( $data["gi_significant_constipation_text"] != "" && $data["gi_significant_constipation_text"] != null ) ) {
2036 echo "<span class='text'>significant constipation:<span>";
2039 echo "<span class='text'>${data['gi_significant_constipation']}</span>";
2042 if ( $data['gi_significant_constipation_text'] != null ) {
2043 echo "<span class='text'>(${data['gi_significant_constipation_text']})</span>";
2050 if ( ($data["gi_excessive_belching"] != "N/A" && $data["gi_excessive_belching"] != "" && $data["gi_excessive_belching"] != "--") ||
( $data["gi_excessive_belching_text"] != "" && $data["gi_excessive_belching_text"] != null ) ) {
2053 echo "<span class='text'>Excessive Belching:<span>";
2056 echo "<span class='text'>${data['gi_excessive_belching']}</span>";
2059 if ( $data['gi_excessive_belching_text'] != null ) {
2060 echo "<span class='text'>(${data['gi_excessive_belching_text']})</span>";
2067 if ( ($data["gi_changed_bowel_habits"] != "N/A" && $data["gi_changed_bowel_habits"] != "" && $data["gi_changed_bowel_habits"] != "--") ||
( $data["gi_changed_bowel_habits_text"] != "" && $data["gi_changed_bowel_habits_text"] != null ) ) {
2070 echo "<span class='text'>Changed Bowel Habits:<span>";
2073 echo "<span class='text'>${data['gi_changed_bowel_habits']}</span>";
2076 if ( $data['gi_changed_bowel_habits_text'] != null ) {
2077 echo "<span class='text'>(${data['gi_changed_bowel_habits_text']})</span>";
2084 if ( ($data["gi_excessive_flatulence"] != "N/A" && $data["gi_excessive_flatulence"] != "" && $data["gi_excessive_flatulence"] != "--") ||
( $data["gi_excessive_flatulence_text"] != "" && $data["gi_excessive_flatulence_text"] != null ) ) {
2087 echo "<span class='text'>Excessive Flatulence:<span>";
2090 echo "<span class='text'>${data['gi_excessive_flatulence']}</span>";
2093 if ( $data['gi_excessive_flatulence_text'] != null ) {
2094 echo "<span class='text'>(${data['gi_excessive_flatulence_text']})</span>";
2101 if ( ($data["gi_hematemesis"] != "N/A" && $data["gi_hematemesis"] != "" && $data["gi_hematemesis"] != "--") ||
( $data["gi_hematemesis_text"] != "" && $data["gi_hematemesis_text"] != null ) ) {
2104 echo "<span class='text'>Hematemesis:<span>";
2107 echo "<span class='text'>${data['gi_hematemesis']}</span>";
2110 if ( $data['gi_hematemesis_text'] != null ) {
2111 echo "<span class='text'>(${data['gi_hematemesis_text']})</span>";
2118 if ( ($data["gi_hemorrhoids"] != "N/A" && $data["gi_hemorrhoids"] != "" && $data["gi_hemorrhoids"] != "--") ||
( $data["gi_hemorrhoids_text"] != "" && $data["gi_hemorrhoids_text"] != null ) ) {
2121 echo "<span class='text'>Hemorrhoids:<span>";
2124 echo "<span class='text'>${data['gi_hemorrhoids']}</span>";
2127 if ( $data['gi_hemorrhoids_text'] != null ) {
2128 echo "<span class='text'>(${data['gi_hemorrhoids_text']})</span>";
2135 if ( ($data["gi_hepatitis"] != "N/A" && $data["gi_hepatitis"] != "" && $data["gi_hepatitis"] != "--") ||
( $data["gi_hepatitis_text"] != "" && $data["gi_hepatitis_text"] != null ) ) {
2138 echo "<span class='text'>Hepatitis:<span>";
2141 echo "<span class='text'>${data['gi_hepatitis']}</span>";
2144 if ( $data['gi_hepatitis_text'] != null ) {
2145 echo "<span class='text'>(${data['gi_hepatitis_text']})</span>";
2152 if ( ($data["gi_jaundice"] != "N/A" && $data["gi_jaundice"] != "" && $data["gi_jaundice"] != "--") ||
( $data["gi_jaundice_text"] != "" && $data["gi_jaundice_text"] != null ) ) {
2155 echo "<span class='text'>Jaundice:<span>";
2158 echo "<span class='text'>${data['gi_jaundice']}</span>";
2161 if ( $data['gi_jaundice_text'] != null ) {
2162 echo "<span class='text'>(${data['gi_jaundice_text']})</span>";
2169 if ( ($data["gi_lactose_intolerance"] != "N/A" && $data["gi_lactose_intolerance"] != "" && $data["gi_lactose_intolerance"] != "--") ||
( $data["gi_lactose_intolerance_text"] != "" && $data["gi_lactose_intolerance_text"] != null ) ) {
2172 echo "<span class='text'>Lactose Intolerance:<span>";
2175 echo "<span class='text'>${data['gi_lactose_intolerance']}</span>";
2178 if ( $data['gi_lactose_intolerance_text'] != null ) {
2179 echo "<span class='text'>(${data['gi_lactose_intolerance_text']})</span>";
2186 if ( ($data["gi_chronic_laxative_use"] != "N/A" && $data["gi_chronic_laxative_use"] != "" && $data["gi_chronic_laxative_use"] != "--") ||
( $data["gi_chronic_laxative_use_text"] != "" && $data["gi_chronic_laxative_use_text"] != null ) ) {
2189 echo "<span class='text'>Chronic Laxative Use:<span>";
2192 echo "<span class='text'>${data['gi_chronic_laxative_use']}</span>";
2195 if ( $data['gi_chronic_laxative_use_text'] != null ) {
2196 echo "<span class='text'>(${data['gi_chronic_laxative_use_text']})</span>";
2203 if ( ($data["gi_melena"] != "N/A" && $data["gi_melena"] != "" && $data["gi_melena"] != "--") ||
( $data["gi_melena_text"] != "" && $data["gi_melena_text"] != null ) ) {
2206 echo "<span class='text'>Melena:<span>";
2209 echo "<span class='text'>${data['gi_melena']}</span>";
2212 if ( $data['gi_melena_text'] != null ) {
2213 echo "<span class='text'>(${data['gi_melena_text']})</span>";
2220 if ( ($data["gi_frequent_nausea"] != "N/A" && $data["gi_frequent_nausea"] != "" && $data["gi_frequent_nausea"] != "--") ||
( $data["gi_frequent_nausea_text"] != "" && $data["gi_frequent_nausea_text"] != null ) ) {
2223 echo "<span class='text'>Frequent Nausea:<span>";
2226 echo "<span class='text'>${data['gi_frequent_nausea']}</span>";
2229 if ( $data['gi_frequent_nausea_text'] != null ) {
2230 echo "<span class='text'>(${data['gi_frequent_nausea_text']})</span>";
2237 if ( ($data["gi_rectal_bleeding"] != "N/A" && $data["gi_rectal_bleeding"] != "" && $data["gi_rectal_bleeding"] != "--") ||
( $data["gi_rectal_bleeding_text"] != "" && $data["gi_rectal_bleeding_text"] != null ) ) {
2240 echo "<span class='text'>Rectal Bleeding:<span>";
2243 echo "<span class='text'>${data['gi_rectal_bleeding']}</span>";
2246 if ( $data['gi_rectal_bleeding_text'] != null ) {
2247 echo "<span class='text'>(${data['gi_rectal_bleeding_text']})</span>";
2254 if ( ($data["gi_rectal_pain"] != "N/A" && $data["gi_rectal_pain"] != "" && $data["gi_rectal_pain"] != "--") ||
( $data["gi_rectal_pain_text"] != "" && $data["gi_rectal_pain_text"] != null ) ) {
2257 echo "<span class='text'>Rectal Pain:<span>";
2260 echo "<span class='text'>${data['gi_rectal_pain']}</span>";
2263 if ( $data['gi_rectal_pain_text'] != null ) {
2264 echo "<span class='text'>(${data['gi_rectal_pain_text']})</span>";
2271 if ( ($data["gi_stool_caliber_change"] != "N/A" && $data["gi_stool_caliber_change"] != "" && $data["gi_stool_caliber_change"] != "--") ||
( $data["gi_stool_caliber_change_text"] != "" && $data["gi_stool_caliber_change_text"] != null ) ) {
2274 echo "<span class='text'>Stool Caliber Change:<span>";
2277 echo "<span class='text'>${data['gi_stool_caliber_change']}</span>";
2280 if ( $data['gi_stool_caliber_change_text'] != null ) {
2281 echo "<span class='text'>(${data['gi_stool_caliber_change_text']})</span>";
2288 echo "<tr><td colspan='3'><span class='bold'><u>INTEGUMENT:</u></span></td></tr>";
2289 if ( ($data["integument_pallor"] != "N/A" && $data["integument_pallor"] != "" && $data["integument_pallor"] != "--") ||
( $data["integument_pallor_text"] != "" && $data["integument_pallor_text"] != null ) ) {
2292 echo "<span class='text'>pallor:<span>";
2295 echo "<span class='text'>${data['integument_pallor']}</span>";
2298 if ( $data['integument_pallor_text'] != null ) {
2299 echo "<span class='text'>(${data['integument_pallor_text']})</span>";
2306 if ( ($data["integument_diaphoresis"] != "N/A" && $data["integument_diaphoresis"] != "" && $data["integument_diaphoresis"] != "--") ||
( $data["integument_diaphoresis_text"] != "" && $data["integument_diaphoresis_text"] != null ) ) {
2309 echo "<span class='text'>diaphoresis:<span>";
2312 echo "<span class='text'>${data['integument_diaphoresis']}</span>";
2315 if ( $data['integument_diaphoresis_text'] != null ) {
2316 echo "<span class='text'>(${data['integument_diaphoresis_text']})</span>";
2323 if ( ($data["integument_rash"] != "N/A" && $data["integument_rash"] != "" && $data["integument_rash"] != "--") ||
( $data["integument_rash_text"] != "" && $data["integument_rash_text"] != null ) ) {
2326 echo "<span class='text'>rash:<span>";
2329 echo "<span class='text'>${data['integument_rash']}</span>";
2332 if ( $data['integument_rash_text'] != null ) {
2333 echo "<span class='text'>(${data['integument_rash_text']})</span>";
2340 if ( ($data["integument_itching"] != "N/A" && $data["integument_itching"] != "" && $data["integument_itching"] != "--") ||
( $data["integument_itching_text"] != "" && $data["integument_itching_text"] != null ) ) {
2343 echo "<span class='text'>itching:<span>";
2346 echo "<span class='text'>${data['integument_itching']}</span>";
2349 if ( $data['integument_itching_text'] != null ) {
2350 echo "<span class='text'>(${data['integument_itching_text']})</span>";
2357 if ( ($data["integument_ulcers"] != "N/A" && $data["integument_ulcers"] != "" && $data["integument_ulcers"] != "--") ||
( $data["integument_ulcers_text"] != "" && $data["integument_ulcers_text"] != null ) ) {
2360 echo "<span class='text'>ulcers:<span>";
2363 echo "<span class='text'>${data['integument_ulcers']}</span>";
2366 if ( $data['integument_ulcers_text'] != null ) {
2367 echo "<span class='text'>(${data['integument_ulcers_text']})</span>";
2374 if ( ($data["integument_abscess"] != "N/A" && $data["integument_abscess"] != "" && $data["integument_abscess"] != "--") ||
( $data["integument_abscess_text"] != "" && $data["integument_abscess_text"] != null ) ) {
2377 echo "<span class='text'>abscess:<span>";
2380 echo "<span class='text'>${data['integument_abscess']}</span>";
2383 if ( $data['integument_abscess_text'] != null ) {
2384 echo "<span class='text'>(${data['integument_abscess_text']})</span>";
2391 if ( ($data["integument_nodules"] != "N/A" && $data["integument_nodules"] != "" && $data["integument_nodules"] != "--") ||
( $data["integument_nodules_text"] != "" && $data["integument_nodules_text"] != null ) ) {
2394 echo "<span class='text'>nodules:<span>";
2397 echo "<span class='text'>${data['integument_nodules']}</span>";
2400 if ( $data['integument_nodules_text'] != null ) {
2401 echo "<span class='text'>(${data['integument_nodules_text']})</span>";
2408 if ( ($data["integument_acne"] != "N/A" && $data["integument_acne"] != "" && $data["integument_acne"] != "--") ||
( $data["integument_acne_text"] != "" && $data["integument_acne_text"] != null ) ) {
2411 echo "<span class='text'>Acne:<span>";
2414 echo "<span class='text'>${data['integument_acne']}</span>";
2417 if ( $data['integument_acne_text'] != null ) {
2418 echo "<span class='text'>(${data['integument_acne_text']})</span>";
2425 if ( ($data["integument_recurrent_boils"] != "N/A" && $data["integument_recurrent_boils"] != "" && $data["integument_recurrent_boils"] != "--") ||
( $data["integument_recurrent_boils_text"] != "" && $data["integument_recurrent_boils_text"] != null ) ) {
2428 echo "<span class='text'>Recurrent Boils:<span>";
2431 echo "<span class='text'>${data['integument_recurrent_boils']}</span>";
2434 if ( $data['integument_recurrent_boils_text'] != null ) {
2435 echo "<span class='text'>(${data['integument_recurrent_boils_text']})</span>";
2442 if ( ($data["integument_chronic_eczema"] != "N/A" && $data["integument_chronic_eczema"] != "" && $data["integument_chronic_eczema"] != "--") ||
( $data["integument_chronic_eczema_text"] != "" && $data["integument_chronic_eczema_text"] != null ) ) {
2445 echo "<span class='text'>Chronic Eczema:<span>";
2448 echo "<span class='text'>${data['integument_chronic_eczema']}</span>";
2451 if ( $data['integument_chronic_eczema_text'] != null ) {
2452 echo "<span class='text'>(${data['integument_chronic_eczema_text']})</span>";
2459 if ( ($data["integument_changing_moles"] != "N/A" && $data["integument_changing_moles"] != "" && $data["integument_changing_moles"] != "--") ||
( $data["integument_changing_moles_text"] != "" && $data["integument_changing_moles_text"] != null ) ) {
2462 echo "<span class='text'>Changing Moles:<span>";
2465 echo "<span class='text'>${data['integument_changing_moles']}</span>";
2468 if ( $data['integument_changing_moles_text'] != null ) {
2469 echo "<span class='text'>(${data['integument_changing_moles_text']})</span>";
2476 if ( ($data["integument_nail_abnormalities"] != "N/A" && $data["integument_nail_abnormalities"] != "" && $data["integument_nail_abnormalities"] != "--") ||
( $data["integument_nail_abnormalities_text"] != "" && $data["integument_nail_abnormalities_text"] != null ) ) {
2479 echo "<span class='text'>Nail Abnormalities:<span>";
2482 echo "<span class='text'>${data['integument_nail_abnormalities']}</span>";
2485 if ( $data['integument_nail_abnormalities_text'] != null ) {
2486 echo "<span class='text'>(${data['integument_nail_abnormalities_text']})</span>";
2493 if ( ($data["integument_psoriasis"] != "N/A" && $data["integument_psoriasis"] != "" && $data["integument_psoriasis"] != "--") ||
( $data["integument_psoriasis_text"] != "" && $data["integument_psoriasis_text"] != null ) ) {
2496 echo "<span class='text'>Psoriasis:<span>";
2499 echo "<span class='text'>${data['integument_psoriasis']}</span>";
2502 if ( $data['integument_psoriasis_text'] != null ) {
2503 echo "<span class='text'>(${data['integument_psoriasis_text']})</span>";
2510 if ( ($data["integument_recurrent_hives"] != "N/A" && $data["integument_recurrent_hives"] != "" && $data["integument_recurrent_hives"] != "--") ||
( $data["integument_recurrent_hives_text"] != "" && $data["integument_recurrent_hives_text"] != null ) ) {
2513 echo "<span class='text'>Recurrent Hives:<span>";
2516 echo "<span class='text'>${data['integument_recurrent_hives']}</span>";
2519 if ( $data['integument_recurrent_hives_text'] != null ) {
2520 echo "<span class='text'>(${data['integument_recurrent_hives_text']})</span>";
2527 echo "<tr><td colspan='3'><span class='bold'><u>MUSCULOSKELETAL:</u></span></td></tr>";
2528 if ( ($data["musculoskeletal_deformity"] != "N/A" && $data["musculoskeletal_deformity"] != "" && $data["musculoskeletal_deformity"] != "--") ||
( $data["musculoskeletal_deformity_text"] != "" && $data["musculoskeletal_deformity_text"] != null ) ) {
2531 echo "<span class='text'>deformity:<span>";
2534 echo "<span class='text'>${data['musculoskeletal_deformity']}</span>";
2537 if ( $data['musculoskeletal_deformity_text'] != null ) {
2538 echo "<span class='text'>(${data['musculoskeletal_deformity_text']})</span>";
2545 if ( ($data["musculoskeletal_edema"] != "N/A" && $data["musculoskeletal_edema"] != "" && $data["musculoskeletal_edema"] != "--") ||
( $data["musculoskeletal_edema_text"] != "" && $data["musculoskeletal_edema_text"] != null ) ) {
2548 echo "<span class='text'>edema:<span>";
2551 echo "<span class='text'>${data['musculoskeletal_edema']}</span>";
2554 if ( $data['musculoskeletal_edema_text'] != null ) {
2555 echo "<span class='text'>(${data['musculoskeletal_edema_text']})</span>";
2562 if ( ($data["musculoskeletal_pain"] != "N/A" && $data["musculoskeletal_pain"] != "" && $data["musculoskeletal_pain"] != "--") ||
( $data["musculoskeletal_pain_text"] != "" && $data["musculoskeletal_pain_text"] != null ) ) {
2565 echo "<span class='text'>pain:<span>";
2568 echo "<span class='text'>${data['musculoskeletal_pain']}</span>";
2571 if ( $data['musculoskeletal_pain_text'] != null ) {
2572 echo "<span class='text'>(${data['musculoskeletal_pain_text']})</span>";
2579 if ( ($data["musculoskeletal_limited_rom"] != "N/A" && $data["musculoskeletal_limited_rom"] != "" && $data["musculoskeletal_limited_rom"] != "--") ||
( $data["musculoskeletal_limited_rom_text"] != "" && $data["musculoskeletal_limited_rom_text"] != null ) ) {
2582 echo "<span class='text'>limited ROM:<span>";
2585 echo "<span class='text'>${data['musculoskeletal_limited_rom']}</span>";
2588 if ( $data['musculoskeletal_limited_rom_text'] != null ) {
2589 echo "<span class='text'>(${data['musculoskeletal_limited_rom_text']})</span>";
2596 if ( ($data["musculoskeletal_gait"] != "N/A" && $data["musculoskeletal_gait"] != "" && $data["musculoskeletal_gait"] != "--") ||
( $data["musculoskeletal_gait_text"] != "" && $data["musculoskeletal_gait_text"] != null ) ) {
2599 echo "<span class='text'>gait:<span>";
2602 echo "<span class='text'>${data['musculoskeletal_gait']}</span>";
2605 if ( $data['musculoskeletal_gait_text'] != null ) {
2606 echo "<span class='text'>(${data['musculoskeletal_gait_text']})</span>";
2613 if ( ($data["musculoskeletal_arthritis"] != "N/A" && $data["musculoskeletal_arthritis"] != "" && $data["musculoskeletal_arthritis"] != "--") ||
( $data["musculoskeletal_arthritis_text"] != "" && $data["musculoskeletal_arthritis_text"] != null ) ) {
2616 echo "<span class='text'>Arthritis:<span>";
2619 echo "<span class='text'>${data['musculoskeletal_arthritis']}</span>";
2622 if ( $data['musculoskeletal_arthritis_text'] != null ) {
2623 echo "<span class='text'>(${data['musculoskeletal_arthritis_text']})</span>";
2630 if ( ($data["musculoskeletal_neck_pain"] != "N/A" && $data["musculoskeletal_neck_pain"] != "" && $data["musculoskeletal_neck_pain"] != "--") ||
( $data["musculoskeletal_neck_pain_text"] != "" && $data["musculoskeletal_neck_pain_text"] != null ) ) {
2633 echo "<span class='text'>Neck Pain:<span>";
2636 echo "<span class='text'>${data['musculoskeletal_neck_pain']}</span>";
2639 if ( $data['musculoskeletal_neck_pain_text'] != null ) {
2640 echo "<span class='text'>(${data['musculoskeletal_neck_pain_text']})</span>";
2647 if ( ($data["musculoskeletal_mid_back_pain"] != "N/A" && $data["musculoskeletal_mid_back_pain"] != "" && $data["musculoskeletal_mid_back_pain"] != "--") ||
( $data["musculoskeletal_mid_back_pain_text"] != "" && $data["musculoskeletal_mid_back_pain_text"] != null ) ) {
2650 echo "<span class='text'>Mid Back Pain:<span>";
2653 echo "<span class='text'>${data['musculoskeletal_mid_back_pain']}</span>";
2656 if ( $data['musculoskeletal_mid_back_pain_text'] != null ) {
2657 echo "<span class='text'>(${data['musculoskeletal_mid_back_pain_text']})</span>";
2664 if ( ($data["musculoskeletal_low_back_pain"] != "N/A" && $data["musculoskeletal_low_back_pain"] != "" && $data["musculoskeletal_low_back_pain"] != "--") ||
( $data["musculoskeletal_low_back_pain_text"] != "" && $data["musculoskeletal_low_back_pain_text"] != null ) ) {
2667 echo "<span class='text'>Low Back Pain:<span>";
2670 echo "<span class='text'>${data['musculoskeletal_low_back_pain']}</span>";
2673 if ( $data['musculoskeletal_low_back_pain_text'] != null ) {
2674 echo "<span class='text'>(${data['musculoskeletal_low_back_pain_text']})</span>";
2681 if ( ($data["musculoskeletal_bursitis"] != "N/A" && $data["musculoskeletal_bursitis"] != "" && $data["musculoskeletal_bursitis"] != "--") ||
( $data["musculoskeletal_bursitis_text"] != "" && $data["musculoskeletal_bursitis_text"] != null ) ) {
2684 echo "<span class='text'>Bursitis:<span>";
2687 echo "<span class='text'>${data['musculoskeletal_bursitis']}</span>";
2690 if ( $data['musculoskeletal_bursitis_text'] != null ) {
2691 echo "<span class='text'>(${data['musculoskeletal_bursitis_text']})</span>";
2698 if ( ($data["musculoskeletal_gout"] != "N/A" && $data["musculoskeletal_gout"] != "" && $data["musculoskeletal_gout"] != "--") ||
( $data["musculoskeletal_gout_text"] != "" && $data["musculoskeletal_gout_text"] != null ) ) {
2701 echo "<span class='text'>Gout:<span>";
2704 echo "<span class='text'>${data['musculoskeletal_gout']}</span>";
2707 if ( $data['musculoskeletal_gout_text'] != null ) {
2708 echo "<span class='text'>(${data['musculoskeletal_gout_text']})</span>";
2715 if ( ($data["musculoskeletal_joint_injury"] != "N/A" && $data["musculoskeletal_joint_injury"] != "" && $data["musculoskeletal_joint_injury"] != "--") ||
( $data["musculoskeletal_joint_injury_text"] != "" && $data["musculoskeletal_joint_injury_text"] != null ) ) {
2718 echo "<span class='text'>Joint Injury:<span>";
2721 echo "<span class='text'>${data['musculoskeletal_joint_injury']}</span>";
2724 if ( $data['musculoskeletal_joint_injury_text'] != null ) {
2725 echo "<span class='text'>(${data['musculoskeletal_joint_injury_text']})</span>";
2732 if ( ($data["musculoskeletal_joint_pain"] != "N/A" && $data["musculoskeletal_joint_pain"] != "" && $data["musculoskeletal_joint_pain"] != "--") ||
( $data["musculoskeletal_joint_pain_text"] != "" && $data["musculoskeletal_joint_pain_text"] != null ) ) {
2735 echo "<span class='text'>Joint Pain:<span>";
2738 echo "<span class='text'>${data['musculoskeletal_joint_pain']}</span>";
2741 if ( $data['musculoskeletal_joint_pain_text'] != null ) {
2742 echo "<span class='text'>(${data['musculoskeletal_joint_pain_text']})</span>";
2749 if ( ($data["musculoskeletal_joint_swelling"] != "N/A" && $data["musculoskeletal_joint_swelling"] != "" && $data["musculoskeletal_joint_swelling"] != "--") ||
( $data["musculoskeletal_joint_swelling_text"] != "" && $data["musculoskeletal_joint_swelling_text"] != null ) ) {
2752 echo "<span class='text'>Joint Swelling:<span>";
2755 echo "<span class='text'>${data['musculoskeletal_joint_swelling']}</span>";
2758 if ( $data['musculoskeletal_joint_swelling_text'] != null ) {
2759 echo "<span class='text'>(${data['musculoskeletal_joint_swelling_text']})</span>";
2766 if ( ($data["musculoskeletal_myalgias"] != "N/A" && $data["musculoskeletal_myalgias"] != "" && $data["musculoskeletal_myalgias"] != "--") ||
( $data["musculoskeletal_myalgias_text"] != "" && $data["musculoskeletal_myalgias_text"] != null ) ) {
2769 echo "<span class='text'>Myalgias:<span>";
2772 echo "<span class='text'>${data['musculoskeletal_myalgias']}</span>";
2775 if ( $data['musculoskeletal_myalgias_text'] != null ) {
2776 echo "<span class='text'>(${data['musculoskeletal_myalgias_text']})</span>";
2783 if ( ($data["musculoskeletal_sciatica"] != "N/A" && $data["musculoskeletal_sciatica"] != "" && $data["musculoskeletal_sciatica"] != "--") ||
( $data["musculoskeletal_sciatica_text"] != "" && $data["musculoskeletal_sciatica_text"] != null ) ) {
2786 echo "<span class='text'>Sciatica:<span>";
2789 echo "<span class='text'>${data['musculoskeletal_sciatica']}</span>";
2792 if ( $data['musculoskeletal_sciatica_text'] != null ) {
2793 echo "<span class='text'>(${data['musculoskeletal_sciatica_text']})</span>";
2800 if ( ($data["musculoskeletal_scoliosis"] != "N/A" && $data["musculoskeletal_scoliosis"] != "" && $data["musculoskeletal_scoliosis"] != "--") ||
( $data["musculoskeletal_scoliosis_text"] != "" && $data["musculoskeletal_scoliosis_text"] != null ) ) {
2803 echo "<span class='text'>Scoliosis:<span>";
2806 echo "<span class='text'>${data['musculoskeletal_scoliosis']}</span>";
2809 if ( $data['musculoskeletal_scoliosis_text'] != null ) {
2810 echo "<span class='text'>(${data['musculoskeletal_scoliosis_text']})</span>";
2817 echo "<tr><td colspan='3'><span class='bold'><u>HEMATOLOGICAL</u></span></td></tr>";
2818 if ( ($data["hematological_anemia"] != "N/A" && $data["hematological_anemia"] != "" && $data["hematological_anemia"] != "--") ||
( $data["hematological_anemia_text"] != "" && $data["hematological_anemia_text"] != null ) ) {
2821 echo "<span class='text'>Anemia:<span>";
2824 echo "<span class='text'>${data['hematological_anemia']}</span>";
2827 if ( $data['hematological_anemia_text'] != null ) {
2828 echo "<span class='text'>(${data['hematological_anemia_text']})</span>";
2835 if ( ($data["hematological_pallor"] != "N/A" && $data["hematological_pallor"] != "" && $data["hematological_pallor"] != "--") ||
( $data["hematological_pallor_text"] != "" && $data["hematological_pallor_text"] != null ) ) {
2838 echo "<span class='text'>Pallor:<span>";
2841 echo "<span class='text'>${data['hematological_pallor']}</span>";
2844 if ( $data['hematological_pallor_text'] != null ) {
2845 echo "<span class='text'>(${data['hematological_pallor_text']})</span>";
2852 if ( ($data["hematological_bleeding_tendencies"] != "N/A" && $data["hematological_bleeding_tendencies"] != "" && $data["hematological_bleeding_tendencies"] != "--") ||
( $data["hematological_bleeding_tendencies_text"] != "" && $data["hematological_bleeding_tendencies_text"] != null ) ) {
2855 echo "<span class='text'>Bleeding Tendencies:<span>";
2858 echo "<span class='text'>${data['hematological_bleeding_tendencies']}</span>";
2861 if ( $data['hematological_bleeding_tendencies_text'] != null ) {
2862 echo "<span class='text'>(${data['hematological_bleeding_tendencies_text']})</span>";
2869 if ( ($data["hematological_bruising"] != "N/A" && $data["hematological_bruising"] != "" && $data["hematological_bruising"] != "--") ||
( $data["hematological_bruising_text"] != "" && $data["hematological_bruising_text"] != null ) ) {
2872 echo "<span class='text'>Bruising:<span>";
2875 echo "<span class='text'>${data['hematological_bruising']}</span>";
2878 if ( $data['hematological_bruising_text'] != null ) {
2879 echo "<span class='text'>(${data['hematological_bruising_text']})</span>";
2886 echo "<tr><td colspan='3'><span class='bold'><u>ENDOCRINE</u></span></td></tr>";
2887 if ( ($data["endocrine_thyroid_problems"] != "N/A" && $data["endocrine_thyroid_problems"] != "" && $data["endocrine_thyroid_problems"] != "--") ||
( $data["endocrine_thyroid_problems_text"] != "" && $data["endocrine_thyroid_problems_text"] != null ) ) {
2890 echo "<span class='text'>Thyroid Problems:<span>";
2893 echo "<span class='text'>${data['endocrine_thyroid_problems']}</span>";
2896 if ( $data['endocrine_thyroid_problems_text'] != null ) {
2897 echo "<span class='text'>(${data['endocrine_thyroid_problems_text']})</span>";
2904 if ( ($data["endocrine_enlarged_thyroid"] != "N/A" && $data["endocrine_enlarged_thyroid"] != "" && $data["endocrine_enlarged_thyroid"] != "--") ||
( $data["endocrine_enlarged_thyroid_text"] != "" && $data["endocrine_enlarged_thyroid_text"] != null ) ) {
2907 echo "<span class='text'>Enlarged Thyroid:<span>";
2910 echo "<span class='text'>${data['endocrine_enlarged_thyroid']}</span>";
2913 if ( $data['endocrine_enlarged_thyroid_text'] != null ) {
2914 echo "<span class='text'>(${data['endocrine_enlarged_thyroid_text']})</span>";
2921 if ( ($data["endocrine_hyperglycemia"] != "N/A" && $data["endocrine_hyperglycemia"] != "" && $data["endocrine_hyperglycemia"] != "--") ||
( $data["endocrine_hyperglycemia_text"] != "" && $data["endocrine_hyperglycemia_text"] != null ) ) {
2924 echo "<span class='text'>Hyperglycemia:<span>";
2927 echo "<span class='text'>${data['endocrine_hyperglycemia']}</span>";
2930 if ( $data['endocrine_hyperglycemia_text'] != null ) {
2931 echo "<span class='text'>(${data['endocrine_hyperglycemia_text']})</span>";
2938 if ( ($data["endocrine_hypoglycemia"] != "N/A" && $data["endocrine_hypoglycemia"] != "" && $data["endocrine_hypoglycemia"] != "--") ||
( $data["endocrine_hypoglycemia_text"] != "" && $data["endocrine_hypoglycemia_text"] != null ) ) {
2941 echo "<span class='text'>Hypoglycemia:<span>";
2944 echo "<span class='text'>${data['endocrine_hypoglycemia']}</span>";
2947 if ( $data['endocrine_hypoglycemia_text'] != null ) {
2948 echo "<span class='text'>(${data['endocrine_hypoglycemia_text']})</span>";
2955 if ( ($data["endocrine_cold_intolerance"] != "N/A" && $data["endocrine_cold_intolerance"] != "" && $data["endocrine_cold_intolerance"] != "--") ||
( $data["endocrine_cold_intolerance_text"] != "" && $data["endocrine_cold_intolerance_text"] != null ) ) {
2958 echo "<span class='text'>Cold Intolerance:<span>";
2961 echo "<span class='text'>${data['endocrine_cold_intolerance']}</span>";
2964 if ( $data['endocrine_cold_intolerance_text'] != null ) {
2965 echo "<span class='text'>(${data['endocrine_cold_intolerance_text']})</span>";
2972 if ( ($data["endocrine_heat_intolerance"] != "N/A" && $data["endocrine_heat_intolerance"] != "" && $data["endocrine_heat_intolerance"] != "--") ||
( $data["endocrine_heat_intolerance_text"] != "" && $data["endocrine_heat_intolerance_text"] != null ) ) {
2975 echo "<span class='text'>Heat Intolerance:<span>";
2978 echo "<span class='text'>${data['endocrine_heat_intolerance']}</span>";
2981 if ( $data['endocrine_heat_intolerance_text'] != null ) {
2982 echo "<span class='text'>(${data['endocrine_heat_intolerance_text']})</span>";
2989 if ( ($data["endocrine_early_awakening"] != "N/A" && $data["endocrine_early_awakening"] != "" && $data["endocrine_early_awakening"] != "--") ||
( $data["endocrine_early_awakening_text"] != "" && $data["endocrine_early_awakening_text"] != null ) ) {
2992 echo "<span class='text'>Early Awakening:<span>";
2995 echo "<span class='text'>${data['endocrine_early_awakening']}</span>";
2998 if ( $data['endocrine_early_awakening_text'] != null ) {
2999 echo "<span class='text'>(${data['endocrine_early_awakening_text']})</span>";
3006 if ( ($data["endocrine_fatigue_unexplained"] != "N/A" && $data["endocrine_fatigue_unexplained"] != "" && $data["endocrine_fatigue_unexplained"] != "--") ||
( $data["endocrine_fatigue_unexplained_text"] != "" && $data["endocrine_fatigue_unexplained_text"] != null ) ) {
3009 echo "<span class='text'>Fatigue unexplained:<span>";
3012 echo "<span class='text'>${data['endocrine_fatigue_unexplained']}</span>";
3015 if ( $data['endocrine_fatigue_unexplained_text'] != null ) {
3016 echo "<span class='text'>(${data['endocrine_fatigue_unexplained_text']})</span>";
3023 if ( ($data["endocrine_weight_gain"] != "N/A" && $data["endocrine_weight_gain"] != "" && $data["endocrine_weight_gain"] != "--") ||
( $data["endocrine_weight_gain_text"] != "" && $data["endocrine_weight_gain_text"] != null ) ) {
3026 echo "<span class='text'>Weight Gain:<span>";
3029 echo "<span class='text'>${data['endocrine_weight_gain']}</span>";
3032 if ( $data['endocrine_weight_gain_text'] != null ) {
3033 echo "<span class='text'>(${data['endocrine_weight_gain_text']})</span>";
3040 if ( ($data["endocrine_weight_loss"] != "N/A" && $data["endocrine_weight_loss"] != "" && $data["endocrine_weight_loss"] != "--") ||
( $data["endocrine_weight_loss_text"] != "" && $data["endocrine_weight_loss_text"] != null ) ) {
3043 echo "<span class='text'>Weight Loss:<span>";
3046 echo "<span class='text'>${data['endocrine_weight_loss']}</span>";
3049 if ( $data['endocrine_weight_loss_text'] != null ) {
3050 echo "<span class='text'>(${data['endocrine_weight_loss_text']})</span>";
3057 if ( ($data["endocrine_premenstrual_symptoms"] != "N/A" && $data["endocrine_premenstrual_symptoms"] != "" && $data["endocrine_premenstrual_symptoms"] != "--") ||
( $data["endocrine_premenstrual_symptoms_text"] != "" && $data["endocrine_premenstrual_symptoms_text"] != null ) ) {
3060 echo "<span class='text'>Premenstrual symptoms:<span>";
3063 echo "<span class='text'>${data['endocrine_premenstrual_symptoms']}</span>";
3066 if ( $data['endocrine_premenstrual_symptoms_text'] != null ) {
3067 echo "<span class='text'>(${data['endocrine_premenstrual_symptoms_text']})</span>";
3074 if ( ($data["endocrine_hair_no_change_or_no_loss"] != "N/A" && $data["endocrine_hair_no_change_or_no_loss"] != "" && $data["endocrine_hair_no_change_or_no_loss"] != "--") ||
( $data["endocrine_hair_no_change_or_no_loss_text"] != "" && $data["endocrine_hair_no_change_or_no_loss_text"] != null ) ) {
3077 echo "<span class='text'>Hair (no change or no loss):<span>";
3080 echo "<span class='text'>${data['endocrine_hair_no_change_or_no_loss']}</span>";
3083 if ( $data['endocrine_hair_no_change_or_no_loss_text'] != null ) {
3084 echo "<span class='text'>(${data['endocrine_hair_no_change_or_no_loss_text']})</span>";
3091 if ( ($data["endocrine_hot_flashes"] != "N/A" && $data["endocrine_hot_flashes"] != "" && $data["endocrine_hot_flashes"] != "--") ||
( $data["endocrine_hot_flashes_text"] != "" && $data["endocrine_hot_flashes_text"] != null ) ) {
3094 echo "<span class='text'>Hot flashes:<span>";
3097 echo "<span class='text'>${data['endocrine_hot_flashes']}</span>";
3100 if ( $data['endocrine_hot_flashes_text'] != null ) {
3101 echo "<span class='text'>(${data['endocrine_hot_flashes_text']})</span>";
3108 echo "<tr><td colspan='3'><span class='bold'><u>LYMPHATIC</u></span></td></tr>";
3109 if ( ($data["lymphatic_swollen_lymph_nodes"] != "N/A" && $data["lymphatic_swollen_lymph_nodes"] != "" && $data["lymphatic_swollen_lymph_nodes"] != "--") ||
( $data["lymphatic_swollen_lymph_nodes_text"] != "" && $data["lymphatic_swollen_lymph_nodes_text"] != null ) ) {
3112 echo "<span class='text'>Swollen lymph nodes:<span>";
3115 echo "<span class='text'>${data['lymphatic_swollen_lymph_nodes']}</span>";
3118 if ( $data['lymphatic_swollen_lymph_nodes_text'] != null ) {
3119 echo "<span class='text'>(${data['lymphatic_swollen_lymph_nodes_text']})</span>";
3126 if ( ($data["lymphatic_swollen_extremities"] != "N/A" && $data["lymphatic_swollen_extremities"] != "" && $data["lymphatic_swollen_extremities"] != "--") ||
( $data["lymphatic_swollen_extremities_text"] != "" && $data["lymphatic_swollen_extremities_text"] != null ) ) {
3129 echo "<span class='text'>Swollen extremities:<span>";
3132 echo "<span class='text'>${data['lymphatic_swollen_extremities']}</span>";
3135 if ( $data['lymphatic_swollen_extremities_text'] != null ) {
3136 echo "<span class='text'>(${data['lymphatic_swollen_extremities_text']})</span>";
3143 echo "<tr><td colspan='3'><span class='bold'><u>PSYCHIATRIC</u></span></td></tr>";
3144 if ( ($data["psychiatric_compulsions"] != "N/A" && $data["psychiatric_compulsions"] != "" && $data["psychiatric_compulsions"] != "--") ||
( $data["psychiatric_compulsions_text"] != "" && $data["psychiatric_compulsions_text"] != null ) ) {
3147 echo "<span class='text'>Compulsions:<span>";
3150 echo "<span class='text'>${data['psychiatric_compulsions']}</span>";
3153 if ( $data['psychiatric_compulsions_text'] != null ) {
3154 echo "<span class='text'>(${data['psychiatric_compulsions_text']})</span>";
3161 if ( ($data["psychiatric_depression"] != "N/A" && $data["psychiatric_depression"] != "" && $data["psychiatric_depression"] != "--") ||
( $data["psychiatric_depression_text"] != "" && $data["psychiatric_depression_text"] != null ) ) {
3164 echo "<span class='text'>Depression:<span>";
3167 echo "<span class='text'>${data['psychiatric_depression']}</span>";
3170 if ( $data['psychiatric_depression_text'] != null ) {
3171 echo "<span class='text'>(${data['psychiatric_depression_text']})</span>";
3178 if ( ($data["psychiatric_fear"] != "N/A" && $data["psychiatric_fear"] != "" && $data["psychiatric_fear"] != "--") ||
( $data["psychiatric_fear_text"] != "" && $data["psychiatric_fear_text"] != null ) ) {
3181 echo "<span class='text'>Fear:<span>";
3184 echo "<span class='text'>${data['psychiatric_fear']}</span>";
3187 if ( $data['psychiatric_fear_text'] != null ) {
3188 echo "<span class='text'>(${data['psychiatric_fear_text']})</span>";
3195 if ( ($data["psychiatric_anxiety"] != "N/A" && $data["psychiatric_anxiety"] != "" && $data["psychiatric_anxiety"] != "--") ||
( $data["psychiatric_anxiety_text"] != "" && $data["psychiatric_anxiety_text"] != null ) ) {
3198 echo "<span class='text'>Anxiety:<span>";
3201 echo "<span class='text'>${data['psychiatric_anxiety']}</span>";
3204 if ( $data['psychiatric_anxiety_text'] != null ) {
3205 echo "<span class='text'>(${data['psychiatric_anxiety_text']})</span>";
3212 if ( ($data["psychiatric_hallucinations"] != "N/A" && $data["psychiatric_hallucinations"] != "" && $data["psychiatric_hallucinations"] != "--") ||
( $data["psychiatric_hallucinations_text"] != "" && $data["psychiatric_hallucinations_text"] != null ) ) {
3215 echo "<span class='text'>Hallucinations:<span>";
3218 echo "<span class='text'>${data['psychiatric_hallucinations']}</span>";
3221 if ( $data['psychiatric_hallucinations_text'] != null ) {
3222 echo "<span class='text'>(${data['psychiatric_hallucinations_text']})</span>";
3229 if ( ($data["psychiatric_loss_of_interest"] != "N/A" && $data["psychiatric_loss_of_interest"] != "" && $data["psychiatric_loss_of_interest"] != "--") ||
( $data["psychiatric_loss_of_interest_text"] != "" && $data["psychiatric_loss_of_interest_text"] != null ) ) {
3232 echo "<span class='text'>Loss of Interest:<span>";
3235 echo "<span class='text'>${data['psychiatric_loss_of_interest']}</span>";
3238 if ( $data['psychiatric_loss_of_interest_text'] != null ) {
3239 echo "<span class='text'>(${data['psychiatric_loss_of_interest_text']})</span>";
3246 if ( ($data["psychiatric_memory_loss"] != "N/A" && $data["psychiatric_memory_loss"] != "" && $data["psychiatric_memory_loss"] != "--") ||
( $data["psychiatric_memory_loss_text"] != "" && $data["psychiatric_memory_loss_text"] != null ) ) {
3249 echo "<span class='text'>Memory Loss:<span>";
3252 echo "<span class='text'>${data['psychiatric_memory_loss']}</span>";
3255 if ( $data['psychiatric_memory_loss_text'] != null ) {
3256 echo "<span class='text'>(${data['psychiatric_memory_loss_text']})</span>";
3263 if ( ($data["psychiatric_mood_swings"] != "N/A" && $data["psychiatric_mood_swings"] != "" && $data["psychiatric_mood_swings"] != "--") ||
( $data["psychiatric_mood_swings_text"] != "" && $data["psychiatric_mood_swings_text"] != null ) ) {
3266 echo "<span class='text'>Mood Swings:<span>";
3269 echo "<span class='text'>${data['psychiatric_mood_swings']}</span>";
3272 if ( $data['psychiatric_mood_swings_text'] != null ) {
3273 echo "<span class='text'>(${data['psychiatric_mood_swings_text']})</span>";
3280 if ( ($data["psychiatric_pananoia"] != "N/A" && $data["psychiatric_pananoia"] != "" && $data["psychiatric_pananoia"] != "--") ||
( $data["psychiatric_pananoia_text"] != "" && $data["psychiatric_pananoia_text"] != null ) ) {
3283 echo "<span class='text'>Pananoia:<span>";
3286 echo "<span class='text'>${data['psychiatric_pananoia']}</span>";
3289 if ( $data['psychiatric_pananoia_text'] != null ) {
3290 echo "<span class='text'>(${data['psychiatric_pananoia_text']})</span>";
3297 if ( ($data["psychiatric_insomnia"] != "N/A" && $data["psychiatric_insomnia"] != "" && $data["psychiatric_insomnia"] != "--") ||
( $data["psychiatric_insomnia_text"] != "" && $data["psychiatric_insomnia_text"] != null ) ) {
3300 echo "<span class='text'>Insomnia:<span>";
3303 echo "<span class='text'>${data['psychiatric_insomnia']}</span>";
3306 if ( $data['psychiatric_insomnia_text'] != null ) {
3307 echo "<span class='text'>(${data['psychiatric_insomnia_text']})</span>";
3320 function endsWith($FullStr, $EndStr)
3322 $StrLen = strlen($EndStr);
3323 $FullStrEnd = substr($FullStr, strlen($FullStr) - $StrLen);
3324 return $FullStrEnd == $EndStr;