Ejemplo n.º 1
0
        /// <summary>
        /// Calculates the substance disorder scores.
        /// </summary>
        private void CalculateSubstanceDisorderScores()
        {
            var gainShortScreenerCalculationService = new GainShortScreenerCalculationService();

            gainShortScreenerCalculationService.ProcessQuestionValue(LastTimeUsedAlcoholDrugsNumber);
            gainShortScreenerCalculationService.ProcessQuestionValue(LastTimeSpentALotOfTimeGettingAlcoholNumber);
            gainShortScreenerCalculationService.ProcessQuestionValue(LastTimeKeptUsingAlcoholNumber);
            gainShortScreenerCalculationService.ProcessQuestionValue(LastTimeUseAlcoholCauseYouToGiveUpNumber);
            gainShortScreenerCalculationService.ProcessQuestionValue(LastTimeHadWithdrawProblemsNumber);

            SubstanceDisorderScreenerPastMonthScore = gainShortScreenerCalculationService.ScreenerPastMonthScore;
            SubstanceDisorderScreenerPastYearScore  = gainShortScreenerCalculationService.ScreenerPastYearScore;
            SubstanceDisorderScreenerLifetimeScore  = gainShortScreenerCalculationService.ScreenerLifetimeScore;
        }
        /// <summary>
        /// Calculates the internalizing disorder scores.
        /// </summary>
        private void CalculateInternalizingDisorderScores()
        {
            var gainShortScreenerCalculationService = new GainShortScreenerCalculationService();

            gainShortScreenerCalculationService.ProcessQuestionValue(ProblemFeelingDepressedNumber);
            gainShortScreenerCalculationService.ProcessQuestionValue(ProblemSleepingNumber);
            gainShortScreenerCalculationService.ProcessQuestionValue(ProblemFeelingAnxiousNumber);
            gainShortScreenerCalculationService.ProcessQuestionValue(ProblemBecomingDistressedNumber);
            gainShortScreenerCalculationService.ProcessQuestionValue(ProblemCommittingSuicideNumber);

            InternalizingDisorderScreenerPastMonthScore = gainShortScreenerCalculationService.ScreenerPastMonthScore;
            InternalizingDisorderScreenerPastYearScore  = gainShortScreenerCalculationService.ScreenerPastYearScore;
            InternalizingDisorderScreenerLifetimeScore  = gainShortScreenerCalculationService.ScreenerLifetimeScore;
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Calculates the crime violence total scores.
        /// </summary>
        private void CalculateCrimeViolenceScores()
        {
            var gainShortScreenerCalculationService = new GainShortScreenerCalculationService();

            gainShortScreenerCalculationService.ProcessQuestionValue(LastTimeYouHadDisagreementNumber);
            gainShortScreenerCalculationService.ProcessQuestionValue(LastTimeYouTookSomethingNumber);
            gainShortScreenerCalculationService.ProcessQuestionValue(LastTimeYouSoldIllegalDrugsNumber);
            gainShortScreenerCalculationService.ProcessQuestionValue(LastTimeYouDroveUnderTheInfluenceNumber);
            gainShortScreenerCalculationService.ProcessQuestionValue(LastTimeYouPurposelyDamagedPropertyNumber);

            CrimeViolenceScreenerPastMonthScore = gainShortScreenerCalculationService.ScreenerPastMonthScore;
            CrimeViolenceScreenerPastYearScore  = gainShortScreenerCalculationService.ScreenerPastYearScore;
            CrimeViolenceScreenerLifetimeScore  = gainShortScreenerCalculationService.ScreenerLifetimeScore;
        }
Ejemplo n.º 4
0
        /// <summary>
        /// Calculates the externalizing disorder scores.
        /// </summary>
        private void CalculateExternalizingDisorderScores()
        {
            var gainShortScreenerCalculationService = new GainShortScreenerCalculationService();

            gainShortScreenerCalculationService.ProcessQuestionValue(TwoOrMoreLiedNumber);
            gainShortScreenerCalculationService.ProcessQuestionValue(TwoOrMoreHardTimePayingAttentionNumber);
            gainShortScreenerCalculationService.ProcessQuestionValue(TwoOrMoreHardTimeListeningNumber);
            gainShortScreenerCalculationService.ProcessQuestionValue(TwoOrMoreThreatenedOthersNumber);
            gainShortScreenerCalculationService.ProcessQuestionValue(TwoOrMoreStartedFightNumber);

            ExternalizingDisorderScreenerPastMonthScore = gainShortScreenerCalculationService.ScreenerPastMonthScore;
            ExternalizingDisorderScreenerPastYearScore  = gainShortScreenerCalculationService.ScreenerPastYearScore;
            ExternalizingDisorderScreenerLifetimeScore  = gainShortScreenerCalculationService.ScreenerLifetimeScore;
        }