cqframework / cqframework/cql-execution

Support Retrieve:codeComparator

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

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
84
Forks
38
Avg merge
1d 20h
Merged PRs (30d)
1

Description

The Retrieve operator provides a codeComparator to indicate how the code should be matched. According to chapter 4, section 11.1.14:

The codeComparator attribute specifies how elements of the code property should be matched to the terminology. One of 'in', '=', or '~'. Note that 'in' will resolve to the appropriate terminology matching operator, resulting in equivalence semantics for value set and code system membership testing.

It's possible that cql-execution generally does the right thing, but it would be better to explicitly read this property (when present) and use the semantic that it suggests.

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 tracing the Retrieve operator and its existing code-matching behavior, then compare it with the CQL specification linked in the issue. Determine how the optional codeComparator values 'in', '=', and '~' should affect matching, and add coverage showing that each supported value produces the specified semantics.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.