Sending Patients: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
(→‎Data Collector Sending Frequency: removed end of shift part which is no longer true w STB sending. Added explanation about not cutting it close with sending.)
 
(128 intermediate revisions by 16 users not shown)
Line 1: Line 1:
'''Sending Patients''' is the process of using the [[CCMDB.mdb]] to export the data collected patients that has been [[final checked]] to the [[Output for TMSX and MedTMS#Data Format |format]] that can be imported into [[TMSX]].  
Data collectors "send" the data from [[CCMDB.accdb]] to [[Centralized_data.mdb]] and [[PHI.mdb]].


== Wednesday is the weekly sending day ==
== Email Notification to suspend sending ==
The day to send data is Wednesday.
At times, there are unexpected issues with the main database.  Main office notifies staff by email to suspend sending operations and will send an updated email when the problem is resolved.  '''It is important that Collectors check their email at the beginning of each shift AND before sending.'''


If for some reason you cannot send in on a '''Wednesday''', you '''must''' call Pagasa [[Data Processor]] '''prior to sending''' data on any other day of the week.  
==Data Collector Sending Frequency==
{{:Designated sending times}} <!-- edit at [[Designated sending times]] -->
*'''Do not send outside these hours''' unless requested by main office.
*'''Don't cut it close''' - if you have come really close to the end of the send window and might not '''finish sending''' before the window closes, just don't send and let Pagasa know. If you are still sending while Pagasa [[pull]]s the data we get discrepancies that need to be resolved. It's easier if we just know you didn't get to it and can organize to have you send later if needed.
*At each send, [[Minimal Data Set]] applies.


We are continuously working with these files on the Regional Server.  In order not to lose any of the data files, the [[Data Processor]] must make sure that we close out of these files before you send in data on any other day of the week.
== Ongoing preparation during collection ==
== Ongoing preparation during collection ==
Whenever you complete collection for a patient, [[Final Check]] them. This runs some routines to check the data and marks the patient for export during the next send.  
Whenever you complete collection for a patient, set the [[RecordStatus field]] to "complete". This runs some routines to check the data and marks the patient for export during the next send.  


At any point during collection you might want to run the [[Pre-send Checker]] to find errors in your data. This will check on some of the data that we send for patients even if they are not final checked. If you run this occasionally during your collections then your chances of running into errors when you are ready to send become less.
At any point during collection you might want to run the [[Pre-send Checker]] to find errors in your data. This will check on some of the data that we send for patients even if they are not final checked. If you run this occasionally during your collections then your chances of running into errors when you are ready to send become less.


== Sending Data ==
== Sending Data ==
To send:
* run [[News and Backup]] so you have a backup with the most possible information & also the latest [[CCMDB.accdb]]
**NOTE: News and backup does not update the master database.  Only the action of ''sending'' does.
* check that all patients whom you want to send have the [[RecordStatus field]] set to "complete" in the [[Patient List]]
* click the Send Records button
* click "OK" and put in your [[initials]] (see that article on information to default the initials to your own)
* After sending is complete, exit out of [[CCMDB.accdb]] and run [[News and Backup]] once again to create a backup of the patients files now remaining in your [[CCMDB data.mdb]].


To send on [[#Wednesday is the weekly sending day | Send Day]]:
== Deleting Sent Patients ==
* run [[News and Backup]] so you have a backup with the most possible information
* profiles should be deleted the next shift that the collector works, you can delete sent patients (who now have "sent" in their [[Record field]]) by pressing the '''[["Delete Sent Patients" button]]'''. The program tells you how many rows are being deleted.
* check that all patients whom you want to send are both complete and [[Final Check]]ed in [[Patient List]]
* For PHIA reasons you should not keep "sent" patient records on your laptop.
** {{discussion}} they don't technically have to be set to "complete" for the send to be successful. Should we take that out, or are there collection reasons to require this? [[User:Ttenbergen|Ttenbergen]] 11:26, 15 October 2010 (CDT)
* click the Send Records button
* enter [[batch number]] which is one higher than the last batch sent
* click "OK" and put in your [[intials]] (see that article on information to default the initials to your own)
* format Column Autofit, click,  discharges not sent will come up false, click on G and type reason not sent
* exit and say yes to save all
* We keep a record of batches sent by printing the [[Sent Report]] from ACCESS after sending which lists serial numbers and names of the patients in the sent file. Write at the top of the sheet the batch number and date sent.  This sheet gets filed in a folder for future reference.
**{{discussion}} who is "we", is this done the same way everywhere, and does this need to be printed and saved at all? If it is optional, details should be listed here [[User:Ttenbergen|Ttenbergen]] 11:26, 15 October 2010 (CDT)
* check your output data immediately after sending to make sure it is on the regional server, i.e. the corresponding folder will open automatically. filenames in the output folder are automatically generated by Access following the [[sent files naming conventions]]; if the file is not there, contact [[Tina Tenbergen | Tina]] or [[Trish Ostryzniuk | Trish]]
**{{discussion}} How ''often'' does a file not get across properly? Is this worth checking each time? If so, I should change the send function in CCMDB.mdb so the file gets opened automatically... But: if this is '''rare''' we should not clutter the process. I think this question will require input from Trish... [[User:Ttenbergen|Ttenbergen]] 11:26, 15 October 2010 (CDT)
** do not call Pagasa to check for you, if you can see it, it's there
* if the output checked out OK you can [[Delete Final Checks]] by pressing the "Delete FinalChecks" button. The program tells you how many rows are being deleted.
* run [[News and Backup]] once again to create a backup of the patients files now remaining in your data/ccmdb.mdb.


== Paperwork ==
== What happens when patients are sent ==
Paperwork is sent through the interhospital mail (MCL) and arrive with 1 to 2 days after electronically sending in the CSV files to the [[Regional Server]].
See the "Sending" module in [[CCMDB.accdb]] itself for info on what happens when data is sent.
As of 17:18, 2015 April 30 (CDT) the order of steps inside the process is as follows. Listed here to help in troubleshooting.
* check for previously completed (ie no longer incomplete) records, quit if any found
* send [[centralized_data.mdb]]
** update, then append
** delete then update the other [[L-tables]]
** append new [[L-tables]]
* send phi xls
* set [[RecordStatus field]] to sent in local [[L_Log table]]
* set [[RecordStatus field]] to sent in [[Centralized data.mdb]]


The following forms are sent:
== Error messages during sending ==
* TISS
Occasionally you will get an error during sending and Access will start an email message for you to send to the office.
* Green Sheets
* the previous months log sheets are sent with the first envelope of the new month


==Historical:Filtering for complete patients==
'''Short version''': when an error generates an email, please do send us these emails, even if it seems like sending went through. '''You don't need to delay going home after you send that email, further communication about this can happen at the next shift.'''
Historically the following used to be part of the send process:
* Click "Edit Patients"
* Click on the filter button (looks like a funnel/filter/wine glass) to review only profiles marked complete
This was required because data in ccmdb.mdb would get wiped out at each sync, so you would only want to fix those patients you were sending right now. To make it easy to identify these, there was a filter that would show only patients who had the record field set to "complete". This filter used to be triggered using the filter button on the [[Patient Viewer]] form.  
Note that this button does '''not filter for Final Checked patients''', it filters for patients who are set to complete.


'''Long version''': We have suspected for some time that there are occasional glitches during sending that are not evident from looking at the data. The send process still completes, and the records are still set to "sent", but not everything is getting to the centralized repository as it should. So, we changed our program to trap more errors and to make it as easy as possible to pass them on to us. We need those emails to understand the patterns of these problems, even if all the data is sent, to find out how common these problems are and whether we need to change the program and/or our processes further to prevent the underlying problem. Most of the time Pagasa will check and let you know that all was sent correctly and you can delete the data.
You do not necessarily need to wait around after you send the email, just don't delete the batch of data you sent. If something went wrong with it, next day re-send will usually be quick enough. So, really, sending this email should not add to your time spent, so there is no reason not to send it.


== Checks hat people are sending inside the [[Designated sending times]] ==
[[CFE]] query ''Sending_at_wrong_time'' will show who sends out of the [[Designated sending times]].


== What happens when patients are sent ==
== Related articles ==  
The data below may not be up-to-date, check the actual ''Sending''' module in the current CCMDB.mdb for the routines used in sending.
{{Related Articles}}


[[CCMDB.mdb]] does the following things in this order when sending:
# a check is run to see if the [[Regional Server]] is accessible
# ensure that the location and program are consistent, i.e. a CC location must end in "CU"
# [[Tmp_Checker]] makes sure that entries in L_TmpV2 are acceptable
# the [[Output for TMSX and MedTMS | output file]] for import into [[TMSX]]/MedTMS is generated
# generate [[Hosp_ward_pending.xls]]
# data is dumped into [[PDA_Pending.mdb]]
# [[PDA Status.csv]] is generated, and excel is opened to edit it to explain why discharged patients are not sent
# Output Databases
## open DBs
## data dumped to [[Greensheets.mdb]]
## data dumped to [[TASKS.mdb]]
## data dumped to [[TmpV2_1.mdb]]
## close DBs
# the [[Sent Report]] is displayed
# File explorer is opened to Regional Server\Output\<Hosp>_<Ward> to confirm files were sent


[[Category: IT Instructions]]
[[Category: IT Instructions]]
[[Category: Data Collection Guide]]
[[Category: Data Collection Guide]]
[[Category: Sending]]
[[Category:Laptop identifier]]

Latest revision as of 10:22, 2022 June 3

Data collectors "send" the data from CCMDB.accdb to Centralized_data.mdb and PHI.mdb.

Email Notification to suspend sending

At times, there are unexpected issues with the main database. Main office notifies staff by email to suspend sending operations and will send an updated email when the problem is resolved. It is important that Collectors check their email at the beginning of each shift AND before sending.

Data Collector Sending Frequency

Because the Data Processor needs dedicated access to Centralized_data.mdb the time during which collectors are able to send is limited as follows:

  • when working from hospital site: Monday to Friday 14:30-18:00
  • when working from home: Monday to Friday 07:00-09:00
  • Do not send outside these hours unless requested by main office.
  • Don't cut it close - if you have come really close to the end of the send window and might not finish sending before the window closes, just don't send and let Pagasa know. If you are still sending while Pagasa pulls the data we get discrepancies that need to be resolved. It's easier if we just know you didn't get to it and can organize to have you send later if needed.
  • At each send, Minimal Data Set applies.

Ongoing preparation during collection

Whenever you complete collection for a patient, set the RecordStatus field to "complete". This runs some routines to check the data and marks the patient for export during the next send.

At any point during collection you might want to run the Pre-send Checker to find errors in your data. This will check on some of the data that we send for patients even if they are not final checked. If you run this occasionally during your collections then your chances of running into errors when you are ready to send become less.

Sending Data

To send:

  • run News and Backup so you have a backup with the most possible information & also the latest CCMDB.accdb
    • NOTE: News and backup does not update the master database. Only the action of sending does.
  • check that all patients whom you want to send have the RecordStatus field set to "complete" in the Patient List
  • click the Send Records button
  • click "OK" and put in your initials (see that article on information to default the initials to your own)
  • After sending is complete, exit out of CCMDB.accdb and run News and Backup once again to create a backup of the patients files now remaining in your CCMDB data.mdb.

Deleting Sent Patients

  • profiles should be deleted the next shift that the collector works, you can delete sent patients (who now have "sent" in their Record field) by pressing the "Delete Sent Patients" button. The program tells you how many rows are being deleted.
  • For PHIA reasons you should not keep "sent" patient records on your laptop.

What happens when patients are sent

See the "Sending" module in CCMDB.accdb itself for info on what happens when data is sent. As of 17:18, 2015 April 30 (CDT) the order of steps inside the process is as follows. Listed here to help in troubleshooting.

Error messages during sending

Occasionally you will get an error during sending and Access will start an email message for you to send to the office.

Short version: when an error generates an email, please do send us these emails, even if it seems like sending went through. You don't need to delay going home after you send that email, further communication about this can happen at the next shift.

Long version: We have suspected for some time that there are occasional glitches during sending that are not evident from looking at the data. The send process still completes, and the records are still set to "sent", but not everything is getting to the centralized repository as it should. So, we changed our program to trap more errors and to make it as easy as possible to pass them on to us. We need those emails to understand the patterns of these problems, even if all the data is sent, to find out how common these problems are and whether we need to change the program and/or our processes further to prevent the underlying problem. Most of the time Pagasa will check and let you know that all was sent correctly and you can delete the data. You do not necessarily need to wait around after you send the email, just don't delete the batch of data you sent. If something went wrong with it, next day re-send will usually be quick enough. So, really, sending this email should not add to your time spent, so there is no reason not to send it.

Checks hat people are sending inside the Designated sending times

CFE query Sending_at_wrong_time will show who sends out of the Designated sending times.

Related articles

Related articles: