Dialog styles (#7797)
[openemr.git] / interface / forms / ros / FormROS.class.php
blob086249f6c70d25cd485919f5cc4314f6aec19336
1 <?php
3 /**
4 * ROS form
6 * @package OpenEMR
7 * @link http://www.open-emr.org
8 * @author Brady Miller <brady.g.miller@gmail.com>
9 * @copyright Copyright (c) 2019 Brady Miller <brady.g.miller@gmail.com>
10 * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
13 /**
14 * class
18 use OpenEMR\Common\ORDataObject\ORDataObject;
20 class FormROS extends ORDataObject
22 /**
24 * @access public
28 /**
30 * static
33 /**
35 * @access private
38 var $id;
39 var $date;
40 var $date_of_onset;
41 var $pid;
42 var $weight_change = "N/A";
43 var $weakness = "N/A";
44 var $fatigue = "N/A";
45 var $anorexia = "N/A";
46 var $fever = "N/A";
47 var $chills = "N/A";
48 var $night_sweats = "N/A";
49 var $insomnia = "N/A";
50 var $irritability = "N/A";
51 var $heat_or_cold = "N/A";
52 var $intolerance = "N/A";
53 var $change_in_vision = "N/A";
54 var $glaucoma_history = "N/A";
55 var $eye_pain = "N/A";
56 var $irritation = "N/A";
57 var $redness = "N/A";
58 var $excessive_tearing = "N/A";
59 var $double_vision = "N/A";
60 var $blind_spots = "N/A";
61 var $photophobia = "N/A";
62 var $hearing_loss = "N/A";
63 var $discharge = "N/A";
64 var $pain = "N/A";
65 var $vertigo = "N/A";
66 var $tinnitus = "N/A";
67 var $frequent_colds = "N/A";
68 var $sore_throat = "N/A";
69 var $sinus_problems = "N/A";
70 var $post_nasal_drip = "N/A";
71 var $nosebleed = "N/A";
72 var $snoring = "N/A";
73 var $apnea = "N/A";
74 var $breast_mass = "N/A";
75 var $breast_discharge = "N/A";
76 var $biopsy = "N/A";
77 var $abnormal_mammogram = "N/A";
78 var $cough = "N/A";
79 var $sputum = "N/A";
80 var $shortness_of_breath = "N/A";
81 var $wheezing = "N/A";
82 var $hemoptsyis = "N/A";
83 var $asthma = "N/A";
84 var $copd = "N/A";
85 var $chest_pain = "N/A";
86 var $palpitation = "N/A";
87 var $syncope = "N/A";
88 var $pnd = "N/A";
89 var $doe = "N/A";
90 var $orthopnea = "N/A";
91 var $peripheal = "N/A";
92 var $edema = "N/A";
93 var $legpain_cramping = "N/A";
94 var $history_murmur = "N/A";
95 var $arrythmia = "N/A";
96 var $heart_problem = "N/A";
97 var $dysphagia = "N/A";
98 var $heartburn = "N/A";
99 var $bloating = "N/A";
100 var $belching = "N/A";
101 var $flatulence = "N/A";
102 var $nausea = "N/A";
103 var $vomiting = "N/A";
104 var $hematemesis = "N/A";
105 var $gastro_pain = "N/A";
106 var $food_intolerance = "N/A";
107 var $hepatitis = "N/A";
108 var $jaundice = "N/A";
109 var $hematochezia = "N/A";
110 var $changed_bowel = "N/A";
111 var $diarrhea = "N/A";
112 var $constipation = "N/A";
113 var $polyuria = "N/A";
114 var $polydypsia = "N/A";
115 var $dysuria = "N/A";
116 var $hematuria = "N/A";
117 var $frequency = "N/A";
118 var $urgency = "N/A";
119 var $incontinence = "N/A";
120 var $renal_stones = "N/A";
121 var $utis = "N/A";
122 var $hesitancy = "N/A";
123 var $dribbling = "N/A";
124 var $stream = "N/A";
125 var $nocturia = "N/A";
126 var $erections = "N/A";
127 var $ejaculations = "N/A";
128 var $g = "N/A";
129 var $p = "N/A";
130 var $ap = "N/A";
131 var $lc = "N/A";
132 var $mearche = "N/A";
133 var $menopause = "N/A";
134 var $lmp = "N/A";
135 var $f_frequency = "N/A";
136 var $f_flow = "N/A";
137 var $f_symptoms = "N/A";
138 var $abnormal_hair_growth = "N/A";
139 var $f_hirsutism = "N/A";
140 var $joint_pain = "N/A";
141 var $swelling = "N/A";
142 var $m_redness = "N/A";
143 var $m_warm = "N/A";
144 var $m_stiffness = "N/A";
145 var $muscle = "N/A";
146 var $m_aches = "N/A";
147 var $fms = "N/A";
148 var $arthritis = "N/A";
149 var $loc = "N/A";
150 var $seizures = "N/A";
151 var $stroke = "N/A";
152 var $tia = "N/A";
153 var $n_numbness = "N/A";
154 var $n_weakness = "N/A";
155 var $paralysis = "N/A";
156 var $intellectual_decline = "N/A";
157 var $memory_problems = "N/A";
158 var $dementia = "N/A";
159 var $n_headache = "N/A";
160 var $s_cancer = "N/A";
161 var $psoriasis = "N/A";
162 var $s_acne = "N/A";
163 var $s_other = "N/A";
164 var $s_disease = "N/A";
165 var $p_diagnosis = "N/A";
166 var $p_medication = "N/A";
167 var $depression = "N/A";
168 var $anxiety = "N/A";
169 var $social_difficulties = "N/A";
170 var $thyroid_problems = "N/A";
171 var $diabetes = "N/A";
172 var $abnormal_blood = "N/A";
173 var $anemia = "N/A";
174 var $fh_blood_problems = "N/A";
175 var $bleeding_problems = "N/A";
176 var $allergies = "N/A";
177 var $frequent_illness = "N/A";
178 var $hiv = "N/A";
179 var $hai_status = "N/A";
182 * Constructor sets all Form attributes to their default value
185 function __construct($id = "", $_prefix = "")
187 if (is_numeric($id)) {
188 $this->id = $id;
189 } else {
190 $id = "";
193 $this->date = date("Y-m-d H:i:s");
194 $this->date_of_onset = date("Y-m-d");
195 $this->_table = "form_ros";
197 $this->pid = $GLOBALS['pid'];
198 if ($id != "") {
199 $this->populate();
202 function populate()
204 parent::populate();
207 function set_id($id)
209 if (!empty($id) && is_numeric($id)) {
210 $this->id = $id;
213 function get_id()
215 return $this->id;
217 function set_pid($pid)
219 if (!empty($pid) && is_numeric($pid)) {
220 $this->pid = $pid;
223 function get_pid()
225 return $this->pid;
228 function get_date()
230 return $this->date;
233 function set_date($date)
235 if (!empty($date)) {
236 $this->date = $date;
240 function get_weight_change()
242 return $this->weight_change;
244 function set_weight_change($data)
246 if (!empty($data)) {
247 $this->weight_change = $data;
251 function get_weakness()
253 return $this->weakness;
255 function set_weakness($data)
257 if (!empty($data)) {
258 $this->weakness = $data;
262 function get_fatigue()
264 return $this->fatigue;
266 function set_fatigue($data)
268 if (!empty($data)) {
269 $this->fatigue = $data;
273 function get_anorexia()
275 return $this->anorexia;
277 function set_anorexia($data)
279 if (!empty($data)) {
280 $this->anorexia = $data;
284 function get_fever()
286 return $this->fever;
288 function set_fever($data)
290 if (!empty($data)) {
291 $this->fever = $data;
295 function get_chills()
297 return $this->chills;
299 function set_chills($data)
301 if (!empty($data)) {
302 $this->chills = $data;
306 function get_night_sweats()
308 return $this->night_sweats;
310 function set_night_sweats($data)
312 if (!empty($data)) {
313 $this->night_sweats = $data;
317 function get_insomnia()
319 return $this->insomnia;
321 function set_insomnia($data)
323 if (!empty($data)) {
324 $this->insomnia = $data;
328 function get_irritability()
330 return $this->irritability;
332 function set_irritability($data)
334 if (!empty($data)) {
335 $this->irritability = $data;
339 function get_heat_or_cold()
341 return $this->heat_or_cold;
343 function set_heat_or_cold($data)
345 if (!empty($data)) {
346 $this->heat_or_cold = $data;
350 function get_intolerance()
352 return $this->intolerance;
354 function set_intolerance($data)
356 if (!empty($data)) {
357 $this->intolerance = $data;
361 function get_change_in_vision()
363 return $this->change_in_vision;
365 function set_change_in_vision($data)
367 if (!empty($data)) {
368 $this->change_in_vision = $data;
371 function get_glaucoma_history()
373 return $this->glaucoma_history;
375 function set_glaucoma_history($data)
377 if (!empty($data)) {
378 $this->glaucoma_history = $data;
381 function get_eye_pain()
383 return $this->eye_pain;
385 function set_eye_pain($data)
387 if (!empty($data)) {
388 $this->eye_pain = $data;
391 function get_irritation()
393 return $this->irritation;
395 function set_irritation($data)
397 if (!empty($data)) {
398 $this->irritation = $data;
401 function get_redness()
403 return $this->redness;
405 function set_redness($data)
407 if (!empty($data)) {
408 $this->redness = $data;
411 function get_excessive_tearing()
413 return $this->excessive_tearing;
415 function set_excessive_tearing($data)
417 if (!empty($data)) {
418 $this->excessive_tearing = $data;
421 function get_double_vision()
423 return $this->double_vision;
425 function set_double_vision($data)
427 if (!empty($data)) {
428 $this->double_vision = $data;
431 function get_blind_spots()
433 return $this->blind_spots;
435 function set_blind_spots($data)
437 if (!empty($data)) {
438 $this->blind_spots = $data;
441 function get_photophobia()
443 return $this->photophobia;
445 function set_photophobia($data)
447 if (!empty($data)) {
448 $this->photophobia = $data;
452 function get_hearing_loss()
454 return $this->hearing_loss;
456 function set_hearing_loss($data)
458 if (!empty($data)) {
459 $this->hearing_loss = $data;
462 function get_discharge()
464 return $this->discharge;
466 function set_discharge($data)
468 if (!empty($data)) {
469 $this->discharge = $data;
472 function get_pain()
474 return $this->pain;
476 function set_pain($data)
478 if (!empty($data)) {
479 $this->pain = $data;
482 function get_vertigo()
484 return $this->vertigo;
486 function set_vertigo($data)
488 if (!empty($data)) {
489 $this->vertigo = $data;
492 function get_tinnitus()
494 return $this->tinnitus;
496 function set_tinnitus($data)
498 if (!empty($data)) {
499 $this->tinnitus = $data;
502 function get_frequent_colds()
504 return $this->frequent_colds;
506 function set_frequent_colds($data)
508 if (!empty($data)) {
509 $this->frequent_colds = $data;
512 function get_sore_throat()
514 return $this->sore_throat;
516 function set_sore_throat($data)
518 if (!empty($data)) {
519 $this->sore_throat = $data;
522 function get_sinus_problems()
524 return $this->sinus_problems;
526 function set_sinus_problems($data)
528 if (!empty($data)) {
529 $this->sinus_problems = $data;
532 function get_post_nasal_drip()
534 return $this->post_nasal_drip;
536 function set_post_nasal_drip($data)
538 if (!empty($data)) {
539 $this->post_nasal_drip = $data;
542 function get_nosebleed()
544 return $this->nosebleed;
546 function set_nosebleed($data)
548 if (!empty($data)) {
549 $this->nosebleed = $data;
552 function get_snoring()
554 return $this->snoring;
556 function set_snoring($data)
558 if (!empty($data)) {
559 $this->snoring = $data;
562 function get_apnea()
564 return $this->apnea;
566 function set_apnea($data)
568 if (!empty($data)) {
569 $this->apnea = $data;
572 function get_breast_mass()
574 return $this->breast_mass;
576 function set_breast_mass($data)
578 if (!empty($data)) {
579 $this->breast_mass = $data;
582 function get_breast_discharge()
584 return $this->breast_discharge;
586 function set_breast_discharge($data)
588 if (!empty($data)) {
589 $this->breast_discharge = $data;
592 function get_biopsy()
594 return $this->biopsy;
596 function set_biopsy($data)
598 if (!empty($data)) {
599 $this->biopsy = $data;
602 function get_abnormal_mammogram()
604 return $this->abnormal_mammogram;
606 function set_abnormal_mammogram($data)
608 if (!empty($data)) {
609 $this->abnormal_mammogram = $data;
612 function get_cough()
614 return $this->cough;
616 function set_cough($data)
618 if (!empty($data)) {
619 $this->cough = $data;
622 function set_sputum($data)
624 if (!empty($data)) {
625 $this->sputum = $data;
628 function get_sputum()
630 return $this->sputum;
632 function get_shortness_of_breath()
634 return $this->shortness_of_breath;
636 function set_shortness_of_breath($data)
638 if (!empty($data)) {
639 $this->shortness_of_breath = $data;
642 function get_wheezing()
644 return $this->wheezing;
646 function set_wheezing($data)
648 if (!empty($data)) {
649 $this->wheezing = $data;
652 function get_hemoptsyis()
654 return $this->hemoptsyis;
656 function set_hemoptsyis($data)
658 if (!empty($data)) {
659 $this->hemoptsyis = $data;
662 function get_asthma()
664 return $this->asthma;
666 function set_asthma($data)
668 if (!empty($data)) {
669 $this->asthma = $data;
672 function get_copd()
674 return $this->copd;
676 function set_copd($data)
678 if (!empty($data)) {
679 $this->copd = $data;
683 function get_chest_pain()
685 return $this->chest_pain;
687 function set_chest_pain($data)
689 if (!empty($data)) {
690 $this->chest_pain = $data;
693 function get_palpitation()
695 return $this->palpitation;
697 function set_palpitation($data)
699 if (!empty($data)) {
700 $this->palpitation = $data;
703 function get_syncope()
705 return $this->syncope;
707 function set_syncope($data)
709 if (!empty($data)) {
710 $this->syncope = $data;
713 function get_pnd()
715 return $this->pnd;
717 function set_pnd($data)
719 if (!empty($data)) {
720 $this->pnd = $data;
723 function get_doe()
725 return $this->doe;
727 function set_doe($data)
729 if (!empty($data)) {
730 $this->doe = $data;
733 function get_orthopnea()
735 return $this->orthopnea;
737 function set_orthopnea($data)
739 if (!empty($data)) {
740 $this->orthopnea = $data;
743 function get_peripheal()
745 return $this->peripheal;
747 function set_peripheal($data)
749 if (!empty($data)) {
750 $this->peripheal = $data;
753 function get_edema()
755 return $this->edema;
757 function set_edema($data)
759 if (!empty($data)) {
760 $this->edema = $data;
763 function get_legpain_cramping()
765 return $this->legpain_cramping;
767 function set_legpain_cramping($data)
769 if (!empty($data)) {
770 $this->legpain_cramping = $data;
773 function get_history_murmur()
775 return $this->history_murmur;
777 function set_history_murmur($data)
779 if (!empty($data)) {
780 $this->history_murmur = $data;
783 function get_arrythmia()
785 return $this->arrythmia;
787 function set_arrythmia($data)
789 if (!empty($data)) {
790 $this->arrythmia = $data;
793 function get_heart_problem()
795 return $this->heart_problem;
797 function set_heart_problem($data)
799 if (!empty($data)) {
800 $this->heart_problem = $data;
804 function get_polyuria()
806 return $this->polyuria;
808 function set_polyuria($data)
810 if (!empty($data)) {
811 $this->polyuria = $data;
814 function get_polydypsia()
816 return $this->polydypsia;
818 function set_polydypsia($data)
820 if (!empty($data)) {
821 $this->polydypsia = $data;
824 function get_dysuria()
826 return $this->dysuria;
828 function set_dysuria($data)
830 if (!empty($data)) {
831 $this->dysuria = $data;
834 function get_hematuria()
836 return $this->hematuria;
838 function set_hematuria($data)
840 if (!empty($data)) {
841 $this->hematuria = $data;
844 function get_frequency()
846 return $this->frequency;
848 function set_frequency($data)
850 if (!empty($data)) {
851 $this->frequency = $data;
854 function get_urgency()
856 return $this->urgency;
858 function set_urgency($data)
860 if (!empty($data)) {
861 $this->urgency = $data;
864 function get_incontinence()
866 return $this->incontinence;
868 function set_incontinence($data)
870 if (!empty($data)) {
871 $this->incontinence = $data;
874 function get_renal_stones()
876 return $this->renal_stones;
878 function set_renal_stones($data)
880 if (!empty($data)) {
881 $this->renal_stones = $data;
884 function get_utis()
886 return $this->utis;
888 function set_utis($data)
890 if (!empty($data)) {
891 $this->utis = $data;
895 function get_hesitancy()
897 return $this->hesitancy;
899 function set_hesitancy($data)
901 if (!empty($data)) {
902 $this->hesitancy = $data;
905 function get_dribbling()
907 return $this->dribbling;
909 function set_dribbling($data)
911 if (!empty($data)) {
912 $this->dribbling = $data;
915 function get_stream()
917 return $this->stream;
919 function set_stream($data)
921 if (!empty($data)) {
922 $this->stream = $data;
925 function get_nocturia()
927 return $this->nocturia;
929 function set_nocturia($data)
931 if (!empty($data)) {
932 $this->nocturia = $data;
935 function get_erections()
937 return $this->erections;
939 function set_erections($data)
941 if (!empty($data)) {
942 $this->erections = $data;
945 function get_ejaculations()
947 return $this->ejaculations;
949 function set_ejaculations($data)
951 if (!empty($data)) {
952 $this->ejaculations = $data;
956 function get_g()
958 return $this->g;
960 function set_g($data)
962 if (!empty($data)) {
963 $this->g = $data;
966 function get_p()
968 return $this->p;
970 function set_p($data)
972 if (!empty($data)) {
973 $this->p = $data;
976 function get_ap()
978 return $this->ap;
980 function set_ap($data)
982 if (!empty($data)) {
983 $this->ap = $data;
986 function get_lc()
988 return $this->lc;
990 function set_lc($data)
992 if (!empty($data)) {
993 $this->lc = $data;
996 function get_mearche()
998 return $this->mearche;
1000 function set_mearche($data)
1002 if (!empty($data)) {
1003 $this->mearche = $data;
1006 function get_menopause()
1008 return $this->menopause;
1010 function set_menopause($data)
1012 if (!empty($data)) {
1013 $this->menopause = $data;
1016 function get_lmp()
1018 return $this->lmp;
1020 function set_lmp($data)
1022 if (!empty($data)) {
1023 $this->lmp = $data;
1026 function get_f_frequency()
1028 return $this->f_frequency;
1030 function set_f_frequency($data)
1032 if (!empty($data)) {
1033 $this->f_frequency = $data;
1036 function get_f_flow()
1038 return $this->f_flow;
1040 function set_f_flow($data)
1042 if (!empty($data)) {
1043 $this->f_flow = $data;
1046 function get_f_symptoms()
1048 return $this->f_symptoms;
1050 function set_f_symptoms($data)
1052 if (!empty($data)) {
1053 $this->f_symptoms = $data;
1056 function get_abnormal_hair_growth()
1058 return $this->abnormal_hair_growth;
1060 function set_abnormal_hair_growth($data)
1062 if (!empty($data)) {
1063 $this->abnormal_hair_growth = $data;
1066 function get_f_hirsutism()
1068 return $this->f_hirsutism;
1070 function set_f_hirsutism($data)
1072 if (!empty($data)) {
1073 $this->f_hirsutism = $data;
1077 function get_joint_pain()
1079 return $this->joint_pain;
1081 function set_joint_pain($data)
1083 if (!empty($data)) {
1084 $this->joint_pain = $data;
1087 function get_swelling()
1089 return $this->swelling;
1091 function set_swelling($data)
1093 if (!empty($data)) {
1094 $this->swelling = $data;
1097 function get_m_redness()
1099 return $this->m_redness;
1101 function set_m_redness($data)
1103 if (!empty($data)) {
1104 $this->m_redness = $data;
1107 function get_m_warm()
1109 return $this->m_warm;
1111 function set_m_warm($data)
1113 if (!empty($data)) {
1114 $this->m_warm = $data;
1117 function get_m_stiffness()
1119 return $this->m_stiffness;
1121 function set_m_stiffness($data)
1123 if (!empty($data)) {
1124 $this->m_stiffness = $data;
1127 function get_muscle()
1129 return $this->muscle;
1131 function set_muscle($data)
1133 if (!empty($data)) {
1134 $this->muscle = $data;
1137 function get_m_aches()
1139 return $this->m_aches;
1141 function set_m_aches($data)
1143 if (!empty($data)) {
1144 $this->m_aches = $data;
1147 function get_fms()
1149 return $this->fms;
1151 function set_fms($data)
1153 if (!empty($data)) {
1154 $this->fms = $data;
1157 function get_arthritis()
1159 return $this->arthritis;
1161 function set_arthritis($data)
1163 if (!empty($data)) {
1164 $this->arthritis = $data;
1168 function get_loc()
1170 return $this->loc;
1172 function set_loc($data)
1174 if (!empty($data)) {
1175 $this->loc = $data;
1178 function get_seizures()
1180 return $this->seizures;
1182 function set_seizures($data)
1184 if (!empty($data)) {
1185 $this->seizures = $data;
1188 function get_stroke()
1190 return $this->stroke;
1192 function set_stroke($data)
1194 if (!empty($data)) {
1195 $this->stroke = $data;
1198 function get_tia()
1200 return $this->tia;
1202 function set_tia($data)
1204 if (!empty($data)) {
1205 $this->tia = $data;
1208 function get_n_numbness()
1210 return $this->n_numbness;
1212 function set_n_numbness($data)
1214 if (!empty($data)) {
1215 $this->n_numbness = $data;
1218 function get_n_weakness()
1220 return $this->n_weakness;
1222 function set_n_weakness($data)
1224 if (!empty($data)) {
1225 $this->n_weakness = $data;
1228 function get_paralysis()
1230 return $this->paralysis;
1232 function set_paralysis($data)
1234 if (!empty($data)) {
1235 $this->paralysis = $data;
1238 function get_intellectual_decline()
1240 return $this->intellectual_decline;
1242 function set_intellectual_decline($data)
1244 if (!empty($data)) {
1245 $this->intellectual_decline = $data;
1248 function get_memory_problems()
1250 return $this->memory_problems;
1252 function set_memory_problems($data)
1254 if (!empty($data)) {
1255 $this->memory_problems = $data;
1258 function get_dementia()
1260 return $this->dementia;
1262 function set_dementia($data)
1264 if (!empty($data)) {
1265 $this->dementia = $data;
1268 function get_n_headache()
1270 return $this->n_headache;
1272 function set_n_headache($data)
1274 if (!empty($data)) {
1275 $this->n_headache = $data;
1279 function get_s_cancer()
1281 return $this->s_cancer;
1283 function set_s_cancer($data)
1285 if (!empty($data)) {
1286 $this->s_cancer = $data;
1289 function get_psoriasis()
1291 return $this->psoriasis;
1293 function set_psoriasis($data)
1295 if (!empty($data)) {
1296 $this->psoriasis = $data;
1299 function get_s_acne()
1301 return $this->s_acne;
1303 function set_s_acne($data)
1305 if (!empty($data)) {
1306 $this->s_acne = $data;
1309 function get_s_other()
1311 return $this->s_other;
1313 function set_s_other($data)
1315 if (!empty($data)) {
1316 $this->s_other = $data;
1319 function get_s_disease()
1321 return $this->s_disease;
1323 function set_s_disease($data)
1325 if (!empty($data)) {
1326 $this->s_disease = $data;
1330 function get_p_diagnosis()
1332 return $this->p_diagnosis;
1334 function set_p_diagnosis($data)
1336 if (!empty($data)) {
1337 $this->p_diagnosis = $data;
1340 function get_p_medication()
1342 return $this->p_medication;
1344 function set_p_medication($data)
1346 if (!empty($data)) {
1347 $this->p_medication = $data;
1350 function get_depression()
1352 return $this->depression;
1354 function set_depression($data)
1356 if (!empty($data)) {
1357 $this->depression = $data;
1360 function get_anxiety()
1362 return $this->anxiety;
1364 function set_anxiety($data)
1366 if (!empty($data)) {
1367 $this->anxiety = $data;
1370 function get_social_difficulties()
1372 return $this->social_difficulties;
1374 function set_social_difficulties($data)
1376 if (!empty($data)) {
1377 $this->social_difficulties = $data;
1381 function get_thyroid_problems()
1383 return $this->thyroid_problems;
1385 function set_thyroid_problems($data)
1387 if (!empty($data)) {
1388 $this->thyroid_problems = $data;
1391 function get_diabetes()
1393 return $this->diabetes;
1395 function set_diabetes($data)
1397 if (!empty($data)) {
1398 $this->diabetes = $data;
1401 function get_abnormal_blood()
1403 return $this->abnormal_blood;
1405 function set_abnormal_blood($data)
1407 if (!empty($data)) {
1408 $this->abnormal_blood = $data;
1412 function get_anemia()
1414 return $this->anemia;
1416 function set_anemia($data)
1418 if (!empty($data)) {
1419 $this->anemia = $data;
1422 function get_fh_blood_problems()
1424 return $this->fh_blood_problems;
1426 function set_fh_blood_problems($data)
1428 if (!empty($data)) {
1429 $this->fh_blood_problems = $data;
1432 function get_bleeding_problems()
1434 return $this->bleeding_problems;
1436 function set_bleeding_problems($data)
1438 if (!empty($data)) {
1439 $this->bleeding_problems = $data;
1442 function get_allergies()
1444 return $this->allergies;
1446 function set_allergies($data)
1448 if (!empty($data)) {
1449 $this->allergies = $data;
1452 function get_frequent_illness()
1454 return $this->frequent_illness;
1456 function set_frequent_illness($data)
1458 if (!empty($data)) {
1459 $this->frequent_illness = $data;
1462 function get_hiv()
1464 return $this->hiv;
1466 function set_hiv($data)
1468 if (!empty($data)) {
1469 $this->hiv = $data;
1472 function get_hai_status()
1474 return $this->hai_status;
1476 function set_hai_status($data)
1478 if (!empty($data)) {
1479 $this->hai_status = $data;
1483 function get_options()
1485 $ret = array("N/A" => xlt('N/A'),"YES" => xlt('YES'),"NO" => xlt('NO'));
1486 return $ret;
1489 function get_dysphagia()
1491 return $this->dysphagia;
1493 function set_dysphagia($data)
1495 if (!empty($data)) {
1496 $this->dysphagia = $data;
1499 function get_heartburn()
1501 return $this->heartburn;
1503 function set_heartburn($data)
1505 if (!empty($data)) {
1506 $this->heartburn = $data;
1509 function get_bloating()
1511 return $this->bloating;
1513 function set_bloating($data)
1515 if (!empty($data)) {
1516 $this->bloating = $data;
1519 function get_belching()
1521 return $this->belching;
1523 function set_belching($data)
1525 if (!empty($data)) {
1526 $this->belching = $data;
1529 function get_flatulence()
1531 return $this->flatulence;
1533 function set_flatulence($data)
1535 if (!empty($data)) {
1536 $this->flatulence = $data;
1539 function get_nausea()
1541 return $this->nausea;
1543 function set_nausea($data)
1545 if (!empty($data)) {
1546 $this->nausea = $data;
1549 function get_vomiting()
1551 return $this->vomiting;
1553 function set_vomiting($data)
1555 if (!empty($data)) {
1556 $this->vomiting = $data;
1559 function get_hematemesis()
1561 return $this->hematemesis;
1563 function set_hematemesis($data)
1565 if (!empty($data)) {
1566 $this->hematemesis = $data;
1569 function get_gastro_pain()
1571 return $this->gastro_pain;
1573 function set_gastro_pain($data)
1575 if (!empty($data)) {
1576 $this->gastro_pain = $data;
1579 function get_food_intolerance()
1581 return $this->food_intolerance;
1583 function set_food_intolerance($data)
1585 if (!empty($data)) {
1586 $this->food_intolerance = $data;
1589 function get_hepatitis()
1591 return $this->hepatitis;
1593 function set_hepatitis($data)
1595 if (!empty($data)) {
1596 $this->hepatitis = $data;
1599 function get_jaundice()
1601 return $this->jaundice;
1603 function set_jaundice($data)
1605 if (!empty($data)) {
1606 $this->jaundice = $data;
1609 function get_hematochezia()
1611 return $this->hematochezia;
1613 function set_hematochezia($data)
1615 if (!empty($data)) {
1616 $this->hematochezia = $data;
1619 function get_changed_bowel()
1621 return $this->changed_bowel;
1623 function set_changed_bowel($data)
1625 if (!empty($data)) {
1626 $this->changed_bowel = $data;
1629 function get_diarrhea()
1631 return $this->diarrhea;
1633 function set_diarrhea($data)
1635 if (!empty($data)) {
1636 $this->diarrhea = $data;
1639 function get_constipation()
1641 return $this->constipation;
1643 function set_constipation($data)
1645 if (!empty($data)) {
1646 $this->constipation = $data;
1649 function toString($html = false)
1651 $string .= "\n"
1652 . "ID: " . $this->id . "\n";
1654 if ($html) {
1655 return nl2br($string);
1656 } else {
1657 return $string;
1660 function persist()
1662 parent::persist();
1664 } // end of Form