Application Name: OpenMRS
Version Number: 2.4 / 2.5
Question: I want to bind a custom concept dictionary (csv file) to my module during build in eclipse, and have all the concepts automatically added to the openmrs concepts dictionary on any instance where I drop the module. Could anyone help with this? Or could anyone show me a sample code/module I could replicate?
I would also like to know if there is a concept dictionary upload module?
In general, I would recommend that any concepts required for modules which would be distributed to the community… be added to the CIEL dictionary and therefore be part of a global load. However, new modules which require concepts which were not previously loaded into the local instance would require an MDS (meta data sharing module) or OCL package to add the missing concepts. @darius, do you agree?
All of these are hacky and/or awkward. In the future our hope is that (1) you define the concepts in Open Concept Lab, and then (2) you ask implementations to subscribe to them. But this isn’t ready yet.
Thanks a lot @akanter and @darius for the timely responses. @darius I think we will try to implement (2) because we want to automatically achieve this since we’d be deploying to a good number of facilities. I will let you know how it goes.
I took a peek at some of the concepts in UTH concepts. There is overlap with CIEL in some cases and there are potentially problematic concepts like (Hypertension/Shock). Since CIEL is distributed as one of the sources of concepts for the OpenMRS community, I recommend that you choose from there when you can, and when you need to request a new concept (such as Doppler of Renal Vessel) you let me know. Terminology can be hard, and I just wanted to give you some feedback if people are going to want to integrate your concepts with a curated concept dictionary like CIEL.
Yes @akanter I am aware of the overlap, and it is because of the way we used them in our custom html forms. We didn’t want to alter the CIEL concepts markedly, because we feared they might be used by other forms. For example, the CIEL version of hypertension has class: Diagnosis and data type: N/A, while ours has class: Misc and data type: Boolean . I will review our custom concepts again in the light of what you have said i.e. use CIEL concepts where necessary (and possible), and also indicate new concepts like you new pointed.
At the moment we have to meet deadline, and we need a quick fix to the problem. I will very much need as much help as possible to solve this problem, and in the nearest future begin to implement the things you have pointed. Thanks again
You need to be clear with your report, in order for us to be helpful. For instance, when you say no positive results, do you mean getting compiler errors? Module loading well but concepts do not get added? Module failing to install? Or something else?
Your log shows the cause of the failure with this error message: ERROR - MetadataUtil.installMetadataPackageIfNecessary(157) |2017-01-03 11:43:07,044| Failed to install metadata package UTH_Concepts-1.zip
java.util.zip.ZipException: invalid stored block lengths