cqframework / cqframework/clinical-reasoning

Allow parallel evaluation for big patient lists

Open
#658 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
49
Forks
43
Avg merge
2d 19h
Merged PRs (30d)
13

Description

https://github.com/cqframework/clinical-reasoning/blob/710efbe154cd2239a70cc63ea2ef54802db4a27a/cqf-fhir-cr/src/main/java/org/opencds/cqf/fhir/cr/measure/common/MeasureEvaluator.java#L300

Here, we are running a sequential list over our list of patients. I think we should have some setting to allow parallelising each patient's measure calculation, moreover this parallelisation factor should be configurable.

In cases where we want to evaluate measures over 100,000+ patients, this would help quite a bit.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in cqf-fhir-cr/src/main/java/org/opencds/cqf/fhir/cr/measure/common/MeasureEvaluator.java around line 300, where patient measures are evaluated sequentially. Determine how a configurable parallelization setting should apply to each patient's calculation, then verify that large patient lists can be evaluated concurrently without changing results.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.