Category Archives: medicine

Use of reactive documents to illustrate basic epidemiological calculations and Bayes theorem

These are some interactive, reactive documents I wrote to help students understand some basic epidemiological/statistical calculations. (Source on github) These documents make use of the excellent tangle and D3 libraries.

Posted in medicine | Comments Off

Query for medications containing acetaminophen

Hepatotoxicity due to excessive acetaminophen exposure and idiosyncratic drug reactions are now the most common causes of acute liver failure in the United States, surpassing liver failure from viral hepatitis [1-2]. A lack of awareness for how frequently acetaminophen is … Continue reading

Posted in medicine | Comments Off

Real time tracking of symptoms for research and clinical support

A need that comes up in both research and clinical practice is a way to track in as close to real-time as possible various self-reported measures. In the literature, this capability is usually referred to as ecological momentary assessment. For … Continue reading

Posted in android, medicine | Comments Off

Real-time tweets containing the word ‘overdose’

Here is a reasonably real-time feed of Twitter comments (“tweets) containing the word ‘overdose’, with a query performed about every 5 seconds. Usernames have been stripped off (some usernames contain the word ‘overdose’ so it’s possible you won’t see the … Continue reading

Posted in medicine | Comments Off

Visualizing methamphetamine use in San Francisco Bay Area

I wrote some tools in Javascript and Python to track and visualize a few aspects of close-to-real-time methamphetamine use in the San Francisco Bay Area. You can see all the tools here. Disclaimer: the intent here is just to demonstrate … Continue reading

Posted in medicine | Comments Off

Simple clinical reasoning using Kanren

Here’s an example of construction of a tiny ontology and use of a particularly robust logic programming system — Dan Friedman and Oleg Kiselyov’s Kanren and a functional language like Scheme: These are trivial examples. However, very sophisticated systems can … Continue reading

Posted in medicine | Comments Off

PDF MD Encrypt for Android

This app creates and emails an (optionally encrypted) PDF file from your Android phone/device. Potentially useful for physicians and other professionals, this allows you to communicate in a secure manner with patients. For example, you can easily jot down instructions … Continue reading

Posted in android, medicine | Comments Off