Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove IMRs from report/measure context #734

Merged
merged 3 commits into from
Mar 22, 2024

Conversation

smailliwcs
Copy link
Contributor

No description provided.

  - Report both `Patient` and initial data retrieval.
  - Don't preemptively round to the nearest cent.
  - Report to the nearest mille.
Since `ReportContext` is accessed from both the main request-handling
thread and thread-pool threads (e.g., during query and evaluation, which
are parallelized across patients), its fields must be published safely
in order to ensure proper visibility.
This was causing `OutOfMemoryError`s for large ACH reports.  To work
around, store *only* POIs (not entire IMRs) to be evaluated in the
supplemental phase.  Then during aggregation, retrieve IMRs from the
database since we don't have them lying around in memory.
@smailliwcs smailliwcs merged commit e73c421 into development Mar 22, 2024
3 checks passed
@smailliwcs smailliwcs deleted the remove-imrs-from-context branch March 22, 2024 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants