Sub add automatic tmp entries: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{DISPLAYTITLE:Sub add_automatic_tmp_entries}}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]].
{{DISPLAYTITLE:Sub add_automatic_tmp_entries}}The {{PAGENAME}} in [[_Unique_CCMDB module]] in [[CCMDB.mdb]] 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 ==
== Description ==

Revision as of 16:35, 23 October 2025

The Sub add automatic tmp entries in _Unique_CCMDB module in CCMDB.mdb 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 Patient Viewer Tab Tmp set the applicable parameter in s_tmp table to true:

  • auto_cant_add_manually
  • auto_cant_edit

The function uses query s_tmp__auto_record_adder.

Related articles

Related articles: