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