Details
-
Bug
-
Status: Closed
-
TBD
-
Resolution: Done
-
None
-
None
-
None
Description
The CIEL and other public sources are not visible in the OCL for OpenMRS web client because the client filters public sources to those with source type "Dictionary" (i.e., it queries the API for sources using the parameter ?sourceType=Dictionary).
On Staging and Production, CIEL's source type is "Interface Terminology"
curl https://api.staging.openconceptlab.org/orgs/CIEL/sources/CIEL/ { "id": "CIEL", "source_type": "Interface Terminology", ... }
After discussion with paynejd, we believe this filtering was a work in progress to filter out external sources when karuhanga had to step away from the project.
Proposed Solution
Remove the sourceType filter when the client is fetching public sources. This will expose the hundreds of available sources within OCL. That's okay. If we need to filter the list of public sources, then we can come up with and fully implement a solution for that problem.