cqframework / cqframework/cql-tests
Add hours to a Cql Date should result in an exception
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 7
- Forks
- 8
- Avg merge
- 12d 5h
- Merged PRs (30d)
- 2
Description
From the CQL spec:
"For Date values, the quantity unit must be one of: years, months, weeks, or days."
Adding anything besides these units, e.g. an hour should result in an exception.
During the May 2026 Connectathon, we agreed that this should only be possible with using a dateTime explicitly.
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 locating the existing tests for adding quantities to CQL Date values. Verify how supported units are handled, then add coverage for an hour quantity and confirm that it raises an exception while years, months, weeks, and days remain valid.
Written by the indexing model from the issue text.
Assessment
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100