If OnBase is configured to synchronize deficiency information using a polling file generated from Meditech, then the polling service does the following. For a visual representation, see the flowchart following these steps.
-
Synchronizes deficiency information in OnBase.
-
When the service encounters a new deficiency, the external deficiency is created in OnBase.
-
When the service encounters an existing deficiency, it updates the external deficiency in OnBase using the information in the file.
-
When an existing deficiency no longer occurs in the file, the service completes the external deficiency.
-
-
Creates the following subdirectories within the directory where the polling file resides:
-
ERROR_FILES
-
PROCESSED
-
-
Moves the polling file to the appropriate subdirectory.
-
Files that are processed successfully are moved to the PROCESSED directory. These files are renamed to include the date and time when they were processed.
-
Files that cannot be processed successfully are moved to the ERROR_FILES directory. If multiple files are moved to this directory, then a number is appended to each subsequent file's name to indicate the order in which the file was encountered.
The following flowchart shows this process. The files are checked for validity, then for any new deficiencies, then for whether existing deficiencies need to be completed, and finally for validity again after deficiencies may have been completed or removed. At the end of this process, files are either moved to the PROCESSED directory or listed in a SYS Verification Report and moved to the ERROR_FILES directory.
-