Skip to content

mdlPPD

mdlPPD is a Module that caches PPD code-table lookups in module-level Static variables for the lifetime of the hosting process, reloading only when an explicit Refresh argument is supplied (see Code-table caching).

Purpose

  • Provides cached accessor functions over clsPPDBodyParts and related PPD code tables, avoiding repeated database round-trips within a process.

Context

  • Namespace: SAIF.Business.Claim.PPD
  • Assembly/package: SAIF.Business.Claim.dll

Public members

Member Signature Purpose
GetPPDBodyParts Public Function GetPPDBodyParts(Optional refresh As Boolean = False) As DataTable Returns the cached PPD body-part table, reloading via SQL-026 only when refresh is True or the cache is empty.*

Behavioral notes

  • The Static cache has no expiry and no synchronization, making it process-lifetime and not thread-safe.*

Constraints and usage notes

  • Pass refresh:=True only when the underlying code table is known to have changed; otherwise the cached value is returned.

Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.

Sources

  • SAIF.Business.Claim/mdlPPD.vb