Logical Architecture
This section provides an overview of the logical architecture of an electronic health record (EHR) which uses CDS.
In particular, it focuses on the logical architecture of, which use pre-loaded CDS artifacts (such as rules and guidelines) that closely match a human's natural reasoning process. Non-knowledge-based CDSSs, which use artificial intelligence (AI) or machine learning to acquire knowledge over time, are outside the scope of this guide.
The logical architecture of knowledge-based CDSSs are explored in the following subsections.
EHR System Architecture
To understand how clinical decision support (CDS) works, it is important to understand how CDS fits within the logical architecture of an EHR system. This section describes the major architectural components of an EHR system, and the interactions between these components.
Major Components
Table: Descriptions of the major architectural components of an EHR system
The user interface (UI) is a fundamental component of almost any clinical application, and is used within an EHR to both enter and display patient health records. The UI also has two main CDS functions. Firstly, the UI is used to provide inputs to the CDSS, such as recording a proposed medication or an observed finding. The second function of the UI is to display alerts, advisories and clinical guidelines to the user in an appropriate format, on behalf of the CDSS.
Record Services
Record services are a set of services for managing patient health records. Record services provide functions like entering data into health records, searching for and retrieving health records, querying or extracting data from health records, and communicating or exchanging health records with other systems or applications. Record services interact with other components in this model such as the CDSS and the UI.
Terminology services are those services that directly manage the terminology resources. They include functions like querying concepts, relationships and reference sets, and installing or updating SNOMED CT from release files. Terminology services interact with the CDSS component in this model.
Clinical Decision Support System
The primary role of the CDSS is to execute the decision support logic. The CDSS does this using a number of subcomponents and subprocesses, which will be described in the next section - CDS System Architecture. The CDSS interacts with each of the other major components in the EHR.
Interactions
The major architectural components of an EHR system that incorporates CDS interact with each other in a variety of ways to support the overall functioning of the EHR. The diagram below uses orange arrows to illustrate the primary interactions between these EHR components.

As shown above, the UI communicates with the record services to facilitate the storage and subsequent retrieval of health record data. The UI also provides inputs to the CDSS and displays alerts and guidelines on its behalf. The CDSS uses the inputs from the UI and data from the record and terminology services to processes decision support rules. The CDSS uses the inputs from the record and terminology services to determine whether or not the CDS conditions have been met, and if so then CDS interventions, such as alerts or knowledge resources, are delivered back to the UI. The internal components and processes of the CDSS will be described in more detail in the next section.
CDS System Architecture
This section describes the major architectural components of a CDSS and explores how they work together with the components of an EHR, as described in EHR System Architecture.
Major Components
Table: Descriptions of the major architectural components of a CDSS
Knowledge Base
The knowledge base (KB) stores clinical knowledge developed by domain experts as CDS artifacts. These knowledge artifacts (e.g. rules and guidelines) are stored in a machine processable format and made available to the inference engine to drive the CDS workflow.
For additional information on this component please refer to the Knowledge Base section.
Inference Engine
The inference engine processes the CDS knowledge artifacts, using information from the record services, the terminology services and user input to execute the CDS logic. A key part of this process is to determine which actions should be performed, based on the given patient's circumstances.
For additional information on this component please refer to the Inference Engine section.
Communications
The communications mechanism is responsible for accepting inputs from the user and delivering the outcomes of the inference engine back to the user. For example, when a clinician prescribes a drug, this information is communicated to the inference engine as an input. If the inference engine discovers that the medication is contraindicated, the communications mechanism will deliver an alert to the user interface.
For additional information on this component please refer to the Communications section.
Logical Architecture
The diagram below illustrates how the components of the CDSS (shown in the blue box) work together with the components of the EHR system (shown in the red box).

Internal CDSS interfaces are represented by the green directional arrows, while external CDSS interfaces are represented by the orange arrows. Note that the inference engine interfaces directly with record and terminology services while communications, which is focused on the delivery of CDSS inputs and outputs, interfaces directly with the user interface.
Last updated