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

Add option to exclude Test/Fake Patients from running queries/reports

    XMLWordPrintable

    Details

    • Complexity:
      Medium

      Description

      We have a person_attribute called "Test or Fake Patient" which we use to mark on those patient records for test patients. We need to have an easy way to exclude them when running queries/reports. Since different implementation sites might have different person_attribute_type_id for their test/fake patients, is it possible to add something on the global properties (to define which patient_attribute_type_id is for test/fake patient) so that they will be excluded when running queries/reports? Thanks!

      TODO:

      • Add a global property to the reporting module which can point to a saved Cohort Definition that represents "Test/Fake Patients". When evaluating any definitions, if this property is set, the services should ensure that these patients are removed from the query.

      This can be implemented in CohortDefinitionServiceImpl.evaluate(CohortDefinition definition, EvaluationContext context)

        Attachments

          Activity

            People

            Assignee:
            darius Darius Jazayeri
            Reporter:
            ayeung Ada Yeung
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 hours Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 5 hours
                1d 5h