Exemple #1
0
//        private MultipleDiagnosisModel m_MultipleDiagnosisFilter;

        public VetSummaryModel()
        {
            MinStartDate     = new DateTime(2000, 1, 1);
            MaxStartDate     = DateTime.Today;
            StartDate        = DateTime.Today.AddMonths(-1);
            MinEndDate       = new DateTime(2000, 1, 1);
            MaxEndDate       = DateTime.Today;
            EndDate          = DateTime.Today;
            SurveillanceType = VetSummarySurveillanceType.ActiveSurveillanceIndex;
            DiagnosisModel   = new DiagnosisModel();
            DiagnosisModel.SetDiagnoses(DiagnosisList);
            SpeciesType = new MultipleSpeciesTypeModel();
        }
Exemple #2
0
 public VetSummaryModel
     (string lang, DateTime startDate, DateTime endDate,
     VetSummarySurveillanceType surveillanceType, string surveillanceTypeName,
     long diagnosisId, string diagnosisName,
     long actionMethodId, string actionMethodName,
     string[] speciesTypeCheckedItems,
     bool useArchive)
     : base(lang, startDate, endDate, useArchive)
 {
     SurveillanceType     = surveillanceType;
     SurveillanceTypeName = surveillanceTypeName;
     DiagnosisId          = diagnosisId;
     DiagnosisName        = diagnosisName;
     ActionMethodId       = actionMethodId;
     ActionMethodName     = actionMethodName;
     SpeciesType          = new MultipleSpeciesTypeModel(speciesTypeCheckedItems ?? new string[0]);
 }