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

Calculations occasionally return errant all zero results #28

@davidfencik

Description

@davidfencik

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions