Related Experiment Video
Updated: Mar 27, 2026

Curation of Computational Chemical Libraries Demonstrated with Alpha-Amino Acids
Published on: April 13, 2022
User-defined functions in the Arden Syntax: An extension proposal
Harry Karadimas1, Vahid Ebrahiminia1, Eric Lepage2
1Department of Medical Informatics, Henri Mondor Hospital, Assistance Publique Hôpitaux de Paris, 51 av. Du Mal de Lattre, 94010 Creteil, France.
Background:
The Arden Syntax is a knowledge-encoding standard, started in 1989, and now in its 10th revision, maintained by the health level seven (HL7) organization. It has constructs borrowed from several language concepts that were available at that time (mainly the HELP hospital information system and the Regenstrief medical record system (RMRS), but also the Pascal language, functional languages and the data structure of frames, used in artificial intelligence). The syntax has a rationale for its constructs, and has restrictions that follow this rationale. The main goal of the Standard is to promote knowledge sharing, by avoiding the complexity of traditional programs, so that a medical logic module (MLM) written in the Arden Syntax can remain shareable and understandable across institutions.
Objectives:
One of the restrictions of the syntax is that you cannot define your own functions and subroutines inside an MLM. An MLM can, however, call another MLM, where this MLM will serve as a function. This will add an additional dependency between MLMs, a known criticism of the Arden Syntax knowledge model. This article explains why we believe the Arden Syntax would benefit from a construct for user-defined functions, discusses the need, the benefits and the limitations of such a construct.
Methods And Materials:
We used the recent grammar of the Arden Syntax v.2.10, and both the Arden Syntax standard document and the Arden Syntax Rationale article as guidelines. We gradually introduced production rules to the grammar. We used the CUP parsing tool to verify that no ambiguities were detected.
Results:
A new grammar was produced, that supports user-defined functions. 22 production rules were added to the grammar. A parser was built using the CUP parsing tool. A few examples are given to illustrate the concepts. All examples were parsed correctly.
Conclusions:
It is possible to add user-defined functions to the Arden Syntax in a way that remains coherent with the standard. We believe that this enhances the readability and the robustness of MLMs. A detailed proposal will be submitted by the end of the year to the HL7 workgroup on Arden Syntax.
Related Concept Videos
Nomenclature of Alkynes
Acidity of 1-Alkynes
The acidic strength of hydrocarbons follows the order: Alkynes > Alkenes > Alkanes. The strength of an acid is commonly expressed in units of pKa — the lower the pKa, the stronger the acid. Among the hydrocarbons, terminal alkynes have lower pKa values and are, therefore, more acidic. For example, the pKa values for ethane, ethene, and acetylene are 51, 44, and 25, respectively, as shown here.
Schemas
Nucleophilic Aromatic Substitution: Addition–Elimination (SNAr)
The reaction begins with an attack of the nucleophile on the carbon that holds the leaving group. This results in the delocalization of the π electrons over the ring carbons. The resonance interaction between...
Aromatic Hydrocarbon Anions: Structural Overview
Due to the absence of continuous...
Nucleophilic Aromatic Substitution of Aryldiazonium Salts: Aromatic SN1
In the Sandmeyer reaction, for example, the diazonio group is replaced by a chloro, bromo,...

