Sub add automatic tmp entries: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
No edit summary
 
(2 intermediate revisions by the same user not shown)
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]] for new admissions 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 ==
{{PAGENAME}} will automatically enter a line in [[L TmpV2 table]] if there is a record in [[s_tmp table]] where :
{{PAGENAME}} will automatically enter a line in [[L TmpV2 table]] if there is a record in [[s_tmp table]] with parameters that match the new admission. See [[Automatic Generation of TMP entries#entries generated at record creation time]] for details.
* 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:
The function uses query s_tmp__auto_record_adder.
* '''auto_cant_add_manually'''
* '''auto_cant_edit'''


== Related articles ==  
== Related articles ==  

Latest revision as of 21:11, 23 October 2025

The Sub add automatic tmp entries in _Unique_CCMDB module in CCMDB.mdb handles Automatic Generation of TMP entries for new admissions 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 with parameters that match the new admission. See Automatic Generation of TMP entries#entries generated at record creation time for details.

The function uses query s_tmp__auto_record_adder.

Related articles

Related articles: