User-defined functions in the Arden Syntax: An extension proposal

被引:5
|
作者
Karadimas, Harry [1 ]
Ebrahiminia, Vahid [1 ]
Lepage, Eric [2 ]
机构
[1] Henri Mondor Hosp, AP HP, Dept Med Informat, 51 Av Mal Lattre, F-94010 Creteil, France
[2] Univ Paris Est, Fac Med, 8 Rue Gen Sarrail, F-94010 Creteil, France
关键词
Programming languages; Artificial intelligence; Expert systems; Medical informatics; Clinical decision support systems;
D O I
10.1016/j.artmed.2015.11.003
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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. (C) 2015 Elsevier B.V. All rights reserved.
引用
收藏
页码:103 / 110
页数:8
相关论文
共 50 条
  • [1] THE SYNTAX OF USER-DEFINED DYADIC OPERATORS
    FISHER, AJ
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 1982, 12 (07): : 623 - 625
  • [2] A Proposal for User-Defined Reductions in OpenMP
    Duran, Alejandro
    Ferrer, Roger
    Klemm, Michael
    de Supinski, Bronis R.
    Ayguade, Eduard
    [J]. BEYOND LOOP LEVEL PARALLELISM IN OPENMP: ACCELERATORS, TASKING AND MORE, PROCEEDINGS, 2010, 6132 : 43 - +
  • [3] Consolidation of Queries with User-Defined Functions
    Sousa, Marcelo
    Dillig, Isil
    Vytiniotis, Dimitrios
    Dillig, Thomas
    Gkantsidis, Christos
    [J]. ACM SIGPLAN NOTICES, 2014, 49 (06) : 554 - 564
  • [4] User-defined Machine Learning Functions
    Herrmann, Markus
    Fiedler, Marc
    [J]. 3RD INTERNATIONAL CONFERENCE ON ADVANCED RESEARCH METHODS AND ANALYTICS (CARMA 2020), 2020, : 337 - 337
  • [5] Optimization of Complex Dataflows with User-Defined Functions
    Rheinlaender, Astrid
    Leser, Ulf
    Graefe, Goetz
    [J]. ACM COMPUTING SURVEYS, 2017, 50 (03)
  • [6] SUDAF: Sharing User-Defined Aggregate Functions
    Zhang, Chao
    Toumani, Farouk
    Doreau, Bastien
    [J]. 2020 IEEE 36TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE 2020), 2020, : 1750 - 1753
  • [7] Supporting User-Defined Functions on Uncertain Data
    Tran, Thanh T. L.
    Diao, Yanlei
    Sutton, Charles
    Liu, Anna
    [J]. PROCEEDINGS OF THE VLDB ENDOWMENT, 2013, 6 (06): : 469 - 480
  • [8] Towards a Cost Model to Optimize User-Defined Functions in an ETL Workflow Based on User-Defined Performance Metrics
    Ali, Syed Muhammad Fawad
    Wrembel, Robert
    [J]. ADVANCES IN DATABASES AND INFORMATION SYSTEMS, ADBIS 2019, 2019, 11695 : 441 - 456
  • [9] Efficient Execution of User-Defined Functions in SQL Queries
    Foufoulas, Yannis
    Simitsis, Alkis
    [J]. PROCEEDINGS OF THE VLDB ENDOWMENT, 2023, 16 (12): : 3874 - 3877
  • [10] User-Defined Financial Functions for MS SQL Server
    Gubalova, Jolana
    Medvedova, Petra
    [J]. INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2018, 9 (09) : 19 - 25