Stand With Haiti

Stand With Haiti

Friday, April 17, 2009

Walk MS 2009: Part 1

In a few weeks (Sunday, May 3rd 2009), Megan and I are going to be participating in the 2009 MS Walk in Madison, WI. I’m blogging to ask you all for a donation (of any size) to help in the fight against Multiple Sclerosis. Last year, with your help, we raised: $2500.00. Not bad for our first year.

But this year we want to double that. For the mathematically challenged, that means we're looking to raise a whopping:

$5000.00

So please help us achieve this goal by
making a tax-deductible donation to the National Multiple Sclerosis Society! Any amount will help. Give $1, $5, $10, $20. Every dollar counts.


Thank you for your support,

Justin and Megan


Some useful links:


Friday, April 10, 2009

On MySQL Being Confused

So I've been using MySQL Query Browser and Administration Tools for years now and I've never been able to figure this one out. I have a user ('openmrs') that was created within the Administration tool and granted all privileges to the 'openmrs' schema on all possible hosts ('openmrs'@'%', 'openmrs'@'localhost', 'openmrs'@'127.0.0.1'). I have verified that the 'openmrs' user can connect to the 'openmrs' schema via the MySQL command-line client and the Query Browser. Yet, the 'openmrs' user used to connect to the database via JDBC within the OpenMRS webapp cannot connect. What gives? I keep getting the following error:


Attempted reconnect 3 times. Giving up.
Could not connect to database using url 'jdbc:mysql://localhost:3306/openmrs?autoReconnect=true&sessionVariables=storage_engine=InnoDB&useUnicode=true&characterEncoding=UTF-8', username 'openmrs', and pw '*******'. Connection properties can be set with runtime property: 'connection.username', 'connection.password', and 'connection.url'


I'm guessing there might be a mismatch between the mysql.db and mysql.user table that is causing the confusion. I have a workaround, but I really want to know what's going on inside MySQL's brain. For those interested, here's the simple workaround.


grant all on openmrs.* to openmrs;

Saturday, March 28, 2009

On the Dataset Builder

I wasn't sure how to incorporate these mockups into the Dataset Builder Project page on the OpenMRS.org wiki, so I've uploaded them to scribd.com and posted them to my blog. At some point, I'll work on getting these converted to Balsamiq, but for now they will just have to remain as scanned paper mockups.

NOTE:This is just a rough draft. I'll clean this up when I get a chance. Oh and it would be great if someone could tell me how to embed HTML into mediawiki.

Create a Patient Dataset

Dataset Builder - Create a Patient Dataset


Create an Encounter Dataset (v1.1)

Dataset Builder - Create an Encounter Dataset (v1.1)

Create an Observation Dataset

Dataset Builder - Create an Obs Dataset (v1.0)

Create an Encounter Dataset

Dataset Builder - Create an Encounter Dataset (v1.0)



Examples of Datasets


Dataset Viewer - Dataset Examples


Create a Dataset (v1.0)


This is an early version of the Dataset Builder (circa 2008). Not too many features. You add some columns, choose a cohort and ... voila ... you get a dataset to play around with. There are some other features like moving/deleting columns, but the idea was to keep things simple.

Dataset Builder - Create a Dataset (v1.0)


Create a Dataset (v1.1)


The next version of the Create Dataset feature ...

Dataset Builder - Create a Dataset (v1.1)