Skip to main content
v2026.11,858 entries · CC-BY 4.0
LAC HealthMedical & Research SuppliesReagents, PPE & instruments — chain-of-custody documented.Fast, traceable sourcing built for regulated research environments, from bench consumables to instrumentation.Shop lac.us CodeCASRAIlac.us

Arden Syntax: Medical Logic Modules and the Curly Braces Problem

How HL7 Arden Syntax structures Medical Logic Modules (MLMs) across maintenance, library, and knowledge slots, and how it addresses the curly braces problem.

Written and maintained by CASRAI Editorial Board

Last updated

Arden Syntax is a formal, procedural clinical knowledge representation language maintained by Health Level Seven International (HL7) and accredited by the American National Standards Institute (ANSI) for encoding and sharing computable clinical decision support (CDS) rules. Originally developed at the 1989 Arden Homestead Retreat in Harriman, New York, by informatics researchers combining constructs from the HELP system (LDS Hospital/University of Utah) and the CARE language (Regenstrief Institute), Arden Syntax was adopted by ASTM in 1992 (ASTM E1460) before moving to HL7 stewardship in 1999.

Within a hospital or research clinical decision support system, Arden Syntax organizes discrete clinical rules—such as nephrotoxic drug dosing alerts, laboratory critical-value notifications, and clinical trial eligibility triggers—into self-contained units called Medical Logic Modules (MLMs).

What Is the HL7 Arden Syntax and How Is a Medical Logic Module (MLM) Structured?

Each Medical Logic Module (MLM) is an ASCII or XML-encoded file containing sufficient metadata, clinical citations, trigger criteria, data retrieval mappings, procedural evaluation logic, and output actions to execute a single clinical decision. An MLM is partitioned into three ordered top-level categories (plus an optional fourth resources category added in later versions for multilingual localization), each containing named slots terminated by double semicolons (;;):

MLM Category Required Slots Purpose in Clinical & Research Governance
maintenance: title, mlmname, arden, version, institution, author, specialist, date, validation Tracks authorship, clinical domain reviewer sign-off, syntax version, and validation status (production, research, testing, or expired).
library: purpose, explanation, keywords, citations, links Documents the clinical rationale, literature evidence, and searchable subject indexing for knowledge-base curation.
knowledge: type, data, priority, evoke, logic, action, urgency Contains the executable event trigger, EHR database queries, procedural boolean/temporal evaluation, and alert output.
resources: (Arden v2.9+) default, language Separates localized display strings and alert messages from the core procedural logic and action slots.

Execution Flow Inside the Knowledge Category

When an EHR event engine runs an MLM, execution proceeds sequentially across the core slots of the knowledge category:

  1. data: slot: Declares local variables, maps institution-specific database queries and clinical events (enclosed in curly braces {...}), and instantiates arguments passed from calling MLMs.
  2. evoke: slot: Specifies the clinical or temporal triggers (for example, storage of a new serum creatinine result or a recurring scheduled time interval) that cause the CDS engine to wake up and invoke the MLM.
  3. logic: slot: Evaluates conditional statements, list operations, and time-series reasoning on retrieved patient data. Crucially, the logic slot must terminate execution via an explicit conclude true; (which proceeds to execute the action slot) or conclude false; (which terminates the MLM silently without firing the action).
  4. action: slot: Executes only when the logic slot concludes true; formats and sends an alert message, writes an observation back to the EHR, or returns structured data to a calling program.

A distinctive design feature of Arden Syntax is that every variable value is inherently coupled with a primary time—the clinical timestamp when the specimen was drawn or the observation occurred—allowing expressions such as last(creatinine where it occurred within the past 7 days) or increase of creatinine to operate directly on longitudinal lists without manual timestamp loops.

What Is the Curly Braces Problem in Clinical Decision Support?

Because early hospital information systems lacked a uniform clinical data model or standardized terminology bindings, Arden Syntax isolated all institution-specific EHR database queries inside curly braces ({...}) within the data and evoke slots. For example:

creatinine := read last {"serum_creatinine_result" where status = "final"};
conclude creatinine > 2.0;

While the procedural statements in the logic slot (conclude creatinine > 2.0;) were completely portable across hospitals, every receiving institution had to manually rewrite the expressions inside {...} to match its own local relational tables, column names, local lab codes, and measurement units. In biomedical informatics, this barrier to plug-and-play sharing of executable CDS rules became known as the curly braces problem.

Standards-Based Solutions: HL7 vMR, FHIR, and CQL

Over three decades, the informatics community developed two primary strategies to resolve the curly braces problem across clinical decision support tools:

  • Standardized Data Models Inside Arden Syntax (Arden v2.10 and v3.0): Later editions of the HL7 standard introduced object-oriented data types, Fuzzy Arden Syntax (linguistic variables and fuzzy sets for graded clinical thresholds), and native bindings to the HL7 Virtual Medical Record (vMR) and HL7 FHIR R4 resources so that data queries reference standard FHIR resource paths and SNOMED CT/LOINC codes rather than proprietary SQL strings.
  • Clinical Quality Language (CQL): HL7 subsequently developed CQL to unify CDS rule authoring and electronic clinical quality measure (eCQM) specification. CQL replaces untyped curly-brace strings with a strongly typed external data model declaration (such as using FHIR version '4.0.1') and explicit valueset / codesystem headers, completely separating clinical logic from local database schemas.

Frequently Asked Questions

What does “conclude true” vs. “conclude false” do in an Arden Syntax MLM?

In the logic slot of an MLM, conclude immediately halts further evaluation of the logic block. If conclude true; is executed, the engine proceeds to run the action slot (for example, displaying a clinical alert or returning computed values). If conclude false; is executed—or if the end of the logic slot is reached without any conclude true statement—the action slot is skipped entirely.

How does Arden Syntax handle temporal reasoning on laboratory results?

Every elementary datum in Arden Syntax carries both a value and a primary clinical timestamp (time of x). List operators such as first, last, earliest, latest, slope, and temporal filters like where it occurred within 24 hours before CurrentTime operate natively on time-stamped clinical arrays without requiring developers to join separate value and timestamp vectors.

Where is Arden Syntax used in modern EHR and research environments?

Arden Syntax has been deployed in commercial EHR platforms (including Allscripts/Sunrise and Agfa ORBIS), antimicrobial stewardship and infection-control surveillance engines (such as Moni/Medexter Healthcare), and clinical trial eligibility screening pipelines that evaluate real-time laboratory and admission events against protocol inclusion criteria.

Follow CASRAI

Research-administration guidance, standards updates and independent tool reviews.

Ask CASRAI · free to try

Ask about Arden Syntax: Medical Logic Modules and the Curly Braces Problem

Ask your first 2 questions free below. Subscribers get 150 a day for $29 a month.

An AI assistant specialized in research administration. It cites the sources behind every answer, labels web answers and says when it can't answer.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays free to read, with no account and no card.

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →