3 // Copyright (C) 2009 Aron Racho <aron@mi-squared.com>
5 // This program is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU General Public License
7 // as published by the Free Software Foundation; either version 2
9 use OpenEMR\Common\ORDataObject\ORDataObject
;
11 define("EVENT_VEHICLE", 1);
12 define("EVENT_WORK_RELATED", 2);
13 define("EVENT_SLIP_FALL", 3);
14 define("EVENT_OTHER", 4);
18 * class FormHpTjePrimary
21 class FormNursingNotes
extends ORDataObject
44 * Constructor sets all Form attributes to their default value
47 function __construct($id = "", $_prefix = "")
49 parent
::__construct();
51 if (is_numeric($id)) {
55 $this->date
= date("Y-m-d H:i:s");
58 $this->_table
= "form_nursing_notes";
60 $this->pid
= $GLOBALS['pid'];
63 //$this->date = $this->get_date();
69 //$this->temp_methods = parent::_load_enum("temp_locations",false);
74 return "ID: " . $this->id
. "\n";
79 if (!empty($id) && is_numeric($id)) {
89 function set_pid($pid)
91 if (!empty($pid) && is_numeric($pid)) {
106 function set_date($dt)
118 function set_user($u)
125 function set_activity($tf)
127 if (!empty($tf) && is_numeric($tf)) {
128 $this->activity
= $tf;
132 function get_activity()
134 return $this->activity
;
137 function get_assessment()
139 return $this->assessment
;
142 function set_assessment($data)
145 $this->assessment
= $data;
149 function get_procedures()
151 return $this->procedures
;
154 function set_procedures($data)
157 $this->procedures
= $data;
161 function get_discharge()
163 return $this->discharge
;
166 function set_discharge($data)
169 $this->discharge
= $data;