cqframework / cqframework/cql-execution
Support Retrieve:codeComparator
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
- 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.
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