Skip to content

Commit

Permalink
updated change of timestamp variable
Browse files Browse the repository at this point in the history
  • Loading branch information
vicwere committed Feb 28, 2024
1 parent 86052e3 commit dc34c84
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion models/admissions.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const Admissions = sequelize.sequelize.define(
},
mfl_code: Sequelize.INTEGER,
ward: Sequelize.TEXT,
time_stamp: Sequelize.TEXT,
timestamp: Sequelize.TEXT,

capacity: Sequelize.BIGINT,
occupancy: Sequelize.BIGINT,
Expand Down
2 changes: 1 addition & 1 deletion models/billing.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const Billing = sequelize.sequelize.define(
primaryKey: true,
autoIncrement: true
},
time_stamp: Sequelize.TEXT,
timestamp: Sequelize.TEXT,
mfl_code: Sequelize.INTEGER,
service_type: Sequelize.TEXT,
invoices_total: Sequelize.BIGINT,
Expand Down
2 changes: 1 addition & 1 deletion models/diagnosis.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const Diagnosis = sequelize.sequelize.define(
primaryKey: true,
autoIncrement: true
},
time_stamp: Sequelize.TEXT,
timestamp: Sequelize.TEXT,
mfl_code: Sequelize.INTEGER,
diagnosis_name: Sequelize.TEXT,
total: Sequelize.BIGINT,
Expand Down
2 changes: 1 addition & 1 deletion models/inventory.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const Inventory = sequelize.sequelize.define(
primaryKey: true,
autoIncrement: true
},
time_stamp: Sequelize.TEXT,
timestamp: Sequelize.TEXT,
mfl_code: Sequelize.INTEGER,
item_type: Sequelize.TEXT,
item_name: Sequelize.TEXT,
Expand Down
2 changes: 1 addition & 1 deletion models/payments.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const Payments = sequelize.sequelize.define(
primaryKey: true,
autoIncrement: true
},
time_stamp: Sequelize.TEXT,
timestamp: Sequelize.TEXT,
mfl_code: Sequelize.INTEGER,
payment_mode: Sequelize.TEXT,
no_of_patients: Sequelize.INTEGER,
Expand Down
2 changes: 1 addition & 1 deletion models/visits.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const Visits = sequelize.sequelize.define(
primaryKey: true,
autoIncrement: true
},
time_stamp: Sequelize.TEXT,
timestamp: Sequelize.TEXT,
mfl_code: Sequelize.INTEGER,
visit_type: Sequelize.TEXT,
total: Sequelize.BIGINT,
Expand Down
2 changes: 1 addition & 1 deletion models/workload.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const Workload = sequelize.sequelize.define(
primaryKey: true,
autoIncrement: true
},
time_stamp: Sequelize.TEXT,
timestamp: Sequelize.TEXT,
mfl_code: Sequelize.INTEGER,
department: Sequelize.TEXT,
total: Sequelize.BIGINT,
Expand Down
2 changes: 1 addition & 1 deletion routes/receiver.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ const seconds = date.getSeconds().toString().padStart(2, '0');
const timestamp = `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`;

let facility_attributes = {
"time_stamp": timestamp,
"timestamp": timestamp,
"mfl_code": mfl_code
}
//Admissions
Expand Down

0 comments on commit dc34c84

Please sign in to comment.