Uploaded image for project: 'FHIR Specification Feedback'
  1. FHIR Specification Feedback
  2. FHIR-34197

Consider allowing fluent functions in measure CQL

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Persuasive
    • Icon: Medium Medium
    • US Quality Measures (FHIR)
    • current
    • Clinical Quality Information
    • Using CQL
    • Hide

      Agreed, change the recommendation for DisableMethodInvocation to a should not with the following language:

      This option should not be used with FHIR-based measures because it prevents the use of the fluent functions feature of CQL 1.5, which can be used to significantly improve readability of measure logic, especially when accessing extensions.

      Show
      Agreed, change the recommendation for DisableMethodInvocation to a should not with the following language: This option should not be used with FHIR-based measures because it prevents the use of the fluent functions feature of CQL 1.5, which can be used to significantly improve readability of measure logic, especially when accessing extensions.
    • Bryn Rhodes/Stan Rankins: 14-0-0
    • Correction
    • Non-substantive

    Description

      The guidance here indicates the DisableMethodInvocation SHOULD be used with quality measures to prevent method-style invocation. That decision was made quite a while ago, before the introduction of fluent functions in CQL, and was meant to prevent unexpected usage of FHIRPath functions, which were "fluent", but only for the set understood by the compiler (as in, pre-defined in the FHIRPath spec). Now that fluent functions are a feature of the language, this decision should be revisited, because the benefits of fluent functions for readability are clear.

      Attachments

        Activity

          People

            bryn.rhodes Bryn Rhodes
            bryn.rhodes Bryn Rhodes
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: