10 class FormProsthesis
extends ORDataObject
{
29 var $involvement_left;
30 var $involvement_right;
31 var $involvement_bilateral;
33 var $location_array = array("office" => "Office", "home" => "Home", "skilled_nurse_fac" => "Skilled Nurs. Fac.", "acute_hospital" => "Acute Hosp.",
34 "nursing_home" => "Nursing Home", "rehab_hospital" => "Rehab. Hosp.", "other" => "Other");
37 var $worn_le_past_five;
42 var $foam_impressions;
47 var $purpose_array = array("pain_reduction" => "Pain Reduction", "offload_involved_area" => "Offload invloved Area", "immobilize" => "Immobilize",
48 "limit_motion" => "Limit Motion", "accomodation" => "Accomodation", "reduce_edema" => "Reduce Edema",
49 "facilitate_healing" => "Facilitate Healing", "other" => "Other");
59 var $plan_to_order_date;
60 var $receiveded_product;
61 var $received_product_date;
62 var $given_instructions;
63 var $patient_understands;
65 var $cpt_array = array( "L0500" => "L0500 LS corset", "L3010" => "L3010 Molded FO", "L3010" => "L3020 Molded FO + Met pad",
66 "L3221" => "L3221 Men's depth shoes", "L3216" => "L3216 Women's depth shoes", "L3332" => "L3332 In-shoe .5\" heel lift",
67 "L8100" => "L8100 BK comp hose (20-30mmHg)","L8110" => "L8110 BK comp hose (30-40mmHg)", "L8130" => "L8130 AK comp hose (20-30mmHg)",
68 "L8140" => "L8140 AK comp hose (30-40mmHg)");
72 * Constructor sets all Form attributes to their default value
75 function FormProsthesis($id= "", $_prefix = "") {
76 if (is_numeric($id)) {
82 $this->_table
= "form_prosthesis";
83 $this->date
= date("Y-m-d H:i:s");
85 $this->pid
= $GLOBALS['pid'];
91 function toString($html = false) {
93 ."ID: " . $this->id
. "\n";
96 return nl2br($string);
102 function set_id($id) {
103 if (!empty($id) && is_numeric($id)) {
110 function set_pid($pid) {
111 if (!empty($pid) && is_numeric($pid)) {
118 function set_activity($tf) {
119 if (!empty($tf) && is_numeric($tf)) {
120 $this->activity
= $tf;
123 function get_activity() {
124 return $this->activity
;
127 function set_therapist($string) {
128 $this->therapist
= $string;
131 function get_therapist() {
132 return $this->therapist
;
135 function set_involvement_left($tf) {
136 $this->involvement_left
= $tf;
139 function get_involvement_left() {
140 return $this->involvement_left
;
143 function set_involvement_right($tf) {
144 $this->involvement_right
= $tf;
147 function get_involvement_right() {
148 return $this->involvement_right
;
151 function set_involvement_bilateral($tf) {
152 $this->involvement_bilateral
= $tf;
155 function get_involvement_bilateral() {
156 return $this->involvement_bilateral
;
159 function set_location($string) {
160 $this->location
= $string;
163 function get_location() {
164 return $this->location
;
166 function set_diagnosis($string) {
167 $this->diagnosis
= $string;
170 function get_diagnosis() {
171 return $this->diagnosis
;
173 function set_hx($string) {
181 function set_worn_le_past_five($tf) {
182 $this->worn_le_past_five
= $tf;
185 function get_worn_le_past_five() {
186 return $this->worn_le_past_five
;
189 function set_model($string) {
190 $this->model
= $string;
193 function get_model() {
197 function set_new($tf) {
205 function set_size($string) {
206 $this->size
= $string;
209 function get_size() {
213 function set_replacement($tf) {
214 $this->replacement
= $tf;
217 function get_replacement() {
218 return $this->replacement
;
221 function set_foam_impressions($tf) {
222 $this->foam_impressions
= $tf;
225 function get_foam_impressions() {
226 return $this->foam_impressions
;
229 function set_shoe_size($string) {
230 $this->shoe_size
= $string;
233 function get_shoe_size() {
234 return $this->shoe_size
;
236 function set_calf($string) {
237 $this->calf
= $string;
240 function get_calf() {
243 function set_ankle($string) {
244 $this->ankle
= $string;
247 function get_ankle() {
251 function set_purpose($string) {
252 $this->purpose
= $string;
255 function get_purpose() {
256 return $this->purpose
;
258 function set_purpose_other($string) {
259 $this->purpose_other
= $string;
262 function get_purpose_other() {
263 return $this->purpose_other
;
266 function set_notes($string) {
267 $this->notes
= $string;
270 function get_notes() {
273 function set_goals_discussed($tf) {
274 $this->goals_discussed
= $tf;
277 function get_goals_discussed() {
278 return $this->goals_discussed
;
281 function set_use_reviewed($tf) {
282 $this->use_reviewed
= $tf;
285 function get_use_reviewed() {
286 return $this->use_reviewed
;
289 function set_wear_reviewed($tf) {
290 $this->wear_reviewed
= $tf;
293 function get_wear_reviewed() {
294 return $this->wear_reviewed
;
297 function get_date() {
301 function set_worn_years($string) {
302 $this->worn_years
= $string;
305 function get_worn_years() {
306 return $this->worn_years
;
308 function set_age_months($string) {
309 $this->age_months
= $string;
312 function get_age_months() {
313 return $this->age_months
;
315 function set_age_years($string) {
316 $this->age_years
= $string;
319 function get_age_years() {
320 return $this->age_years
;
322 function set_wear_hours($string) {
323 $this->wear_hours
= $string;
326 function get_wear_hours() {
327 return $this->wear_hours
;
330 function set_plan_to_order($tf) {
331 $this->plan_to_order
= $tf;
334 function get_plan_to_order() {
335 return $this->plan_to_order
;
338 function set_plan_to_order_date($string) {
339 $this->plan_to_order_date
= $string;
342 function get_plan_to_order_date() {
343 return $this->plan_to_order_date
;
346 function set_received_product($tf) {
347 $this->received_product
= $tf;
350 function get_received_product() {
351 return $this->received_product
;
353 function set_received_product_date($string) {
354 $this->received_product_date
= $string;
357 function get_received_product_date() {
358 return $this->received_product_date
;
361 function set_given_instructions($tf) {
362 $this->given_instructions
= $tf;
365 function get_given_instructions() {
366 return $this->given_instructions
;
369 function set_patient_understands($tf) {
370 $this->patient_understands
= $tf;
373 function get_patient_understands() {
374 return $this->patient_understands
;