Cohort Module Repo?

cohort
Tags: #<Tag:0x00007fb87898bb78>

(Jonathan Dick) #1

Hello all.

There was a great discussion in this thread on the cohort module: Cohort Module Enhancements

We are looking to use/contribute to this module. Could someone point us toward the code base?

People of interest: @jdick, @fali, @nkimaina, @maimoonak , @burke, @sharonvarghese


(Daniel Kayiwa) #2

Are you looking for this? https://github.com/openmrs/openmrs-module-cohort


(Jonathan Dick) #3

Yes. Thanks Daniel. Is anyone still actively working on this?


(Daniel Kayiwa) #4

None that am aware of.


(Jonathan Dick) #5

I don’t see the omod for this file in addons.openmrs.org - is there a reason for that? i.e. is it not in a stable state?

Anyone using this module?


(Daniel Kayiwa) #6

@maimoonak @bholagabbar @ssmusoke any comments on the above?


(Maimoona K) #7

Hi @jdick,

The module was basically part of GSOC 15,16 and was not added on OpenMRS modules list. It may need some changes and QA before adding to module list of OpenMRS. We are happy to provide guidance or any help in understanding the module.


(Jonathan Dick) #8

Thanks @maimoonak. Any chance you have the most recent omod you could make available for testing?


(Maimoona K) #9

We are reviewing the code and testing it. The project can be tracked here https://issues.openmrs.org/projects/COH/issues/COH-14?filter=allopenissues .

Would update the release by day end today for your review.


(Jonathan Dick) #10

Thank you!!


(Maimoona K) #11

Hi @jdick,

We are still working on few refactorings and hopefully would be able to share the updated omod by tomorrow with proper naming conventions and finalized schema. However, here is a copy of omod of current master branch https://drive.google.com/file/d/1RN1ea1NROdwd5gR__TeDASMuDSXHI-SK/view?usp=sharing. This can provide a view of how module works and what are different pages available.

Apologies for the delay but these changes are mandatory so that we can make it part of standard OpenMRS module repo.


(Jonathan Dick) #12

Thanks @maimoonak!

Just cc’ing some of the team here.

@achachiez, @fali, @nkimaina


(Fatma Ali) #13

Hi @maimoonak,

Any updates on the module?


(Fatma Ali) #14

@maimoonak also, does it work with OpenMRS version 2.1.2? If not, can you provide guidance on how to upgrade it?


(Maimoona K) #15

Hi @fali

The module can be downloaded here https://drive.google.com/file/d/1ss8Kjch0jhox_zD91uHUEVzwBG4GDMJV/view?usp=sharing .

This is tested and working fine on openmrs 2.0.6. Hopefully it would work on 2.1.x as well. If it doesnot let me know I can change the build version to 2.1.x.

Sharing the document shortly. However, if you are familiar with OpenMRS REST architecture the code is here. URL would be like /openmrs/ws/v1/cohortm/[cohortrole/cohort/cohorttype/…]


(Maimoona K) #16

Please find here the link to REST doc. Thanks @imranarif for this.


(Maimoona K) #17

@jdick I have added you to administrators on project cohort module https://issues.openmrs.org/projects/COH/issues/COH-16?filter=allopenissues. If needed you can maintain sprints and issues here for development and further coordination on REST API.


(Maimoona K) #18

@fali I forgot to mention that the latest code is in branch 2.1.0


(Fatma Ali) #19

Thanks @maimoonak! I will try it out and give feedback.