Overstay2 module

From CCMDB Wiki
Jump to navigation Jump to search

The Overstay2 module is VBA module contains the code used to implement the functionality for the processes documented at Overstay2 Overview. There is a branch for this in the Git repository but the general change log is at Log and CFE Log.

A button on the Patient viewer form triggers Function Handle_Overstay_Button() that generates an overstay score. It also changes the button based on that value.

The value is stored in L_TmpV2 table with Project "Overstay2" and Item "Overstay2 Score". During early testing, the score is 999998 just to have a crazy outlier so we remember to exclude these later. That number turns the button blue.

Details

Exposes the following functions used by CCMDB.accdb and CFE:

Exposes the following functions used by CCMDB.accdb:

Contains additional functions to generate results from data in CFE, low/testing only use so see code.

Use in both Centralized data front end.accdb and CCMDB.accdb

The same code is used for both CCMDB and CFE, with a single modifier value required to tell which program it is being run from, one of:

  • #Const in_CFE = True
  • #Const in_CCMDB = True

Related articles

Related articles: