Let’s use this Talk topic for any general discussion around getting PIH into OCL.
We’ve been working on getting the Partners In Health (PIH) concept dictionary working within Open Concept Lab (OCL) with a goal of getting PIH to a place where they can manage their main (“gold”) dictionary within OCL, expecting the process of getting PIH to this point will pave the way for other implementations to use OCL for dictionary management.
Currently, the process for migrating a dictionary from OpenMRS into OCL is:
- Create SQL dump of concept tables
- Run the ocl_omrs conversion script to convert SQL dump into OCL json for import (first pass can take some iterations to discover & clean up local dictionary issues)
- Use OCL’s bulk import tool to import into a source with OpenMRS custom validation schema.
- Creating a collection containing all content (concepts & mappings) in the source.
This work is being tracked in a few places (now, with this post, one more):
|GitHub||ocl_issues #45||For tracking technical work done.|
|Wiki||Migrating to OCL: PIH Use Case||“Journal” of high level steps/challenges|
|Talk||(you are here)||Discussion around getting PIH using OCL|
|Slack||#ocl||General OCL-related chat|
This process of getting PIH migrated into OCL has been ongoing for several months and has already knocked out several bugs and taught us a lot about what is needed to support implementations with their dictionary management.
Some general issues (not just PIH-specific) have been collected on the Using OCL with existing OpenMRS dictionaries wiki page.
I’ve created this post to serve as a location for us to use for asynchronous discussion around migrating PIH’s dictionary to OCL.