Uploaded image for project: 'EMR API'
  1. EMR API
  2. EA-151

HibernateEmrConceptDAO to search by name within sources

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: Could
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.28.0
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      1. Background

      Core Apps consumes

      emrConceptService(query, locale, conceptClasses, diagnosisSets, conceptSources, limit)

      for diagnosis search here . When conceptSources are specified, then the query (search term or concept name) is used to search through mapping codes associated with the specified conceptSources. If a 'same as' mapping code is found for any of the sources, then the concept associated with that code is returned.

      It would be a very nice to have that when the conceptSources are provided, then the query would also be used to look for matching names within the scope of the specified concept sources.

      2. Proposed Solution

      Refactor HibernateEmrConceptDAO associated with EmrConceptService to include a criteria that searches against the provided conceptSources somewhere around here by doing something like

      if (!CollectionUtils.isEmpty(sources)) {
         .........            
      }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ruhanga Nathan Ruhanga
              Reporter:
              ruhanga Nathan Ruhanga
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: