cqframework / cqframework/clinical-reasoning

QuestionnaireResponse evaluation does not return expected results

Open
#81 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

Given the following library:

library QuestionnaireExtraction

using FHIR version '4.0.1'

include FHIRHelpers version '4.0.1'

context Patient

define QuestionnaireResponses:
  [QuestionnaireResponse]

Even with an appropriate test case, the result of the QuestionnaireResponses expression is an empty list.

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 reproducing the supplied QuestionnaireExtraction CQL library with an appropriate test case, then trace how the QuestionnaireResponses expression is evaluated. The payload names no source file or test; done means the expression returns the expected QuestionnaireResponse results instead of an empty list, with a regression test if the project has a suitable test location.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.