Exemplo n.º 1
0
        private void butPickValueIcd10_Click(object sender, EventArgs e)
        {
            FormIcd10s formI = new FormIcd10s();

            formI.IsSelectionMode = true;
            if (formI.ShowDialog() == DialogResult.OK)
            {
                _icd10Value       = formI.SelectedIcd10;
                textValue.Text    = _icd10Value.Description;
                _strValCodeSystem = "ICD10";
                labelValue.Text   = _strValCodeSystem + " Value";
            }
        }
Exemplo n.º 2
0
        private void butAddIcd10_Click(object sender, EventArgs e)
        {
            FormIcd10s FormI10 = new FormIcd10s();

            FormI10.IsSelectionMode = true;
            FormI10.ShowDialog();
            if (FormI10.DialogResult != DialogResult.OK)
            {
                return;
            }
            EhrTriggerCur.ProblemIcd10List += " " + FormI10.SelectedIcd10.Icd10Code + " ";
            FillGrid();
        }
Exemplo n.º 3
0
        private void butIcd10_Click(object sender, EventArgs e)
        {
            FormIcd10s FormI = new FormIcd10s();

            FormI.IsSelectionMode = true;
            FormI.ShowDialog();
            if (FormI.DialogResult != DialogResult.OK)
            {
                return;
            }
            if (DiseaseDefs.ContainsIcd10(FormI.SelectedIcd10.Icd10Code, DiseaseDefCur.DiseaseDefNum))
            {
                MsgBox.Show(this, "ICD-10 code already exists in the problems list.");
                return;
            }
            DiseaseDefCur.Icd10Code = FormI.SelectedIcd10.Icd10Code;
            textIcd10.Text          = FormI.SelectedIcd10.Icd10Code + "-" + FormI.SelectedIcd10.Description;
        }
Exemplo n.º 4
0
        private void butPregIcd10_Click(object sender, EventArgs e)
        {
            FormIcd10s FormI10 = new FormIcd10s();

            if (!Security.IsAuthorized(Permissions.SecurityAdmin, false))
            {
                FormI10.IsSelectionMode = false;
            }
            else
            {
                FormI10.IsSelectionMode = true;
            }
            FormI10.ShowDialog();
            if (FormI10.DialogResult == DialogResult.OK)
            {
                NewPregCodeSystem            = "ICD10CM";
                comboPregCodes.SelectedIndex = -1;
                textPregCodeValue.Text       = FormI10.SelectedIcd10.Icd10Code;
                textPregCodeDescript.Text    = FormI10.SelectedIcd10.Description;
                labelPregWarning.Visible     = true;
            }
        }
Exemplo n.º 5
0
		private void butPregIcd10_Click(object sender,EventArgs e) {
			FormIcd10s FormI10=new FormIcd10s();
			if(!Security.IsAuthorized(Permissions.SecurityAdmin,false)) {
				FormI10.IsSelectionMode=false;
			}
			else {
				FormI10.IsSelectionMode=true;
			}
			FormI10.ShowDialog();
			if(FormI10.DialogResult==DialogResult.OK) {
				NewPregCodeSystem="ICD10CM";
				comboPregCodes.SelectedIndex=-1;
				textPregCodeValue.Text=FormI10.SelectedIcd10.Icd10Code;
				textPregCodeDescript.Text=FormI10.SelectedIcd10.Description;
				labelPregWarning.Visible=true;
			}
		}
Exemplo n.º 6
0
		private void butAddIcd10_Click(object sender,EventArgs e) {
			FormIcd10s FormI10=new FormIcd10s();
			FormI10.IsSelectionMode=true;
			FormI10.ShowDialog();
			if(FormI10.DialogResult!=DialogResult.OK) {
				return;
			}
			ListObjects.Add(FormI10.SelectedIcd10);
			fillKnowledgeRequestitems();
		}
Exemplo n.º 7
0
		private void butPickValueIcd10_Click(object sender,EventArgs e) {
			FormIcd10s formI=new FormIcd10s();
			formI.IsSelectionMode=true;
			if(formI.ShowDialog()==DialogResult.OK) {
				_icd10Value=formI.SelectedIcd10;
				textValue.Text=_icd10Value.Description;
				_strValCodeSystem="ICD10";
				labelValue.Text=_strValCodeSystem+" Value";
			}
		}
		private void butIcd10_Click(object sender,EventArgs e) {
			FormIcd10s FormI=new FormIcd10s();
			FormI.IsSelectionMode=true;
			FormI.ShowDialog();
			if(FormI.DialogResult!=DialogResult.OK) {
				return;
			}
			if(DiseaseDefs.ContainsIcd10(FormI.SelectedIcd10.Icd10Code,DiseaseDefCur.DiseaseDefNum)) {
				MsgBox.Show(this,"ICD-10 code already exists in the problems list.");
				return;
			}
			DiseaseDefCur.Icd10Code=FormI.SelectedIcd10.Icd10Code;
			textIcd10.Text=FormI.SelectedIcd10.Icd10Code+"-"+FormI.SelectedIcd10.Description;
		}