Site icon Open Concept Lab

Using OCL for OpenMRS Concept Dictionary Management

This blog written by Joe Amlung. Joe is a Technical Advisor for the Regenstrief Institute’s Global Health Informatics team. He has focused on terminology management for several years, particularly by working with the Open Concept Lab (OCL) tools and the OpenMRS and OpenHIE Terminology Services community. He works work community members to help them adopt terminology as part of their work, leading to standardizes data for better interoperability.

 

This blog post serves as a guide for new OpenMRS users who want to use the OCL TermBrowser for concept dictionary management. It also aims to help previous users of the OpenMRS Dictionary Manager, who are now transitioning to use the TermBrowser.

It first helps to know when to make a source vs. a collection in OCL. Both of these are types of OCL repositories that hold terminology content. There are key differences, however, as described below:

Term Definition Example When to use
Collections
  • Groups of content that can be owned by anyone, such as CIEL, LOINC, ICD-10, or even you.
  • A collection can be for a specific purpose (such as a value set or picklist), or it can be used to gather up lots of content (like an OpenMRS Dictionary).
Collections are similar to a music playlist. A playlist consists of music from many different artists, but the playlist usually has a specific purpose, such as a road trip playlist.
  • When you want to gather up concepts from other vocabularies, like the CIEL vocabulary, especially if you want to manage versions of that collection over time.
  • If you want to create a mixture of content, such as creating a dictionary that consists of CIEL concepts and some of your own custom concepts (which would live in a Source).
  • OCL recommends using collections wherever possible – reusing existing concepts, like those from the CIEL dictionary, will make your life easier in the long run! Avoid creating new concepts unless you are very sure that there is not already an equivalent concept in OCL.
Sources
  • A home for content that you or your organization creates and manages.
Sources are similar to a music album. An album is created and owned by its musician or artist; similarly, a source is created and managed by you or your organization.
  • When it is certain that the concept you need does NOT already exist in another terminology, so you need to create and manage one or more custom concepts to meet the needs of your use case.

 

For previous Dictionary Manager users, any dictionary that you created in that tool will exist in OCL in two parts: a source and a collection. You can access these by logging into OCL TermBrowser using your same credentials as the Dictionary Manager.

OCL TermBrowser is a great place to explore the CIEL interface terminology. This is a concept dictionary with many key concepts that OpenMRS users require, and you can work with CIEL to get your custom concepts added if they would be useful to other implementations. Below are some tips and resources with best practices for creating and using concepts in OCL.

For more information on what sources and collections are, along with other terms like “concept” or “mapping”, view the Intro to OCL Collection video on the OCL YouTube.

Integrating using the OpenMRS Initializer Module (Iniz)

To start up your OpenMRS instance using a source or collection from OCL, the OpenMRS Initializer Module (Iniz), follow the instructions laid out here: https://github.com/mekomsolutions/openmrs-module-initializer/blob/master/readme/ocl.md

This YouTube video will also walk you through how to use this tool. Note that any references to the Dictionary Manager are outdated; the OCL TermBrowser should be used instead.

Subscription Module: Subscribing OpenMRS to your source or collection

The OpenMRS Subscription Module allows you to subscribe your OpenMRS instance to an OCL source or collection. Shown below is a quick visual guide on how to use this module:

    1. First, add the module to OpenMRS. You should be able to see a Open Concept Lab section in Administration page.

Then you will see a screen like this:

    2. The “Subscription URL” field requires the URL of the OCL source or collection. You should first create a version of that source or collection. It is also recommended that you release that version. Then, the URL can be found on the Versions tab of your source or collection in the TermBrowser:

    3. The “Token” field in the Subscription module can be found on your user profile page in OCL, which can be accessed at the top-right corner of the screen.

Quick Tips

Creating a source and collection in OCL:

 

Adding Concepts to your Collection

Creating Concepts

Creating mappings

Creating Concept Sets

Importing lots of concepts

 

Exit mobile version