9 class FormROS
extends ORDataObject
31 var $weight_change = "N/A";
32 var $weakness = "N/A";
34 var $anorexia = "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";
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";
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";
63 var $breast_mass = "N/A";
64 var $breast_discharge = "N/A";
66 var $abnormal_mammogram = "N/A";
69 var $shortness_of_breath = "N/A";
70 var $wheezing = "N/A";
71 var $hemoptsyis = "N/A";
74 var $chest_pain = "N/A";
75 var $palpitation = "N/A";
79 var $orthopnea = "N/A";
80 var $peripheal = "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";
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";
111 var $hesitancy = "N/A";
112 var $dribbling = "N/A";
114 var $nocturia = "N/A";
115 var $erections = "N/A";
116 var $ejaculations = "N/A";
121 var $mearche = "N/A";
122 var $menopause = "N/A";
124 var $f_frequency = "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";
133 var $m_stiffness = "N/A";
135 var $m_aches = "N/A";
137 var $arthritis = "N/A";
139 var $seizures = "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";
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";
163 var $fh_blood_problems = "N/A";
164 var $bleeding_problems = "N/A";
165 var $allergies = "N/A";
166 var $frequent_illness = "N/A";
168 var $hai_status = "N/A";
171 * Constructor sets all Form attributes to their default value
174 function __construct($id = "", $_prefix = "")
176 if (is_numeric($id)) {
182 $this->date
= date("Y-m-d H:i:s");
183 $this->date_of_onset
= date("Y-m-d");
184 $this->_table
= "form_ros";
186 $this->pid
= $GLOBALS['pid'];
198 if (!empty($id) && is_numeric($id)) {
206 function set_pid($pid)
208 if (!empty($pid) && is_numeric($pid)) {
222 function set_date($date)
229 function get_weight_change()
231 return $this->weight_change
;
233 function set_weight_change($data)
236 $this->weight_change
= $data;
240 function get_weakness()
242 return $this->weakness
;
244 function set_weakness($data)
247 $this->weakness
= $data;
251 function get_fatigue()
253 return $this->fatigue
;
255 function set_fatigue($data)
258 $this->fatigue
= $data;
262 function get_anorexia()
264 return $this->anorexia
;
266 function set_anorexia($data)
269 $this->anorexia
= $data;
277 function set_fever($data)
280 $this->fever
= $data;
284 function get_chills()
286 return $this->chills
;
288 function set_chills($data)
291 $this->chills
= $data;
295 function get_night_sweats()
297 return $this->night_sweats
;
299 function set_night_sweats($data)
302 $this->night_sweats
= $data;
306 function get_insomnia()
308 return $this->insomnia
;
310 function set_insomnia($data)
313 $this->insomnia
= $data;
317 function get_irritability()
319 return $this->irritability
;
321 function set_irritability($data)
324 $this->irritability
= $data;
328 function get_heat_or_cold()
330 return $this->heat_or_cold
;
332 function set_heat_or_cold($data)
335 $this->heat_or_cold
= $data;
339 function get_intolerance()
341 return $this->intolerance
;
343 function set_intolerance($data)
346 $this->intolerance
= $data;
350 function get_change_in_vision()
352 return $this->change_in_vision
;
354 function set_change_in_vision($data)
357 $this->change_in_vision
= $data;
360 function get_glaucoma_history()
362 return $this->glaucoma_history
;
364 function set_glaucoma_history($data)
367 $this->glaucoma_history
= $data;
370 function get_eye_pain()
372 return $this->eye_pain
;
374 function set_eye_pain($data)
377 $this->eye_pain
= $data;
380 function get_irritation()
382 return $this->irritation
;
384 function set_irritation($data)
387 $this->irritation
= $data;
390 function get_redness()
392 return $this->redness
;
394 function set_redness($data)
397 $this->redness
= $data;
400 function get_excessive_tearing()
402 return $this->excessive_tearing
;
404 function set_excessive_tearing($data)
407 $this->excessive_tearing
= $data;
410 function get_double_vision()
412 return $this->double_vision
;
414 function set_double_vision($data)
417 $this->double_vision
= $data;
420 function get_blind_spots()
422 return $this->blind_spots
;
424 function set_blind_spots($data)
427 $this->blind_spots
= $data;
430 function get_photophobia()
432 return $this->photophobia
;
434 function set_photophobia($data)
437 $this->photophobia
= $data;
441 function get_hearing_loss()
443 return $this->hearing_loss
;
445 function set_hearing_loss($data)
448 $this->hearing_loss
= $data;
451 function get_discharge()
453 return $this->discharge
;
455 function set_discharge($data)
458 $this->discharge
= $data;
465 function set_pain($data)
471 function get_vertigo()
473 return $this->vertigo
;
475 function set_vertigo($data)
478 $this->vertigo
= $data;
481 function get_tinnitus()
483 return $this->tinnitus
;
485 function set_tinnitus($data)
488 $this->tinnitus
= $data;
491 function get_frequent_colds()
493 return $this->frequent_colds
;
495 function set_frequent_colds($data)
498 $this->frequent_colds
= $data;
501 function get_sore_throat()
503 return $this->sore_throat
;
505 function set_sore_throat($data)
508 $this->sore_throat
= $data;
511 function get_sinus_problems()
513 return $this->sinus_problems
;
515 function set_sinus_problems($data)
518 $this->sinus_problems
= $data;
521 function get_post_nasal_drip()
523 return $this->post_nasal_drip
;
525 function set_post_nasal_drip($data)
528 $this->post_nasal_drip
= $data;
531 function get_nosebleed()
533 return $this->nosebleed
;
535 function set_nosebleed($data)
538 $this->nosebleed
= $data;
541 function get_snoring()
543 return $this->snoring
;
545 function set_snoring($data)
548 $this->snoring
= $data;
555 function set_apnea($data)
558 $this->apnea
= $data;
561 function get_breast_mass()
563 return $this->breast_mass
;
565 function set_breast_mass($data)
568 $this->breast_mass
= $data;
571 function get_breast_discharge()
573 return $this->breast_discharge
;
575 function set_breast_discharge($data)
578 $this->breast_discharge
= $data;
581 function get_biopsy()
583 return $this->biopsy
;
585 function set_biopsy($data)
588 $this->biopsy
= $data;
591 function get_abnormal_mammogram()
593 return $this->abnormal_mammogram
;
595 function set_abnormal_mammogram($data)
598 $this->abnormal_mammogram
= $data;
605 function set_cough($data)
608 $this->cough
= $data;
611 function set_sputum($data)
614 $this->sputum
= $data;
617 function get_sputum()
619 return $this->sputum
;
621 function get_shortness_of_breath()
623 return $this->shortness_of_breath
;
625 function set_shortness_of_breath($data)
628 $this->shortness_of_breath
= $data;
631 function get_wheezing()
633 return $this->wheezing
;
635 function set_wheezing($data)
638 $this->wheezing
= $data;
641 function get_hemoptsyis()
643 return $this->hemoptsyis
;
645 function set_hemoptsyis($data)
648 $this->hemoptsyis
= $data;
651 function get_asthma()
653 return $this->asthma
;
655 function set_asthma($data)
658 $this->asthma
= $data;
665 function set_copd($data)
672 function get_chest_pain()
674 return $this->chest_pain
;
676 function set_chest_pain($data)
679 $this->chest_pain
= $data;
682 function get_palpitation()
684 return $this->palpitation
;
686 function set_palpitation($data)
689 $this->palpitation
= $data;
692 function get_syncope()
694 return $this->syncope
;
696 function set_syncope($data)
699 $this->syncope
= $data;
706 function set_pnd($data)
716 function set_doe($data)
722 function get_orthopnea()
724 return $this->orthopnea
;
726 function set_orthopnea($data)
729 $this->orthopnea
= $data;
732 function get_peripheal()
734 return $this->peripheal
;
736 function set_peripheal($data)
739 $this->peripheal
= $data;
746 function set_edema($data)
749 $this->edema
= $data;
752 function get_legpain_cramping()
754 return $this->legpain_cramping
;
756 function set_legpain_cramping($data)
759 $this->legpain_cramping
= $data;
762 function get_history_murmur()
764 return $this->history_murmur
;
766 function set_history_murmur($data)
769 $this->history_murmur
= $data;
772 function get_arrythmia()
774 return $this->arrythmia
;
776 function set_arrythmia($data)
779 $this->arrythmia
= $data;
782 function get_heart_problem()
784 return $this->heart_problem
;
786 function set_heart_problem($data)
789 $this->heart_problem
= $data;
793 function get_polyuria()
795 return $this->polyuria
;
797 function set_polyuria($data)
800 $this->polyuria
= $data;
803 function get_polydypsia()
805 return $this->polydypsia
;
807 function set_polydypsia($data)
810 $this->polydypsia
= $data;
813 function get_dysuria()
815 return $this->dysuria
;
817 function set_dysuria($data)
820 $this->dysuria
= $data;
823 function get_hematuria()
825 return $this->hematuria
;
827 function set_hematuria($data)
830 $this->hematuria
= $data;
833 function get_frequency()
835 return $this->frequency
;
837 function set_frequency($data)
840 $this->frequency
= $data;
843 function get_urgency()
845 return $this->urgency
;
847 function set_urgency($data)
850 $this->urgency
= $data;
853 function get_incontinence()
855 return $this->incontinence
;
857 function set_incontinence($data)
860 $this->incontinence
= $data;
863 function get_renal_stones()
865 return $this->renal_stones
;
867 function set_renal_stones($data)
870 $this->renal_stones
= $data;
877 function set_utis($data)
884 function get_hesitancy()
886 return $this->hesitancy
;
888 function set_hesitancy($data)
891 $this->hesitancy
= $data;
894 function get_dribbling()
896 return $this->dribbling
;
898 function set_dribbling($data)
901 $this->dribbling
= $data;
904 function get_stream()
906 return $this->stream
;
908 function set_stream($data)
911 $this->stream
= $data;
914 function get_nocturia()
916 return $this->nocturia
;
918 function set_nocturia($data)
921 $this->nocturia
= $data;
924 function get_erections()
926 return $this->erections
;
928 function set_erections($data)
931 $this->erections
= $data;
934 function get_ejaculations()
936 return $this->ejaculations
;
938 function set_ejaculations($data)
941 $this->ejaculations
= $data;
949 function set_g($data)
959 function set_p($data)
969 function set_ap($data)
979 function set_lc($data)
985 function get_mearche()
987 return $this->mearche
;
989 function set_mearche($data)
992 $this->mearche
= $data;
995 function get_menopause()
997 return $this->menopause
;
999 function set_menopause($data)
1001 if (!empty($data)) {
1002 $this->menopause
= $data;
1009 function set_lmp($data)
1011 if (!empty($data)) {
1015 function get_f_frequency()
1017 return $this->f_frequency
;
1019 function set_f_frequency($data)
1021 if (!empty($data)) {
1022 $this->f_frequency
= $data;
1025 function get_f_flow()
1027 return $this->f_flow
;
1029 function set_f_flow($data)
1031 if (!empty($data)) {
1032 $this->f_flow
= $data;
1035 function get_f_symptoms()
1037 return $this->f_symptoms
;
1039 function set_f_symptoms($data)
1041 if (!empty($data)) {
1042 $this->f_symptoms
= $data;
1045 function get_abnormal_hair_growth()
1047 return $this->abnormal_hair_growth
;
1049 function set_abnormal_hair_growth($data)
1051 if (!empty($data)) {
1052 $this->abnormal_hair_growth
= $data;
1055 function get_f_hirsutism()
1057 return $this->f_hirsutism
;
1059 function set_f_hirsutism($data)
1061 if (!empty($data)) {
1062 $this->f_hirsutism
= $data;
1066 function get_joint_pain()
1068 return $this->joint_pain
;
1070 function set_joint_pain($data)
1072 if (!empty($data)) {
1073 $this->joint_pain
= $data;
1076 function get_swelling()
1078 return $this->swelling
;
1080 function set_swelling($data)
1082 if (!empty($data)) {
1083 $this->swelling
= $data;
1086 function get_m_redness()
1088 return $this->m_redness
;
1090 function set_m_redness($data)
1092 if (!empty($data)) {
1093 $this->m_redness
= $data;
1096 function get_m_warm()
1098 return $this->m_warm
;
1100 function set_m_warm($data)
1102 if (!empty($data)) {
1103 $this->m_warm
= $data;
1106 function get_m_stiffness()
1108 return $this->m_stiffness
;
1110 function set_m_stiffness($data)
1112 if (!empty($data)) {
1113 $this->m_stiffness
= $data;
1116 function get_muscle()
1118 return $this->muscle
;
1120 function set_muscle($data)
1122 if (!empty($data)) {
1123 $this->muscle
= $data;
1126 function get_m_aches()
1128 return $this->m_aches
;
1130 function set_m_aches($data)
1132 if (!empty($data)) {
1133 $this->m_aches
= $data;
1140 function set_fms($data)
1142 if (!empty($data)) {
1146 function get_arthritis()
1148 return $this->arthritis
;
1150 function set_arthritis($data)
1152 if (!empty($data)) {
1153 $this->arthritis
= $data;
1161 function set_loc($data)
1163 if (!empty($data)) {
1167 function get_seizures()
1169 return $this->seizures
;
1171 function set_seizures($data)
1173 if (!empty($data)) {
1174 $this->seizures
= $data;
1177 function get_stroke()
1179 return $this->stroke
;
1181 function set_stroke($data)
1183 if (!empty($data)) {
1184 $this->stroke
= $data;
1191 function set_tia($data)
1193 if (!empty($data)) {
1197 function get_n_numbness()
1199 return $this->n_numbness
;
1201 function set_n_numbness($data)
1203 if (!empty($data)) {
1204 $this->n_numbness
= $data;
1207 function get_n_weakness()
1209 return $this->n_weakness
;
1211 function set_n_weakness($data)
1213 if (!empty($data)) {
1214 $this->n_weakness
= $data;
1217 function get_paralysis()
1219 return $this->paralysis
;
1221 function set_paralysis($data)
1223 if (!empty($data)) {
1224 $this->paralysis
= $data;
1227 function get_intellectual_decline()
1229 return $this->intellectual_decline
;
1231 function set_intellectual_decline($data)
1233 if (!empty($data)) {
1234 $this->intellectual_decline
= $data;
1237 function get_memory_problems()
1239 return $this->memory_problems
;
1241 function set_memory_problems($data)
1243 if (!empty($data)) {
1244 $this->memory_problems
= $data;
1247 function get_dementia()
1249 return $this->dementia
;
1251 function set_dementia($data)
1253 if (!empty($data)) {
1254 $this->dementia
= $data;
1257 function get_n_headache()
1259 return $this->n_headache
;
1261 function set_n_headache($data)
1263 if (!empty($data)) {
1264 $this->n_headache
= $data;
1268 function get_s_cancer()
1270 return $this->s_cancer
;
1272 function set_s_cancer($data)
1274 if (!empty($data)) {
1275 $this->s_cancer
= $data;
1278 function get_psoriasis()
1280 return $this->psoriasis
;
1282 function set_psoriasis($data)
1284 if (!empty($data)) {
1285 $this->psoriasis
= $data;
1288 function get_s_acne()
1290 return $this->s_acne
;
1292 function set_s_acne($data)
1294 if (!empty($data)) {
1295 $this->s_acne
= $data;
1298 function get_s_other()
1300 return $this->s_other
;
1302 function set_s_other($data)
1304 if (!empty($data)) {
1305 $this->s_other
= $data;
1308 function get_s_disease()
1310 return $this->s_disease
;
1312 function set_s_disease($data)
1314 if (!empty($data)) {
1315 $this->s_disease
= $data;
1319 function get_p_diagnosis()
1321 return $this->p_diagnosis
;
1323 function set_p_diagnosis($data)
1325 if (!empty($data)) {
1326 $this->p_diagnosis
= $data;
1329 function get_p_medication()
1331 return $this->p_medication
;
1333 function set_p_medication($data)
1335 if (!empty($data)) {
1336 $this->p_medication
= $data;
1339 function get_depression()
1341 return $this->depression
;
1343 function set_depression($data)
1345 if (!empty($data)) {
1346 $this->depression
= $data;
1349 function get_anxiety()
1351 return $this->anxiety
;
1353 function set_anxiety($data)
1355 if (!empty($data)) {
1356 $this->anxiety
= $data;
1359 function get_social_difficulties()
1361 return $this->social_difficulties
;
1363 function set_social_difficulties($data)
1365 if (!empty($data)) {
1366 $this->social_difficulties
= $data;
1370 function get_thyroid_problems()
1372 return $this->thyroid_problems
;
1374 function set_thyroid_problems($data)
1376 if (!empty($data)) {
1377 $this->thyroid_problems
= $data;
1380 function get_diabetes()
1382 return $this->diabetes
;
1384 function set_diabetes($data)
1386 if (!empty($data)) {
1387 $this->diabetes
= $data;
1390 function get_abnormal_blood()
1392 return $this->abnormal_blood
;
1394 function set_abnormal_blood($data)
1396 if (!empty($data)) {
1397 $this->abnormal_blood
= $data;
1401 function get_anemia()
1403 return $this->anemia
;
1405 function set_anemia($data)
1407 if (!empty($data)) {
1408 $this->anemia
= $data;
1411 function get_fh_blood_problems()
1413 return $this->fh_blood_problems
;
1415 function set_fh_blood_problems($data)
1417 if (!empty($data)) {
1418 $this->fh_blood_problems
= $data;
1421 function get_bleeding_problems()
1423 return $this->bleeding_problems
;
1425 function set_bleeding_problems($data)
1427 if (!empty($data)) {
1428 $this->bleeding_problems
= $data;
1431 function get_allergies()
1433 return $this->allergies
;
1435 function set_allergies($data)
1437 if (!empty($data)) {
1438 $this->allergies
= $data;
1441 function get_frequent_illness()
1443 return $this->frequent_illness
;
1445 function set_frequent_illness($data)
1447 if (!empty($data)) {
1448 $this->frequent_illness
= $data;
1455 function set_hiv($data)
1457 if (!empty($data)) {
1461 function get_hai_status()
1463 return $this->hai_status
;
1465 function set_hai_status($data)
1467 if (!empty($data)) {
1468 $this->hai_status
= $data;
1472 function get_options()
1474 $ret = array("N/A" => xlt('N/A'),"YES" => xlt('YES'),"NO" => xlt('NO'));
1478 function get_dysphagia()
1480 return $this->dysphagia
;
1482 function set_dysphagia($data)
1484 if (!empty($data)) {
1485 $this->dysphagia
= $data;
1488 function get_heartburn()
1490 return $this->heartburn
;
1492 function set_heartburn($data)
1494 if (!empty($data)) {
1495 $this->heartburn
= $data;
1498 function get_bloating()
1500 return $this->bloating
;
1502 function set_bloating($data)
1504 if (!empty($data)) {
1505 $this->bloating
= $data;
1508 function get_belching()
1510 return $this->belching
;
1512 function set_belching($data)
1514 if (!empty($data)) {
1515 $this->belching
= $data;
1518 function get_flatulence()
1520 return $this->flatulence
;
1522 function set_flatulence($data)
1524 if (!empty($data)) {
1525 $this->flatulence
= $data;
1528 function get_nausea()
1530 return $this->nausea
;
1532 function set_nausea($data)
1534 if (!empty($data)) {
1535 $this->nausea
= $data;
1538 function get_vomiting()
1540 return $this->vomiting
;
1542 function set_vomiting($data)
1544 if (!empty($data)) {
1545 $this->vomiting
= $data;
1548 function get_hematemesis()
1550 return $this->hematemesis
;
1552 function set_hematemesis($data)
1554 if (!empty($data)) {
1555 $this->hematemesis
= $data;
1558 function get_gastro_pain()
1560 return $this->gastro_pain
;
1562 function set_gastro_pain($data)
1564 if (!empty($data)) {
1565 $this->gastro_pain
= $data;
1568 function get_food_intolerance()
1570 return $this->food_intolerance
;
1572 function set_food_intolerance($data)
1574 if (!empty($data)) {
1575 $this->food_intolerance
= $data;
1578 function get_hepatitis()
1580 return $this->hepatitis
;
1582 function set_hepatitis($data)
1584 if (!empty($data)) {
1585 $this->hepatitis
= $data;
1588 function get_jaundice()
1590 return $this->jaundice
;
1592 function set_jaundice($data)
1594 if (!empty($data)) {
1595 $this->jaundice
= $data;
1598 function get_hematochezia()
1600 return $this->hematochezia
;
1602 function set_hematochezia($data)
1604 if (!empty($data)) {
1605 $this->hematochezia
= $data;
1608 function get_changed_bowel()
1610 return $this->changed_bowel
;
1612 function set_changed_bowel($data)
1614 if (!empty($data)) {
1615 $this->changed_bowel
= $data;
1618 function get_diarrhea()
1620 return $this->diarrhea
;
1622 function set_diarrhea($data)
1624 if (!empty($data)) {
1625 $this->diarrhea
= $data;
1628 function get_constipation()
1630 return $this->constipation
;
1632 function set_constipation($data)
1634 if (!empty($data)) {
1635 $this->constipation
= $data;
1638 function toString($html = false)
1641 ."ID: " . $this->id
. "\n";
1644 return nl2br($string);