Current Build
Work Group Clinical Decision Support & Clinical Quality Information Ballot Status: Informative

The Clinical Reasoning module provides resources and operations to enable the representation, distribution, and evaluation of clinical knowledge artifacts such as clinical decision support rules, quality measures, order sets, and protocols. In addition, the module describes how expression languages can be used throughout the specification to provide dynamic capabilities.

Clinical Reasoning involves the ability to represent and encode clinical knowledge in a very broad sense so that it can be integrated into clinical systems. This encoding may be as simple as controlling whether or not a particular section of an order set appears based on the conditions that a patient has, or it may be as complex as representing the care pathway for a patient with multiple conditions.

The Clinical Reasoning module focuses on enabling two primary use cases:

  1. Sharing - The ability to represent clinical knowledge artifacts such as decision support rules, order sets, protocols, and quality measures, and to do so in a way that enables those artifacts to be shared across organizations.
  2. Evaluation - The ability to evaluate clinical knowledge artifacts in the context of a specific patient or population, including the ability to request decision support guidance, impact clinical workflow, and retrospectively assess quality metrics.

Note to implementers: The user-facing external clinical decision support use case supported by the ServiceDefinition/$evaluate operation of the Clinical Reasoning module has significant overlap with the functionality provided by the CDS Hooks specification. As part of FHIR Release 4, it is the intention to unify the CDS Hooks specification with the Clinical Reasoning module, ensuring that implementers have a single consistent mechanism to support this use case that meets the requirements of both the Clinical Quality Framework and CDS Hooks communities. Although the functionality in both specifications is conceptually aligned, this unification will likely result in changes to both specifications. The CQF and CDS Hooks project teams are committed to this unification and will work to ensure that the resulting changes have as little impact as possible on current and ongoing implementation efforts, while meeting the needs of both communities. The project team is planning on a workable implementation tested at the connectathon in May of 2017, with a trial ballot following in September 2017, targeting publication as part of the FHIR Release 4 specification.

Specifically, the CDS Hooks/Clinical Reasoning work will impact the ServiceDefinition and GuidanceResponse resources. The ActivityDefinition, PlanDefinition, Library, RequestGroup, Measure, and MeasureReport resources are not expected to be impacted by this work.

To enable these use cases, the module defines several components that can each be used independently, or combined to enable more complex functionality. These components are:

  • Expression Logic - the representation of logic using languages such as FHIRPath and Clinical Quality Language (CQL).
  • Definitional Resources - resources that are not defined on any specific patient, but are used to define the actions to be performed as part of a clinical knowledge artifact such as an order set or decision support rule. These resources can be used directly, or with profiles to provide intended structure for specific types of resources.
  • Knowledge Artifacts - representation of clinical knowledge such as decision support rules and clinical quality measures.

These basic components can then be used to enable a broad variety of clinical decision support and quality measurement use cases, including knowledge sharing, decision support services, and clinical quality assessment and reporting. The topics below provide more detailed discussion on each of these components and uses:

Overview and BackgroundIf you are interested in the background and development of the FHIR Clinical Reasoning module, this topic covers where it came from and why it exists. See also the general FHIR introductions for clinicians, developers or architects
Using ExpressionsIf you want to see how to add dynamic capabilities to FHIR resources using expressions, start here.
Definitional ResourcesIf you want to see how to describe definitional resources using the ActivityDefinition resource, start here.
Representing Knowledge ArtifactsIf you want to represent knowledge artifacts such as Event-Condition-Action rules, Order Sets, or Protocols, start here.
Sharing Knowledge ArtifactsIf you want to share and distribute knowledge artifacts, start here.
Clinical Decision Support ServiceIf you want to use the Clinical Reasoning module to provide or use Clinical Decision Support services, start here.
Quality ReportingIf you want to define or report clinical quality measures, start here.

From the perspective of a Knowledge Author, this module describes an approach to representing knowledge artifacts within FHIR.

From the perspective of a Knowledge Content Provider, this module defines search functionality for using a FHIR server as a knowledge artifact repository.

From the perspective of a Knowledge Evaluation Service Provider, this module defines operations and profiles in support of evaluating quality measures, and defining a service for guidance request and response, consistent with the approach taken by the current Decision Support Service specification.

And finally, from the perspective of a Knowledge Evaluation Service Consumer, this module defines the expected available operations and behavior of a knowledge evaluation service.

ActivityDefinitionA resource to represent definitional resources.
DataRequirementA data type that represents a general data requirement for a knowledge asset such as a decision support rule or quality measure.
GuidanceResponseRepresents the response to a specific guidance request returned by the $evaluate operation.
LibraryProvides a container for knowledge artifacts that includes logic libraries, model definitions, and asset collections.
MeasureRepresents a clinical quality measure and provides evaluation through the $evaluate-measure operation.
MeasureReportRepresents the response to a specific measure evaluation request returned by the $evaluate-measure operation.
PlanDefinitionRepresents the description of a plan for accomplishing a particular goal. This resource is used to represent a broad variety of clinical knowledge artifacts including decision support rules, order sets, and protocols.
RequestGroupRepresents a group of options for a particular subject that can be used to accomplish a particular goal. This resource is often, but not always, the result of applying a PlanDefinition to a particular patient.
ServiceDefinitionDescribes a specific clinical decision support service and supports evaluation using the $evaluate operation.
cqlExpressionA general purpose extension that supports the use of Clinical Quality Language within FHIR
fhirPathExpressionA general purpose extension that supports the use of FHIRPath within FHIR
libraryA general purpose extension that supports the declaration of dependencies that can be accessed by expression logic
qualityOfEvidenceAn extension that can be applied to Attachments to indicate the quality of evidence in support of a particular artifact or recommendation.
strengthOfRecommendationAn extension that can be applied to Attachments to indicate the strength of a recommendation.
optionCodeAn extension that can be applied to questionnaire response options to provide meaning to the given option.
sourceValueSetAn extension that can be applied to coding elements to indicate the intended or actual source value set for the coding.
measureInfoAn extension that can be applied to resources to indicate the measure criteria they satisfy. Used in evaluated resource bundles as part of reporting measure results for a patient to identify resources that contributed to the patient's membership in a particular population criteria.
CQIF-Questionnaire Defines extensions to the base Questionnaire that allow it to be used as a DocumentationTemplate with behavior specified via logic in CQL libraries.
Knowledge Repository Defines minimum service capabilities for a knowledge repository
Measure Processor Defines minimum service capabilities for a measure processor

Because Knowledge Artifacts are typically patient-independent, many of the resources in the clinical reasoning module have no patient security and privacy concerns beyond the normal sensitivity that should be paid in any electronic healthcare system environment. However, the evaluation use case, including decision support guidance request/response, as well as quality measure evaluation have significant patient security and privacy concerns.

For the clinical decision support evaluation use case, as with any patient-specific information, care should be taken to ensure that the request and response are properly secured both at rest and in-motion, and that all access to the patient's information is done via a properly authenticated and authorized mechanism. This is particularly true of decision support artifacts where the logic is ingested as part of the definition of the artifact. In this scenario, the evaluation engine must ensure that data access within the ingested logic is subject to the same authentication and authorization requirements as any other access.

For guidance services that receive patient information, ensure that logging and auditing trails do not inadvertently compromise patient privacy and security by logging potentially sensitive information in an unencrypted way. In addition, guidance and recommendations returned from the service must ensure that content that contains patient information is clearly indicated so that consuming clients can take the appropriate care in integrating and displaying the resulting guidance.

For quality measure evaluation, individual and patient-list reports have the potential to contain large amounts of patient information. As with the decision support guidance responses, care must be taken to ensure the patient information is only accessible to properly authenticated and authorized agents, and that inadvertent breaches are minimized by following appropriate logging and auditing protocols.

In particular, because expression languages, depending on their power and scope, can provide the ability to access large amounts of data, as well as the potential for infinite recursion or looping, care should be taken to ensure that implementations adequately safeguard against Denial-of-Service-style attacks that leverage these capabilities to compromise systems by overloading capacity.

For more general considerations, see the Security and Privacy module.

Use CaseDescription
Providing a dynamic value for a resource elementUsing expressions to define the value for an element of a FHIR resource.
Defining a CQL libraryUsing the Library resource to incorporate a Clinical Quality Language library for use in FHIR resources.
Defining a Model Definition artifactUsing the Library resource to incorporate the definition of an information model for use with expressions in FHIR.
Defining an Event Condition Action ruleUsing the PlanDefinition resource to represent an event-condition-action rule in FHIR.
Defining a Referral Request activityUsing the ActivityDefinition resource to define a referral request activity that can be used as part of a knowledge artifact.
Defining a Medication Request activityUsing the ActivityDefinition resource to define a medication request activity that can be used as part of a knowledge artifact.
Defining an Order SetUsing the PlanDefinition resource to represent an order set.
Defining a ProtocolUsing the PlanDefinition resource to represent a protocol.
Defining a Questionnaire with dynamic contentUsing the Questionnaire resource and expression extensions to add dynamic functionality to a FHIR Questionnaire.
Defining a Service ModuleUsing the ServiceDefinition resource to define a decision support service module.
Obtaining guidance from a Decision Support ServiceUsing the $evaluate operation to request and process guidance from a decision support service.
Defining a MeasureUsing the Measure resource to represent a clinical quality measure.
Evaluating a MeasureUsing the $evaluate-measure operation to request calculation of a clinical quality measure.
Applying an ActivityDefinitionUsing the $apply operation to realize the intent resource defined by an ActivityDefinition.
Applying a PlanDefinitionUsing the $apply operation to realize a plan definition for a specific context.
Representing Quality of Evidence/Strength of RecommendationUsing the qualityOfEvidence and strengthOfRecommendation extensions to indicate ratings associated with evidence for a particular artifact or recommendation.

The resources defined for the Clinical Reasoning module are the result of the combined efforts of multiple communities working on the shared goal of harmonized standards and specifications for clinical decision support and quality measurement artifacts. The current state of the module reflects changes incorporated both from previous ballots on the FHIR-specific material, as well as content derived from several other balloted specifications in the CDS and CQM domains. The content at this point is capable of supporting the two primary use cases of sharing and evaluation in both domains and for a broad variety of artifacts.

In particular, the use of Clinical Quality Language (CQL) as a foundational mechanism for representing clinical quality logic enables decision support and quality measurement artifacts to share common definitions. For example, a Chlamydia Screening measure and related decision support artifacts focused on improving the measure can share a common library that describes the criteria for detecting when Chlamydia Screening is required in a patient. The decision support rule applies these criteria to determine when and how to impact a workflow, while the quality measure uses these same criteria to determine whether the screening goal has been met for a patient or population. In addition, the resources defined in this module use common patterns for describing the structure of artifacts and their associated metadata, enabling a consistent approach to the sharing and distribution of clinical knowledge artifacts.

The goals of the module over the next year are to provide a stable basis for implementation of the sharing use case, as well as unification with the CDS Hooks specification in support of the evaluation use case. The Clinical Quality Framework Initiative will use these resources as the basis for implementation projects, targeting an FMM level of 3 or 4 for all module resources within a year.

STU Note: We are actively seeking comments on all areas of the module, with particular focus on supporting the following scenarios:

  • The use of FHIRPath and CQL to provide dynamic functionality throughout FHIR
  • FHIR-Based Knowledge Artifact Repository
  • FHIR-Based Clinical Decision Support Service
  • FHIR-Based Quality Measure Evaluation and Reporting
  • FHIR-Based Order Set Catalog/Ordering Services
  • The use of FHIR operations as the protocol for defining artifact evaluation requests and responses. In particular, the ability to bundle multiple requests into a single operation, as well as the use of a generic FHIR operation for any service module evaluation, versus defining an evaluation specific to a given knowledge artifact.
  • The use of FHIR interactions in general as a mechanism for enabling knowledge artifact repository and distribution functionality.

Feedback is welcome here .

The FHIR Clinical Reasoning module is sponsored by the Clinical Decision Support (CDS) and Clinical Quality Information (CQI) HL7 Work Groups, with input and coordination from the FHIR Infrastructure and Service Oriented Architecture HL7 Work Groups.

The guidance in this module is prepared as a Universal Realm Specification with support from the Clinical Quality Framework (CQF) initiative , which is a public-private partnership sponsored by the Centers for Medicare & Medicaid Services (CMS) and the U.S. Office of the National Coordinator for Health Information Technology (ONC) to identify, develop, and harmonize standards for clinical decision support and electronic clinical quality measurement.

The Clinical Quality Framework initiative has focused on harmonizing the historically disjointed specifications used by the Clinical Quality Measurement and Clinical Decision Support communities. Specifically, the initiative has focused on the specifications used to represent knowledge artifacts within the two communities. The strategy employed has been to break the conceptual content of knowledge artifacts into three core components, to define common standards for these core components, and to re-use these common standards for both clinical decision support and clinical quality measurement:

  • Metadata - Descriptive information about the artifact and its content
  • Clinical Information - Information about a patient or population of concern within a given artifact
  • Logic - The clinical reasoning involved in an artifact
Clinical Quality Framework Conceptual Components

The first component has resulted in the Clinical Quality Common Metadata Conceptual Model , an informative document harmonizing metadata requirements between Quality Measurement and Decision Support artifacts.

The second component has resulted in the QUICK Conceptual and Logical Models, a harmonization of the Virtual Medical Record (vMR) used in Decision Support and the Quality Data Model (QDM) used in Quality Measurement, and with its core requirements realized in FHIR as the Quality Improvement Core (QICore) profiles . Ongoing work in this area is focusing on coordination with the Clinical Information Modeling Initiative (CIMI) and a methodology for producing FHIR profiles from CIMI models. Currently, the QICore FHIR profiles (which are in turn derived from the US-Core profiles) can be used to model clinical quality data, and to present a consistent model for use in authoring and evaluating clinical quality artifacts.

Finally, the third component has resulted in the Clinical Quality Language specification , a harmonization of the expressive capabilities of the Clinical Decision Support Knowledge Artifact Specification (CDS KAS) (produced by the Health eDecisions (HeD) Standards and Interoperability (S&I) initiative), and the Health Quality Measures Format (HQMF) .

As part of the ongoing CQF initiative pilot efforts, these developing specifications are being used to support knowledge artifact sharing, as well as evaluation of knowledge artifacts as part of decision support request/response and measure evaluation.

This module continues the harmonization of quality domain specifications by defining an approach to using a FHIR server as a component of a knowledge system in both the Knowledge Repository and Knowledge Evaluation Service roles.

The approach and representations within this guide are derived from and intended to be consistent with the following specifications:

This material includes SNOMED Clinical Terms ® (SNOMED CT®), which are used by permission of the International Health Terminology Standards Development Organization (IHTSDO). All rights reserved. SNOMED CT was originally created by the College of American Pathologists. "SNOMED ®" and "SNOMED CT ®" are registered trademarks of the IHTSDO.

This material contains content from Logical Observation Identifiers Names and Codes (LOINC®) ( ). The LOINC table, LOINC codes, and LOINC panels and forms file are copyright © 1995-2017, Regenstrief Institute, Inc. and the LOINC Committee and available at no cost under the license at .

This material contains content from the Unified Code for Units of Measure (UCUM) ( ). The UCUM specification is copyright © 1999-2017, Regenstrief Institute, Inc. and available at no cost under the license at .

This material contains quality measure content developed by the National Committee for Quality Assurance (NCQA). The measure content is copyright (c) 2008-2017 National Committee for Quality Assurance and used in accordance with the NCQA license terms for non-commercial use.

The guidance in this module is the work of a joint project between the HL7 Clinical Quality Information and Clinical Decision Support Work Groups with the co-sponsorship of the FHIR Infrastructure, Implementable Technology Specifications, and Service Oriented Architecture Work Groups.