fixup! fix health offset calculation
This commit is contained in:
parent
fb7b1dd969
commit
3a7fead929
1 changed files with 1 additions and 1 deletions
|
@ -503,7 +503,7 @@
|
||||||
}
|
}
|
||||||
labelTimeElement(projectedTr.children[1], data.expected.time, "YY-MM-DD HH:mm");
|
labelTimeElement(projectedTr.children[1], data.expected.time, "YY-MM-DD HH:mm");
|
||||||
projectedTr.children[2].innerText = `${data.expected.dose} ${med.dosage_unit} (${(prn || adlib) ? "available" : "scheduled"})`;
|
projectedTr.children[2].innerText = `${data.expected.dose} ${med.dosage_unit} (${(prn || adlib) ? "available" : "scheduled"})`;
|
||||||
projectedTr.children[3].innerText = data.dose_offset;
|
projectedTr.children[3].innerText = data.dose_offset?.toFixed(2);
|
||||||
tbody.appendChild(projectedTr);
|
tbody.appendChild(projectedTr);
|
||||||
|
|
||||||
logs.forEach(log => {
|
logs.forEach(log => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue