コード例 #1
0
ファイル: FormCDSIntervention.cs プロジェクト: mnisl/OD
		private void gridMain_CellClick(object sender,ODGridClickEventArgs e) {
			if(!CDSPermissions.GetForUser(Security.CurUser.UserNum).ShowInfobutton) {
				return;
			}
			if(e.Col!=0) {
				return;//not infobutton column
			}
			FormInfobutton FormIB=new FormInfobutton();
			FormIB.ListObjects=(List<object>)gridMain.Rows[e.Row].Tag;
			FormIB.ShowDialog();
		}
コード例 #2
0
        private void gridMain_CellClick(object sender, ODGridClickEventArgs e)
        {
            if (!CDSPermissions.GetForUser(Security.CurUser.UserNum).ShowInfobutton)
            {
                return;
            }
            if (e.Col != 0)
            {
                return;                //not infobutton column
            }
            FormInfobutton FormIB = new FormInfobutton((List <KnowledgeRequest>)gridMain.ListGridRows[e.Row].Tag);

            FormIB.ShowDialog();
        }
コード例 #3
0
        private void gridMain_CellClick(object sender, ODGridClickEventArgs e)
        {
            if (!CDSPermissions.GetForUser(Security.CurUser.UserNum).ShowInfobutton)             //Security.IsAuthorized(Permissions.EhrInfoButton,true)) {
            {
                return;
            }
            if (e.Col != 0)
            {
                return;
            }
            FormInfobutton FormIB = new FormInfobutton();

            FormIB.ListObjects.Add(Snomeds.GetByCode(gridMain.Rows[e.Row].Cells[1].Text));
            FormIB.ShowDialog();
        }
コード例 #4
0
ファイル: FormSnomeds.cs プロジェクト: kjb7749/testImport
        private void gridMain_CellClick(object sender, ODGridClickEventArgs e)
        {
            if (!CDSPermissions.GetForUser(Security.CurUser.UserNum).ShowInfobutton)             //Security.IsAuthorized(Permissions.EhrInfoButton,true)) {
            {
                return;
            }
            if (e.Col != 0)
            {
                return;
            }
            List <KnowledgeRequest> listKnowledgeRequests = EhrTriggers.ConvertToKnowledgeRequests(Snomeds.GetByCode(gridMain.Rows[e.Row].Cells[1].Text));
            FormInfobutton          FormIB = new FormInfobutton(listKnowledgeRequests);

            FormIB.ShowDialog();
        }
コード例 #5
0
        private void gridMain_CellClick(object sender, ODGridClickEventArgs e)
        {
            if (!CDSPermissions.GetForUser(Security.CurUser.UserNum).ShowInfobutton)             //Security.IsAuthorized(Permissions.EhrInfoButton,true)) {
            {
                return;
            }
            if (e.Col != 0)
            {
                return;
            }
            List <KnowledgeRequest> listKnowledgeRequests = EhrTriggers.ConvertToKnowledgeRequests(EhrLabCur.ListEhrLabResults[e.Row]);
            FormInfobutton          FormIB = new FormInfobutton(listKnowledgeRequests);

            //if(PatCurNum>0) {
            //	FormIB.PatCur=Patients.GetPat(PatCurNum);
            //}
            FormIB.ShowDialog();
        }
コード例 #6
0
        private void gridMain_CellClick(object sender, ODGridClickEventArgs e)
        {
            if (!CDSPermissions.GetForUser(Security.CurUser.UserNum).ShowInfobutton)             //Security.IsAuthorized(Permissions.EhrInfoButton,true)) {
            {
                return;
            }
            if (e.Col != 0)
            {
                return;
            }
            FormInfobutton FormIB = new FormInfobutton();

            if (PatCurNum != null && PatCurNum > 0)
            {
                FormIB.PatCur = Patients.GetPat(PatCurNum);
            }
            FormIB.ListObjects.Add(EhrLabCur.ListEhrLabResults[e.Row]);
            FormIB.ShowDialog();
        }
コード例 #7
0
ファイル: FormMedical.cs プロジェクト: mnisl/OD
		/*private void butIcd9_Click(object sender,EventArgs e) {
			FormIcd9s formI=new FormIcd9s();
			formI.IsSelectionMode=true;
			formI.ShowDialog();
			if(formI.DialogResult!=DialogResult.OK) {
				return;
			}
			Disease disease=new Disease();
			disease.PatNum=PatCur.PatNum;
			disease.ICD9Num=formI.SelectedIcd9Num;
			Diseases.Insert(disease);
			FillProblems();
		}*/

		private void gridDiseases_CellClick(object sender,ODGridClickEventArgs e) {
			if(!CDSPermissions.GetForUser(Security.CurUser.UserNum).ShowInfobutton) {//Security.IsAuthorized(Permissions.EhrInfoButton,true)) {
				return;
			}
			if(e.Col!=0) {
				return;
			}
			FormInfobutton FormIB=new FormInfobutton();
			FormIB.PatCur=PatCur;
			FormIB.ListObjects.Add(DiseaseDefs.GetItem(DiseaseList[e.Row].DiseaseDefNum));//TODO: verify that this is what we need to get.
			FormIB.ShowDialog();
			//Nothing to do with Dialog Result yet.
		}
コード例 #8
0
ファイル: FormMedical.cs プロジェクト: mnisl/OD
		private void gridMeds_CellClick(object sender,ODGridClickEventArgs e) {
			if(!CDSPermissions.GetForUser(Security.CurUser.UserNum).ShowInfobutton) {//Security.IsAuthorized(Permissions.EhrInfoButton,true)) {
				return;
			}
			if(e.Col!=0) {
				return;
			}
			FormInfobutton FormIB = new FormInfobutton();
			FormIB.PatCur=PatCur;
			//FormInfoButton allows MedicationCur to be null, so this will still work for medication orders returned from NewCrop (because MedicationNum will be 0).
			FormIB.ListObjects.Add(medList[e.Row]);//TODO: verify that this is what we need to get.
			//FormIB.ListObjects.Add(Medications.GetMedicationFromDb(medList[e.Row].MedicationNum));//TODO: verify that this is what we need to get.
			FormIB.ShowDialog();
			//Nothing to do with Dialog Result yet.
		}
コード例 #9
0
ファイル: FormMedical.cs プロジェクト: mnisl/OD
		private void gridAllergies_CellClick(object sender,ODGridClickEventArgs e) {
			if(!CDSPermissions.GetForUser(Security.CurUser.UserNum).ShowInfobutton) {//Security.IsAuthorized(Permissions.EhrInfoButton,true)) {
				return;
			}
			if(e.Col!=0) {
				return;
			}
			FormInfobutton FormIB=new FormInfobutton();
			FormIB.PatCur=PatCur;
			//TODO: get right object and pass it in.
			//FormIB. = Medications.GetMedicationFromDb(medList[e.Row].MedicationNum);//TODO: verify that this is what we need to get.
			FormIB.ShowDialog();
			//Nothing to do with Dialog Result yet.
		}
コード例 #10
0
		private void gridMain_CellClick(object sender,ODGridClickEventArgs e) {
			if(!CDSPermissions.GetForUser(Security.CurUser.UserNum).ShowInfobutton) {//Security.IsAuthorized(Permissions.EhrInfoButton,true)) {
				return;
			}
			if(e.Col!=0) {
				return;
			}
			FormInfobutton FormIB = new FormInfobutton();
			FormIB.ListObjects.Add(Snomeds.GetByCode(gridMain.Rows[e.Row].Cells[1].Text));
			FormIB.ShowDialog();
		}
コード例 #11
0
		private void gridMain_CellClick(object sender,ODGridClickEventArgs e) {
			if(!CDSPermissions.GetForUser(Security.CurUser.UserNum).ShowInfobutton) {//Security.IsAuthorized(Permissions.EhrInfoButton,true)) {
				return;
			}
			if(e.Col!=0) {
				return;
			}
			FormInfobutton FormIB=new FormInfobutton();
			if(PatCurNum!=null && PatCurNum>0) {
				FormIB.PatCur=Patients.GetPat(PatCurNum);
			}
			FormIB.ListObjects.Add(EhrLabCur.ListEhrLabResults[e.Row]);
			FormIB.ShowDialog();
		}