Update acknowledgments
[openemr.git] / interface / forms / ros / FormROS.class.php
blob9513d79a09cd86d6b710eeebdcf858c6b48c1d43
1 <?php
3 require_once(dirname(__FILE__) . "/../../../library/classes/ORDataObject.class.php");
6 /**
7 * class
9 */
10 class FormROS extends ORDataObject {
12 /**
14 * @access public
18 /**
20 * static
23 /**
25 * @access private
28 var $id;
29 var $date;
30 var $pid;
31 var $weight_change = "N/A";
32 var $weakness = "N/A";
33 var $fatigue = "N/A";
34 var $anorexia = "N/A";
35 var $fever = "N/A";
36 var $chills = "N/A";
37 var $night_sweats = "N/A";
38 var $insomnia = "N/A";
39 var $irritability = "N/A";
40 var $heat_or_cold = "N/A";
41 var $intolerance = "N/A";
42 var $change_in_vision = "N/A";
43 var $glaucoma_history = "N/A";
44 var $eye_pain = "N/A";
45 var $irritation = "N/A";
46 var $redness = "N/A";
47 var $excessive_tearing = "N/A";
48 var $double_vision = "N/A";
49 var $blind_spots = "N/A";
50 var $photophobia = "N/A";
51 var $hearing_loss = "N/A";
52 var $discharge = "N/A";
53 var $pain = "N/A";
54 var $vertigo = "N/A";
55 var $tinnitus = "N/A";
56 var $frequent_colds = "N/A";
57 var $sore_throat = "N/A";
58 var $sinus_problems = "N/A";
59 var $post_nasal_drip = "N/A";
60 var $nosebleed = "N/A";
61 var $snoring = "N/A";
62 var $apnea = "N/A";
63 var $breast_mass = "N/A";
64 var $breast_discharge = "N/A";
65 var $biopsy = "N/A";
66 var $abnormal_mammogram = "N/A";
67 var $cough = "N/A";
68 var $sputum = "N/A";
69 var $shortness_of_breath = "N/A";
70 var $wheezing = "N/A";
71 var $hemoptsyis = "N/A";
72 var $asthma = "N/A";
73 var $copd = "N/A";
74 var $chest_pain = "N/A";
75 var $palpitation = "N/A";
76 var $syncope = "N/A";
77 var $pnd = "N/A";
78 var $doe = "N/A";
79 var $orthopnea = "N/A";
80 var $peripheal = "N/A";
81 var $edema = "N/A";
82 var $legpain_cramping = "N/A";
83 var $history_murmur = "N/A";
84 var $arryhmia = "N/A";
85 var $heart_problem = "N/A";
86 var $dysphagia = "N/A";
87 var $heartburn = "N/A";
88 var $bloating = "N/A";
89 var $belching = "N/A";
90 var $flatulence = "N/A";
91 var $nausea = "N/A";
92 var $vomiting = "N/A";
93 var $hematemesis = "N/A";
94 var $gastro_pain = "N/A";
95 var $food_intolerance = "N/A";
96 var $hepatitis = "N/A";
97 var $jaundice = "N/A";
98 var $hematochezia = "N/A";
99 var $changed_bowel = "N/A";
100 var $diarrhea = "N/A";
101 var $constipation = "N/A";
102 var $polyuria = "N/A";
103 var $polydypsia = "N/A";
104 var $dysuria = "N/A";
105 var $hematuria = "N/A";
106 var $frequency = "N/A";
107 var $urgency = "N/A";
108 var $incontinence = "N/A";
109 var $renal_stones = "N/A";
110 var $utis = "N/A";
111 var $hesitancy = "N/A";
112 var $dribbling = "N/A";
113 var $stream = "N/A";
114 var $nocturia = "N/A";
115 var $erections = "N/A";
116 var $ejaculations = "N/A";
117 var $g = "N/A";
118 var $p = "N/A";
119 var $ap = "N/A";
120 var $lc = "N/A";
121 var $mearche = "N/A";
122 var $menopause = "N/A";
123 var $lmp = "N/A";
124 var $f_frequency = "N/A";
125 var $f_flow = "N/A";
126 var $f_symptoms = "N/A";
127 var $abnormal_hair_growth = "N/A";
128 var $f_hirsutism = "N/A";
129 var $joint_pain = "N/A";
130 var $swelling = "N/A";
131 var $m_redness = "N/A";
132 var $m_warm = "N/A";
133 var $m_stiffness = "N/A";
134 var $muscle = "N/A";
135 var $m_aches = "N/A";
136 var $fms = "N/A";
137 var $arthritis = "N/A";
138 var $loc = "N/A";
139 var $seizures = "N/A";
140 var $stroke = "N/A";
141 var $tia = "N/A";
142 var $n_numbness = "N/A";
143 var $n_weakness = "N/A";
144 var $paralysis = "N/A";
145 var $intellectual_decline = "N/A";
146 var $memory_problems = "N/A";
147 var $dementia = "N/A";
148 var $n_headache = "N/A";
149 var $s_cancer = "N/A";
150 var $psoriasis = "N/A";
151 var $s_acne = "N/A";
152 var $s_other = "N/A";
153 var $s_disease = "N/A";
154 var $p_diagnosis = "N/A";
155 var $p_medication = "N/A";
156 var $depression = "N/A";
157 var $anxiety = "N/A";
158 var $social_difficulties = "N/A";
159 var $thyroid_problems = "N/A";
160 var $diabetes = "N/A";
161 var $abnormal_blood = "N/A";
162 var $anemia = "N/A";
163 var $fh_blood_problems = "N/A";
164 var $bleeding_problems = "N/A";
165 var $allergies = "N/A";
166 var $frequent_illness = "N/A";
167 var $hiv = "N/A";
168 var $hai_status = "N/A";
171 * Constructor sets all Form attributes to their default value
174 function FormROS($id= "", $_prefix = "") {
175 if (is_numeric($id)) {
176 $this->id = $id;
178 else {
179 $id = "";
181 $this->date = date("Y-m-d H:i:s");
182 $this->date_of_onset = date("Y-m-d");
183 $this->_table = "form_ros";
185 $this->pid = $GLOBALS['pid'];
186 if ($id != "") {
188 $this->populate();
191 function populate() {
192 parent::populate();
195 function set_id($id) {
196 if (!empty($id) && is_numeric($id)) {
197 $this->id = $id;
200 function get_id() {
201 return $this->id;
203 function set_pid($pid) {
204 if (!empty($pid) && is_numeric($pid)) {
205 $this->pid = $pid;
208 function get_pid() {
209 return $this->pid;
212 function get_date() {
213 return $this->date;
216 function set_date($date) {
217 if(!empty($date)){
218 $this->date = $date;
222 function get_weight_change(){
223 return $this->weight_change;
225 function set_weight_change($data){
226 if(!empty($data)){
227 $this->weight_change = $data;
231 function get_weakness(){
232 return $this->weakness;
234 function set_weakness($data){
235 if(!empty($data)){
236 $this->weakness = $data;
240 function get_fatigue(){
241 return $this->fatigue;
243 function set_fatigue($data){
244 if(!empty($data)){
245 $this->fatigue = $data;
249 function get_anorexia(){
250 return $this->anorexia;
252 function set_anorexia($data){
253 if(!empty($data)){
254 $this->anorexia = $data;
258 function get_fever(){
259 return $this->fever;
261 function set_fever($data){
262 if(!empty($data)){
263 $this->fever = $data;
267 function get_chills(){
268 return $this->chills;
270 function set_chills($data){
271 if(!empty($data)){
272 $this->chills = $data;
276 function get_night_sweats(){
277 return $this->night_sweats;
279 function set_night_sweats($data){
280 if(!empty($data)){
281 $this->night_sweats = $data;
285 function get_insomnia(){
286 return $this->insomnia;
288 function set_insomnia($data){
289 if(!empty($data)){
290 $this->insomnia = $data;
294 function get_irritability(){
295 return $this->irritability;
297 function set_irritability($data){
298 if(!empty($data)){
299 $this->irritability = $data;
303 function get_heat_or_cold(){
304 return $this->heat_or_cold;
306 function set_heat_or_cold($data){
307 if(!empty($data)){
308 $this->heat_or_cold = $data;
312 function get_intolerance(){
313 return $this->intolerance;
315 function set_intolerance($data){
316 if(!empty($data)){
317 $this->intolerance = $data;
321 function get_change_in_vision(){
322 return $this->change_in_vision;
324 function set_change_in_vision($data){
325 if(!empty($data)){
326 $this->change_in_vision = $data;
329 function get_glaucoma_history(){
330 return $this->glaucoma_history;
332 function set_glaucoma_history($data){
333 if(!empty($data)){
334 $this->glaucoma_history = $data;
337 function get_eye_pain(){
338 return $this->eye_pain;
340 function set_eye_pain($data){
341 if(!empty($data)){
342 $this->eye_pain = $data;
345 function get_irritation(){
346 return $this->irritation;
348 function set_irritation($data){
349 if(!empty($data)){
350 $this->irritation = $data;
353 function get_redness(){
354 return $this->redness;
356 function set_redness($data){
357 if(!empty($data)){
358 $this->redness = $data;
361 function get_excessive_tearing(){
362 return $this->excessive_tearing;
364 function set_excessive_tearing($data){
365 if(!empty($data)){
366 $this->excessive_tearing = $data;
369 function get_double_vision(){
370 return $this->double_vision;
372 function set_double_vision($data){
373 if(!empty($data)){
374 $this->double_vision = $data;
377 function get_blind_spots(){
378 return $this->blind_spots;
380 function set_blind_spots($data){
381 if(!empty($data)){
382 $this->blind_spots = $data;
385 function get_photophobia(){
386 return $this->photophobia;
388 function set_photophobia($data){
389 if(!empty($data)){
390 $this->photophobia = $data;
394 function get_hearing_loss(){
395 return $this->hearing_loss;
397 function set_hearing_loss($data){
398 if(!empty($data)){
399 $this->hearing_loss = $data;
402 function get_discharge(){
403 return $this->discharge;
405 function set_discharge($data){
406 if(!empty($data)){
407 $this->discharge = $data;
410 function get_pain(){
411 return $this->pain;
413 function set_pain($data){
414 if(!empty($data)){
415 $this->pain = $data;
418 function get_vertigo(){
419 return $this->vertigo;
421 function set_vertigo($data){
422 if(!empty($data)){
423 $this->vertigo = $data;
426 function get_tinnitus(){
427 return $this->tinnitus;
429 function set_tinnitus($data){
430 if(!empty($data)){
431 $this->tinnitus = $data;
434 function get_frequent_colds(){
435 return $this->frequent_colds;
437 function set_frequent_colds($data){
438 if(!empty($data)){
439 $this->frequent_colds = $data;
442 function get_sore_throat(){
443 return $this->sore_throat;
445 function set_sore_throat($data){
446 if(!empty($data)){
447 $this->sore_throat = $data;
450 function get_sinus_problems(){
451 return $this->sinus_problems;
453 function set_sinus_problems($data){
454 if(!empty($data)){
455 $this->sinus_problems = $data;
458 function get_post_nasal_drip(){
459 return $this->post_nasal_drip;
461 function set_post_nasal_drip($data){
462 if(!empty($data)){
463 $this->post_nasal_drip = $data;
466 function get_nosebleed(){
467 return $this->nosebleed;
469 function set_nosebleed($data){
470 if(!empty($data)){
471 $this->nosebleed = $data;
474 function get_snoring(){
475 return $this->snoring;
477 function set_snoring($data){
478 if(!empty($data)){
479 $this->snoring = $data;
482 function get_apnea(){
483 return $this->apnea;
485 function set_apnea($data){
486 if(!empty($data)){
487 $this->apnea = $data;
490 function get_breast_mass(){
491 return $this->breast_mass;
493 function set_breast_mass($data){
494 if(!empty($data)){
495 $this->breast_mass = $data;
498 function get_breast_discharge(){
499 return $this->breast_discharge;
501 function set_breast_discharge($data){
502 if(!empty($data)){
503 $this->breast_discharge = $data;
506 function get_biopsy(){
507 return $this->breast_discharge;
509 function set_biopsy($data){
510 if(!empty($data)){
511 $this->biopsy = $data;
514 function get_abnormal_mammogram(){
515 return $this->abnormal_mammogram;
517 function set_abnormal_mammogram($data){
518 if(!empty($data)){
519 $this->abnormal_mammogram = $data;
522 function get_cough(){
523 return $this->cough;
525 function set_cough($data){
526 if(!empty($data)){
527 $this->cough = $data;
530 function set_sputum($data){
531 if(!empty($data)){
532 $this->sputum = $data;
535 function get_sputum(){
536 return $this->sputum;
538 function get_shortness_of_breath(){
539 return $this->shortness_of_breath;
541 function set_shortness_of_breath($data){
542 if(!empty($data)){
543 $this->shortness_of_breath = $data;
546 function get_wheezing(){
547 return $this->wheezing;
549 function set_wheezing($data){
550 if(!empty($data)){
551 $this->wheezing = $data;
554 function get_hemoptsyis(){
555 return $this->hemoptsyis;
557 function set_hemoptsyis($data){
558 if(!empty($data)){
559 $this->hemoptsyis = $data;
562 function get_asthma(){
563 return $this->asthma;
565 function set_asthma($data){
566 if(!empty($data)){
567 $this->asthma = $data;
570 function get_copd(){
571 return $this->copd;
573 function set_copd($data){
574 if(!empty($data)){
575 $this->copd = $data;
579 function get_chest_pain(){
580 return $this->chest_pain;
582 function set_chest_pain($data){
583 if(!empty($data)){
584 $this->chest_pain = $data;
587 function get_palpitation(){
588 return $this->palpitation;
590 function set_palpitation($data){
591 if(!empty($data)){
592 $this->palpitation = $data;
595 function get_syncope(){
596 return $this->syncope;
598 function set_syncope($data){
599 if(!empty($data)){
600 $this->syncope = $data;
603 function get_pnd(){
604 return $this->pnd;
606 function set_pnd($data){
607 if(!empty($data)){
608 $this->pnd = $data;
611 function get_doe(){
612 return $this->doe;
614 function set_doe($data){
615 if(!empty($data)){
616 $this->doe = $data;
619 function get_orthopnea(){
620 return $this->orthopnea;
622 function set_orthopnea($data){
623 if(!empty($data)){
624 $this->orthopnea = $data;
627 function get_peripheal(){
628 return $this->peripheal;
630 function set_peripheal($data){
631 if(!empty($data)){
632 $this->peripheal = $data;
635 function get_edema(){
636 return $this->edema;
638 function set_edema($data){
639 if(!empty($data)){
640 $this->edema = $data;
643 function get_legpain_cramping(){
644 return $this->legpain_cramping;
646 function set_legpain_cramping($data){
647 if(!empty($data)){
648 $this->legpain_cramping = $data;
651 function get_history_murmur(){
652 return $this->history_murmur;
654 function set_history_murmur($data){
655 if(!empty($data)){
656 $this->history_murmur = $data;
659 function get_arrythmia(){
660 return $this->arrythmia;
662 function set_arrythmia($data){
663 if(!empty($data)){
664 $this->arrythmia = $data;
667 function get_heart_problem(){
668 return $this->heart_problem;
670 function set_heart_problem($data){
671 if(!empty($data)){
672 $this->heart_problem = $data;
676 function get_polyuria(){
677 return $this->polyuria;
679 function set_polyuria($data){
680 if(!empty($data)){
681 $this->polyuria = $data;
684 function get_polydypsia(){
685 return $this->polydypsia;
687 function set_polydypsia($data){
688 if(!empty($data)){
689 $this->polydypsia = $data;
692 function get_dysuria(){
693 return $this->dysuria;
695 function set_dysuria($data){
696 if(!empty($data)){
697 $this->dysuria = $data;
700 function get_hematuria(){
701 return $this->hematuria;
703 function set_hematuria($data){
704 if(!empty($data)){
705 $this->hematuria = $data;
708 function get_frequency(){
709 return $this->frequency;
711 function set_frequency($data){
712 if(!empty($data)){
713 $this->frequency = $data;
716 function get_urgency(){
717 return $this->urgency;
719 function set_urgency($data){
720 if(!empty($data)){
721 $this->urgency = $data;
724 function get_incontinence(){
725 return $this->incontinence;
727 function set_incontinence($data){
728 if(!empty($data)){
729 $this->incontinence = $data;
732 function get_renal_stones(){
733 return $this->renal_stones;
735 function set_renal_stones($data){
736 if(!empty($data)){
737 $this->renal_stones = $data;
740 function get_utis(){
741 return $this->utis;
743 function set_utis($data){
744 if(!empty($data)){
745 $this->utis = $data;
749 function get_hesitancy(){
750 return $this->hesitancy;
752 function set_hesitancy($data){
753 if(!empty($data)){
754 $this->hesitancy = $data;
757 function get_dribbling(){
758 return $this->dribbling;
760 function set_dribbling($data){
761 if(!empty($data)){
762 $this->dribbling = $data;
765 function get_stream(){
766 return $this->stream;
768 function set_stream($data){
769 if(!empty($data)){
770 $this->stream = $data;
773 function get_nocturia(){
774 return $this->nocturia;
776 function set_nocturia($data){
777 if(!empty($data)){
778 $this->nocturia = $data;
781 function get_erections(){
782 return $this->erections;
784 function set_erections($data){
785 if(!empty($data)){
786 $this->erections = $data;
789 function get_ejaculations(){
790 return $this->ejaculations;
792 function set_ejaculations($data){
793 if(!empty($data)){
794 $this->ejaculations = $data;
798 function get_g(){
799 return $this->g;
801 function set_g($data){
802 if(!empty($data)){
803 $this->g = $data;
806 function get_p(){
807 return $this->p;
809 function set_p($data){
810 if(!empty($data)){
811 $this->p = $data;
814 function get_ap(){
815 return $this->ap;
817 function set_ap($data){
818 if(!empty($data)){
819 $this->ap = $data;
822 function get_lc(){
823 return $this->lc;
825 function set_lc($data){
826 if(!empty($data)){
827 $this->lc = $data;
830 function get_mearche(){
831 return $this->mearche;
833 function set_mearche($data){
834 if(!empty($data)){
835 $this->mearche = $data;
838 function get_menopause(){
839 return $this->menopause;
841 function set_menopause($data){
842 if(!empty($data)){
843 $this->menopause = $data;
846 function get_lmp(){
847 return $this->lmp;
849 function set_lmp($data){
850 if(!empty($data)){
851 $this->lmp = $data;
854 function get_f_frequency(){
855 return $this->f_frequency;
857 function set_f_frequency($data){
858 if(!empty($data)){
859 $this->f_frequency = $data;
862 function get_f_flow(){
863 return $this->f_flow;
865 function set_f_flow($data){
866 if(!empty($data)){
867 $this->f_flow = $data;
870 function get_f_symptoms(){
871 return $this->f_symptoms;
873 function set_f_symptoms($data){
874 if(!empty($data)){
875 $this->f_symptoms = $data;
878 function get_abnormal_hair_growth(){
879 return $this->abnormal_hair_growth;
881 function set_abnormal_hair_growth($data){
882 if(!empty($data)){
883 $this->abnormal_hair_growth = $data;
886 function get_f_hirsutism(){
887 return $this->f_hirsutism;
889 function set_f_hirsutism($data){
890 if(!empty($data)){
891 $this->f_hirsutism = $data;
895 function get_joint_pain(){
896 return $this->joint_pain;
898 function set_joint_pain($data){
899 if(!empty($data)){
900 $this->joint_pain = $data;
903 function get_swelling(){
904 return $this->swelling;
906 function set_swelling($data){
907 if(!empty($data)){
908 $this->swelling = $data;
911 function get_m_redness(){
912 return $this->m_redness;
914 function set_m_redness($data){
915 if(!empty($data)){
916 $this->m_redness = $data;
919 function get_m_warm(){
920 return $this->m_warm;
922 function set_m_warm($data){
923 if(!empty($data)){
924 $this->m_warm = $data;
927 function get_m_stiffness(){
928 return $this->m_stiffness;
930 function set_m_stiffness($data){
931 if(!empty($data)){
932 $this->m_stiffness = $data;
935 function get_muscle(){
936 return $this->muscle;
938 function set_muscle($data){
939 if(!empty($data)){
940 $this->muscle = $data;
943 function get_m_aches(){
944 return $this->m_aches;
946 function set_m_aches($data){
947 if(!empty($data)){
948 $this->m_aches = $data;
951 function get_fms(){
952 return $this->fms;
954 function set_fms($data){
955 if(!empty($data)){
956 $this->fms = $data;
959 function get_arthritis(){
960 return $this->arthritis;
962 function set_arthritis($data){
963 if(!empty($data)){
964 $this->arthritis = $data;
968 function get_loc(){
969 return $this->loc;
971 function set_loc($data){
972 if(!empty($data)){
973 $this->loc = $data;
976 function get_seizures(){
977 return $this->seizures;
979 function set_seizures($data){
980 if(!empty($data)){
981 $this->seizures = $data;
984 function get_stroke(){
985 return $this->stroke;
987 function set_stroke($data){
988 if(!empty($data)){
989 $this->stroke = $data;
992 function get_tia(){
993 return $this->tia;
995 function set_tia($data){
996 if(!empty($data)){
997 $this->tia = $data;
1000 function get_n_numbness(){
1001 return $this->n_numbness;
1003 function set_n_numbness($data){
1004 if(!empty($data)){
1005 $this->n_numbness = $data;
1008 function get_n_weakness(){
1009 return $this->n_weakness;
1011 function set_n_weakness($data){
1012 if(!empty($data)){
1013 $this->n_weakness = $data;
1016 function get_paralysis(){
1017 return $this->paralysis;
1019 function set_paralysis($data){
1020 if(!empty($data)){
1021 $this->paralysis = $data;
1024 function get_intellectual_decline(){
1025 return $this->intellectual_decline;
1027 function set_intellectual_decline($data){
1028 if(!empty($data)){
1029 $this->intellectual_decline = $data;
1032 function get_memory_problems(){
1033 return $this->memory_problems;
1035 function set_memory_problems($data){
1036 if(!empty($data)){
1037 $this->memory_problems = $data;
1040 function get_dementia(){
1041 return $this->dementia;
1043 function set_dementia($data){
1044 if(!empty($data)){
1045 $this->dementia = $data;
1048 function get_n_headache(){
1049 return $this->n_headache;
1051 function set_n_headache($data){
1052 if(!empty($data)){
1053 $this->n_headache = $data;
1057 function get_s_cancer(){
1058 return $this->s_cancer;
1060 function set_s_cancer($data){
1061 if(!empty($data)){
1062 $this->s_cancer = $data;
1065 function get_psoriasis(){
1066 return $this->psoriasis;
1068 function set_psoriasis($data){
1069 if(!empty($data)){
1070 $this->psoriasis = $data;
1073 function get_s_acne(){
1074 return $this->s_acne;
1076 function set_s_acne($data){
1077 if(!empty($data)){
1078 $this->s_acne = $data;
1081 function get_s_other(){
1082 return $this->s_other;
1084 function set_s_other($data){
1085 if(!empty($data)){
1086 $this->s_other = $data;
1089 function get_s_disease(){
1090 return $this->s_disease;
1092 function set_s_disease($data){
1093 if(!empty($data)){
1094 $this->s_disease = $data;
1098 function get_p_diagnosis(){
1099 return $this->p_diagnosis;
1101 function set_p_diagnosis($data){
1102 if(!empty($data)){
1103 $this->p_diagnosis = $data;
1106 function get_p_medication(){
1107 return $this->p_medication;
1109 function set_p_medication($data){
1110 if(!empty($data)){
1111 $this->p_medication = $data;
1114 function get_depression(){
1115 return $this->depression;
1117 function set_depression($data){
1118 if(!empty($data)){
1119 $this->depression = $data;
1122 function get_anxiety(){
1123 return $this->anxiety;
1125 function set_anxiety($data){
1126 if(!empty($data)){
1127 $this->anxiety = $data;
1130 function get_social_difficulties(){
1131 return $this->social_difficulties;
1133 function set_social_difficulties($data){
1134 if(!empty($data)){
1135 $this->social_difficulties = $data;
1139 function get_thyroid_problems(){
1140 return $this->thyroid_problems;
1142 function set_thyroid_problems($data){
1143 if(!empty($data)){
1144 $this->thyroid_problems = $data;
1147 function get_diabetes(){
1148 return $this->diabetes;
1150 function set_diabetes($data){
1151 if(!empty($data)){
1152 $this->diabetes = $data;
1155 function get_abnormal_blood(){
1156 return $this->abnormal_blood;
1158 function set_abnormal_blood($data){
1159 if(!empty($data)){
1160 $this->abnormal_blood = $data;
1164 function get_anemia(){
1165 return $this->anemia;
1167 function set_anemia($data){
1168 if(!empty($data)){
1169 $this->anemia = $data;
1172 function get_fh_blood_problems(){
1173 return $this->fh_blood_problems;
1175 function set_fh_blood_problems($data){
1176 if(!empty($data)){
1177 $this->fh_blood_problems = $data;
1180 function get_bleeding_problems(){
1181 return $this->bleeding_problems;
1183 function set_bleeding_problems($data){
1184 if(!empty($data)){
1185 $this->bleeding_problems = $data;
1188 function get_allergies(){
1189 return $this->allergies;
1191 function set_allergies($data){
1192 if(!empty($data)){
1193 $this->allergies = $data;
1196 function get_frequent_illness(){
1197 return $this->frequent_illness;
1199 function set_frequent_illness($data){
1200 if(!empty($data)){
1201 $this->frequent_illness = $data;
1204 function get_hiv(){
1205 return $this->hiv;
1207 function set_hiv($data){
1208 if(!empty($data)){
1209 $this->hiv = $data;
1212 function get_hai_status(){
1213 return $this->hai_status;
1215 function set_hai_status($data){
1216 if(!empty($data)){
1217 $this->hai_status = $data;
1221 function get_options(){
1222 $ret = array("N/A" => xl('N/A'),"YES" => xl('YES'),"NO" => xl('NO'));
1223 return $ret;
1226 function get_dysphagia(){
1227 return $this->dysphagia;
1229 function set_dysphagia($data){
1230 if(!empty($data)){
1231 $this->dysphagia = $data;
1234 function get_heartburn(){
1235 return $this->heartburn;
1237 function set_heartburn($data){
1238 if(!empty($data)){
1239 $this->heartburn = $data;
1242 function get_bloating(){
1243 return $this->bloating;
1245 function set_bloating($data){
1246 if(!empty($data)){
1247 $this->bloating = $data;
1250 function get_belching(){
1251 return $this->belching;
1253 function set_belching($data){
1254 if(!empty($data)){
1255 $this->belching = $data;
1258 function get_flatulence(){
1259 return $this->flatulence;
1261 function set_flatulence($data){
1262 if(!empty($data)){
1263 $this->flatulence = $data;
1266 function get_nausea(){
1267 return $this->nausea;
1269 function set_nausea($data){
1270 if(!empty($data)){
1271 $this->nausea = $data;
1274 function get_vomiting(){
1275 return $this->vomiting;
1277 function set_vomiting($data){
1278 if(!empty($data)){
1279 $this->vomiting = $data;
1282 function get_hematemesis(){
1283 return $this->hematemesis;
1285 function set_hematemesis($data){
1286 if(!empty($data)){
1287 $this->hematemesis = $data;
1290 function get_gastro_pain(){
1291 return $this->gastro_pain;
1293 function set_gastro_pain($data){
1294 if(!empty($data)){
1295 $this->gastro_pain = $data;
1298 function get_food_intolerance(){
1299 return $this->food_intolerance;
1301 function set_food_intolerance($data){
1302 if(!empty($data)){
1303 $this->food_intolerance = $data;
1306 function get_hepatitis(){
1307 return $this->hepatitis;
1309 function set_hepatitis($data){
1310 if(!empty($data)){
1311 $this->hepatitis = $data;
1314 function get_jaundice(){
1315 return $this->jaundice;
1317 function set_jaundice($data){
1318 if(!empty($data)){
1319 $this->jaundice = $data;
1322 function get_hematochezia(){
1323 return $this->hematochezia;
1325 function set_hematochezia($data){
1326 if(!empty($data)){
1327 $this->hematochezia = $data;
1330 function get_changed_bowel(){
1331 return $this->changed_bowel;
1333 function set_changed_bowel($data){
1334 if(!empty($data)){
1335 $this->changed_bowel = $data;
1338 function get_diarrhea(){
1339 return $this->diarrhea;
1341 function set_diarrhea($data){
1342 if(!empty($data)){
1343 $this->diarrhea = $data;
1346 function get_constipation(){
1347 return $this->constipation;
1349 function set_constipation($data){
1350 if(!empty($data)){
1351 $this->constipation = $data;
1354 function toString($html = false) {
1355 $string .= "\n"
1356 ."ID: " . $this->id . "\n";
1358 if ($html) {
1359 return nl2br($string);
1361 else {
1362 return $string;
1365 function persist() {
1366 parent::persist();
1370 } // end of Form