Setting up a new tmp project: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 10: Line 10:
** if the combination doesn't exist in [[s_tmp table]] then [[query s_tmp_project_item_consistent]] will flag the query during [[Pre-send Checker]]
** if the combination doesn't exist in [[s_tmp table]] then [[query s_tmp_project_item_consistent]] will flag the query during [[Pre-send Checker]]


== "dropdown" functionality ==
=== "dropdown" functionality ===
To make "dropdown" functionality available, add a line to [[s_tmp table]]. The "project" will be the same for each dropdown, and the item will be different. See the s_tmp table for examples, and try the dropdown there.
{{Collapsable|always=implementation details
|full=This is driven by some code that updates the dropdown source for the item combobox when the project combobox triggers a change event. This happens both in [[Patient Viewer Tab Tmp]] and in [[TmpV2 editor]] form.
}}


== [[Automatic Generation of TMP entries]] ==
=== [[Automatic Generation of TMP entries]] ===
To make it easier for collectors to know what [[projects]] are currently collected, starting entries for projects that require an entry for ''every'' profile (possibly at a given site/program) are automatically created at profile creation through [[Automatic Generation of TMP entries]].
To make it easier for collectors to know what [[projects]] are currently collected, starting entries for projects that require an entry for ''every'' profile (possibly at a given site/program) are automatically created at profile creation through [[Automatic Generation of TMP entries]].


== Related articles ==
{{Related Articles}}


 
[[Category:Tmp Project Infrastructure | * ]]
[[Category:Tmp Project Infrastructure|*]]

Latest revision as of 23:38, 14 March 2025

The Critical Care and Medicine Database has a flexible method of quickly adding additional values required for temporary Projects. Tmp Project Collection explains how or data collectors collect these.

Here are the pages that document how to run a project:

"dropdown" functionality

To make "dropdown" functionality available, add a line to s_tmp table. The "project" will be the same for each dropdown, and the item will be different. See the s_tmp table for examples, and try the dropdown there.

implementation details   

This is driven by some code that updates the dropdown source for the item combobox when the project combobox triggers a change event. This happens both in Patient Viewer Tab Tmp and in TmpV2 editor form.

Automatic Generation of TMP entries

To make it easier for collectors to know what projects are currently collected, starting entries for projects that require an entry for every profile (possibly at a given site/program) are automatically created at profile creation through Automatic Generation of TMP entries.

Related articles

Related articles: