示例#1
0
        public override IEnumerable <BusinessObject> Save()
        {
            var records = MedTxControl.Save(base.patientId);

            // update absent event
            MedTxAbsentEvent.SaveAbsentEvent(base.patientId);
            return(records);
        }
示例#2
0
        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;
            }
        }
示例#3
0
        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;
            }
        }