Thursday, September 28, 2006

Automated Workflow Environments and EMR

Well, we work in the next era of software development, not only designing applications, but also developing systems that communicate with each other, thus participating in a workflow.

Automating this workflow through the seamless integration of these apps is a task that challenges many of the industries that we work in.

Automated Workflow Environments are those systems where multiple systems contribute, collaborate and communicate to enable a network of these apps to actually solve complex problems very efficiently, with no human interaction. You can call them Digital Ecosystems.

You can construct workflow nets to describe the complex problems that these systems efficiently solve. Workflow nets, a subclass of Petri nets, are known as attractive models for analyzing complex business processes. Because of their good theoretical foundation, Petri nets have been used successfully to model and analyze processes from many domains, like for example, software and business processes. A Petri net is a directed graph with two kinds of nodes - places and transitions - where arcs connect 'a place' to 'a transition' or a transition to a place. Each place can contain zero, one or more tokens. The state of a Petri net is determined by the distribution of tokens over places. A transition can fire if each of its inputs contains tokens. If the transition fires, i.e. it executes, it takes one token from each input place and puts it on each output place.

In a hospital environment, for example, the patient journeys and processes involved, show a complex and dynamic behavior that is difficult to control. The workflow net which models such a complex process provides a good insight into it, and due to its formal representation, offers techniques for improved control.

Workflows are case oriented, which means that each activity executed in the workflow corresponds to a case. In a hospital domain, a case corresponds with a patient and an activity corresponds with a medical activity. The process definition of a workflow assumes that a partial order or sequence exists between activities, which establish which activities have to be executed in what order. Referring to the Petri net formalism, workflow activities are modeled as transitions and the causal dependencies between activities are modeled as places and arcs. The routing in a workflow assumes four kind of routing constructs: sequential, parallel, conditional and iterative routing. These constructs basically define the route taken by 'tokens' in this workflow.

Well, enough theory, how does this apply?

Think of this in practical terms using the example of an EMR* or CPR* System or HIS* System:
• A patient arrives at a hospital/clinic for a consultation or particular set of exams or procedures.
• The patient is registered using key demographics, if new to the hospital. A visit or encounter record is created in the Patient Chart (EMR) - with vitals, allergies, current meds and insurance details.
• The physician examines the patient and orders labs, diagnostic exams or prescription medications for the patient possibly using a handheld CPOE*
• The patient is scheduled for the radiliogy exams using the RIS - radiology info system; samples and specimens are sent to the LIS - laboratory info system or HIS (hospital info system)
• The RIS or CIS or LIS or HIS sends notifications to the Radiology and/or Cardiology and/or Lab or other Departments in the hospital through HL7 messages for the various workflows.
• The various systems in these departments will then send HL7 or DICOM or proprietary messages to get the devices or modalities, updated with the patient data (observations, restrictions, prior history, etc.)
• The patient is then taken around by the nurses to the required modalities in the exam/lab areas to perform the required activities. There may be lab reflex orders created to complete the lab procedures.
• The patient finishes the hospital activities while the diagnosis and study continues in the background with the care teams; these entire datasets are coalesced and stored in rich structured reports or multimedia formats in the various repositories - resulting in a summary patient encounter/visit record in the Electronic Patient Record in the EMR database along with possible follow up future visits and prescriptions.
• There could also be other workflows triggered - pharmacy, billing [based on CPT codes], etc.
• The above is just the scenario for an OUTPATIENT or Walk-in; there are other workflows for INPATIENT - ED/ICU/other patients.

The key problems in this 'Automated Workflow Environment' are:

• Accurate Patient Identification and Portability to ensure that the Patient Identity in the EMR is unique across multiple systems/departments/clinics and maybe hospitals. The Patient Identity key is also essential to Integrating Patient healthcare across clinics, hospitals, regions (RHIO) and states.
• Support for Barcode/RFID on Patient Wrist Bands, Prescriptions/Medications, Billing (using MRN, Account Number [and Visit/Encounter Number] and Order Number), etc to enable automation and quick and secure processing.
• Excellent interfacing with all primary ADT, Orders, Results, Charges, Supply Chain Management, Medication dispensing systems, Provider database systems, Registries, Financial software and IT Management and Transaction Tracking systems
• Quick Patient data retrieval and support for parallel transactions
Audits and Logs for tracking access to this system
• Support for PACS, Emergency care, Chronic care (ICU / PACU), Long Term care, Periodic visits, point of care charting, meds administration, vital signs data acquisition, alarm notification, surveillance for patient monitors, smart IV pumps, ventilators and other care areas - treatment by specialists in off-site clinics, Tele-Health, refills at Pharmacies, etc.
• Support for Care Plans, Order sets and Templates, results' tracking and related transactions.
• Quick vital sign results and diagnostic imaging/reporting with role based access to appropriate patient data.
• Effective display of specialty content - diagnostic/research images and structured "rich" multimedia reports.
Secure and efficient access to this data from the internet (home, affiliate clinics, other facilities)  
Removal of paper documentation and effective transcription through support for digital scanning of old documents and accurate linking to the patient charts.
SSO-Single Sign On, Well defined Security roles, integrated Provisioning and Ease of use for the various stakeholders - here, the patient, the RN, physician, specialist, IT support, vendor maintenance, etc.
Seamless integration with current workflows with easy extensibility and support for updates to hospital procedures/processes/equipment/regulations.
Modular deployment of new systems and processes with a long term roadmap and strategies to prevent costly upgrades or vendor changes or technology limitations.
HIPAA, HL7, JCAHO/JCI and Legal compliance - an entire set of guidelines - privacy, security being the chief ones. HL7 compliance implies easy integration with other hospital/clinic systems. A hospital with HIMSS Stage 7 certification implies portable digital data end to end, with reduced paperwork and a seemless patient experience, without cumbersome physical documentation, with support for convenient online appointments, online patient results, online provider access,  online prescription refills, regulatory compliance, reduced error, etc.
• Efficient standardized communication between the different systems either via "standard" HL7 or DICOM or CCOW or proprietary.
• Seemless support for integration with a High speed Fiber network system for high resolution image processing systems such as MRI, X-Ray, CT, etc.
• A high speed independent network for real time patient monitoring systems and devices
• Guaranteed timely Data storage and recovery with at least 99.9999% visible uptime
• Original Patient data available for at least 7 years and compliance with FDA/regulatory rules.
Disaster recovery compliance and responsive resilient performance under peak conditions. Redundancy and Disaster Recovery implies that the system is easily recoverable without significant operational disruptions. Monitoring historic downtime trends and reviewing of downtime strategies apart from periodic verification of hot and cold recovery in off peak hours would ensure confident stress free adoption by the patient care teams.  
• Optimized, on demand and elastic data storage ensuring low hardware costs
Plug 'n' Play of new systems and medical devices into the network, wireless interference-free communication among the vital signs devices and servers, etc.
Location tracking of patients, providers and devices (RFID based) within the hospital
Centralized viewing of the entire set of relevant patient data - either by a patient or his/her physician
Correction of erroneous data and merging of Patient records.
• support for restructuring existing hospital workflows and processes so that this entire automated workflow environment works with a definite ROI and within a definite time period!
• Integration with billing, insurance and other financial systems related to the care charges.
• Integration with Business Intelligence systems for statistical comparisons, quality indicators, patient feedback, efficiency tracking, fraud prevention, epidemic prevention, anonymized research and reasonable prediction of outcomes. 
• Support for De-Identification or Anonymization for research studies.
Future proof and support for new technologies like Clinical Decision Support (CDSS) - again, a long term roadmap is essential.
Multi-lingual user interface and international data exchange possibilities
ROI: How does a hospital get timely returns on this IT investment?
  1. Minimization of errors - medication or surgical - and the associated risks
  2. Electronic trail of patient case history available to patient, insurance and physicians
  3. Reduced documentation and improvement in overall efficiency and throughput
  4. Patient Referrals from satellite clinics who can use the EMR's external web links to document on patients - thus providing a continuous electronic report
  5. Possible pay-per-use by external clinics/pharmacies - to use EMR charting/e-refill facilities
  6. Remote specialist consultation
  7. Efficient Charges, Billing and quicker settlements
  8. Better Clinical Decision Support - due to an electronic database of past treatments
  9. In the long term, targetted efficiency and essential innovation provides for better preventive care implying cheaper insurance and optimized treatment ensuring  fewer bills and reduced claim denials, thus leading to volume income, increased patient satisfaction with referrals to friends and relatives, providing long term sustainability in fiercly competitive environments and reducing state expenditure while improving care quality in socialist healthcare regions.
  10. Better compliance of standards and policies - HIPAA, JCI, privacy requirements, security 
  11. Reduced workload due to Process Improvement across departments - ED, Obstetrics/Gynecology, Oncology/Radiology, Orthopedic, Cardiovascular, Pediatrics, Internal Medicine, Urology, General Surgery, Ophthalmology, General/family practice, Dermatology, Psychiatry
  12. Improved Healthcare with Proactive/Preventive Patient Care due to CDSS.
  13. Efficient usage of Providers, Hospital Beds and Outpatient Devices/Resources through Predictive Planning using real time data and historic visit information - leading to improved outcomes for multiple patients receiving predictable and quality care in paperless and advanced medical centers. 
  14. Quality of Patient Care: A silent factor of a hospital's revenue is quality of patient care. One of the chief drivers of quality of patient care is the quality of information provided efficiently to the Physicians though which they can make those critical decisions.
  15. Performance Metrics or KPI's: Any hospital system needs efficient SMART goals that are periodically evaluated and improved upon:
    • Operational: Average Length of Stay/Volume Metrics, Time to service, Hospital Incidents/Infections, Patient Satisfaction, Physician performance, Patient readmission rate, Inpatient mortality rate, Operating Margin/Financial Metrics, Bed Occupancy Rate/Revenue Leakage Metrics/No-shows, Asset Utilization Rates/Inventory Turns, Service Requests
    • Server: CPU/RAM utilization report, (avg. time of disc transfer, I/Os per disc, Disc queues per spindle, average login time, average report display times, number of simultaneous users, Availability, Network Latency
    • Vendors: Service Requests, Incidents, SLA Response times
  16. Improved Emergency care through real time hospital preparedness, apart from reduced ambulance travel time
  17. Reduced Claims Denials: A hospital system that is well integrated and optimized for improved patient care, outcomes and experiences all the way from supplies procurement through optimal utilization, and with accurate documentation implying accurate fulfillment and accurate patient diagnosis and treatment processes (with the possible usage of Artificial Intelligence to feedback past/historical experience data into front end systems) finally leads to reduction in Claims Denials.
  18. Standards compliance: Innovative future-safe solutions need to be standards compliant since these standards are regularly reviewed by expert committees, vendors and regulators.
  19. Improved Community Health: Corporate Social Responsibility for regions implies better governance through reduced epidemics and better public health, mainly achievable through central health data repositories that receive realtime anonymized patient data from the various regional hospitals' EMR systems; the centralized health system in turn can provide alerts that prevent and restrict outbreaks in realtime apart from providing regional best practices and medication alerts to these subscribers.
  20. Customization and Adoption:  Technology or Innovation can only be as good as the customization involved for a seamless provider-patient experience. Too many clicks or screens can and will convert the clinical documentation task into painful detective work. The Digital Transformation of Healthcare when done right, has already proven invaluable (Epidemic detection and reduction, Standardized quality of care for common ailments, Knowledge base of Expert techniques, Well documented case histories, Anonymized Research for future improvements and life saving techniques, Medicare fraud prevention, Prevention of Insurance headaches and paperwork, Global digital access for patients to their prescriptions-records-scans-physicians, telemedicine, etc.). Over a reasonable time/effort, the healthcare system EMR would be customized to provide the best provider-patient interaction experience, similar to the pre-digital era. Experienced EMR implementation teams need to advise the best in class technology available for the requirements and demographics/economics involved.    
     
Now, the big picture becomes clear.

Doesn't the above set of requirements apply to any domain? This analysis need not be applicable only to a hospital domain, the same is true for a Biotech domain (where orders are received, data is processed, analyzed, and the processed data is presented or packaged). Similarly a Manufacturing Domain, Banking domain or Insurance Domain etc.

The need is for core engine software - based on EDI (Electronic Data Interchange) - that integrate and help in the Process Re-Engineering of these mini workflows securely and effectively and using common intersystem communication formats like X-12 or HL7 messages.

These Workflow Engines would be the hearts of the digital world!

Buzzwords:
*EMR - Electronic Medical Record
*CPR - Computerized Patient Record
*CDSS - Clinical Decision Support
*RHIO - Regional Health Information Organization
*CPOE - computerized physician order entry

Some of the information presented here is thanks to research papers and articles at:
*EMR Adoption Model
*Common Framework for health information networks
*Discovery of Workflow Models for Hospital Data
*Healthcare workflow
*CCOW-IHE Integration Profiles
*Hospital Network Management Best Practices
*12 Consumer Values for your wall

What about the latest IT trends and their applications in healthcare?

We already know about Google Earth and Google Hybrid Maps and the advantages of Web 2.0
The next best thing is to search the best shopping deal or the best real estate by area and on a hybrid map - this recombinant web application reuse technique is called a mashup or heat map.
Mashups have applications in possibly everything from Healthcare to Manufacturing.
Omnimedix is developing and deploying a nationwide data mashup - Dossia, a secure, private, independent network for capturing medical information, providing universal access to this data along with an authentication system for delivery to patients and consumers.

Click on the below links to see the current 'best in class mash ups'
*After hours Emergency Doctors SMS After hours Emergency Doctors SMS system - Transcribes voicemail into text and sends SMS to doctors. A similar application can be used for Transcription Mashup (based on Interactive Voice Response - IVR): Amazon Mturk, StrikeIron Global SMS and Voice XML
* Calendar with Messages Listen to your calendar + leave messages too Mashup (based on IVR): 30 Boxes based on Voxeo , Google Calendar
* http://www.neighboroo.com/ http://homepricerecords.com/- Housing/Climate/Jobs/Schools
* Visual Classifieds Browser - Search Apartments, visually
* http://www.trulia.com/ - Real Estate/Home pricing
* http://www.rentometer.com/ - Rent comparison
* http://weatherbonk.com/- Weather maps
* http://frucall.com/ - Free comparison shopping with your cell phone
* http://woozor.com/ - 10 days weather forecast - worldwide map
* http://www.liveplasma.com/ - Find matching music/movie based on "genre" in a visual way
* http://www.housingmaps.com/ - Rent/Real Estate/Home pricing - linked to Craigslist
* http://virtualtourism.blogspot.com/ - Google Maps + Travel Videos
* http://wheelof.com/lunch/ - Wheel of Zip Code based restaurants
* More sample links at this site (unofficial Google mashup tracker) http://googlemapsmania.blogspot.com/ includes some mentionable sites :
* latest news from India by map http://www.mibazaar.com/news/
* read news by the map - slightly slow http://lab.news.com.au/maps/v01
* view news from Internet TV by map - http://5tvs.com/internet-tv-maps/news/
* see a place in 360 http://www.seevirtual360.com/Map.aspx

What's on the wish list ? Well, a worldwide mashup for real estate, shopping, education, healthcare will do just fine. Read on to try out YOUR sample...
OpenKapow: The online mashup builder community that lets you easily make mashups. Use their visual scripting environment to create intelligent software Robots that can make mashups from any site with or without an API.
In the words of Dion HinchCliffe, "Mashups are still new and simple, just like PCs were 20 years ago. The tools are barely there, but the potential is truly vast as hundreds of APIs are added to the public Web to build out of".
Don also covers the architecture and types of Mashups here with an update on recombinant web apps

Keep up to date on web2.0 at http://blog.programmableweb.com/

Will Silverlight and simplified vector based graphics and workflow based - xml language - XAML be the replacement for Flash and JavaFX?

Well, the technology is promising and many multimedia content web application providers including News channels have signed up for Microsoft SilverLight "WPF/E" due to the light weight browser based viewer streaming "DVD" quality video based on the patented VC-1 video codec.

Microsoft® Silverlight™ Streaming by Windows Live™ is a companion service for Silverlight that makes it easier for developers and designers to deliver and scale rich interactive media apps (RIAs) as part of their Silverlight applications. The service offers web designers and developers a free and convenient solution for hosting and streaming cross-platform, cross-browser media experiences and rich interactive applications that run on Windows™ XP+ and Mac OS 10.4+. There is a Silverlight for LINUX too (Moonlight-Mono)

The new way to develop your AJAX RIA "multimedia web application" is - design the UI with an Artist in MS Expression Blend or Adobe Illustrator and mashup with your old RSS, LINQ, JSON, XML-based Web services, REST and WCF Services to deliver a richer scalable web application.