private bool CheckRiskLevelBorderline(PatientModel patient, IEnumerable <string> patientNotes)
        {
            if (DiabetesRiskUtils.GetAge(patient, _dateTimeService) >= 30 &&
                DiabetesRiskUtils.GetNumberOfTriggerTermsInNotes(patientNotes) == 2)
            {
                return(true);
            }

            return(false);
        }
        private bool CheckRiskLevelEarlyOnset(PatientModel patient, IEnumerable <string> patientNotes)
        {
            Sex sex          = DiabetesRiskUtils.GetPatientSex(patient);
            int age          = DiabetesRiskUtils.GetAge(patient, _dateTimeService);
            int triggerTerms = DiabetesRiskUtils.GetNumberOfTriggerTermsInNotes(patientNotes);

            if ((age < 30 && (sex == Sex.Male && triggerTerms == 5 || sex == Sex.Female && triggerTerms == 7)) ||
                triggerTerms >= 8)
            {
                return(true);
            }

            return(false);
        }