Pragmatic IT

IT Infrastructure and Software Development from the Customer's Perspective

Upgrade to Ubuntu 8.10 Intrepid

I upgraded my laptop (Lenovo x300) to Ubuntu 8.10 a few weeks ago. The rumour was that power management was better, and I was longing for a kernel that handled the sound on the x300 without a re-compile of the driver every time I updated the kernel.

The upgrade went smoothly, although it took a very long time. The default Ubuntu mirror for Canada seems to be very slow these days. (I’ve since switched to http://gpl.savoirfairelinux.net/pub/mirrors/ubuntu. It seems a lot faster.)

Two things I’ve had to work on. First, suspend and resume screws up the wireless until you add a line to /etc/pm/config.d/00sleep_module. First, you have to figure out which driver you’re using for wireless. Do
<blockquote style="font-family: courier new;">lshw | more
</blockquote>Look for the line that says “wireless” by typing “/wireless” to the more prompt. Then look for the next line with “driver” in it. In my case it says “driver=iwlagn”. So now edit the file and add the required line:
<blockquote style="font-family: courier new;">sudo gedit /etc/pm/config.d/00sleep_module
</blockquote>Add the following at the very end:
<blockquote style="font-family: courier new;">SUSPEND_MODULES=”iwlagn
</blockquote>The other problem was more mysterious. CBC Radio’s website wouldn’t play after upgrading to 8.10. It had worked for my in 8.04 after some fooling around, but I couldn’t get it to work. I had given up after wasting almost a whole day on the problem. After a few software upgrades, it started to work. For the record, I’m using gnome-mplayer to play Windows Media Player material. |

Unit Dose Roll-Out Part II

The machines we’re using to package the medications are the FastPak EXP from Automed (AmerisourceBergen). They have an awesome pre-installation support team. The front-end sales people were so-so – your mileage will vary, of course, depending on the region. The sales team was Western Canada; the pre-installation support is for all of Canada.

The machines themselves have a number of quirks. Nothing that can’t be worked around, but don’t believe that you won’t have to make any decisions yourself. Also, since we’re running three machines, we’ve written our own little database scripts to keep the data in the machines synchronized. There’s no way you should try to do it by hand, although I suspect that’s what most people do because the vendor doesn’t have anything to help.

The main competition to Automed are the Pacmed machines from McKesson. There are some differences between the two that will require a change to your extract or interface from whatever Pharmacy Information System you’re using. Nothing big, but in software even a small thing can cost a lot of money. It’s worth looking into the interface in detail if you’re looking at switching from Pacmed or running both in parallel.

Because we’re packaging all regularly scheduled oral solids (with some exceptions) we’ve found that our Pharmacy Information System wasn’t really set up to handle some of the scenarios. Our distribution model seems to be different from the typical hospital pharmacy, but I don’t have enough experience with hospital pharmacies to say if these challenges would generalize to other installations.

Successful Unit Dose Roll-Out Part I

We’ve begun to roll out a just-in-time unit dose medication distribution system at GF Strong, UBC and Vancouver General Hospitals. Just-in-time unit dose medication distribution increases patient safety by making it easier for nurses to do what they always do: provide quality care, including medications.

Nurses are loving the new approach. “You just saved me ten minutes”, “I really like it”, and a big two thumbs up are some of the comments I’ve heard as I provide go-live support on a pair of medical nursing units.

I’d say there are two major reasons why it’s going so well: First, the system is intrinsically good for nurses. Nurses are over-worked, under-paid, and totally committed to their patients. Anything that improves patient safety while making their job easier is going to be a hit.

The second reason is the excellent communication and training by our team of nurse educators. We have to train about 3,000 nurses. We started four weeks before the first units went live, and will continue up to the last go-live week in December. With four nurse educators giving a half-hour session, we’re reaching 100 percent of the nurses on most nursing units, and well over 80 percent on the rest.

On any future front-line health care projects I may do, I’m going to insist on the budget to adequately listen to and train the front-line health care providers. This has been so key.

I’ve been the project manager on this project for just over a year. It’s been a complicated, multi-faceted project with a lot of challenges. It’s totally satisfying to see a successful start to the roll-out. We’re phasing in nursing units for the next three months, so I’m sure there’ll be some challenges along the way, but it’s clear that we’ve got a winner.

Stay tuned for future posts about why this project is so successful, and what the challenges have been.

Bloat

According to this, in a test of browsers against media intensive sites, Microsoft Internet Explorer 8 takes more memory than Windows XP does (did). Bill (or Steve or whoever): That’s not what’s meant by the phrase, “the browser is the operating system.”

Synching a Dell Axim X30 with Ubuntu

I have an old (?) Dell Axim X30 PDA that I use mainly as an address book and MP3 player (I added a memory card so I can listen to podcasts while walking the dog). Now that Ubuntu is my primary desktop OS, I wanted to be synching contacts and sound files with Ubuntu.

The SynCE project has done this. The documentation is pretty good, but as usual I managed to make it hard for myself. Here’s what I did:

  1. Make sure the X30 is not plugged in to the computer
  2. <li style=\"font-family: courier new;\">sudo apt-get install synce-hal librra0-tools librapi2-tools</li>
  3. Plug in the device
  4. <li style=\"font-family: courier new;\">synce-pls</li>

The last line should show what’s in the top-level directory of the X30.

Note that I was already running kernel 2.6.24-19, so I didn’t have to rebuild the modules as described in the documentation. If your Ubuntu 8.04 is up-to-date, you’ll be running at least this kernel.

My problem: All the installation instructions warn you to blacklist the ipaq module if you have connection problems. So I went ahead and blacklisted it before I even started. Then I fumbled around for a few hours trying to connect unsuccessfully and searching for information.

The X30 only supports Windows Mobile 2003 Second Edition. I don’t know all the technical details, but I know it means it used a somewhat different protocol for connecting. In my search for answers, I found enough examples of people successfully connecting to X30s that I kept going. I also found enough references to the “old protocol” or “serial protocol” that I finally realized I should try allowing the ipaq module. I removed the blacklist and, presto, it worked.