Routines for diag.kb


ExactScimMatch

File Name

diag.kb

Syntax

ExactScimMatch(To_match: DIAG_MATCH_TYPE, AidHier: HierarchyObject)

Parameters

To_Match - context of diagnostic lookup

AidHier - hierarchy to look aids up in

Returns

List of integers - Aid IDs that match

Side Effects

None

Description

A list of diagnostic aid primary keys are assembled which satisfy the search criteria specified in To_Match using an Exact Search strategy.

Dialog Forms Called

None


FuzzyScimMatch

File Name

diag.kb

Syntax

FuzzyScimMatch(To_match: DIAG_MATCH_TYPE, AidHier: HierarchyObject)

Parameters

To_Match - context of diagnostic lookup

AidHier - hierarchy to look aids up in

Returns

List of integers - Aid IDs that match

Side Effects

None

Description

A list of diagnostic aid primary keys are assembled which satisfy the search criteria specified in To_Match as a Fuzzy Search strategy.

Dialog Forms Called

None


GetDiagAids

File Name

diag.kb

Syntax

GetDiagAids(To_Match: DIAG_MATCH_TYPE)

Parameters

To_Match - context of diagnostic lookup

Returns

CLIENT_RECORD - Contains a list of diagnostic aids that were

found in the lookup

Side Effects

None

Description

A CLIENT_RECORD record is assembled for delivery to the client. A search is performed on the memory structure for caching the diagnostic aids. If a list of aids was requested, the database will be hit for the information.

Dialog Forms Called

None


InitializeDiagnostics

File Name

diag.kb

Syntax

InitializeDiagnostics

Parameters

None

Returns

None

Side Effects

None

Description

Calling this function loads the diagnostic aid cache for HotNews, Error Messages, Common Problems and HyperTrees.

Dialog Forms Called

None


RemoveHierCacheFiles

File Name

diag.kb

Syntax

RemoveHierCacheFiles

Parameters

None

Returns

None

Side Effects

None

Description

Calling this function forces the cache files to be immediately removed.

Dialog Forms Called

None


UpdateHierarchy

File Name

diag.kb

Syntax

UpdateHierarchy

Parameters

None

Returns

Boolean - TRUE if the current data was changed

Side Effects

None

Description

Using the CACHE_CONTROL table, it is determined whether or not any updates were made to the Diagnostic Aids.

Dialog Forms Called

None


WriteHierarchy

File Name

diag.kb

Syntax

WriteHierarchy

Parameters

None

Returns

None

Side Effects

None

Description

This function forces the cache files to be written using the current diagnostic image.

Dialog Forms Called

None