Please help, this is kind of urgent. i dont know what to do anymore. i'm rule out conditions to advice possibility disease based on symptom choose, but unfortunately, it showing all result. i've already set the result condition by false by default.
if ((radioMale || radioFemaleMonopause || radioFemaleNotMonopause) &&
(radioYes && duration2 && !NoneOther1) &&
(condition1 || condition2 || condition3 || condition4) ||
(leftArm || bothArms || leftShoulder || bothShoulder || throatOrNeck || jaw || dizziness || shortnessOfBreath || stress || nausea || pulse || sweating || BP || notActive || diabetic || smoke || familyHistory || hadHeartAttackBefore || backNeck || fatigue || sleepDisturbance || NoneHead || overweight || NoneOther))
{ angina = true;
}
if ((radioMale || radioFemaleMonopause || radioFemaleNotMonopause) &&
(radioNo && duration2 && !NoneOther1) &&
(condition1 || condition2 || condition3 || condition4) ||
(leftArm || bothArms || leftShoulder || bothShoulder || throatOrNeck || jaw || dizziness || shortnessOfBreath || stress || nausea || pulse || sweating || BP || notActive || diabetic || smoke || familyHistory || hadHeartAttackBefore || backNeck || fatigue || sleepDisturbance || NoneHead || overweight || NoneOther))
{ highRiskMaleNo = true;
}
if ((radioMale || radioFemaleMonopause || radioFemaleNotMonopause) &&
(radioYes && !NoneOther1) &&
(duration3 || duration4) &&
(condition1 || condition2 || condition3 || condition4) ||
(leftArm || bothArms || leftShoulder || bothShoulder || throatOrNeck || jaw || dizziness || shortnessOfBreath || stress || nausea || pulse || sweating || BP || notActive || diabetic || smoke || familyHistory || hadHeartAttackBefore || backNeck || fatigue || sleepDisturbance || NoneHead || overweight || NoneOther))
{ highRiskMaleYes = true;//unstable angina
}
if ((radioMale || radioFemaleMonopause || radioFemaleNotMonopause) &&
(radioNo && !NoneOther1) &&
(duration3 || duration4) &&
(condition1 || condition2 || condition3 || condition4) ||
(leftArm || bothArms || leftShoulder || bothShoulder || throatOrNeck || jaw || dizziness || shortnessOfBreath || stress || nausea || pulse || sweating || BP || notActive || diabetic || smoke || familyHistory || hadHeartAttackBefore || backNeck || fatigue || sleepDisturbance || NoneHead || overweight || NoneOther))
{ highRiskMaleNo = true;
}
if ((radioMale || radioFemaleMonopause || radioFemaleNotMonopause) &&
(radioYes && duration1 && !NoneOther1) &&
(condition1 || condition2 || condition3 || condition4) ||
(leftArm || bothArms || leftShoulder || bothShoulder || throatOrNeck || jaw || dizziness || shortnessOfBreath || stress || nausea || pulse || sweating || BP || notActive || diabetic || smoke || familyHistory || hadHeartAttackBefore || backNeck || fatigue || sleepDisturbance || NoneHead || overweight || NoneOther))
{ unlikely = true;
}
if ((radioMale || radioFemaleMonopause || radioFemaleNotMonopause) &&
(radioNo && duration1 && !NoneOther1) &&
(condition1 || condition2 || condition3 || condition4) ||
(leftArm || bothArms || leftShoulder || bothShoulder || throatOrNeck || jaw || dizziness || shortnessOfBreath || stress || nausea || pulse || sweating || BP || notActive || diabetic || smoke || familyHistory || hadHeartAttackBefore || backNeck || fatigue || sleepDisturbance || NoneHead || overweight || NoneOther))
{ unlikely = true;
}
if ((radioMale || radioFemaleMonopause || radioFemaleNotMonopause) &&
(radioYes && !NoneOther1) &&
(duration1 || duration2 || duration3 || duration4) &&
(condition5 || condition6 || condition7 || condition8) ||
(leftArm || bothArms || leftShoulder || bothShoulder || throatOrNeck || jaw || dizziness || shortnessOfBreath || stress || nausea || pulse || sweating || BP || notActive || diabetic || smoke || familyHistory || hadHeartAttackBefore || backNeck || fatigue || sleepDisturbance || NoneHead || overweight || NoneOther))
{ unlikely = true;
}
if ((radioMale || radioFemaleMonopause || radioFemaleNotMonopause) &&
(radioNo && !NoneOther1) &&
(duration1 || duration2 || duration3 || duration4) &&
(condition5 || condition6 || condition7 || condition8) ||
(leftArm || bothArms || leftShoulder || bothShoulder || throatOrNeck || jaw || dizziness || shortnessOfBreath || stress || nausea || pulse || sweating || BP || notActive || diabetic || smoke || familyHistory || hadHeartAttackBefore || backNeck || fatigue || sleepDisturbance || NoneHead || overweight || NoneOther))
{ unlikely = true;
}
if ((radioMale || radioFemaleMonopause || radioFemaleNotMonopause) &&
(radioYes && NoneOther1) &&
(duration1 || duration2 || duration3 || duration4) ||
(leftArm || bothArms || leftShoulder || bothShoulder || throatOrNeck || jaw || dizziness || shortnessOfBreath || stress || nausea || pulse || sweating || BP || notActive || diabetic || smoke || familyHistory || hadHeartAttackBefore || backNeck || fatigue || sleepDisturbance || NoneHead || overweight || NoneOther))
{ indeterminate = true;
}
if ((radioMale || radioFemaleMonopause || radioFemaleNotMonopause) &&
(radioNo && NoneOther1) &&
(duration1 || duration2 || duration3 || duration4) &&
(condition5 || condition6 || condition7 || condition8) ||
(leftArm || bothArms || leftShoulder || bothShoulder || throatOrNeck || jaw || dizziness || shortnessOfBreath || stress || nausea || pulse || sweating || BP || notActive || diabetic || smoke || familyHistory || hadHeartAttackBefore || backNeck || fatigue || sleepDisturbance || NoneHead || overweight || NoneOther))
{ indeterminate = true;
}
this is my default boolean
angina = false; unstableAngina = false;
highRiskMaleNo = false;
highRiskMonopauseNo = false;
unlikely = false;
indeterminate = false;
Aucun commentaire:
Enregistrer un commentaire