-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
CQLTest: CQL-Spec-ChangeStory results in an issue to change CQL through HL7 ballotingStory results in an issue to change CQL through HL7 ballotingCQLTest: CQL-test-codeActual tests stored or changed in this repo. Closed through PR and no HL7 balloting required.Actual tests stored or changed in this repo. Closed through PR and no HL7 balloting required.bugSomething isn't workingSomething isn't working
Description
The test CqlListOperatorsTest.Sort.simpleSortAsc specifies the following CQL:
({4, 5, 1, 6, 2, 1}) sL sort asc
and expected result {1, 1, 2, 4, 5, 6}.
Similarly, the test CqlListOperatorsTest.Sort.simpleSortDesc specifies the following CQL:
({4, 5, 1, 6, 2, 1}) sL sort desc
and expected result {6, 5, 4, 2, 1, 1}.
These are both incorrect since the CQL spec says:
By default, a query returns a list of distinct results, suppressing duplicates.
As such, the expected outputs should be {1, 2, 4, 5, 6} and {6, 5, 4, 2, 1} respectively. Either updated the expected outcomes or add the all keyword to the queries so that duplicates are not suppressed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
CQLTest: CQL-Spec-ChangeStory results in an issue to change CQL through HL7 ballotingStory results in an issue to change CQL through HL7 ballotingCQLTest: CQL-test-codeActual tests stored or changed in this repo. Closed through PR and no HL7 balloting required.Actual tests stored or changed in this repo. Closed through PR and no HL7 balloting required.bugSomething isn't workingSomething isn't working