cqframework / cqframework/cql-tests

Add Tests for ProperIn and ProperContains

Open Beginner friendly
#144 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
7
Forks
8
Avg merge
12d 5h
Merged PRs (30d)
2

Description

Based on the outcome of this tracker: https://jira.hl7.org/browse/FHIR-57890

Add the following test cases for Interval ProperIn and ProperContains:

Interval[1, 5] properly includes 1 // true
Interval[1, 1] properly includes 1 // false
1 properly included in Interval[1, 5] // true
1 properly included in Interval[1, 1] // false
Interval[DateTime(2012, 1, 1), DateTime(2012, 1, 1)] properly includes DateTime(2012, 1, 1) // false
Interval[DateTime(2012, 1, 1), DateTime(2012, 1, 1)] properly includes DateTime(2012, 1, 1, 12, 0, 0, 0) // null, due to imprecise boundary comparisons

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 existing tests for Interval ProperIn and ProperContains and review how CQL test cases are organized. Add the listed integer and DateTime cases, then run the relevant test suite; done means the expected true, false, and null results are covered.

Written by the indexing model from the issue text.

Assessment

Domain
testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.