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

Clarify double-braces / context in FHIR Query Pattern extension

    XMLWordPrintableJSON

Details

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

      Agreed, update the language to:

      Parameters using tokens that are delimited using double-braces (i.e. context parameters). These context parameters are available based solely on the subjectType, according to the following: Patient: context.patientId, Practitioner: context.practitionerId, Organization: context.organizationId, Location: context.locationId, Device: context.deviceId. For example, for a Library with a subjectType of Patient, the context parameter `context.patientId` will be used as a token to be replaced with the `id` of the Patient in context.

      Show
      Agreed, update the language to: Parameters using tokens that are delimited using double-braces (i.e. context parameters). These context parameters are available based solely on the subjectType, according to the following: Patient: context.patientId, Practitioner: context.practitionerId, Organization: context.organizationId, Location: context.locationId, Device: context.deviceId. For example, for a Library with a subjectType of Patient, the context parameter ` context.patientId ` will be used as a token to be replaced with the `id` of the Patient in context.
    • Chris Moesel / Juliet Rubini : 23-0-0
    • Clarification
    • Non-substantive

    Description

      The FHIR Query Pattern extension contains the following statement in its description:

      Parameters using tokens that are delimited using double-braces and the context parameters are dependent solely on the subjectType, according to the following: Patient: context.patientId, Practitioner: context.practitionerId, Organization: context.organizationId, Location: context.locationId, Device: context.deviceId.

      This probably makes sense to someone who already knows what it is referring to, but is very difficult to understand for someone who isn't already familiar with this approach. Furthermore, this is only demonstrated in the last example of the CQL Module profile – which requires some digging for someone looking only at the extension definition.

      Please clarify this text and/or supplement it with an inline example so that its meaning can be more easily understood.

      Attachments

        Activity

          People

            jennifer.seeman@icf.com JenniferSeeman (Inactive)
            cmoesel Chris Moesel
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: