Uploaded image for project: 'Open Concept Lab for OpenMRS'
  1. Open Concept Lab for OpenMRS
  2. OCLOMRS-26

Users should be able to add concept dictionaries via the REST OCLAPI

    Details

    • Type: Task
    • Status: Closed
    • Priority: Must
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Labels:
      None
    • Complexity:
      Medium
    • Sprint:
      Open Sprint 2, Open Sprint 3

      Description

      A user or an organization should be able to create dictionaries through the oclapi, collections REST endpoint. This involves modification of the rest endpoint for the Collections to add a preferred_source, an identification for Openmrs dictionaries and a custom_linked _resource.

      As shown below in the screenshots, to understand the difference between the existing collections and the new openmrs dictionary, we introduced the repository_type variable which takes in a default as Collection but can be overriden to reflect that the Collection is actually an OpenMRS dictionary. 

        Attachments

        1. dictionary_request.png
          dictionary_request.png
          201 kB
        2. dictionary_response.png
          dictionary_response.png
          331 kB

          Activity

            People

            • Assignee:
              waweru Josephat Mwaura Waweru
              Reporter:
              hadijah315 Hadijah Kyampeire [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: