Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into nishauriV2
  • Loading branch information
Ronald-pro committed Aug 28, 2024
2 parents 0f60665 + 3a6cbcc commit 701e5a5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions routes/processes/nishauri_new.js
Original file line number Diff line number Diff line change
Expand Up @@ -1817,9 +1817,9 @@ router.get(
});

if (sp_status[0] == "VS") {
var viral_load__ = "Viral Suppressed";
var viral_load__ = "Virally Suppressed";
} else {
var viral_load__ = "Viral Unsuppressed";
var viral_load__ = "Virally Unsuppressed";
}

var l = {
Expand Down Expand Up @@ -1935,7 +1935,7 @@ router.get(
if (value_.includes("LDL")) {
sp_status.push({
result: "<LDL copies/ml",
status: "Viral Suppressed",
status: "Virally Suppressed",
date: lab_order_date_,
plot: parseInt(49)
});
Expand All @@ -1944,14 +1944,14 @@ router.get(
if (value_.replace(/[^0-9]/g, "") < 200) {
sp_status.push({
result: value_.replace(/[^0-9]/g, "") + " copies/ml",
status: "Viral Suppressed",
status: "Virally Suppressed",
date: lab_order_date_,
plot: parseInt(value_.replace(/[^0-9]/g, ""))
});
} else {
sp_status.push({
result: value_.replace(/[^0-9]/g, "") + " copies/ml",
status: "Viral unsuppressed",
status: "Virally Unsuppressed",
date: lab_order_date_,
plot: parseInt(value_.replace(/[^0-9]/g, ""))
});
Expand Down

0 comments on commit 701e5a5

Please sign in to comment.