The JSON file inside .zip file loads all the concepts exported from OCL.
The OCL package is a convenient way to load all your concepts into your EMR's dictionary. Advantages:
- Offline: Helpful for sites without an active internet connection at the time of set-up
- Support More Sites: Having your collection(s) without having to create the concepts manually.
- Multiple Collections: There is no limit to the number of collections you can import using the /ocl config file (Just be mindful of potential clashes if the same concepts exist in multiple collections - e.g. a situation where a Question concept comes from 2 collections, but each have different Answer options)
- You will need to install the Open Concept Lab Module (aka the OCL Module or Subscription Module).
The ocl subfolder contains JSON file of OCL dictionary packages as .zip files to be imported. This is a possible example of its content:
ocl/
└── test.zip
- Go to the Open Concept Lab's online UI at https://app.openconceptlab.org/ (note: If your collection is private, you will need to sign-in to OCL before proceeding).
- Go to your collection.
- Click the "Versions" tab.
- Scroll through the list to find the specific Version you want. Then click the download icon (:arrow_down:), and select the Export option.
- Now upload your .zip file to your /ocl config file (and remove any old versions no longer required) - that's it!
- See how the /ocl file is used in the OpenMRS 3.x RefApp distro: https://github.com/openmrs/openmrs-distro-referenceapplication/tree/main/distro/configuration/ocl
- Please look at the test configuration folder for sample import files for all domains, see here.