Skip to content

Commit

Permalink
Filter the reports based on the current app parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
ningosi committed Apr 17, 2024
1 parent 3f148cd commit 0a83802
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,8 @@ public class ReportManager implements ContentManager {

private List<ReportDescriptor> cohortAnalysisReports = new ArrayList<ReportDescriptor>();

public List<ReportDescriptor> getEhrReports() {
return ehrReports;
}

public void setEhrReports(List<ReportDescriptor> ehrReports) {
this.ehrReports = ehrReports;
public List<ReportDescriptor> getEhrReports(AppDescriptor app) {
return filterReports(ehrReports, app);
}

private List<ReportDescriptor> ehrReports = new ArrayList<ReportDescriptor>();
Expand Down

0 comments on commit 0a83802

Please sign in to comment.