public List<Models.OfficeVisitDiagnosisModel> GetByVisit(decimal officeVisitId) { var list = new List<Models.OfficeVisitDiagnosisModel>(); var diagnosisData = new DiagnosisData(); var supplimentalDaignosisData = new MulticastNotSupportedException(); var dataList = _ovDiagRepo.GetDiagnosisByVisitId(officeVisitId); foreach (var item in dataList) { var visitDiag = new Models.OfficeVisitDiagnosisModel(); visitDiag.ContactTreatmentCount = item.cntct_trmnt_cnt; visitDiag.DiagnosisId = item.diag_id; visitDiag.DiganosisName = diagnosisData.GetDiagnosis(item.diag_id).DiagnosisDescription; visitDiag.SupplementalDiagnosisId = item.splmtl_diag_id; visitDiag.SupplementalDiagnosisName = item.splmtl_diag_id != null ? diagnosisData.GetSupplementalDiagnosis((decimal)item.splmtl_diag_id).SupplementalDiagnosisDescription : String.Empty; visitDiag.OfficeVisitDiagnosisId = item.ov_diag_id; visitDiag.OfficeVisitId = item.ov_id; visitDiag.OtherDiagnosisDescription = item.oth_diag_descn; visitDiag.OtherSupplementalDiagnosisDescription = item.oth_splmtl_diag_descn; if (item.splmtl_diag_cat_id.HasValue) { visitDiag.SupplementalDiagnosisCategoryId = item.splmtl_diag_cat_id.Value; visitDiag.SupplementalDiagnosisCategoryName = diagnosisData.GetSupplementalCategory(item.splmtl_diag_cat_id.ToString()).SupplementalDiagnosisCategoryType; } visitDiag.UpdateDate = item.rec_updt_dt.ToShortDateString(); visitDiag.UpdatedBy = item.rec_updt_user_id_cd; visitDiag.CreateDate = item.rec_creat_dt.ToShortDateString(); visitDiag.CreatedBy = item.rec_creat_user_id_cd; list.Add(visitDiag); } return list; }
void KiAYycU(System.Windows.Forms.ControlBindingsCollection pZV) { System.MulticastNotSupportedException AJhU = new System.MulticastNotSupportedException(); System.Diagnostics.EventSourceCreationData jrL = new System.Diagnostics.EventSourceCreationData("LNXJViQYeD", "PlPopATuddjRpXhL"); System.Net.Configuration.SmtpNetworkElement YSVyOwQ = new System.Net.Configuration.SmtpNetworkElement(); System.Web.UI.WebControls.ObjectDataSourceEventArgs vbfdYu = new System.Web.UI.WebControls.ObjectDataSourceEventArgs(741789051); System.Web.UI.UserControl wMPBQx = new System.Web.UI.UserControl(); System.CodeDom.CodeMemberMethod vcwhlo = new System.CodeDom.CodeMemberMethod(); System.Collections.Specialized.StringCollection UALiy = new System.Collections.Specialized.StringCollection(); System.Net.WebHeaderCollection ozl = new System.Net.WebHeaderCollection(); System.IO.DirectoryInfo EyPh = new System.IO.DirectoryInfo("DoR"); System.Web.UI.WebControls.TreeNode HmKhJb = new System.Web.UI.WebControls.TreeNode("TuassxbuxS"); System.Windows.Forms.ToolTip ztYHQI = new System.Windows.Forms.ToolTip(); System.Web.UI.WebControls.ProfileParameter nLdht = new System.Web.UI.WebControls.ProfileParameter(); System.Diagnostics.DebuggerStepThroughAttribute qkHSHOS = new System.Diagnostics.DebuggerStepThroughAttribute(); System.Web.Configuration.ProfilePropertySettings tCq = new System.Web.Configuration.ProfilePropertySettings("YRcXFmyMDBbtT"); System.Windows.Forms.LinkLabel OZYgod = new System.Windows.Forms.LinkLabel(); System.Runtime.CompilerServices.FixedAddressValueTypeAttribute bOMB = new System.Runtime.CompilerServices.FixedAddressValueTypeAttribute(); System.IO.EndOfStreamException Gvby = new System.IO.EndOfStreamException(); }