Programming Suggestions - HL7 Module - English - Foundation 22.1 - OnBase - Premier - external - Standard - Essential - Premier - Standard - Essential - OnBase/HL7-Module/English/Foundation-22.1/HL7-Module/HL7-API/API-Reference/Programming-Suggestions - 2024-09-04

HL7 Module

Platform
OnBase
Product
HL7 Module
Release
Foundation 22.1
License
Premier
Standard
Essential
ft:locale
en-US

The environment the scripts execute in will be under the HL7 Listener. The HL7 Listener processing environment is a multi-threaded processing environment similar to a Web server environment.

  • Do not use MsgBox in your scripts. This will cause the script execution to stop and block the HL7 Listener. Instead use the following:

    • Err.Raise – The error string will be printed in the HL7 Listener window and the verbose file.

    • COBHL7ScriptContext.SetScriptError – The error string will be printed in the HL7 Listener window and the verbose file.

  • Verify results returned from function calls. Use the VerifyObject function as shown under Script Example.

  • Do not write long-running scripts. These can block the HL7 Listener.