Seek clarification on Fluent function example

XMLWordPrintableJSON

    • Type: Change Request
    • Resolution: Persuasive
    • Priority: Medium
    • Clinical Quality Language (FHIR)
    • 1.5 [deprecated]
    • Clinical Decision Support
    • Developers Guide
    • Hide

      Agreed, provide example output illustrating the result of the expressions referenced in the fluent function example.

      Show
      Agreed, provide example output illustrating the result of the expressions referenced in the fluent function example.
    • Chris Moesel/Jen Seeman: 17-0-5
    • Clarification
    • Non-substantive

      In the Fluent function example provided, it will help explaining different parts and provide the final output of the three-part formula and which part feeds to next part . In the given example, what is the first argument, what is the left side of the dot-invocation?

      In section 13.1 of Developer's Guide, the Fluent function concept is detailed with the following example as noted below

      A fluent function means that it can be invoked using dot-notation (.), and the first argument to the function will be provided by the value of the left-side of the dot-invocation at that point. For example:

      define "Diabetes Conditions":
      [Condition: "Diabetes Mellitus"]

      define "Confirmed and Active or Recurring Diabetes Conditions":
      Conditions.confirmed().activeOrRecurring()

      It will be helpful if an explanation of the outcome is provided.  

      The related page is here:

      https://cql.hl7.org/2020May/03-developersguide.html#fluent-functions

       

      Additional contact persons to discuss this:

      Hafsa Subhan

      Mitra Biglari

            Assignee:
            Bryn Rhodes
            Reporter:
            ping_jiang
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: