Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #763 from MeasureAuthoringTool/MAT-7915_runTestCas…
Browse files Browse the repository at this point in the history
…eIssueWithStrats

MAT-7915 undefined strataCode
  • Loading branch information
sb-cecilialiu authored Nov 15, 2024
2 parents 49d2b1f + eff11fb commit ebe3e66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/CalculationService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -431,8 +431,8 @@ export class CalculationService {
(strata) =>
// TODO: workaround because fqm execution doesn't provide IDs for all cases
(strata.strataCode &&
strata.strataCode === strataResult.strataCode) ||
(strata.strataId && strata.strataId === strataResult.strataId)
strata.strataCode === strataResult?.strataCode) ||
(strata.strataId && strata.strataId === strataResult?.strataId)
);
return population?.result && stratification?.result;
}
Expand Down

0 comments on commit ebe3e66

Please sign in to comment.