Uploaded image for project: 'Open Concept Lab Module'
  1. Open Concept Lab Module
  2. OCLM-67

Add support for importing names of type Index Term and Short

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: Must
    • Resolution: Fixed
    • Affects Version/s: 1.2.4
    • Fix Version/s: 1.2.5
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Low
    • Sprint:
      OCL for OpenMRS Sprint 21, OCL for OpenMRS Sprint 22

      Description

      When performing a concept import from the API, we convert the fully specified name types from the api into the formats used by OpenMRS. This is implemented for the fully specified name type, but not for the Index Term and Short name types.

       

      Relevant code: https://github.com/openmrs/openmrs-module-openconceptlab/blob/748520aa9a9e1efb83c6d0fb513d160801e2ce85/api/src/main/java/org/openmrs/module/openconceptlab/importer/Saver.java#L252

       

      This file contains the expected name types: https://github.com/openmrs/openmrs-core/blob/3883edf72fe0355cbdc327f36cbdd9dfd890ce06/api/src/main/java/org/openmrs/api/ConceptNameType.java#L29

        Attachments

        1. Screenshot_2019-07-05 Screenshot.png
          Screenshot_2019-07-05 Screenshot.png
          398 kB
        2. 2019-7-5.log
          43 kB
        3. openconceptlab-1.2.4-SNAPSHOT-old-module.omod
          1.30 MB
        4. openconceptlab-1.2.3-new-module.omod
          1.30 MB

          Activity

            People

            Assignee:
            karuhanga Lincoln Karuhanga
            Reporter:
            karuhanga Lincoln Karuhanga
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: