Code for BMJ Hack day - 6/7 July 2013