Script Configuration for Excluding Documents From Charts - HL7 Module - Foundation 23.1 - Foundation 23.1 - Ready - OnBase - Essential - Premier - Standard - external - Premier - Standard - Essential

HL7 Module

Platform
OnBase
Product
HL7 Module
Release
Foundation 23.1
License
Premier
Standard
Essential

This topic describes the script command that allows a document to be imported into a chart Document Type without requiring a chart association.

This topic assumes that you are familiar with OnBase Script Automation. See the OnBase API Automation documentation for additional information regarding writing scripts for OnBase.

To create the script:

  1. Write a VBScript in which the Execution Status property of the OnBase Application Object for the current document is as follows:
    app.ExecutionStatus = -1

    If you set ExecutionStatus() to 0 , the document will be added to a chart or sent to Chartless Documents.

    Note:

    A script hook of this type cannot modify the Keyword values on the document in the script because at the time the script runs, the document isn't actually stored in the database yet. Calling StoreKeywords() in the script will return an error and have no effect on the document.

  2. Add the script to the VBScripts available for the system. See the VBScript configuration topic in the System Administration documentation.
  3. Continue to the next procedure: Script Hook Configuration for Excluding Documents From Charts.