CCMDB.accdb Change Log 2019

From CCMDB Wiki
Jump to navigation Jump to search

See Log (disambiguation) for other uses of the term "Log". See the Development Documentation Category for other development logs. See Rolling out changes for the process of rolling out changes. See also requested CCMDB changes for the next version and CCMDB.accdb Data Integrity Checks.


Change for next version:

  • remove the uppercaser in Main form Form_Load()


not rolled yet Ttenbergen 11:58, 2019 December 17 (CST)


rolled out Ttenbergen 17:44, 2019 December 12 (CST)

  • tweak to update function so it doesn't give error message to OK it.
  • in EPR Reports Integrator
    • made date formats explicit for Accept and Arrive DtTm; had been set to default but that appears to be different on collector laptops than on Tina's
      • chose format mm/dd/yyyy to make comparison easier, since that's what comes in the EPR Report
    • replaced Dispo DtTm field with Record field, apparently that is more useful in collecting; talk to me if it needs tweaking; also moved it closer to the left to be able to see it together with "binoc" button
    • fixed sorting
    • fixed logic that prevented entering a new record with key button just because a record corresponding to some dates on that line already exists. There are EPR log entries that need to result in two records, eg. transfer from and to a unit where we collect. Now this scenario launches a dialogue box that guides the collector through.


rolled out Ttenbergen 17:09, 2019 December 11 (CST)

Changes collectors will want to know about:

  • added a way to get MR list into an email to facilitate STB Medical Records requests.
    • broke out query MR_List, essentially a copy of what was driving MR List
    • changed MR_List report to use the new MR_List query instead for future consistency of changes
    • added button "MR copy-paste" to Main Form (CCMDB.accdb) which just opens query MR_List directly
  • in EPR Reports Integrator, fixed sending based on admit or discharge "key" buttons

Behind the scenes changes collectors don't really need to know about:

  • changed on Close event for Patient viewer to update EPR Reports Integrator if it's open when viewer closes
  • made background blue lighter on EPR Reports Integrator Discharge Date
  • updated Patient copier button to close without doing anything when "cancel" is pressed at Pat ID interaction.
  • added code to Form_Load() to change the entries to RecordStatus from "incomplete" to "Incomplete"; had been entered as incomplete when generated by copier or EPR reports entry
  • ran Re-importing CCI and IDC10 categories from wiki to CCMDB.accdb


rolled out Ttenbergen 12:05, 2019 December 9 (CST)

  • fixed that I had left a variable set to debug mode...


rolled out Ttenbergen 11:20, 2019 December 9 (CST)

Changes collectors will want to know about:

  • removed HSC_A3S stepdown from dropdowns
  • changed how sending checks for existing records, hoping this will fix System resource exceeded error...

Changes collectors will probably want to know about if they are testing EPR Reports Integrator

  • updated the query that drives EPR Reports Integrator (sL_EPR_Logs_FormQuery) to
    • compare based Arrive_DtTm and Dispo_DtTm in addition to Accept_DtTm and EPR_Admit_DtTm
    • fix the chart number matcher, it wasn't finding some matches.
  • changed how the buttons work
    • button at the beginning of the line will now only work if both chart and date are green, and will open that record.
    • there are two new buttons, to right of AdmDtTm and to right of DisDtTm; they will start a new record with the corresponding date as Arrive_DtTm; this was necessary since the transfer report can work in at least two different ways.
  • changed name on form to "EPR Reports Integrator" (was "...Aggregator")


rolled out Ttenbergen 18:27, 2019 December 4 (CST)

Things collectors will want to know about:

Things collectors probably don't care about:


rolled out Ttenbergen 17:53, 2019 December 3 (CST)

  • tweaked query s_tmp_ABO_TEE_checks so it triggers properly when the tmp box is checked, not when pre-send checker runs.
  • updated how most cross checks are called; errors could have slipped by if a record had been correct, set to complete, and then got changed Ttenbergen 17:53, 2019 December 3 (CST)


rolled out Ttenbergen 11:01, 2019 November 28 (CST)

  • updated several queries that turned weird during the re-import last version; they turned named fields into "expr1" etc:


was rolled out sometime on Nov 26 evening

Changes collectors probably don't care about:

  • changed owner check to hopefully reduce System resource exceeded error
    • added query L_Log_ownerCheck_maker and code that runs it to create temporary table L_Log_ownerCheck which will be compared instead of full L_Log table.
  • re-imported CCMDB.accdb into a new clean file; compact-repair was causing a password request at closing.
  • cleaned up some old remnant code that was causing problems, presumably because some other errors were no longer hiding it
  • tweaked query s_tmp_IICU_consult_DtTm to make it easier to see what, specifically, is wrong


rolled out Ttenbergen 17:30, 2019 November 18 (CST)

Changes collectors probably care about:

Changes collectors probably don't care about:


rolled out Ttenbergen 22:40, 2019 November 17 (CST)

Things collectors probably want to know about:

  • added "other - known but not listed" to s_dispo table as per Previous Location field Ttenbergen 17:55, 2019 November 13 (CST)
  • EPR Reports Integrator
    • tweak to query to fix circumstance where date is found but chart is not
    • changed how the program deals with sent/deleted records
    • changed the key button so it no longer adds the dispo dttm from EPR to the dispo Dttm in CCMDB - apparently that field is used differently in the EPR reports as it comes in, and the Dispo DtTm should be possible to add to existing records via dispo button when it shows up in discharge report.
  • changed the program so windows don't automatically get maximized all the time; this was specifically to be better able to work with Integrator, but of course will affect other windows as well


rolled out Ttenbergen 16:52, 2019 November 13 (CST) Things collectors probably do care about:

  • EPR Reports Integrator tweaks
    • fix to import for Sex field, it was setting to M when empty (ie in transfer report)
    • added sorting by PtName
    • added some code to kind of return to the same spot after excluding a record; not super happy with it, though; will probably need to tweak that further; still better than it was, I think.
    • fixed date sorts, they were sorting as text and now sort properly as dates
    • changed the "key" button so it populates Accept_DtTm rather than Arrive_DtTm
    • changed the query that drives the form to compare with Accept rather than Arrive DtTm.

Things collectors probably don't care about:

  • updated Convert_DB() to include SL_EPR_Logs table


rolled out Ttenbergen 17:39, 2019 November 7 (CST)


rolled out Ttenbergen 10:25, 2019 November 6 (CST)

  • tweaked "set MRSA Colonized" button
    • so it works right on a brand new empty record (was opening new form instead). Ttenbergen 09:56, 2019 November 6 (CST)
    • px count will now show as 1 instead of 0 for isolation
  • updated EPR Reports Integrator so key button will work right for pt who has chart but not yet record for this admit dttm


rolled out Ttenbergen 17:31, 2019 November 5 (CST)


rolled out Ttenbergen 12:28, 2019 November 1 (CDT) Changes collectors won't care about:

  • updated query send_phi so it only includes completes and incompletes


rolled out (Tina)

  • tweak to EPR Reports Integrator


rolled out Ttenbergen 12:02, 2019 October 30 (CDT)


rolled out Ttenbergen 20:17, 2019 October 27 (CDT)

Collectors will want to know about this:

Changes collectors probably don't care about:


rolled out Ttenbergen 09:48, 2019 October 24 (CDT)

  • Tweak to the EPR Import button


rolled out Ttenbergen 17:44, 2019 October 23 (CDT)

  • working on some stuff for PatientFollow Project
  • changed function overlap to allow same arrive dttm and dispo dttm on pt who has moved: please no longer use a delay as it used to be per Transfer time rule
  • for EPR Reports Integrator
    • updated send query Send_Centralized_1L_Log_append it will only send incomplete or complete records now; before there were fewer options for RecordStatus, but now there will be more, so this needed to be filtered.
    • added two new buttons to the Main Form (CCMDB.accdb) to import and view EPR Reports data; updated the image while I was at it.


rolled out Ttenbergen 15:45, 2019 October 21 (CDT)


rolled out Ttenbergen 16:53, 2019 October 8 (CDT)

  • Changed the "set accept_DtTm to arrive_DtTm" button to move the focus to the Accept DtTm field when done to fix some flaky tabbing behaviour.
  • Cross-check query check_dispo_lower_acuity_than_location was misfiring for discharges to generic ward locations (e.g. HSC ward) because they were listed at acuity level of non-teaching units, when we really have no clue about the level, so I changed it to acuity level of teaching units. Changed generic ward acuity levels to be same as teaching units. This is part of the bigger picture of Eliminating distinction between different ward types; flagging again for confirmation with Julie and Trish.
    • In S dispo table acuity_level:
      • set all blanks to 0
      • set all wards in our hospitals to level 6


rolled out Ttenbergen 20:14, 2019 October 3 (CDT)


rolled out Ttenbergen 22:54, 2019 October 2 (CDT)


rolled out Ttenbergen 16:22, 2019 September 27 (CDT)

  • tweaked the sending sub and made sure it works
    • moved the wifi disconnect higher in the function


rolled out Ttenbergen 17:24, 2019 September 25 (CDT)

  • made Boarding Loc "no borrow" a default entry for new patients.


rolled out Ttenbergen 12:12, 2019 September 25 (CDT) Collectors will likely not care about these:

  • updated send function and globals to limit where the output location is set to only one place for better testing.
  • updated query Send_Centralized_L_CCI_Component_append" to include Px Count which had been missing
    • confirmed that query Send_Centralized_L_CCI_Component_update includes Px Count


rolled out Ttenbergen 14:13, 2019 September 24 (CDT)


rolled out Ttenbergen 16:38, 2019 September 22 (CDT)


not rolled yet Ttenbergen 15:50, 2019 September 18 (CDT)


rolled out Ttenbergen 07:55, 2019 September 18 (CDT)

  • pw fix


rolled out Ttenbergen 15:12, 2019 September 16 (CDT)


rolled Ttenbergen 10:31, 2019 September 16 (CDT)

  • removed the automatic adding of lines to the Notes field for new patients since the majority of collectors found them not helpful. Ttenbergen 10:11, 2019 September 16 (CDT)
  • removed the attempt to fix Run-time error when closing the Notes field since it was causing more problems than it solved. Ttenbergen 10:11, 2019 September 16 (CDT)


rolled Ttenbergen 10:57, 2019 September 12 (CDT)


rolled out Ttenbergen 13:37, 2019 September 11 (CDT)


rolled Ttenbergen 13:25, 2019 September 4 (CDT)


rolled last night or this morning, can't remember. Ttenbergen 13:22, 2019 September 4 (CDT)


rolled out Ttenbergen 16:57, 2019 August 28 (CDT)

Behind the scenes changes:


rolled out Ttenbergen Ttenbergen 20:58, 2019 August 26 (CDT) Changes collectors will want to know about:

Behind the scenes changes:


Rolled out Ttenbergen 17:36, 2019 August 21 (CDT) Changes Collectors will want to know about:


rolled out Ttenbergen 17:04, 2019 August 8 (CDT)


rolled out Ttenbergen 16:44, 2019 August 7 (CDT)

Behind the scenes changes:


rolled out Ttenbergen 16:51, 2019 August 1 (CDT) Changes relevant to collectors:

Changes behind the scenes:


rolled out Ttenbergen 13:39, 2019 July 31 (CDT) Changes relevant to collectors:


rolled out Ttenbergen 11:20, 2019 July 25 (CDT) Changes collectors might want to know about:


rolled out Ttenbergen 17:06, 2019 July 24 (CDT) Changes collectors will want to know about:


rolled out Ttenbergen 14:15, 2019 July 4 (CDT)


rolled out Ttenbergen 17:09, 2019 July 3 (CDT)

13:43, 2019 July 3 (CDT)


rolled out Ttenbergen 16:19, 2019 June 26 (CDT)


rolled out Ttenbergen 17:27, 2019 June 25 (CDT)


rolled out Ttenbergen 17:22, 2019 June 20 (CDT)


rolled out Ttenbergen 16:41, 2019 June 19 (CDT)


rolled out Ttenbergen 09:53, 2019 June 19 (CDT)


rolled out Ttenbergen 17:03, 2019 June 18 (CDT) Changes collectors will want to know about:


rolled outTtenbergen 13:26, 2019 June 13 (CDT)


rolled out Ttenbergen 10:35, 2019 June 11 (CDT)


rolled out Ttenbergen 13:20, 2019 June 7 (CDT) Changes collectors will want to know about:


was rolled 06-04 12:40ish


rolled out Ttenbergen 09:31, 2019 June 4 (CDT) Changes collectors will want to know about:


rolled out Ttenbergen 10:33, 2019 May 24 (CDT)


rolled out Ttenbergen 17:47, 2019 May 23 (CDT)


rolled out Ttenbergen 16:01, 2019 May 15 (CDT) Changes collectors will want to know about:

Changes I tried and took back out:

  • tweaked the input mask for times "Dispo" tab in Patient Viewer so you can enter single digits for hours or minutes
    • except I can't edit the minutes now for times with single digit hours so took this change back out.
  • sort dx drop by frequency
    • realized that to make this work the dropdown sorting would have become something totally chaotic; discussed with HSC collectors and we decided not worth it


rolled out Ttenbergen 09:26, 2019 May 15 (CDT)

  • updated Pharm_flow tab in Patient Viewer to accept manual edit of date, and so that the "*" button only puts a date, no time. Ttenbergen 09:26, 2019 May 15 (CDT)


rolled out Ttenbergen 17:14, 2019 May 14 (CDT) Changes collectors probably want to know about:

  • changed ICD10 Chooser form: on opening the focus is now in filter box so you can just start typing for the filter, but the form no longer refreshes (and requires a second click on the item) when you click out of the filter box unless you actually entered something in the filter


rolled out Ttenbergen 10:57, 2019 May 14 (CDT) Changes collectors should know about:

  • changed the DOB field so the input mask works (ie no need to type dashes), at expense of losing the calendar tool (in Access you can only have one). Emailed collectors about the reasoning behind this.
  • added "GRA_MICU" to Project Borrow arrive; needed to use the "GRA_ER" entry that was added some time ago.
  • tweaked ICD10 Chooser form so the first click into it no longer reverts to the top of the list.

Changes collectors probably don't need to read about:


rolled out Ttenbergen 11:37, 2019 May 13 (CDT) Changes collectors will likely want to know about:

  • Fixed the date fields so calendar entry works again; most recent change had accidentally disabled it. Ttenbergen 14:50, 2019 May 10 (CDT)
  • tweaked filtering on CCI Chooser form and CCI Pick Chooser form


Rolled out Ttenbergen 10:51, 2019 May 10 (CDT) Changes collectors will want to know about:

  • fixed the input masks for the date fields

Changes collectors probably don't need to know about:

  • deleted some old components that had been used for the old dx, como, lab schema


rolled out Ttenbergen 22:51, 2019 May 9 (CDT) Changes collectors will want to know about: Thanks for a good conversation with Joanna and other HSC collectors who brought forward a few good suggestions. Keep them coming, this is how your program gets better.

  • fixed problems on the CCI Chooser and CCI Chooser picklist forms ("?" button on CCI tabs)
    • changed order of items in drop down for filter in CCI Chooser to list Diagnostic, Therapeutic and imaging first, some oddballs last, and the rest alphabetic. Let me know if it needs tweaking.
    • fixed the filter listing duplicates after repeated fiddling with filter settings
  • disabled QAInf / QA Infection CLI / QA Infection VAP in S tmp table since this is now stored in CCI/ICD10
  • changed Patient List so the cursor/focus is on the patient picker binocular button when the form is opened, instead of the Pat ID field as before (there were reports of accidental deleting of the Pat ID with the old way)
  • updated "generate email" button to include Pat ID
  • fixed Query check ICD10 mechanism vs trauma that was not finding some errors (thanks for flagging that Michelle!)
  • fixed the misclicker colour problem in ICD10s (if you clicked outside of a box accidentally the row would be hidden by a coloured box)


rolled out Ttenbergen 13:43, 2019 May 7 (CDT)

  • changed ICD10 chooser form so the focus/cursor is in the filter field when you open the form.
  • Changed CCI Picklist and Component list chooser (comes up when you click ?) so focus is on filer field to start.
  • Pharmacy now lists in entry date order, was random order before


rolled out Ttenbergen 17:42, 2019 May 2 (CDT)


rolled out Ttenbergen 21:26, 2019 April 28 (CDT)


rolled out Ttenbergen 18:31, 2019 April 25 (CDT)


rolled out Ttenbergen 17:40, 2019 April 24 (CDT) Changes collectors will want to know about:

  • changed Pneumonia, NOS from a "Potential infection" to an "Infection requiring pathogen"

Behind the scenes change:


rolled out Ttenbergen 13:23, 2019 April 17 (CDT)


rolled out Ttenbergen 16:07, 2019 April 15 (CDT)


rolled out Ttenbergen 23:34, 2019 April 8 (CDT)


rolled out Ttenbergen 16:36, 2019 March 27 (CDT)


rolled out Ttenbergen 15:57, 2019 March 27 (CDT)


rolled Ttenbergen 12:33, 2019 March 27 (CDT)

  • tweak to the diagnosis cross checks, they were still trying to do things with the old form. Ttenbergen 12:33, 2019 March 27 (CDT)


rolled out last night. Ttenbergen 10:38, 2019 March 27 (CDT)

Changes collectors will want to know about:

  • renamed ICD10 diagnoses that had ", poisoning by non-pharmaceutical" to just ", poisoning" since there were too many exceptions otherwise
  • updated the Patient Viewer form to not tab to the DOB field when leaving the Notes field. (Thanks Debbie!)
  • changed Bronchitis, acute or chronic not specified, infectious or noninfectious to be a potential infection (Thanks Michelle!)
  • All 2018 patients have been sent, so:
    • disabled the old "Diagnoses" and "Labs" tabs; they will be fully removed at a later time; fixed up checkbox locations. Ttenbergen 18:43, 2019 March 25 (CDT)

Changes behind the scenes:

  • removed L_Dxs, L_Comos, L_Labs from
    • reconnector
    • db converter
    • sending
  • commented out all code in the Labs, Como, Dxs forms
  • removed query Check_ApARF_CRF
  • excluded some dxs from Query check ICD10 duplicates


rolled out Ttenbergen 17:58, 2019 March 20 (CDT)


rolled out Ttenbergen 13:42, 2019 March 20 (CDT)


rolled out Ttenbergen 13:23, 2019 March 13 (CDT)

Changes collectors will want to know about:

  • Sending will now disconnect from wifi at start of sending, and re-connect once sending is done. This was necessary because being on wifi significantly slows down and occasionally breaks some of the queries.

Changes collectors likely don't care about:


rolled out Ttenbergen 10:38, 2019 March 11 (CDT)

  • further tweaks to code that runs when tabbing out of Notes field.


rolled out

Changes collectors will want to know about:


rolled out Ttenbergen 10:33, 2019 March 7 (CST) Changes collectors will want to know about:


rolled out Ttenbergen 10:22, 2019 March 6 (CST) changes collectors will want to know about:

behind the scenes changes:

  • updated Function Reject_a_query to return true/rejected when the query fails to ensure fail safe; this way if a query fails the test will return an error. This will mean that if there are errors during cross checks or sending collectors will no longer think "but it allowed me to send" or "but it allowed me to check complete".


rolled out Ttenbergen 10:06, 2019 February 14 (CST)

Changes collectors will want to know about:

Behind the scenes changes:


rolled out Ttenbergen 09:37, 2019 February 6 (CST)


rolled out Ttenbergen 09:23, 2019 February 6 (CST)

Changes collectors will want to know about:

Changes behind the scenes:

  • updated overstay function to use function CCMDB_Age


rolled out Ttenbergen 22:54, 2019 February 5 (CST)

Changes collectors will want to know about

Behind the scenes changes

  • Updated query s_tmp_overstay_Dementia_adm_como
  • Updated Sub LabCheck() to still run on pt with Dispo DtTm < 2019-01-01


rolled about half an hour ago Ttenbergen 16:17, 2019 January 24 (CST) Changes collectors will want to know about:


rolled out Ttenbergen 08:26, 2019 January 24 (CST)


rolled outTtenbergen 13:56, 2019 January 23 (CST)


rolled out Ttenbergen 15:14, 2019 January 22 (CST)


rolled out Ttenbergen 15:42, 2019 January 21 (CST) Changes Collectors will want to know about:

  • updated Sending so it works again...

Behind the scenes changes:


rolled out Ttenbergen 09:37, 2019 January 21 (CST)

Just fixes this time.

  • fixed color generation for Overstay - updated query check_pt_from_pch
  • fixed IICU consult - updated query s_tmp_IICU_consult_DtTm
  • fixed "param" errors and missing queries- added code to resolve param if there is more than one.
  • tweaked pre-send Checker so it gives no-error msg again
  • resolved error in checking for duplicate patients.


rolled out Ttenbergen 09:45, 2019 January 17 (CST)

  • tweaked the new error coding further.
  • specifically, it was breaking overstay coding and giving some "param" errors - hopefully I caught all of those now.


rolled out Ttenbergen 23:21, 2019 January 16 (CST) Stuff collectors should care about:

  • hoping to make errors easier to find - errors launched by checkboxes will now also show the query that raised them, hopefully providing additional help in finding out what is wrong. - updated Function Reject_a_query_PatID to use parameters, and all queries to use parameters.
  • set Lung abscess so it can accept a pathogen - updated wiki page and s_ICD10_Categories table
  • updated cross check for IICU consult to have the checkbox work according to collection instructions (cross check was giving false positives) - updated Query s tmp IICU consult DtTm Ttenbergen 10:14, 2019 January 16 (CST)
  • fixed links in error messages that didn't use to open wiki pages - updated field in form data_integrity_check and function Err_hURLer
  • updated Pre-send Checker and Send button to make sure both run the same checks - moved Check duplicate patient from sending only to the code that runs from pre-send checker.
  • tweaked height of tab content again to hopefully eliminate scrolling.

Behind the scenes stuff:


rolled out Ttenbergen 10:35, 2019 January 15 (CST)

  • fixed the chart number sort in Patient List - this will help when you try to troubleshoot duplicate patients.
  • fixed false positive when there legitimately are no CCIs - update query check_CCI_if_no_then_none
  • tweaked the width of first and last name fields on Patient List further after additional request.
  • fixed sort order for magic wand in L ICD10 subform


rolled out Ttenbergen 10:58, 2019 January 14 (CST) Changes collectors will want to know about


rolled out Ttenbergen 10:17, 2019 January 14 (CST) Changes collectors probably want to know about:

  • fixed problem that required entry of comorbid dx for patients discharged before Jan 1 - deleted "query check_ICD10_has_comorbid" which was an evil twin of query check_ICD10_Comorbids_Dx_present
  • upped the font size of ICD10s and CCIs back up, and instead made those tabs and subforms much taller so they can show better on the external screens at least. This may mean scrolling in your CCMDB.mdb. Let me know how it works and we can tweak it further. ' - changed frame sizes in Patient viewer.
  • updated sort order for ICD10 tab to be Adm, acq, como on default, and when using magic wand button - updated L ICD10 subform

Changes collectors probably don't care about:


rolled outTtenbergen 13:33, 2019 January 10 (CST) Things collectors will want to know:


not rolled out yet Ttenbergen 10:06, 2019 January 9 (CST) Things collectors will want to know about:

Things collectors would only care about if things were not working right:


rolled out Ttenbergen 10:06, 2019 January 9 (CST)


rolled out Ttenbergen 14:22, 2019 January 3 (CST)

  • fixed uncheckable dx box (updated Sub Dx_Checker() so the colours for boxes that it relies on are initialized correctly as before)


rolled out Ttenbergen 16:05, 2019 January 2 (CST)


was rolled


rolled out Ttenbergen 08:15, 2019 January 2 (CST)