Creating a WebOS application for Drug information search
Posted Sep 14 2009 10:22pm
Doctors may be hesitant to adopt the Palm Pre since it runs on WebOS and there isn’t any native drug reference available yet. You could install Epocrates in the Classic PalmOS emulator but you don’t get to enjoy the full screen view in Classic. While there are online drug references including Epocrates mobile, bookmarking these and then performing searches can get a little cumbersome. Gaurav (aka gfunkmagic) in the Precentral forums requested an Online Drug Reference App. I thought this is an interesting idea, and even with my limited knowledge of WebOS programming, I managed to cook up a simple Drug search WebOS application with options to look up drug information quickly in multiple sites (drugs.mobi, epocrates and mims usa). The search results are presented in Webview within the application rather than a separate browser as I believe it solves to some extent the problem of having to zoom in the page if the text is not large enough (especially for drugs.mobi). Here are some screenshots of this app in development:
Searching for Crestor:
Result in drugs.mobi:
Result in epocrates:
Using the back gesture, one can quickly go back to the Search page and select another formulary to perform the same search. This way one can counter check drug information from various sources quickly. In the absence of a native WebOS drug application, this might be a useful interim solution for some of you. If you want to look at the source code and perhaps load the ipk, check out the thread in PreCentral. This app might later be uploaded to Drugview is now available in the PreCentral Homebrew Catalog.