10 class FormProsthesis
extends ORDataObject
30 var $involvement_left;
31 var $involvement_right;
32 var $involvement_bilateral;
34 var $location_array = array("office" => "Office", "home" => "Home", "skilled_nurse_fac" => "Skilled Nurs. Fac.", "acute_hospital" => "Acute Hosp.",
35 "nursing_home" => "Nursing Home", "rehab_hospital" => "Rehab. Hosp.", "other" => "Other");
38 var $worn_le_past_five;
43 var $foam_impressions;
48 var $purpose_array = array("pain_reduction" => "Pain Reduction", "offload_involved_area" => "Offload invloved Area", "immobilize" => "Immobilize",
49 "limit_motion" => "Limit Motion", "accomodation" => "Accomodation", "reduce_edema" => "Reduce Edema",
50 "facilitate_healing" => "Facilitate Healing", "other" => "Other");
60 var $plan_to_order_date;
61 var $receiveded_product;
62 var $received_product_date;
63 var $given_instructions;
64 var $patient_understands;
66 var $cpt_array = array( "L0500" => "L0500 LS corset", "L3010" => "L3010 Molded FO", "L3010" => "L3020 Molded FO + Met pad",
67 "L3221" => "L3221 Men's depth shoes", "L3216" => "L3216 Women's depth shoes", "L3332" => "L3332 In-shoe .5\" heel lift",
68 "L8100" => "L8100 BK comp hose (20-30mmHg)","L8110" => "L8110 BK comp hose (30-40mmHg)", "L8130" => "L8130 AK comp hose (20-30mmHg)",
69 "L8140" => "L8140 AK comp hose (30-40mmHg)");
73 * Constructor sets all Form attributes to their default value
76 function FormProsthesis($id = "", $_prefix = "")
78 if (is_numeric($id)) {
84 $this->_table
= "form_prosthesis";
85 $this->date
= date("Y-m-d H:i:s");
87 $this->pid
= $GLOBALS['pid'];
93 function toString($html = false)
96 ."ID: " . $this->id
. "\n";
99 return nl2br($string);
106 if (!empty($id) && is_numeric($id)) {
114 function set_pid($pid)
116 if (!empty($pid) && is_numeric($pid)) {
124 function set_activity($tf)
126 if (!empty($tf) && is_numeric($tf)) {
127 $this->activity
= $tf;
130 function get_activity()
132 return $this->activity
;
135 function set_therapist($string)
137 $this->therapist
= $string;
140 function get_therapist()
142 return $this->therapist
;
145 function set_involvement_left($tf)
147 $this->involvement_left
= $tf;
150 function get_involvement_left()
152 return $this->involvement_left
;
155 function set_involvement_right($tf)
157 $this->involvement_right
= $tf;
160 function get_involvement_right()
162 return $this->involvement_right
;
165 function set_involvement_bilateral($tf)
167 $this->involvement_bilateral
= $tf;
170 function get_involvement_bilateral()
172 return $this->involvement_bilateral
;
175 function set_location($string)
177 $this->location
= $string;
180 function get_location()
182 return $this->location
;
184 function set_diagnosis($string)
186 $this->diagnosis
= $string;
189 function get_diagnosis()
191 return $this->diagnosis
;
193 function set_hx($string)
203 function set_worn_le_past_five($tf)
205 $this->worn_le_past_five
= $tf;
208 function get_worn_le_past_five()
210 return $this->worn_le_past_five
;
213 function set_model($string)
215 $this->model
= $string;
223 function set_new($tf)
233 function set_size($string)
235 $this->size
= $string;
243 function set_replacement($tf)
245 $this->replacement
= $tf;
248 function get_replacement()
250 return $this->replacement
;
253 function set_foam_impressions($tf)
255 $this->foam_impressions
= $tf;
258 function get_foam_impressions()
260 return $this->foam_impressions
;
263 function set_shoe_size($string)
265 $this->shoe_size
= $string;
268 function get_shoe_size()
270 return $this->shoe_size
;
272 function set_calf($string)
274 $this->calf
= $string;
281 function set_ankle($string)
283 $this->ankle
= $string;
291 function set_purpose($string)
293 $this->purpose
= $string;
296 function get_purpose()
298 return $this->purpose
;
300 function set_purpose_other($string)
302 $this->purpose_other
= $string;
305 function get_purpose_other()
307 return $this->purpose_other
;
310 function set_notes($string)
312 $this->notes
= $string;
319 function set_goals_discussed($tf)
321 $this->goals_discussed
= $tf;
324 function get_goals_discussed()
326 return $this->goals_discussed
;
329 function set_use_reviewed($tf)
331 $this->use_reviewed
= $tf;
334 function get_use_reviewed()
336 return $this->use_reviewed
;
339 function set_wear_reviewed($tf)
341 $this->wear_reviewed
= $tf;
344 function get_wear_reviewed()
346 return $this->wear_reviewed
;
354 function set_worn_years($string)
356 $this->worn_years
= $string;
359 function get_worn_years()
361 return $this->worn_years
;
363 function set_age_months($string)
365 $this->age_months
= $string;
368 function get_age_months()
370 return $this->age_months
;
372 function set_age_years($string)
374 $this->age_years
= $string;
377 function get_age_years()
379 return $this->age_years
;
381 function set_wear_hours($string)
383 $this->wear_hours
= $string;
386 function get_wear_hours()
388 return $this->wear_hours
;
391 function set_plan_to_order($tf)
393 $this->plan_to_order
= $tf;
396 function get_plan_to_order()
398 return $this->plan_to_order
;
401 function set_plan_to_order_date($string)
403 $this->plan_to_order_date
= $string;
406 function get_plan_to_order_date()
408 return $this->plan_to_order_date
;
411 function set_received_product($tf)
413 $this->received_product
= $tf;
416 function get_received_product()
418 return $this->received_product
;
420 function set_received_product_date($string)
422 $this->received_product_date
= $string;
425 function get_received_product_date()
427 return $this->received_product_date
;
430 function set_given_instructions($tf)
432 $this->given_instructions
= $tf;
435 function get_given_instructions()
437 return $this->given_instructions
;
440 function set_patient_understands($tf)
442 $this->patient_understands
= $tf;
445 function get_patient_understands()
447 return $this->patient_understands
;