Clinical Practice Guidelines
3.0.0-ballot - STU 3 Ballot International flag

Clinical Practice Guidelines, published by HL7 International / Clinical Decision Support. This guide is not an authorized publication; it is the continuous build for version 3.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/cqf-recommendations/ and changes regularly. See the Directory of published versions

Knowledge Representation Overview

Page standards status: Informative

This page was reorganized and editorially revised in this version of the guide (see FHIR-59639 in the change log).

Knowledge representation is a surrogate, a substitute for the thing itself, that allows for reasoning (human and computational) about the “thing”. A knowledge representation may be thought of on a continuum of successive degrees of readability, of ability to reason over, and formalism (e.g., to compute).

In this section we will cover:

A reviewable interpretation helps clinicians agree on what a recommendation means. The computable representation supplies the data contract, decision logic, and activity definition a system uses to apply that interpretation. An interactive implementation may also need a form. Give each artifact an identity and record its dependencies so teams can maintain the parts separately and share them where their clinical meaning fits.

Representation Levels

The four levels describe degrees of formalization, from guidance written for people to software that runs in a care setting. They follow the multilayer approach of Boxwala et al.. A guideline publication can contain both narrative recommendations and a semi-structured decision table. Clinical and technical reviewers can refine several levels together as they resolve ambiguities.

Four ordered rows distinguish L1 narrative, L2 semi-structured, L3 structured, and L4 executable representations. Overlapping bars show concurrent work and review across levels.
Knowledge levels, adapted from Boxwala, AA, et al. A multi-layered framework for disseminating knowledge for computer-based decision support (2011). An ambiguity found during local testing can send clinical and technical reviewers back to the source recommendation. Carry their agreed interpretation through the affected definitions and tests.

L1, Narrative, communicates the clinical intent to people. Capture the source and date, population, recommended care, exclusions, timing, setting, supporting evidence, and recommendation strength. Tables and figures can communicate this information alongside prose. Preserve qualifying language and uncertainty as the team interprets the recommendation.

L2, Semi-structured, records the interpretation in a form clinicians and implementers can review together. A data dictionary, decision table, process diagram, or worked example can make explicit which measurement is current, when an exclusion applies, and what a rule proposes. Record unresolved choices and who is responsible for resolving them.

L3, Structured, is the primary focus of this guide. Profiles, terminology, logic libraries, activity and plan definitions, and questionnaires express the reviewed interpretation as shareable contracts for data, decisions, and interactions that are independent of a particular EHR interface. Check conformance and compare evaluated results with clinically reviewed cases.

L4, Executable, puts those contracts to work in a setting. An executable implementation includes the engine or translation, validated data mappings, invocation points, permissions, presentation, and operational controls. Review whether the implementation preserves the clinical intent when the local data, timing, or available actions differ from those assumed by the source.

These levels describe representations, not conformance grades. Artifact capability profiles, such as Shareable or Executable, specify expectations for individual artifacts. Conformance explains requirements for implementation. See Levels of Knowledge Representation.

Data, Clinical Logic, and Forms

Data, logic, and forms are three responsibilities that may appear at any level. They complement the Case, Plan, and Workflow separation, which distinguishes patient state, recommended care, and care delivery. See Tiers of Functionality.

Data defines the clinical information the guideline needs: meaning, codes, units, time, and allowable values. Mapping a local code to an agreed representation should preserve meaning. Inferring a score or a clinical state adds logic. If the source and target codes differ in meaning, document the limitation and have it reviewed before using the mapping to drive decisions.

Clinical logic describes patient state, evaluates applicability, and determines what care to propose. In the CHF example, the CHF Library supplies logic for body weight change, a named feature that can be reused across the guideline. Keep the calculation and the recommendation that specifies the activities distinct so the feature has the same meaning when reused.

Forms describe what users need to enter, confirm, or review. Questionnaire can specify the items, and expressions can populate or branch the form. A rule that controls whether a question appears belongs to the interaction; the calculation of a patient feature belongs in reusable logic. Interactive Clinical Decision Support describes how generation, population, extraction, and re-evaluation fit together.

Work Products by Level and Responsibility

Use this matrix to plan the work for a capability. For a measured case feature, settle the units, source, and time window with clinical reviewers; represent the contract in shareable definitions; then verify that local data actually satisfy it. A service that consumes existing records may need no form. See Levels of Representation by Tiers of Functionality.

Work products across four representation levels, with rows for Data, Clinical logic, and Forms. The complete cell contents are also available in the text version below.
Levels of representation by tiers of functionality with examples (adapted from Rhodes, B, Database Consulting Group, 2019). Use the L1–L4 checklists to review the work products at each level.
Text version of this diagram

Data

  • L1: Narrative. Clinical concepts and relevant patient information.
  • L2: Semi-structured. Data dictionary, terminology choices, time and source rules.
  • L3: Structured. Profiles, CodeSystems, ValueSets, and data requirements.
  • L4: Executable. Validated local mappings and data access.

Clinical logic

  • L1: Narrative. Recommendation and clinical conditions.
  • L2: Semi-structured. Decision tables, process models, and reviewed cases.
  • L3: Structured. Libraries, activity and plan definitions, and measures where needed.
  • L4: Executable. Evaluated results from the configured engine or translated logic.

Forms

  • L1: Narrative. Information to provide or review.
  • L2: Semi-structured. User stories, interaction sketches, and branching rules.
  • L3: Structured. Questionnaire and supported population and extraction expressions.
  • L4: Executable. Rendered interactions, permissions, and routing.

Design the Knowledge Architecture

Identify the clinical concepts, their relationships, and the boundaries between patient description, recommended care, and local delivery before choosing how to represent them. A medication order records intent. A documented administration can establish exposure. Collapsing both to a single medication flag loses information that a later rule may need to decide whether the patient received a dose. For each boundary, agree on the information that crosses it and how to preserve its meaning and provenance. See Boundary Cases.

Shared FHIR profiles, terminology, and interfaces give systems a common contract for representing and exchanging clinical facts they collect in different ways. Define the constraints that keep related artifacts interoperable, including allowed references, expected data, and how to resolve dependencies. Give reusable clinical logic a versioned source so each recommendation, form, or implementation can reference the same reviewed expression where its meaning fits. In the CHF example, a case feature defines weight change, a library calculates it, and a recommendation specifies what to do with the result. The same feature and calculation can serve a summary or metric while each consumer defines its own decision or measurement criteria. See Knowledge Architecture and FHIR R4 Clinical Reasoning.

FHIR Resource Map

FHIR resources carry the artifacts and the relationships among them. A StructureDefinition establishes the constraints for a profile; a conforming resource carries particular content. For example, the CHF pathway is a PlanDefinition instance conforming to CPGPathwayDefinition, and a patient's enrollment in that pathway is a separate EpisodeOfCare.

What to represent FHIR resource and CPG profile or guidance
Data definition and terminology StructureDefinition / CPGCaseFeatureDefinition; CodeSystem, ValueSet, and terminology mappings where appropriate
Logic and its dependencies Library organizes expressions, model use, parameters, and dependencies
Template for a proposed activity ActivityDefinition / CPGComputableActivityDefinition
Applicable care and its organization PlanDefinition / recommendation, strategy, pathway, and workflow definitions
Information collection Questionnaire / CPGComputableQuestionnaire, with supported expressions as needed
Enrollment, care planning, and options for a patient EpisodeOfCare / CPGCase; CarePlan / CPGCarePlan; RequestGroup / CPGStrategy
Patient facts, intentions, and occurrences Relevant clinical resources and request and event profiles
Patient summary GraphDefinition / CPGCaseSummaryDefinition; Composition / CPGCaseSummary
Patient metric and result Measure / CPGComputableMetric; MeasureReport / CPGMetricReport
Guideline package ImplementationGuide / CPGComputableGuideline identifies the content and package dependencies

Check the exact profile for cardinalities, terminology bindings, extensions, and reference targets: for example, a pathway's action can target a strategy or workflow definition, and a strategy's action target is a recommendation definition. These constraints apply even where base PlanDefinition allows more choices. Concepts such as Plan and Proposal are not themselves profiles; use the applicable definitions and patient request profiles when authoring resources (see the Conceptual Knowledge Architecture Index). See Implementing Computable Knowledge for the CPG apply contract that connects definitions to patient-specific results.

Artifact Identity and Provenance

Where supported, use the canonical url, business version, and artifact type to identify the knowledge artifact. A resource's id, server location, and meta.versionId identify a server record and its revision history. Track the identity of the guideline package separately from the versions of artifacts it contains or references.

Record who maintains the artifact, its intended use, topic, lifecycle status, evidence and derivation, and applicable rights. Use supported metadata fields consistently across artifact types so a consumer can find related content and distinguish artifacts it depends on from those it was derived from. Publication status supports review and discovery; local enablement and authorization are separate decisions. For a patient result, retain the relevant source inputs, effective time, and expression or artifact version so that reviewers can explain how it was produced. See Asset Metadata.

Expressions and Declarations

An expression computes a value or a condition. CQL expressions can calculate a feature or determine whether a recommendation applies. A declaration states an activity or relationship: for example, a PlanDefinition relates actions, and an ActivityDefinition specifies the activity to construct. An expression can supply patient-dependent values while the definition establishes how the values are used.

Make an expression's inputs, model, and dependencies explicit. Libraries describes the supported representations. External functions or other languages require support from the target runtime. Test that support where the artifact will run, and compare clinically reviewed cases and missing-data behavior when translating between representations. See Expressions and Declarations.

Composition and Dependencies

Use allowed references to combine artifacts that have distinct jobs. A recommendation can reference a Library for applicability logic and an activity definition for what to propose, keeping each available for other recommendations. A strategy can group recommendations. An ImplementationGuide can identify the definitions, terminology, logic, examples, and documentation in a package. A FHIR Composition structures the content of a clinical summary. If implementing a subset of the package, identify the capabilities in scope and resolve all dependencies needed to support them. See Composite Assets.

Record the exact versions used in a release, including shared libraries, profiles, terminology, and dependencies on other packages. When a dependency changes, trace which recommendations and local implementations use it. Wright et al. describe CDS malfunctions involving dependency and terminology changes; their cases illustrate why changes need impact review. Release and maintain reviewed content covers review, release, and stewardship.

Manage Content in a Repository

A repository can register definitions, content, and their metadata, support canonical lookup and topic discovery, and resolve dependencies for versioned releases. Track derivation and use relationships so a change to a shared profile, value set, or expression reveals the artifacts and implementations that need review. Record registration, publication, and local enablement separately so that availability for discovery does not activate clinical behavior. See Knowledge Representation and Expression and Knowledge Architecture and Knowledge Content Management System.

Derived Artifacts

A derived artifact reuses content for another purpose. Reuse keeps shared criteria traceable to the same reviewed interpretation and reduces the need to interpret guideline prose separately for each output. For example, the CHF Body Weight Change metric uses an expression from the CHF Library to define a patient indicator. A case plan summary brings together selected patient information and intended care. A population measure defines a population and evaluates performance or outcomes. Reuse data and logic where their meaning fits, and record the derived output's scope, time window, treatment of missing data, and how to interpret the result. See Derived Assets, and Measurement and Evidence for how to review each output for its intended use.