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

CQL CQL Operation: Clarify use of prefetchData.key

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Persuasive
    • Icon: Medium Medium
    • Using CQL With FHIR (FHIR)
    • 1.0.0-ballot
    • Clinical Decision Support
    • Withdrawn
    • CQL CQL
    • 8.2.1
    • Hide

      Agreed, will update the description for prefetchData.key to:

      The key of the prefetch item. When using this operation as part of a CDS Hooks implementation, this SHALL be the name of a prefetch item in a CDS Hooks discovery response. Prefetch data SHALL be made available to retrieve statements in the CQL and SHOULD NOT be provided as the value of any CQL parameters in the library being evaluated to avoid confusion between context parameters and retrieve data.

      Show
      Agreed, will update the description for prefetchData.key to: The key of the prefetch item. When using this operation as part of a CDS Hooks implementation, this SHALL be the name of a prefetch item in a CDS Hooks discovery response. Prefetch data SHALL be made available to retrieve statements in the CQL and SHOULD NOT be provided as the value of any CQL parameters in the library being evaluated to avoid confusion between context parameters and retrieve data.
    • Greg White/Paul Denning: 15-0-0
    • Clarification
    • Non-substantive
    • Yes

    Description

      Clarify how the name of the prefetch key should be used in the context of evaluating a single CQL expression (if it should be used at all).

      For example, the description for prefetchData.key states:

      This typically corresponds to the name of a parameter in a library, or the name of a prefetch item in a CDS Hooks discovery response

      If the prefetch key does match a parameter name, should it be supplied as a parameter value to the expression? What if it does not match a parameter name? Should the CQL expression still be able to reference it by name (as if it was defined as a statement within a CQL library)?

      This clarification is important to ensure consistent behavior across implementations.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: