Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction:

...

  1. Design of the Module

  2. Cohort REST Web Service Integration

  3. Installation Of the Module

  4. User Manual

  5. Potential Improvements

  6. Quick Demonstration

  7. Downloads and Resources

...

  1.  

Anchor
design-m
design-m

Design of the Module:

 


ER Diagram:




  • The module deals with creating cohorts and associating it with cohort attributes which are dependent on cohort attribute types

  • Every cohort member who is a patient is associated to the cohort and also it can have cohort member attributes which are dependent on cohort member attribute types.

  • Search operations can be performed based on name under the mange cohorts page

  • Each of the cohort can have many encounters ,visits and observations which are created utilizing the forms from the HTML Form Entry Module

  • The search operation would be based on the cohort unlike in OpenMRS which is based on only patient identifier/names.

  • It is also created utilizing the Rest interface from the Rest Module wherein the resources are identified in requests using URIs as resource identifiers to view cohorts, cohort encounters and cohort observations.

     

Anchor
rest
rest

Cohort Web Service Web Integration:

anchor restrest

  • We would be utilizing REST services in our module so that users who are not accessing OpenMRS can view the available data of the module by sending an HTTP GET or POST request 

  • GET Request can be sent to view the data related to cohorts , cohort members, cohort encounters and cohort observations

  • POST Request can be sent to add data into the database by sending parameters as a JSON object. 

  • To know more about REST MODULE click here : REST Module

...

Info
titleExample POST Requests

POST: http://localhost:8080/openmrs/ws/rest/v1/cohortm/cohort

PARAMETERS:

{"name":"neurologicalrecoverystudy","cohortType":"(list the related cohortType uuid)","cohortProgram":"(list the related cohortProgram uuid)"}

 

POST :http://localhost:8080/openmrs/ws/rest/v1/cohortm/

PARAMETERS 

{"name":"Horatio","person":"(list the related person uuid)","cohort":"(list the related cohort uuid)"}

 

POST: http://localhost:8080/openmrs/ws/rest/v1/cohortm/

PARAMETERS 

{"encounterType":"(list the related encounterType uuid)","visit":"(list the related visit uuid)","cohort":"(list the related cohort uuid)","form":"(list the related form uuid")}

 

POST: http://localhost:8080/openmrs/ws/rest/v1/cohortm/cohortobs

PARAMETERS{"encounterId":"(list the related encounter uuid)","concept":"(list the related concept uuid)","cohort":"(list the related cohort uuid)"}

...

...

 

Anchor
install
install

...


Widget Connector
urlhttp://youtube.com/watch?v=Hi1-Ahh1j5w

 

 

User Manual

Anchor
manual
manual

User Manual

 

Potential Improvements:

Anchor
potential
potential

Potential Improvements:


  • Integrate it with Reporting Module

    • fetch / add members dynamically from reporting query instead of adding one by one.
    • Create reports for cohorts
  • Integrate Cohort Management with core OpenMRS

...

Widget Connector
urlhttp://youtube.com/watch?v=2-mPO2Io9og

 

Anchor
download
download

Downloads and Resources:

...