add hemocube classification numbers
This commit is contained in:
@@ -57,13 +57,14 @@ function App() {
|
|||||||
const hposTestData = document.data();
|
const hposTestData = document.data();
|
||||||
hposTests.push(hposTestData);
|
hposTests.push(hposTestData);
|
||||||
const { result } = hposTestData;
|
const { result } = hposTestData;
|
||||||
if (result === "NORMAL") {
|
const { classificationResult } = hposTestData;
|
||||||
|
if (result === "NORMAL" || classificationResult === 'Normal') {
|
||||||
normalCount++;
|
normalCount++;
|
||||||
}
|
}
|
||||||
if (result === 'SICKLECELLTRAIT') {
|
if (result === 'SICKLECELLTRAIT' || classificationResult === 'Sickle Cell Trait') {
|
||||||
traitCount++;
|
traitCount++;
|
||||||
}
|
}
|
||||||
if (result === 'SICKLECELLDISEASE') {
|
if (result === 'SICKLECELLDISEASE' || classificationResult === 'Sickle Cell Disease') {
|
||||||
diseaseCount++;
|
diseaseCount++;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user