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

Seek clarification on Fluent function example

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Persuasive
    • Icon: Medium Medium
    • Clinical Quality Language (FHIR)
    • 1.5
    • 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

    Description

      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

      Attachments

        Activity

          People

            bryn.rhodes Bryn Rhodes
            ping_jiang Ping Jiang (Inactive)
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: