Setting up a new tmp project

From CCMDB Wiki
Revision as of 17:31, 23 October 2025 by Ttenbergen (talk | contribs)
Jump to navigation Jump to search

This are instructions for setting up a Temporary data collection project. See Projects for a list of previous ones.

Project Initiation

For external data requests, ask the requestor to fill out File:Request for additional collection.pdf. Additional start-up instructions and a bit of a checklist of what to consider are at Temporary data collection#Information relevant to data users.

When there is serious consideration of a project, follow the instructions in Creating a new project article to establish a central place to document the project even during the consultation and design phase.

Consider any Data Integrity Checks that might help, our Checklist when changing or adding a variable or tmp project can help.

If an entry will be required for all records (or all at a site or program), consider Automatic Generation of TMP entries.

Need to break that out as a broader concept to contain "add an "not entered yet" item etc.

  • SMW


  • Cargo


  • Categories

If an entry will need to be added programmatically from VBA eg based on other data and a collector input, use Function GenerUpdate_tmp_entry.


Need to integrate the rest of this after adding page Temporary data collection

  • SMW


  • Cargo


  • Categories

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.

Checklist when changing or adding a variable or tmp project

We have had some pitfalls over time in getting started with these, see Checklist when changing or adding a variable or tmp project to help avoid repeating them.

Related articles

Related articles: