Skip to content

Commit

Permalink
Update VL load Term
Browse files Browse the repository at this point in the history
  • Loading branch information
vicwere committed Aug 20, 2024
1 parent f6e9439 commit 3a6cbcc
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 @@ -1805,9 +1805,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 @@ -1923,7 +1923,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 @@ -1932,14 +1932,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 3a6cbcc

Please sign in to comment.