Esempio n. 1
0
        private void GetICD10Values()
        {
            IFieldDetail objFieldDetail = (IFieldDetail)ObjectFactory.CreateInstance("BusinessProcess.FormBuilder.BFieldDetails,BusinessProcess.FormBuilder");
            DataSet      theDSTV        = objFieldDetail.GetICD10Values(GblIQCare.iFieldId);

            if (GblIQCare.blnOtherICD10)
            {
                DataRow[] rows = theDSTV.Tables[0].Select("Chapterid>0");
                foreach (DataRow theDRValue in rows)
                {
                    theDTICD10.Rows.Add(theDRValue[0], theDRValue[1], theDRValue[2], theDRValue[3], theDRValue[4]);
                    theDTICD10.AcceptChanges();
                    CheckTreeview(Convert.ToInt32(theDRValue[4]));
                }

                lbICD10.DataSource    = theDTICD10;
                lbICD10.DisplayMember = "ICD10Name";
            }
            if (GblIQCare.blnICD10multiselect)
            {
                DataRow[] rows = theDSTV.Tables[0].Select("Chapterid=0");
                foreach (DataRow theDRValue in rows)
                {
                    theDTICD10.Rows.Add(theDRValue[0], theDRValue[1], theDRValue[2], theDRValue[3], 0);
                    theDTICD10.AcceptChanges();
                }

                lbICD10.DataSource    = theDTICD10;
                lbICD10.DisplayMember = "ICD10Name";
            }
        }
Esempio n. 2
0
        private void GetICD10Values()
        {
            IFieldDetail objFieldDetail = (IFieldDetail)ObjectFactory.CreateInstance("BusinessProcess.FormBuilder.BFieldDetails,BusinessProcess.FormBuilder");
            DataSet      theDSTV        = objFieldDetail.GetICD10Values(GblIQCare.iFieldId);

            foreach (DataRow theDRValue in theDSTV.Tables[0].Rows)
            {
                theDTICD10.Rows.Add(theDRValue[0], theDRValue[1], theDRValue[2], theDRValue[3], 0);
                theDTICD10.AcceptChanges();
            }

            lbICD10.DataSource    = theDTICD10;
            lbICD10.DisplayMember = "ICD10Name";
        }