3 require_once(dirname(__FILE__
) . "/../../../library/classes/ORDataObject.class.php");
5 define("EVENT_VEHICLE",1);
6 define("EVENT_WORK_RELATED",2);
7 define("EVENT_SLIP_FALL",3);
8 define("EVENT_OTHER",4);
12 * class FormHpTjePrimary
15 class FormSOAP
extends ORDataObject
{
52 * Constructor sets all Form attributes to their default value
55 function FormSOAP($id= "", $_prefix = "") {
56 if (is_numeric($id)) {
61 $this->date
= date("Y-m-d H:i:s");
64 $this->_table
= "form_soap2";
66 $this->pid
= $GLOBALS['pid'];
69 //$this->date = $this->get_date();
74 //$this->temp_methods = parent::_load_enum("temp_locations",false);
77 function toString($html = false) {
79 ."ID: " . $this->id
. "\n";
82 return nl2br($string);
88 function set_id($id) {
89 if (!empty($id) && is_numeric($id)) {
96 function set_pid($pid) {
97 if (!empty($pid) && is_numeric($pid)) {
104 function set_activity($tf) {
105 if (!empty($tf) && is_numeric($tf)) {
106 $this->activity
= $tf;
109 function get_activity() {
110 return $this->activity
;
113 function get_date() {
116 function set_date($dt) {
121 function get_user() {
124 function set_user($u) {
129 function get_subjective() {
130 return $this->subjective
;
132 function set_subjective($data) {
134 $this->subjective
= $data;
137 function get_objective() {
138 return $this->objective
;
140 function set_objective($data) {
142 $this->objective
= $data;
146 function get_assessment() {
147 return $this->assessment
;
149 function set_assessment($data) {
151 $this->assessment
= $data;
157 /* The following code replaces assessment. It is
158 part of the SOAP form Dr J has requested.
162 // **** General *****
163 function get_general() {
164 return $this->general
;
166 function set_general($data) {
168 $this->general
= $data;
173 function get_heent() {
176 function set_heent($data) {
178 $this->heent
= $data;
183 function get_neck() {
186 function set_neck($data) {
193 function get_cardio() {
194 return $this->cardio
;
196 function set_cardio($data) {
198 $this->cardio
= $data;
203 function get_respiratory() {
204 return $this->respiratory
;
206 function set_respiratory($data) {
208 $this->respiratory
= $data;
212 // **** Breasts *****
213 // * my personal favorite :> ***
214 function get_breasts() {
215 return $this->breasts
;
217 function set_breasts($data) {
219 $this->breasts
= $data;
223 // **** Abdomen *****
224 function get_abdomen() {
225 return $this->abdomen
;
227 function set_abdomen($data) {
229 $this->abdomen
= $data;
234 function get_gastro() {
235 return $this->gastro
;
237 function set_gastro($data) {
239 $this->gastro
= $data;
243 // **** Bones/Joints/Extremities *****
244 function get_extremities() {
245 return $this->extremities
;
247 function set_extremities($data) {
249 $this->extremities
= $data;
254 function get_skin() {
257 function set_skin($data) {
263 // **** Neuro/Psych *****
264 function get_neurological() {
265 return $this->neurological
;
267 function set_neurological($data) {
269 $this->neurological
= $data;
273 // **** Mental Status *****
274 function get_mentalstatus() {
275 return $this->mentalstatus
;
277 function set_mentalstatus($data) {
279 $this->mentalstatus
= $data;
283 function get_plan() {
286 function set_plan($data) {