cqframework / cqframework/clinical-reasoning

ValueSetAdapter Naive Expansion Doesn't Account for Expansion Parameters

Open
#730 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

The ExpandHelper class includes an expandValueSet method that accepts expansion parameters, but does not account for these parameters when conducting a naive expansion. This leads to parameters like "system-version" being ignored silently. This is particularly disruptive for the $package operation.

Ideally, the parameters are applied to the expansion result. At the very least an error/warning should be presented to the user informing them that the result of the expansion does not account for expansion parameters.

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 by locating the ExpandHelper.expandValueSet method and trace how naive expansion handles its expansion parameters. Reproduce the $package scenario, then verify that parameters such as system-version are applied to the result or that the user receives an explicit warning or error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend-api-design
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.