Skip to content

Commit

Permalink
fix on patient data pull
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronald-pro committed Jul 30, 2024
1 parent 0b6160c commit 588e724
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions routes/processes/nishauri_new.js
Original file line number Diff line number Diff line change
Expand Up @@ -4802,9 +4802,6 @@ router.get(
if (patient) {
patient = patient.toJSON();
patient.gender = patient.gender === 1 ? 'Female' : patient.gender === 2 ? 'Male' : 'Unknown';
}

if (patient) {
return res.status(200).json({
success: true,
message: "Patient data retrieved successfully",
Expand Down

0 comments on commit 588e724

Please sign in to comment.