3 require_once(dirname(__FILE__
) . "/../../../library/classes/ORDataObject.class.php");
11 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 = "") {
77 if (is_numeric($id)) {
83 $this->_table
= "form_prosthesis";
84 $this->date
= date("Y-m-d H:i:s");
86 $this->pid
= $GLOBALS['pid'];
92 function toString($html = false) {
94 ."ID: " . $this->id
. "\n";
97 return nl2br($string);
103 function set_id($id) {
104 if (!empty($id) && is_numeric($id)) {
111 function set_pid($pid) {
112 if (!empty($pid) && is_numeric($pid)) {
119 function set_activity($tf) {
120 if (!empty($tf) && is_numeric($tf)) {
121 $this->activity
= $tf;
124 function get_activity() {
125 return $this->activity
;
128 function set_therapist($string) {
129 $this->therapist
= $string;
132 function get_therapist() {
133 return $this->therapist
;
136 function set_involvement_left($tf) {
137 $this->involvement_left
= $tf;
140 function get_involvement_left() {
141 return $this->involvement_left
;
144 function set_involvement_right($tf) {
145 $this->involvement_right
= $tf;
148 function get_involvement_right() {
149 return $this->involvement_right
;
152 function set_involvement_bilateral($tf) {
153 $this->involvement_bilateral
= $tf;
156 function get_involvement_bilateral() {
157 return $this->involvement_bilateral
;
160 function set_location($string) {
161 $this->location
= $string;
164 function get_location() {
165 return $this->location
;
167 function set_diagnosis($string) {
168 $this->diagnosis
= $string;
171 function get_diagnosis() {
172 return $this->diagnosis
;
174 function set_hx($string) {
182 function set_worn_le_past_five($tf) {
183 $this->worn_le_past_five
= $tf;
186 function get_worn_le_past_five() {
187 return $this->worn_le_past_five
;
190 function set_model($string) {
191 $this->model
= $string;
194 function get_model() {
198 function set_new($tf) {
206 function set_size($string) {
207 $this->size
= $string;
210 function get_size() {
214 function set_replacement($tf) {
215 $this->replacement
= $tf;
218 function get_replacement() {
219 return $this->replacement
;
222 function set_foam_impressions($tf) {
223 $this->foam_impressions
= $tf;
226 function get_foam_impressions() {
227 return $this->foam_impressions
;
230 function set_shoe_size($string) {
231 $this->shoe_size
= $string;
234 function get_shoe_size() {
235 return $this->shoe_size
;
237 function set_calf($string) {
238 $this->calf
= $string;
241 function get_calf() {
244 function set_ankle($string) {
245 $this->ankle
= $string;
248 function get_ankle() {
252 function set_purpose($string) {
253 $this->purpose
= $string;
256 function get_purpose() {
257 return $this->purpose
;
259 function set_purpose_other($string) {
260 $this->purpose_other
= $string;
263 function get_purpose_other() {
264 return $this->purpose_other
;
267 function set_notes($string) {
268 $this->notes
= $string;
271 function get_notes() {
274 function set_goals_discussed($tf) {
275 $this->goals_discussed
= $tf;
278 function get_goals_discussed() {
279 return $this->goals_discussed
;
282 function set_use_reviewed($tf) {
283 $this->use_reviewed
= $tf;
286 function get_use_reviewed() {
287 return $this->use_reviewed
;
290 function set_wear_reviewed($tf) {
291 $this->wear_reviewed
= $tf;
294 function get_wear_reviewed() {
295 return $this->wear_reviewed
;
298 function get_date() {
302 function set_worn_years($string) {
303 $this->worn_years
= $string;
306 function get_worn_years() {
307 return $this->worn_years
;
309 function set_age_months($string) {
310 $this->age_months
= $string;
313 function get_age_months() {
314 return $this->age_months
;
316 function set_age_years($string) {
317 $this->age_years
= $string;
320 function get_age_years() {
321 return $this->age_years
;
323 function set_wear_hours($string) {
324 $this->wear_hours
= $string;
327 function get_wear_hours() {
328 return $this->wear_hours
;
331 function set_plan_to_order($tf) {
332 $this->plan_to_order
= $tf;
335 function get_plan_to_order() {
336 return $this->plan_to_order
;
339 function set_plan_to_order_date($string) {
340 $this->plan_to_order_date
= $string;
343 function get_plan_to_order_date() {
344 return $this->plan_to_order_date
;
347 function set_received_product($tf) {
348 $this->received_product
= $tf;
351 function get_received_product() {
352 return $this->received_product
;
354 function set_received_product_date($string) {
355 $this->received_product_date
= $string;
358 function get_received_product_date() {
359 return $this->received_product_date
;
362 function set_given_instructions($tf) {
363 $this->given_instructions
= $tf;
366 function get_given_instructions() {
367 return $this->given_instructions
;
370 function set_patient_understands($tf) {
371 $this->patient_understands
= $tf;
374 function get_patient_understands() {
375 return $this->patient_understands
;