Read the test case description from cqm-testCaseDescription too
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 85/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- tooling
Research direction
Start in src/model/testCase.ts around lines 113-123, where DESCRIPTION_URL is defined and the test case description is extracted from the MeasureReport. Read how the CQFM extension is located and how its value is assigned, then accept cqm-testCaseDescription alongside cqfm-testCaseDescription, preferring CQM when both exist. Done means a MADiE-exported test case shows its description and the individual result file contains a non-null testCaseDescription.
Written by the indexing model from the issue text.
Description
The extension reads a test case's description from a MeasureReport in the test case folder, but only from the CQFM extension:
const DESCRIPTION_URL =
'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-testCaseDescription';
(src/model/testCase.ts#L113-L123, v1.0.0)
The Quality Measure IG defines the extension as http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-testCaseDescription, on its cqm-testcase MeasureReport profile. MADiE writes that URL when it exports test cases (madie-fhir-service UriConstants.java#L129-L138). So test cases exported from MADiE show no description in the extension, and testCaseDescription is null in their individual result files.
Suggested fix: accept cqm-testCaseDescription as well as cqfm-testCaseDescription, preferring the CQM one when both are present.
🤖 Generated with Claude Code
- Dominant language
- TypeScript
- Stars
- 14
- Forks
- 8
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 1
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cqframework/vscode-cql
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
cqframework/vscode-cql#199 ·
-
bug documentation
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
cqframework/vscode-cql#198 ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 45/100
cqframework/vscode-cql#202 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 40/100
cqframework/vscode-cql#200 ·
-
Exclude compiled unit tests (dist/__test__) from the VSIXPossibly taken @raleigh-g-thompson claimed this 23 days ago. Opencode cleanup
cqframework/vscode-cql#197 · 1 assignee ·
All issues in cqframework/vscode-cql
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ardia-browser/ardia#5810 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
SocialGouv/egapro#5329 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
activepieces/activepieces#17974 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
OHDSI/Data2Evidence#3777 ·
Maintainers usually reply within 3 days