Skip to content
This repository has been archived by the owner on Sep 2, 2020. It is now read-only.

Calculations occasionally return errant all zero results #28

Open
davidfencik opened this issue Jan 24, 2020 · 0 comments
Open

Calculations occasionally return errant all zero results #28

davidfencik opened this issue Jan 24, 2020 · 0 comments

Comments

@davidfencik
Copy link

Calculations occasionally fail due to an unresolved promise. In lib/executor.js, the getPatientsById function needs to:
return await this.patientSource.findPatients(patientIdsList);
instead of:
return this.patientSource.findPatients(patientIdsList);

Otherwise null is occasionally returned which results in a query result with zero values for all populations.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant