Example #1
0
 /// <summary>
 /// Handles when the input field's selection changes.
 /// </summary>
 /// <param name="sender">The Single Concept Matching control.</param>
 /// <param name="e">Event Args.</param>
 private void SingleConceptMatching_InputBoxSelectionChanged(object sender, EventArgs e)
 {
     this.SingleConceptMatching.AdditionalTextBoxMatchingTermItemsSource = null;
     if (this.SingleConceptMatching.InputBoxSelectedItem != null)
     {
         TerminologyManager.GetConceptDetails((this.SingleConceptMatching.InputBoxSelectedItem as InputFieldResult).Concept.SnomedConceptId);
     }
 }
Example #2
0
        /// <summary>
        /// Parses the additional text.
        /// </summary>
        private void ParseAdditionalText()
        {
            if (this.connected)
            {
                this.StatusText.Text = SingleConceptMatchingPage.SearchInProgressText;
                this.ShowProgressBar();
                this.indexerCallCount++;
                this.lastAdditionalTextBoxSearch = this.SingleConceptMatching.AdditionalTextBoxText;

                if (this.conceptDetail.SnomedConceptId == (this.SingleConceptMatching.InputBoxSelectedItem as InputFieldResult).Concept.SnomedConceptId)
                {
                    TerminologyManager.ParseAdditionalTextBox(this.SingleConceptMatching.AdditionalTextBoxText, this.SingleConceptMatching.InputBoxSelectedItem as InputFieldResult, this.conceptDetail);
                }
                else
                {
                    TerminologyManager.GetConceptDetails((this.SingleConceptMatching.InputBoxSelectedItem as InputFieldResult).SnomedDescriptionId);
                }
            }
        }