Automatic Generation of TMP entries: Difference between revisions

mNo edit summary
m cleaned up legacy info that was only about implementation and is no longer relevant
Line 13: Line 13:


== Implemenation ==
== Implemenation ==
Sub add_automatic_tmp_entries
Sub ''add_automatic_tmp_entries''


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


{{Collapsable
| always= Legacy only below here
| full=
== Legacy ==
Before [[CCMDB.mdb_Change_Log_2012#ver_2012-11-16]], whenever we ran a project using TMP tab entries, data collectors had to generate one or more lines before they could actually enter data, resulting in extra steps.
Shortly after starting [[Postal code collection]] we decided to have CCMDB.mdb automatically generate an entry since, although it is in tmp, it is a permanent item.
== [[CCMDB.mdb_Change_Log_2012#ver_2012-11-16]]==
* added/changed entries in s_tmp to autogenerate lines
** for postal code, just checked "auto_add_at_patient_creation"
** for [[Overstay]] had to create generic lines collectors can change to acceptable lines
* created sub add_automatic_tmp_entries and append query s_tmp__auto_record_adder to add lines
* added function call to cb_addPt_Click(), removed old code that generated Postal Codes since this will take care of it
* updated query check_overstay_not_entered to ensure that auto entries for overstay won't slip through as completed
== [[CCMDB.mdb_Change_Log_2012#ver_2012-10-19]] ==
Added relevant columns to [[S Tmp]] because they were needed for another change implemented in
}}


[[Category: TmpV2]]
[[Category: TmpV2]]
[[Category: Laptop location]]
[[Category: Laptop location]]