Common CQL Artifacts for FHIR (US-Based)
1.0.0 - Informative 1

Common CQL Artifacts for FHIR (US-Based) - Downloaded Version null See the Directory of published versions

## Prior Authorization Questionnaire Use Case

Page standards status: Informative

The inclusion and support of the Prior Authorization Questionnaire use case in this implementation guide is made possible by the thoughtful contribution of the Da Vinci member organizations.

The following links provide general background information about prior-authorization scenarios:

- Prior Authorization and Pre-Claim Review Program Stats (cms.gov)
- Prior Authorization for Certain Hospital Outpatient Department (OPD) Services | CMS
- Preauthorization and Notification Lists for Healthcare Providers - Humana

This topic is focused on how Clinical Quality Language (CQL) is used to support this use case.

### Data Flow

The questionnaire examples and associated libraries for population expressions in this IG are expected to be used in the following data flow:

1. DTR Launch: Retrieving Launch Context Information
2. $questionnaire-package: Retrieving Questionnaire Packages
3. Questionnaire Package Bundle(s): DTRQuestionnairePackageBundle
4. Questionnaire Pre-Population: Pre-Populating Questionnaire Responses
5. FHIR API Calls (resulting from questionnaire pre-population): Retrieval of FHIR Resources

As described in the Documentation Templates and Rules (DTR) implementation guide, the DTR process can be used for a broad range of use cases, including launching from a Coverage Requirements Discovery (CRD) response, as well as requesting documents as described in the Relationship to Clinical Data Exchange topic.

This diagram is a simplification of the overall DTR Overview Sequence Diagram. This diagram is focusing on the interactions from the perspective of Clinical Quality Language (CQL) authoring and evaluation.

Structured Data Capture (SDC) documents the use of several extensions for supporting CQL-based calculation and form behavior within a Questionnaire in the Form Behavior and Calculation topic.

In addition, the DTR specification provides additional guidance and conformance requirements on the use of CQL within DTR Questionnaires in the Use of CQL topic.

The content and questionnaires in this IG are expected to already have resolved the question of coverage determination, and are focused on a particular individual represented as a Patient. If prior authorization is not required then the DTR process will not occur.

Following the above data flow, there are two key contexts in which CQL expressions may be used to populate questionnaire responses:

1. On the provider side, during the population step of questionnaire processing in the DTR application.
2. On the provider side, as part of form behavior (e.g. enableWhen processing) while the form is being filled out (including the possibility that answers to questions change the available context and form behavior).

Note: Implementations of $questionnaire-package may pre-populate elements of the QuestionnaireResponse; however, how that pre-population occurs payer-side is out of scope from both the CRD and DTR perspectives.

#### CQL Processing to Pre-Populate the QuestionnaireResponse

As part of the process of filling out a DTR questionnaire, the DTR application may use CQL expressions specified in the Questionnaire to evaluate the context data to determine the initial value for items in the QuestionnaireResponse.

CQL used in this operation:

- Will have a Patient context specified as the id of the patient in the DTR launch context and referenced by the QuestionnaireResponse. This is declared as a parameter through the SDC Launch Context extension.
  - For example, a Patient context specified in the DTR launch context will be correlated with an sdc-questionnaire-launchContext extension with a name of `patient` and a type of `Patient`, and thereby established as the Patient context for the CQL expressions specified in the Questionnaire. It would be the responsibility of the DTR application to reconcile such launch contexts.
- May declare additional parameters through the SDC Launch Context extension.
  - For example, an Encounter context specified in the DTR launch context may be correlated with an `sdc-questionnaire-launchContext` extension with a name of `encounter` and a type of `Encounter`, and thereby passed as a named parameter to CQL expressions specified in the Questionnaire.
  - Additionally, since the binding to the Questionnaire Launch Context ValueSet is extensible, a Coverage context specified in the DTR launch context may be correlated with an `sdc-questionnaire-launchContext` extension with a name of `PrimaryCoverage` and a type of `Coverage`, and thereby passed as a named parameter to CQL expressions specified in the Questionnaire.

Generally, the SDC Initial Expression extension will be used to pre-populate a given item in the QuestionnaireResponse. This is how CQL expressions are specified in the Questionnaire.

Additionally, the SDC Item Population Context extension can be used with a CQL expression to provide context when populating group items (i.e. group items whose sub-items are populated with the values of sub-elements of a value with multiple elements (e.g. HumanName, Address, or BackboneElement)).

#### CQL Processing to Determine Form Behavior

While a user is filling out the answers to a questionnaire, the DTR application may use CQL expressions specified in the questionnaire to control form behavior (such as enableWhen logic or calculation logic).