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

Consider adding an example for multi-arg fluent functions

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Persuasive
    • Icon: Medium Medium
    • Clinical Quality Language (FHIR)
    • 1.5
    • Clinical Decision Support
    • Developers Guide
    • 13.1 Fluent Functions
    • Hide

      Agreed, add the given example, as well as improve the documentation (describe the "first argument" and explicitly show how the transformation occurs).

      Show
      Agreed, add the given example, as well as improve the documentation (describe the "first argument" and explicitly show how the transformation occurs).
    • Chris Moesel/Ricardo Quintano: 13-0-2
    • Enhancement
    • Non-substantive

    Description

      Consider adding an example of a multi-arg fluent function – or at least describing in more detail how it works.  For example:

      define fluent function byClinicalStatus(Conditions List<Condition>, status Concept):
        Conditions C where C.clinicalStatus ~ Concept
      
      // usage
      define "Active Diabetes Conditions":
        DiabetesConditions.byClinicalStatus("Condition Active")

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: