Code produced at Open Healthcare Data Hack 13/14 December 2104