Closed lmd59 closed 1 year ago
Just to provide another example, this is an example of what the order of expressions currently is (random):
This feature would change it so that definitions used as measure populations are first, "helper definitions" are in the middle, and function definitions are at the bottom, like so:
We have implemented this in #242. If there is concern on how this will affect users of fqm-execution
, we will consider changing the re-ordering to be "opt in" rather than the default behavior
Which fqm-execution feature is this request related to? Logic highlighting and html generation
Describe the solution you'd like Re-order the CQL expressions into a more intuitive format. Currently, the CQL expressions are semi-arbitrarily ordered based on the ingestion of libraries as read from the measure bundle. Suggest explicitly ordering the CQL expressions, likely putting population definitions at the top. Function definitions could be at the bottom or in some other consistent logical order.
Additional context Example of current html:
Population definitions are mixed in with other definitions, seemingly at random.