Sub add_automatic_tmp_entries

Revision as of 16:30, 23 October 2025 by Ttenbergen (talk | contribs)

Sub in _Unique_CCMDB module in CCMDB.mdb that handles Automatic Generation of TMP entries in the L TmpV2 table to facilitate Tmp Project Collection of data under the Entity–attribute–value model of the L Tmp V2 table based on parameters in the s_tmp table.

Description

Sub add automatic tmp entries will automatically enter a line in L TmpV2 table if there is a record in s_tmp table where :

  • applies to this Site
  • applies to this Program
  • active = true
  • auto_add_at_patient_creation = true

To restrict ability to edit those from the data collector GUI in dddd set the applicable parameter in s_tmp table to true:

  • auto_cant_add_manually
  • auto_cant_edit

Related articles

Related articles: