From 24f3bcc07476f4feee8a711e145582b7adf8546c Mon Sep 17 00:00:00 2001 From: sunsetsystems Date: Sun, 5 Feb 2006 23:07:30 +0000 Subject: [PATCH] some field values were too small, and temp_methods was redundant and confusing --- interface/forms/vitals/FormVitals.class.php | 8 ++++---- interface/forms/vitals/table.sql | 9 ++++----- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/interface/forms/vitals/FormVitals.class.php b/interface/forms/vitals/FormVitals.class.php index dbd941a26..633aeaac1 100644 --- a/interface/forms/vitals/FormVitals.class.php +++ b/interface/forms/vitals/FormVitals.class.php @@ -46,7 +46,7 @@ class FormVitals extends ORDataObject { var $head_circ; var $oxygen_saturation; - var $temp_methods; + // var $temp_methods; /** * Constructor sets all Form attributes to their default value */ @@ -180,9 +180,9 @@ class FormVitals extends ORDataObject { function set_temp_method($tm) { $this->temp_method = $tm; } - function get_temp_methods() { - return $this->temp_methods; - } + // function get_temp_methods() { + // return $this->temp_methods; + // } function get_pulse() { return $this->pulse; } diff --git a/interface/forms/vitals/table.sql b/interface/forms/vitals/table.sql index 653616b42..31c43b373 100644 --- a/interface/forms/vitals/table.sql +++ b/interface/forms/vitals/table.sql @@ -11,16 +11,15 @@ CREATE TABLE IF NOT EXISTS `form_vitals` ( `bpd` varchar (40) default 0, `weight` INT (3) default 0, `height` INT (3) default 0, -`temperature` FLOAT (4,2) default 0, +`temperature` FLOAT (5,2) default 0, `temp_method` VARCHAR (255) default NULL, -`pulse` FLOAT (4,2) default 0, -`respiration` FLOAT (4,2) default 0, +`pulse` FLOAT (5,2) default 0, +`respiration` FLOAT (5,2) default 0, `note` VARCHAR (255) default NULL, `BMI` DOUBLE UNSIGNED default 0, `BMI_status` VARCHAR (255) default NULL, -`waist_circ` FLOAT (4,2) default 0, +`waist_circ` FLOAT (5,2) default 0, `head_circ` FLOAT (4,2) default 0, `oxygen_saturation` FLOAT (3,2) default 0, -`temp_methods` ENUM( 'Oral', 'Rectal', 'Axillary' ) DEFAULT 'Axillary' NOT NULL, PRIMARY KEY (id) ) TYPE=MyISAM; -- 2.11.4.GIT