コード例 #1
0
        public void addEvaluation(string clientId, string episode_number)
        {
            EvaluationDataAccess eda = new EvaluationDataAccess(clientId, episode_number);
            Patient patient = new Patient();
            subsetOfEvaluation = new List<Evaluation>();

            patient.PATID = clientId;
            patient.activeOutPatientEpisodeCount = eda.getClientOpenOutPatientEpisodes();
            patient.activeInPatientEpisodeCount = eda.getClientOpenInPatientEpisodes();

            SetOnlyOneEpisode(patient);
            PopulateList(eda, patient);
            evaluationList = eda.EvaluationList;
        }
コード例 #2
0
 private void PopulateList(EvaluationDataAccess eda, Patient patient)
 {
     if(OnlyOneEpisode)
         PopulateForSingleEpisode(eda, patient);
     else
         PopulateForMultipleEpisodes(eda, patient);
 }
コード例 #3
0
 private void PopulateForSingleEpisode(EvaluationDataAccess eda, Patient patient)
 {
     PopulateForMultipleEpisodes(eda, patient);
         eda.getCfarEvaluation();
         eda.getFarsEvaluation();
         eda.getMHOutcomesEvaluation();
         eda.getASAMEvaluation();
         eda.getLastCfarEvaluation();
         eda.getLastFarsEvaluation();
         eda.getLastMHOutcomesEvaluation();
         eda.getLastASAMEvaluation();
 }
コード例 #4
0
 private void PopulateForMultipleEpisodes(EvaluationDataAccess eda, Patient patient)
 {
     eda.getAdultCaseManagmentEvaluation();
         eda.getPsychosocialHistoryAssessmentEvaluation();
         eda.getPsychiatricEvaluation();
         eda.getSCSAssesmentEvaluation();
         eda.getSubstanceAbuseAssessmentEvaluation();
         eda.getCrisisAssessmentEvaluation();
         eda.getMentalStatusAssessmentEvaluation();
         eda.getDiagnosticAssessmentEvaluation();
         eda.getNCFASFamilyAssessmentEvaluation();
         eda.getStrengthNeedsCultureAssessmentEvaluation();
         eda.getFamilyIntegratedServicesEvaluation();
         eda.getChildIntegratedServicesEvaluation();
         eda.getAdultCrisisServicesEvaluation();
         eda.getIntegratedClinicalUpdateEvaluation();
         eda.getAdultCertificationEvaluation();
         eda.getMedicalProgressNote();
         eda.getCSUPsychiatricProgressNote();
         eda.getAmbulatoryProgressNote();
 }