Following the advice in another thread I have fixed using:
{
for (let m of icu.fit) {
if(m.event?.valueName === "LENGTH") {
data.setAt(m.timestamp.value, m.total_strokes?.value)
}
}
}
Following the advice in another thread I have fixed using:
{
for (let m of icu.fit) {
if(m.event?.valueName === "LENGTH") {
data.setAt(m.timestamp.value, m.total_strokes?.value)
}
}
}