Skip to content

Commit

Permalink
Fixed Bug in Encounter Form
Browse files Browse the repository at this point in the history
  • Loading branch information
vicwere committed Apr 15, 2024
1 parent f5b06c6 commit 64c3399
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions routes/processes/visit.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ router.get('/search', async (req, res) => {

let msg_type=variables[0]; //Message Type ANC

let client_id = variables[1];
let clinic_number = variables[1];
let is_scheduled = variables[2];
let visit_type = variables[3];
let other_visit_type = variables[4];
Expand Down Expand Up @@ -247,7 +247,7 @@ router.get('/search', async (req, res) => {

//Save Visit Variables
const new_visit = await Visits.create({
client_id: client_id,
client_id: client.id,
is_scheduled: is_scheduled,
visit_type: visit_type,
other_visit_type: other_visit_type,
Expand Down

0 comments on commit 64c3399

Please sign in to comment.