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

Context needs to talk about hierarchy of expression too.

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Persuasive
    • Icon: Medium Medium
    • US Da Vinci DTR (FHIR)
    • 1.0.0 [deprecated]
    • Clinical Decision Support
    • CQL [deprecated]
    • Hide

      Will update per comment from Lloyd:

       
      Append the following after "CQL for use in DTR SHALL have a context of Patient.":

      "Within the Questionnaire, CQL SHALL follow SDC rules for determining context.  Specifically, CQL definitions and variables defined on ancestor elements or preceding expression extensions within the same Questionnaire item are 'in scope' for referencing in descendant/following expressions."
       

      Show
      Will update per comment from Lloyd:   Append the following after "CQL for use in DTR SHALL have a  context  of  Patient .": "Within the Questionnaire, CQL SHALL follow SDC rules for determining context.  Specifically, CQL definitions and variables defined on ancestor elements or preceding expression extensions within the same Questionnaire item are 'in scope' for referencing in descendant/following expressions."  
    • Bob Dieterle / Greg White: 18-0-0
    • Clarification
    • Compatible, substantive

    Description

      It's not the case that all CQL will exist at the 'root' of the Questionnaire.  Some CQL will exist in various layers of the Questionnaire and context is driven by where within the Questionnaire the CQL is defined.  Definitions for CQL appearing on an item are available for descendant items, but not sibling items.  As well, the 'name' elements of the Expressions come into play.  SDC doesn't cover this aspect of CQL that well - in large part because most SDC implementations strictly use FHIRPath, not CQL.  So additional guidance here would be helpful.  But the guidance provided is not sufficient.

      Finally, this section shouldn't be making reference to CQF, but rather to SDC.  And there's no such thing in either CQF or SDC as "valueExpression".

      Attachments

        Activity

          People

            Unassigned Unassigned
            lloyd Lloyd McKenzie
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: