Login  |  Register  
Databound Healthcare Solutions
  Friday, May 24, 2013
 
 Discharge and Pre-Reg of Recurring Outpatient Accounts

This script spotlight was submitted by Ron Powell from SUNY Upstate in Syracuse, NY.  Ron also co-presented the process at Innovations '09 with Carol Maier.

This process retrieves a series of adhocs that identify all open recurring patient accounts with a specific hospital service.  Then the patients are discharged and pre-registered, and orders from the discharged cases are copied to the new pre-registered cases. 

This process demonstrates the use of many of EMUE's features including...

  • GotoScript to separate configurations from the logic script for easier maintenance
  • Date processing commands for calucating the last day of the month
  • SETRUNTIME commands to change configurations at runtime
  • Email notifications indicating success or failure

This process starts off with a script that is scheduled to run at 1:30 a.m. on the last business day of the month. The script runs six adhoc reports that identify all open recurring accounts with a specific hospital service.

Then there are a series of six scripts that start and use the adhoc reports as input. Each of these scripts uses the GOTOSCRIPT command to direct processing from the configuration script to the logic script. This allows each of the scripts to share the same logic script, but have separate configuration scripts. With this setup, there is only one logic script to maintain.

Each of the configuration scripts (based on service) passes the name of its adhoc and the name of its successor script to the main discharge and re-registration logic script.

The main logic script "DSCHPREALL" searches for the newest version of the requested adhoc. When it find the report, it loads account numbers into a list. It then processes each account through a custom built pathway that discharges recurring patient with a month-end date, pre-registers them with a first of the next month date, then copies orders from the discharged case to the pre-registered case.

After processing all of the accounts loaded from the adhoc, email notifications are sent to notify of success or failure. These e-mails have output logs attached.

As the DSCHPREALL script concludes, it calls the next service-specific script using the name passed to it by the previous service specific script and processes the next hospital service through the main logic script.

The process goes through six iterations. The last service script passes a blank value for "NextScriptName" which tells the DSCHPREALL script that we are done processing and it should not call another script.

 

Find out more about EMUE:

 If you would like to find out more about EMUE or to schedule an online web-based demo, click here

Download the Script:

     If you are already a script library member, click here to download the script.  (Login required)

     If you are a Siemens SIGNATURE® or INVISION® client, and not yet a member of the script library you can click here to join for FREE and have unlimited access to this script plus over 80 more! 

  

Online Interface Express™ (OLIE), SIGNATURE®, INVISION®, Soarian®, and Med Series4®  are trademarks or registered trademarks of Siemens Medical Solutions, USA Inc.

 Copyright 2000-2011 by Databound Solutions, Inc Databound Solutions  |  Terms Of Use  |  Privacy Statement