protected override void Page_Load(object sender, EventArgs e) { base.SetPatientLabels(Name, MRN); if (!String.IsNullOrEmpty(FuMonth)) { if (FuMonth.Equals("0")) { Period.Text = "Pre-Op"; } else { Period.Text = FuMonth + " Month"; } } Patient pt = new Patient(); pt.Get(PatientId); if (pt[Patient.PtBirthDate] != null && PageUtil.IsDate(pt[Patient.PtBirthDate].ToString())) { DateTime dob = DateTime.Parse(pt[Patient.PtBirthDate].ToString()); DOBDay.Text = dob.Day.ToString(); DOBMonth.Text = dob.Month.ToString(); DOBYear.Text = dob.Year.ToString(); } }
protected override void Page_Load(object sender, EventArgs e) { base.SetPatientLabels(Name, MRN); base.SetInstitutionName(SurveyInstitutionName); base.SetProcedureNameAndMonths(ProcName, FUMonth); if (!String.IsNullOrEmpty(FuMonth)) { if (FuMonth.Equals("0")) { Period.Text = "Pre-Op"; } else { Period.Text = FuMonth + " Month"; } } }