hl7 / cql Goto Github PK
View Code? Open in Web Editor NEWClincal Quality Language Specification
License: Other
Clincal Quality Language Specification
License: Other
Many tables that look ok on github (.adoc) do not render correctly on HL7 site (.html). For example, Table 2-B.
Compare
https://github.com/HL7/cql/blob/master/spec/2018May/02-authorsguide.adoc#parameters
and
https://cql.hl7.org/2018May/02-authorsguide.html#parameters
Division should cancel units (just as multiplication multiplies them)
10.1 'cm' div -3.1 'cm
should result in -3.0 '1'
https://github.com/HL7/cql/blob/master/tests/cql/CqlArithmeticFunctionsTest.xml#L829
Now()
, Today()
and TimeOfDay
are supported operators in CQL: https://cql.hl7.org/02-authorsguide.html, but they are not included in the Antlr4 grammar.
IIUC, Antlr4 listners can only listen for the defined keywords in the grammar. In this case, how does a CQL implementation parse and evaluate an expression like Now() + 7 days
?
The discussion at the end of the Comparison Operators section is inconsistent with the description of Equivalent functionality in the Logical Specification and CQL Reference. Specifically, it says: "The equivalent operator is the same as equality, except that it returns true if both of the arguments are null, and false if one argument is null and the other is not:" But it should note that equivalence has looser semantics than strict equality for many types (e.g. Strings, Codes, Concepts, and Quantities).
In the Intersect logical spec, the expression is marked as descending from NaryExpression
. However, the verbiage below refers to "both arguments" and "either argument", making it sound like Intersect is actually a BinaryExpression
. Which is correct? Some other expressions like Union and Except also have the same issue; I'd be happy to put together a PR to align the language in all of them, once I know which way to edit!
According to the thread CQL Execution the semantics of exists have changed. That change should be reflected in tests, because there is a test called ExistsListNull. Happy to create a PR, if I'm right here.
STU4B#131 recommends continuing to expand test cases in the specification. There was not time to expand the test cases prior to publication of this ballot cycle, so this issue is logged to track additional updates to the test cases to cover the rest of the specification as part of continued STU testing.
Add publication packages for:
info.cqframework.cql - base specification XSDs for ELM and ModelInfo
info.cqframework.cql.tests - CQL test cases
As discussed in this FHIR chat, it is an important semantic that Is
also returns true for a subtype relationship where T' is T
is true if T'
is derived from T. This is mentioned in the developer guide, but not in the system operator definition. This ticket is for adding a note about this behavior to the system operator definition in particular.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.