public DeviceDataViewModel( Guid doctorId, Guid deviceId, string patientName, CountyRecord countyInfo, HealthIndex healthIndexValue, IEnumerable <HeartRateRecord> heartRateHistory) { this.DoctorId = doctorId; this.PersonId = deviceId; this.PersonName = patientName; //used this.CountyInfo = countyInfo; //used this.HealthIndexValue = healthIndexValue; //used this.HeartRateHistory = heartRateHistory; //used }
public CountyStatsViewModel(int doctorCount, int patientCount, long healthReportCount, HealthIndex averageHealthIndex) { this.AverageHealthIndex = averageHealthIndex; this.DoctorCount = doctorCount; this.PatientCount = patientCount; this.HealthReportCount = healthReportCount; }
public DoctorStatsViewModel(Guid doctorId, int countyId, int patientCount, long healthReportCount, HealthIndex averageHealthIndex, string doctorName) { this.DoctorId = doctorId; this.countyId = countyId; this.PatientCount = patientCount; this.HealthReportCount = healthReportCount; this.AverageHealthIndex = averageHealthIndex; this.DoctorName = doctorName; }