Projects, designs, and writings on health IT

Showing posts with label full-stack development. Show all posts
Showing posts with label full-stack development. Show all posts

2017-01-01

Harnessing Big Data to Count Calories in the ICU

This post on my nutrition project using the Board Rounds app appeared on the Penn Medicine blog 12/21/2016.



Harnessing Big Data to Count Calories in the ICU

do_medium
Feeling hungry is a signal from our bodies to our brains that we need fuel to be healthy. But some patients in the intensive care unit (ICU) with traumatic brain injuries or other complications are not able to express or even sense hunger. Often, these patients are connected to tubes that deliver enteral nutrition (EN), a liquid formulation of nutrients delivered to the GI tract.
EN has been shown to have a positive impact on the recovery process, from reducing infections to shortening the length of hospital stays to promoting faster cognitive recovery. But, EN is only beneficial if patients are receiving enough nutrients to counterbalance their energy expenditure – even immobile patients burn calories through normal biological functions like breathing and thinking. However, the average patient only receives about 50 percent of their daily calorie needs, meaning that many patients in the ICU are at risk for malnutrition.  That’s where David Do, MD, a software developer and Neurology resident at Penn, and his fellow researchers come in—they are working on software that will make it easier to track a patient’s nutritional needs and make sure they are getting enough daily calories to help them recover properly.
I sat down with Do to ask him a few questions about the software he is developing and how it will help patients.
Q: Why is nutrition so important for ICU patients?
A: Nutrition is actually a really important part of the recovery process for anyone who is sick. Think about it: even with the common cold, general treatment advice is to rest up and get plenty of food and fluids to help you heal. This is even more important for people who are critically ill and/or in the ICU. 
Patients who are underfed have a higher risk for muscular breakdown and have more trouble fighting off infections. Most of my patients in the Neurointensive Care Unit are in the hospital for a week or longer and in that time it's possible for serious nutrient deficiencies to occur that could ultimately impact the recovery process.
Q:  Why are some ICU patients under-nourished?
A: Normally, our bodies tell us when and how much we need to eat through our sense of hunger. But patients with brain injuries, swallowing malfunctions, or who are on ventilators, can’t tell us when they feel hungry. Instead, they have to rely on clinicians to deliver the right amount of nutrients through feeding tubes.
Q: What challenges to do care teams face when trying to ensure patients receive proper nourishment?
A: Critically ill patients have really complicated medical problems and care teams are often focused on these pressing issues. Unfortunately, sometimes this means that nutrition can fall to the bottom of the list of needs. To make things more complicated, each patient has different needs, meaning they need customized nutrition plans that often require complex calculations. Getting the nutrition levels correct can be challenging for clinicians who are balancing many complicated care needs for several patients. That’s why we created our Enteral Nutrition Calorimeter software—to make it easier for care providers to give patients the nutrients they need to support the recovery process.
nutrition_medium
Q: How does the software work?
A: This project is really about how we can leverage data that we already have through electronic medical records (EMR) to improve care. In the Calorimeter project, we designed custom monitoring software that tallies the patient’s intake and, based on the nutritional content of the feed, determines how many calories and grams of protein the patient has received. We then estimate each patient’s energy expenditure to determine who received enough. We use this data to provide constant feedback to clinicians by sending automated secure messages to the right person at the right time.
Q: What results have you seen so far?
A: Right now, we are going through the design phase. Our early investigations have helped us map out the obstacles to feeding. We even tried placing a clinician on daily rounds who was dedicated to optimizing nutrition, which improved feeding rates dramatically. While the extra attention may not be sustainable or scalable, we identified several barriers that are addressable through automated methods. We are working on crafting and testing messages to see what makes clinicians respond the most.  
Q: As a resident, how you were supported by Penn faculty to move this project forward?
A: The Neurology faculty have been tremendously supportive of this project, especially the Neurointensive Care faculty who were eager to help design and adopt our solution in their unit. Penn Medicine has become a great environment for interdisciplinary collaborations and innovations, especially for residents. Since I first arrived at Penn more than three and half years ago, I’ve seen a tremendous investment in infrastructure and technology that now allows us to rapidly build and test tech-enabled interventions and applications that will improve patient care. 
Do and his fellow researchers were recently awarded funding for their project through Penn’s Innovation Accelerator Program. Now in its fourth year, the Innovation Accelerator Program from the Penn Medicine Center for Health Care Innovation supports promising ideas from faculty and staff across departments and roles at the University of Pennsylvania Health System in their efforts to develop, test, and implement new approaches to care. This year’s program is co-sponsored by UnitedHealthcare.
The research team includes John Chandler, MD, Neurocritical Care Physician; Joshua Vanderwerf, MD, Neurology Resident; Jennifer McKenna, CNSS, Clinical Dietitian Specialist; Bethany Young, RN, Clinical Nurse Specialist; Susan Kennedy, CNSS, Clinical Dietitian Specialist; Kai Holder, Research Assistant; Davis Hermann, Design Strategist, and Diane Dao, Innovation Intern


2016-04-06

Handbook Publisher

9:58 PM Posted by David, MD , No comments

Introduction

Medical providers often use quick-reference handbooks that are specific to their hospital or specialty. Handbook Publisher is an open source app that offers wiki-style editing and sharing of content. It is built with a front end framework for a lag-free experience.

I built this to publish content written along with several colleges about acute stroke management. This tool could be useful for institutional branding.

This project is open source
https://github.com/davehdo/handbook-publisher

Technologies

Rails 4
Angularjs
MongoDB

Screenshots






2016-01-09

Simple problem list

9:06 PM Posted by David, MD , , No comments

Introduction

Tools for physician workflow (e.g. "signout" and "handoff" applications) often neglect the fact that actionable items are tightly associated with plans and problems. Here I designed a Problem List app where problems are identified for billing and other purposes, and items with square brackets are interpreted as checklist items. Using a simple markdown language prevents users from having to update information in two places.

This project is open source: https://github.com/davehdo/simple-problem-list 

Features

  • a simple markdown language with two-way binding produces interactive checklists that automatically convert [] to [x] and vice versa
  • client side framework gives a seamless experience without pauses for loading

Future directions


  • version control and conflict management for multiple users
  • allow users to assign ICD codes to problems using autocomplete

Technologies

  • Backbone.js 
  • Twitter Bootstrap


Below is the user interface for entering the plan in free text. 

After saving, problems are considered separately and actionable items are pulled to the checklist on the side.

After plans are set for the day, actionable items can be seen and checked off from a list view.




2015-05-24

Agent - EMR data straight to your phone

11:14 AM Posted by David, MD , , , No comments

Introduction

Agent is a project I am leading at the Hospital of the University of Pennsylvania. Healthcare providers who directly interact with patients can use this app to receive up-to-the-minute results through Push Notifications. 

Aside from streamlining workflow, the Agent platform offers the ability to improve care by delivering targeted notifications based on data. Interventions that would have previously required extensive IT resources to build can now be implemented and tested in a week's time.

Examples of how this can be applied:
  • Antibiotics medications often expire without provider awareness, leading to missed doses. Agent alerts providers when it's time to renew a medication.
  • Previously there was no automated notification for when patients arrive on the floor. Agent ensure providers are aware so patients can be seen immediately.

The possibilities are limitless. The goal of Agent is to create an environment where people can design, test, and iterate on process improvements. This is where Agile Development meets medicine. 

Agent Landing Page

We needed a way to communicate to administrators the benefits of the new technology to gain support. We also needed a way to onboard beta testers with email confirmation and a survey.

Components

Blog
Multistep sign up process with email confirmation, survey

Technologies

Ruby on Rails
simple-rss gem
CSS
jQuery












2014-09-21

Fit For Care: the impact of social networking on exercise.

I started a program at The Johns Hopkins School of Medicine with several other classmates to evaluate the impact of social networking on exercise. The project included building a social networking website where users could log in weekly to update the number of minutes they exercised. We obtained IRB approval and enrolled 160 medical students in the study. We published our results in Southern Medical Journal.

Impact of a Fitness Intervention on Medical Students
Amanda Morris, MD, David Do, BS, Rachel Gottlieb-Smith, BS, Julie Ng, BS, Amit Jain, MD, Scott Wright, MD, Robert Shochet, MD
South Med J. 2012 Dec;105(12):630-4

Source Code

Available upon request

Specific Challenges

  • Provide a frictionless interface where users could log in to track the number of minutes they exercised each day
  • Allow users to self-assign teams and see the progress of their teammates
  • Allow users to visualize the progress of their own teams compared to other teams.
  • Share nutritional tips

Technologies

Ruby on Rails

Publications

http://sma.org/southern-medical-journal/abstract/2012/1200/impact-of-a-fitness-intervention-on-medical-students/

2014-09-16

Smart Watch Assistant for the Elderly

9:57 PM Posted by David, MD , No comments
Project for Penn Apps X Hackathon 9/12-9/14/2014

This project is open source

Dashboard (Web App): https://github.com/davehdo/felldown
Pebble Source Code (C): https://github.com/Abhipray/HelpiFell
Collaborators: Abhi S (Rice), Lily W (Rice), Jen C (UT), Yevgeniy G

Introduction

We built a "Safety Alert" watch for the elderly. In addition to a "panic" button, however, we utilized the smart watch sensors and user interactions to track metrics that give doctors and caregivers more insight into the unseen. While there are plenty of health tracking devices and apps available, I wanted to target neglected metrics that are more relevant to clinical decision-making than, say, steps. 

For example:
  • falls
  • missed medications
  • hours of sleep
  • daily weights (for people with failure to thrive or heart failure)

The elderly often have falls at home due to poor vision, diminished sensation in the feet, and slow reaction time. These falls can go unnoticed but the number of falls an elderly person has at home can make them at higher or lower risk for intracranial bleeds, especially when taking a blood-thinning medication. 

Falls in the elderly are a huge cause of morbidity, costing $30 billion/yr. Falls lead to intracranial bleeds and broken bones. Hip fractures in particular have morbidity. One in five hip fracture patients over 65 die within 1 year of injury (http://www.cdc.gov/homeandrecreationalsafety/falls/fallcost.html).

The Solution

A Smart Watch that detects falls, alerts family members, and gives a live view through a web dashboard. The dashboard highlights several key metrics for doctors. This watch is designed for users over age 65 who live alone or spend part of the day unsupervised. Additionally, family members can track the events in a dashboard.

Technologies Used

Pebble Watch, C, Ruby on Rails 4, Twilio API, Sendgrid API




2014-09-02

Rolodoc: a dynamic consultation directory for hospitals

4:40 PM Posted by David, MD , , 1 comment
Notes on a project I started at the Hospital of the University of Pennsylvania, now being used by providers in all departments.

The Problem

The hospital paging system was decades obsolete. In order to contact the on-call person for any specialty service, one had to dial the operator, wait on the telephone, and eventually be forwarded to a number, which was often the wrong one. (Not to mention they were still using beepers.) One had to go through this process several times throughout the day.

The Solution

Design a mobile app that contained a list of the people on call, and updated daily, allowing people to make calls directly from the app.

The project included a schedule API that would serve the calendars for all the services.
  • Tranquilapi (source code available upon request, still need to abstract away some hardcoded passwords)

And the app itself, which was a mobile-friendly website that used the API
  • Pennrolodoc.com (source code available upon request)

This system was quickly adopted without much publicity and is now used by all physicians in the hospital

Specific Challenges

  • Gathering many disparate schedules and scraping the data from different systems (COAST, Amion, Webexchange)
  • Ensuring the data are secure by whitelisting the IP addresses used by the hospital, and using logins for users outside this wall
  • Allowing people to override the schedule if it was incorrect
  • Accounting for missing data (some schedules would only list people on the very first day of their 2-week blocks, implying they were on the entire week)
  •  Making the app feel fast despite relying on remote data (using backbone.js framework to generate pages client-side, using jQuery mobile for a better mobile experience)
  • Getting backbone.js to play nicely with jQuery mobile (a non-trivial task given they both want to handle hash routing)
  • Being compatible with IE7 (which hospital computers use)

Technologies


Ruby on Rails, Javascript, jQuery mobile, backbone.js, devise for authentication




Usage Statistics

3/2015 Update: 5605 usages per week (Mar 8-14 2015)
1/2016 Update: Over the past 12 months, we have continued to grow
78,653 calls placed directly from the app (215 per day)
40,182 text pages sent direction from the app (110 per day)
747,961 pageviews across 198,016 unique devices (2,049 pageviews across 543 unique devices per day)







10/2017 Update

We're still seeing growth after year 4 




2014-08-10

Scheduler: A housestaff compliance tool

6:33 PM Posted by David, MD , No comments

I built this with Eugene Gitelman in 2014 at the Hospital of the University of Pennsylvania.

The Problem

Scheduling hundreds of residents in two-week rotations can be difficult. There are duty-hour regulations (80-hour work week, 16-hour maximum shift for interns, 28-hour maximum for residents), and there are practical problems, like missing a day when transitioning from night shift to day shift. Formerly, 4 internal medicine chiefs spent 4 full-time weeks building and checking the schedule.

The Solution

Scheduler grabs the schedules from amion and systemically checks for violations to the multitude of rules. This was implemented in July 2014. Now, the chiefs have real-time duty-hour violations checking and they are approaching zero scheduling errors.

Technologies

Ruby on Rails