public override IEnumerable <BusinessObject> Save() { var records = MedTxControl.Save(base.patientId); // update absent event MedTxAbsentEvent.SaveAbsentEvent(base.patientId); return(records); }
public override void Populate() { int recordCount = MedTxControl.Populate(base.patientId, base.fromDate, base.toDate, new string[] { "Immuno" }, new string[0]); MedTxAbsentEvent.SetAbsentEvent(base.patientId); // set "yes" if (recordCount > 0) { MedTxAbsentEvent.YesChecked = true; } }
public override void Populate() { int recordCount = MedTxControl.Populate(base.patientId, base.fromDate, base.toDate, new string[] { "Hormone", "HORM", "AA", "LHRH", "BISPHOSPHONATES", "OTHER", "CLIN_TRIAL", "ESTROGEN", "PROGEST", "5_ALPHA" }, new string[0]); MedTxAbsentEvent.SetAbsentEvent(base.patientId); // set "yes" if (recordCount > 0) { MedTxAbsentEvent.YesChecked = true; } }