MAIL for Visual Studio CodeMAIL (Master Automated Informatics Language) is the rule, query and message shaping language of the LabLink Engine Console and Atellica NexIS informatics. This extension brings MAIL 2.0 to Visual Studio Code. FeaturesValidation as you type. Every diagnostic comes from the MAIL reference engine, the same engine the LabLink Engine Console uses. Codes follow Appendix C of MAIL: Master Automated Informatics Language (L, S, T, N, C and W codes). Hover documentation. Hover a function for its signature, null behavior and an example; hover a field for its type and level (patient, specimen, result, message, segment or tunnel). Completion and signature help. All 197 library functions, every field, reserved and contextual keywords, duration units, and the constants and functions declared in the open file. Outline and folding. RULE, COUNTER, DEFINE, CONSTANT, TEST, SHAPE, FILTER, ACKNOWLEDGE and ROUTE declarations appear in the Outline view and fold at END. Snippets. rule, rule-critical, counter, define, constant, shape, filter, route and query. Commands.
Debugging MAILOpen a The debugger replays the MAIL reference engine's own evaluation, so what you step through is exactly what MAIL: Run tests in this file computes. Each step is one RULE evaluated against one target (a result or the specimen), or one SHAPE, FILTER, ACKNOWLEDGE or ROUTE applied to a TEST message.
Files with TEST blocks are debugged test by test. A rules file without TEST blocks is stepped through every specimen in the demonstration library. Queries and counters print their results to the Debug Console. Everything runs on synthetic demonstration data; nothing is changed. Files
NotesDemonstration data and the Appendix E limits are illustrative. Production limits come from each laboratory's approved policy. Siemens Healthineers | HCS Informatics |