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

Concept sources for diagnosis search to be configurable via GP or Metadata Mapping

    XMLWordPrintable

Details

    • Enhancement
    • Status: Closed
    • Should
    • Resolution: Fixed
    • None
    • 1.24.5, 1.26.0
    • None
    • Low

    Description

      EmrApiProperties.getConceptSourcesForDiagnosisSearch() only returns the hardcoded "ICD-10-WHO":

      public List<ConceptSource> getConceptSourcesForDiagnosisSearch() {
        ConceptSource icd10 = conceptService.getConceptSourceByName("ICD-10-WHO");
        if (icd10 != null) {
          return Arrays.asList(icd10);
        } else {
          return null;
        }
      }
      

      Let's enable EMR API to be configurable so that the list of sources can be provided as a global property or via Metadata Mapping.

      The default for EMR API when it is not yet configured should remain the single item list "ICD-10-WHO".

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                angshuonline Angshuman Sarkar
                mksd Dimitri R
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                    Estimated:
                    Original Estimate - 2 hours Original Estimate - 2 hours
                    2h
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 4 hours
                    4h