3 use OpenEMR\ORDataObject\ORDataObject
;
9 class FormProsthesis
extends ORDataObject
28 var $involvement_left;
29 var $involvement_right;
30 var $involvement_bilateral;
32 var $location_array = array("office" => "Office", "home" => "Home", "skilled_nurse_fac" => "Skilled Nurs. Fac.", "acute_hospital" => "Acute Hosp.",
33 "nursing_home" => "Nursing Home", "rehab_hospital" => "Rehab. Hosp.", "other" => "Other");
36 var $worn_le_past_five;
41 var $foam_impressions;
46 var $purpose_array = array("pain_reduction" => "Pain Reduction", "offload_involved_area" => "Offload invloved Area", "immobilize" => "Immobilize",
47 "limit_motion" => "Limit Motion", "accomodation" => "Accomodation", "reduce_edema" => "Reduce Edema",
48 "facilitate_healing" => "Facilitate Healing", "other" => "Other");
58 var $plan_to_order_date;
59 var $receiveded_product;
60 var $received_product_date;
61 var $given_instructions;
62 var $patient_understands;
64 var $cpt_array = array( "L0500" => "L0500 LS corset", "L3010" => "L3010 Molded FO", "L3020" => "L3020 Molded FO + Met pad",
65 "L3221" => "L3221 Men's depth shoes", "L3216" => "L3216 Women's depth shoes", "L3332" => "L3332 In-shoe .5\" heel lift",
66 "L8100" => "L8100 BK comp hose (20-30mmHg)","L8110" => "L8110 BK comp hose (30-40mmHg)", "L8130" => "L8130 AK comp hose (20-30mmHg)",
67 "L8140" => "L8140 AK comp hose (30-40mmHg)");
71 * Constructor sets all Form attributes to their default value
74 function __construct($id = "", $_prefix = "")
76 parent
::__construct();
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'];
95 return "ID: " . $this->id
. "\n";
100 if (!empty($id) && is_numeric($id)) {
108 function set_pid($pid)
110 if (!empty($pid) && is_numeric($pid)) {
118 function set_activity($tf)
120 if (!empty($tf) && is_numeric($tf)) {
121 $this->activity
= $tf;
124 function get_activity()
126 return $this->activity
;
129 function set_therapist($string)
131 $this->therapist
= $string;
134 function get_therapist()
136 return $this->therapist
;
139 function set_involvement_left($tf)
141 $this->involvement_left
= $tf;
144 function get_involvement_left()
146 return $this->involvement_left
;
149 function set_involvement_right($tf)
151 $this->involvement_right
= $tf;
154 function get_involvement_right()
156 return $this->involvement_right
;
159 function set_involvement_bilateral($tf)
161 $this->involvement_bilateral
= $tf;
164 function get_involvement_bilateral()
166 return $this->involvement_bilateral
;
169 function set_location($string)
171 $this->location
= $string;
174 function get_location()
176 return $this->location
;
178 function set_diagnosis($string)
180 $this->diagnosis
= $string;
183 function get_diagnosis()
185 return $this->diagnosis
;
187 function set_hx($string)
197 function set_worn_le_past_five($tf)
199 $this->worn_le_past_five
= $tf;
202 function get_worn_le_past_five()
204 return $this->worn_le_past_five
;
207 function set_model($string)
209 $this->model
= $string;
217 function set_new($tf)
227 function set_size($string)
229 $this->size
= $string;
237 function set_replacement($tf)
239 $this->replacement
= $tf;
242 function get_replacement()
244 return $this->replacement
;
247 function set_foam_impressions($tf)
249 $this->foam_impressions
= $tf;
252 function get_foam_impressions()
254 return $this->foam_impressions
;
257 function set_shoe_size($string)
259 $this->shoe_size
= $string;
262 function get_shoe_size()
264 return $this->shoe_size
;
266 function set_calf($string)
268 $this->calf
= $string;
275 function set_ankle($string)
277 $this->ankle
= $string;
285 function set_purpose($string)
287 $this->purpose
= $string;
290 function get_purpose()
292 return $this->purpose
;
294 function set_purpose_other($string)
296 $this->purpose_other
= $string;
299 function get_purpose_other()
301 return $this->purpose_other
;
304 function set_notes($string)
306 $this->notes
= $string;
313 function set_goals_discussed($tf)
315 $this->goals_discussed
= $tf;
318 function get_goals_discussed()
320 return $this->goals_discussed
;
323 function set_use_reviewed($tf)
325 $this->use_reviewed
= $tf;
328 function get_use_reviewed()
330 return $this->use_reviewed
;
333 function set_wear_reviewed($tf)
335 $this->wear_reviewed
= $tf;
338 function get_wear_reviewed()
340 return $this->wear_reviewed
;
348 function set_worn_years($string)
350 $this->worn_years
= $string;
353 function get_worn_years()
355 return $this->worn_years
;
357 function set_age_months($string)
359 $this->age_months
= $string;
362 function get_age_months()
364 return $this->age_months
;
366 function set_age_years($string)
368 $this->age_years
= $string;
371 function get_age_years()
373 return $this->age_years
;
375 function set_wear_hours($string)
377 $this->wear_hours
= $string;
380 function get_wear_hours()
382 return $this->wear_hours
;
385 function set_plan_to_order($tf)
387 $this->plan_to_order
= $tf;
390 function get_plan_to_order()
392 return $this->plan_to_order
;
395 function set_plan_to_order_date($string)
397 $this->plan_to_order_date
= $string;
400 function get_plan_to_order_date()
402 return $this->plan_to_order_date
;
405 function set_received_product($tf)
407 $this->received_product
= $tf;
410 function get_received_product()
412 return $this->received_product
;
414 function set_received_product_date($string)
416 $this->received_product_date
= $string;
419 function get_received_product_date()
421 return $this->received_product_date
;
424 function set_given_instructions($tf)
426 $this->given_instructions
= $tf;
429 function get_given_instructions()
431 return $this->given_instructions
;
434 function set_patient_understands($tf)
436 $this->patient_understands
= $tf;
439 function get_patient_understands()
441 return $this->patient_understands
;