Details
-
Type: Improvement
-
Status: Resolved
-
Priority: Major
-
Resolution: Done
-
Labels:
-
Sprint:Sprint 2016-01-25, Sprint 2016-02-08
-
Story Points:5
Description
Currently, cohort is created in OpenMRS. Patient list of cohort is static. If that cohort definition is re-run, the patient list will be different (some from original list might no longer meet the criteria due to change of data and some new ones will be added). For example, original cohort list has cohort members 1, 2, and 3. When re-running the cohort, the cohort list now has cohort members 2, 4, and 5. However, we want to achieve the goal of the cohort list of cohort members 1, 2, 3, 4, and 5 by adding new cohort members who meet the criteria to the list.
We need to have enhancement to be able to add new cohort members who meet the criteria WITHOUT removing those who no longer meet the criteria.
A module in OpenMRS is needed:
- A scheduler task is needed for:
- user to create cohort definition for the patients criteria
- a mapping of criteria to cohort
- then, the scheduler task will iterate through this mappings, execute the cohort definition, get the cohort members and add it to the original cohort (without removing). Example: the original cohort have (1, 2, 3) and the execution of cohort definition return (2, 4, 5), then the cohort need to become 1, 2, 3, 4, 5.
Gliffy Diagrams
Attachments
Issue Links
- relates to
-
MUZIMA-205 CHV Cohorts in muzima
- Resolved