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
{
40 * Constructor sets all Form attributes to their default value
43 function FormSOAP($id= "", $_prefix = "") {
44 if (is_numeric($id)) {
49 $this->date
= date("Y-m-d H:i:s");
52 $this->_table
= "form_soap";
54 $this->pid
= $GLOBALS['pid'];
57 //$this->date = $this->get_date();
62 //$this->temp_methods = parent::_load_enum("temp_locations",false);
65 function toString($html = false) {
67 ."ID: " . $this->id
. "\n";
70 return nl2br($string);
76 function set_id($id) {
77 if (!empty($id) && is_numeric($id)) {
84 function set_pid($pid) {
85 if (!empty($pid) && is_numeric($pid)) {
92 function set_activity($tf) {
93 if (!empty($tf) && is_numeric($tf)) {
94 $this->activity
= $tf;
97 function get_activity() {
98 return $this->activity
;
101 function get_date() {
104 function set_date($dt) {
109 function get_user() {
112 function set_user($u) {
117 function get_subjective() {
118 return $this->subjective
;
120 function set_subjective($data) {
122 $this->subjective
= $data;
125 function get_objective() {
126 return $this->objective
;
128 function set_objective($data) {
130 $this->objective
= $data;
133 function get_assessment() {
134 return $this->assessment
;
136 function set_assessment($data) {
138 $this->assessment
= $data;
141 function get_plan() {
144 function set_plan($data) {