CQL-Formatting-and-Usage-Wiki
CQL-Formatting-and-Usage-Wiki copied to clipboard
A collaborative workspace for the development of CQL formatting conventions and usage patterns for artifact development. The home of Cooking with CQL Examples, visit the wiki for more.
The `ToDaily(Code)` function in this library incorrectly uses the lower number of doses for frequencies that are specified as a range of hours: https://github.com/cqframework/CQL-Formatting-and-Usage-Wiki/blob/master/Source/Libraries/CumulativeMedicationDurationFHIR4-1.0.000.cql#L174 In addition, add this comment to...
GCL v7
https://github.com/cqframework/CQL-Formatting-and-Usage-Wiki/blob/master/Source/Libraries/MATGlobalCommonFunctions-7.0.000.cql This is more of a stylistic question, but should ToDateInterval function be renamed to reflect that this function provides a closed interval?
For example, updates aliases like O.status to conform to the CQL style guide
Per QICore 4.1.1 StructureDefinition for MedicationRequest, it looks like doNotPerform is fixed to false. However, the QICore 4.1.1 patterns wiki page states "...the MedicationRequest profile does not fix the value...
A very simple cheatsheet for CQL basics.