using System; using System.Collections.Generic; using CLIP.eForm.Consent.WebService; namespace CLIP.eForm.Consent.Web { public partial class DiagnosysList : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { using (HospitalSvc svc = new HospitalSvc()) { string pid = (this.Request.Params["IO_Pt_ID"] != null) ? this.Request.Params["IO_Pt_ID"] : ""; string ADdate = (this.Request.Params["IO_ADdate"] != null) ? this.Request.Params["IO_ADdate"] : ""; string dutinstcd = (this.Request.Params["IO_DUTINSTCD"] != null) ? this.Request.Params["IO_DUTINSTCD"] : ""; ADdate = ADdate.Replace("-", "").Replace("/", ""); IList result = svc.GetDiagNameList(pid, ADdate, dutinstcd); rptList.DataSource = result; rptList.DataBind(); } } } }