Setting up a new tmp project

From CCMDB Wiki
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.

Project Design

Set-up

  • add records to the s_tmp table as per #Project Design; these can be added early and s_tmp.active=false until the day of go-live
  • document which entries were created in under a == Log == section near the bottom of the project page; entry options and definitions often change over the course of a project as we learn more about the thing we are collecting and a detailed log helps with data analysis later
  • follow Rolling out changes to get the project to collectors

Additional info and options

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. For an example of this, consider Overstay2 Overview.

project will only run at some sites or for one program

  • To make the project only show up for some sites, enter an (almost) identical line for each site and enter the hospital in s_tmp.site
  • If the project should only be collected for one program, enter that program into s_tmp.program; since we only collect two programs additional lines should not be required.

Data Integrity Checks

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: