Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorpamplona committed Oct 11, 2023
1 parent 0fe8e3a commit fe5505b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ protected MeasureReport evaluateMeasure(

var evalType = MeasureEvalType.fromCode(reportType)
.orElse(
subjectIds.get(0) == null || subjectIds == null || subjectIds.isEmpty()
subjectIds == null || subjectIds.isEmpty() || subjectIds.get(0) == null
? MeasureEvalType.POPULATION
: MeasureEvalType.SUBJECT);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ protected MeasureReport evaluateMeasure(

var evalType = MeasureEvalType.fromCode(reportType)
.orElse(
subjectIds.get(0) == null || subjectIds == null || subjectIds.isEmpty()
subjectIds == null || subjectIds.isEmpty() || subjectIds.get(0) == null
? MeasureEvalType.POPULATION
: MeasureEvalType.SUBJECT);

Expand Down

0 comments on commit fe5505b

Please sign in to comment.