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

Would like Tail and Head functions with parameter

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Unresolved
    • Icon: Medium Medium
    • Clinical Quality Language (FHIR)
    • 1.5 [deprecated]
    • Clinical Decision Support
    • Language Semantics

    Description

      Currently CQL has a Tail operation that is the reverse of First. Optimally, having tail and head operations that allow for selective returns would be a distinct improvement.

      e.g., Tail(

      { 1, 2, 3, 4 , 5}, 2) returns {3, 4}
      Head({ 1, 2, 3, 4 , 5}

      , 2) returns

      {1, 2}

      Attachments

        Activity

          People

            Unassigned Unassigned
            david.pyke David Pyke
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: