Uploaded image for project: 'Reporting Module'
  1. Reporting Module
  2. REPORT-622

AgeCohortDefinition should factor in date of death when determining patients in an age range

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Ready for Work
    • Priority: TBD
    • Resolution: Unresolved
    • Affects Version/s: Reporting 0.8.1
    • Fix Version/s: None
    • Component/s: Cohort Definitions
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      Per comments first dicussed in REPORT-621, we should modify the AgeCohortDefinition and any other calculations to utilize the patient's date of death in any age calculations. This is likely served by modifying HibernateCohortQueryDAO.getPatientsWithAgeRange to consider a patient's date of death (if applicable) to be their effective age from that date henceforth. So if a patient died when they were 20 years old, a CohortDefinition returning all 20 year old patients should always return this patient unless the effectiveDate of the calculation is before the patient's death date.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                Created:
                Updated: