This wiki has undergone a migration to Confluence found Here
<meta name="googlebot" content="noindex">

Difference between revisions of "Arden Syntax:Implementation Guide:Syntax Description"

From HL7Wiki
Jump to navigation Jump to search
(Added new chapters and additional description)
(→‎Data Types: added content)
Line 57: Line 57:
 
==== Data Types ====
 
==== Data Types ====
  
Null, Boolean, Truth Value, Number, Time, Duration, String, List, Object and Fuzzy Sets
+
The basic function of an MLM is to retrieve patient data, manipulate the data, come to some decision, and possibly perform an action. Data may come from various sources, such as a direct query to the patient database, a constant in the MLM, or the result of an operation on other data.
 
+
Available data types within the Arden Syntax are: Null, Boolean, Truth Value, Number, Time, Duration, String, List, Object and Fuzzy Sets.
Primary time and applicability
+
Every data item consists of a value part, a primary time part (e.g: time of data retrieval) and the applicability.
  
 
==== Statements ====
 
==== Statements ====

Revision as of 20:52, 16 October 2013


Fundamentals

Medical knowledge in Arden Syntax is arranged within Medical Logic Modules (MLMs) where each MLM represents sufficient knowledge to make a single decision. Each such an MLM is well organized and structured into categories and slots with specific content.

maintenance:
  title:       ;;
  mlmname:     ;;
  arden:       ;;
  version:     ;;
  institution: ;;
  author:      ;;
  specialist:  ;;
  date:        ;;
  validation:  ;;
library:
  purpose:     ;;
  explanation: ;;
  keywords:    ;;
  citations:   ;;
  links:       ;;
knowledge:
  type:        ;;
  data:        ;;
  priority:    ;;
  evoke:       ;;
  logic:       ;;
  action:      ;;
  urgency:     ;;
resources:
  default:     ;;
  language:    ;;
end:

An MLM is composed of slots grouped into 4 required categories: maintenance, library, knowledge, and resources. A category starts with its name followed immediately by a colon (e.g., maintenance:) and the categories must appear in the correct order. Within each category is a set of slots which also must appear in the correct order.

GeneralMLM.png

The maintenance category contains information unrelated to the MLM’s health knowledge and is used for MLM knowledge base maintenance and change control. The library category provides health personnel with explanatory information as well as links to relevant health literature related to the MLM’s health knowledge. The resources category specifies localized textual resources that can be used within the knowledge category. The knowledge category actually defines the MLM’s action, data access, and logic.

An MLM is identified by using the following 3 pieces of information:

  • Name
  • Institution
  • Version

Language Concepts

Data Types

The basic function of an MLM is to retrieve patient data, manipulate the data, come to some decision, and possibly perform an action. Data may come from various sources, such as a direct query to the patient database, a constant in the MLM, or the result of an operation on other data. Available data types within the Arden Syntax are: Null, Boolean, Truth Value, Number, Time, Duration, String, List, Object and Fuzzy Sets. Every data item consists of a value part, a primary time part (e.g: time of data retrieval) and the applicability.

Statements

Expressions

Operators