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

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.24.5, 1.26.0
    • Labels:
      None
    • Complexity:
      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".

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                angshuonline Angshuman Sarkar
                Reporter:
                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