Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-5211

Cohort membership should allow null start date, and should default to this

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: TBD
    • Resolution: Duplicate
    • Affects Version/s: Core 2.1.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      For backwards compatibility with legacy Cohort implementation, and in order to be able to represent Cohort Membership as "always a member" regardless of recording a specific start date, we propose changing Cohorts to allow memberships with a null start date.

      This has particular implications in the implementation of intersect/union/subtract methods. One should be able to construct two Cohorts, containing the same patients, and perform Set operations on these successfully even if the sets were constructed at different times.

      This is in reaction to the talk conversation here:
      https://talk.openmrs.org/t/reporting-module-row-per-diagnosis-report/12749

      Darius Jazayeri FYI

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned
                Reporter:
                mseaton Mike Seaton
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: