MyHealth - Hack Day #2
May 9, 2014
QRcode
RubyMotion
iOS
Prezi
Rails
Heroku
On the 28th of March, my company DiUS computing, held their second Hack Day. This time the theme was around “creating shared value.” So hacking on something that provided value to the community as well as DiUS at the same time. Other rules were simple, teams had to consist of at least 5 people, all software written was to be open sourced and by 4:30pm of that day, teams were to run a “marketplace” that demo-ed their working software.
After a few conversations with various parties, I joined the MyHealth team that looked at tackling the issue of online medical records. What we decided to focus on was having a wearable QR code that uniquely identified a person’s medical information. The scenario this targeted was the wearer being found unconcious and upon scanning the QR code, would take the person scanning the code to vital personal medical information that could save the wearer’s life.
These are some choices and technical decisions that were made throughout the day.
- Settled on using Rails basically because we wanted to push out something demonstrable quickly and Rails amongst other things, is very good at achieving that goal
- We setup github for SCM, travis for Continuous Integration and heroku for Continuous Delivery. These tools are excellent for setting up collaborative environments for developers
- We used ActiveAdmin to bootstrap our CRUD screens
- RubyMotion for the iOS stream. This allows for Ruby developers to develop iOS software without having to learn Objective-C
- Twitter Bootstrap for the medical information page because we wanted a responsive design such that the page was viewable irrespective of device
- Prezi as a presentation tool to capture our pitch which can be found here
So we ended up with a demonstrable piece of software which would generate QR codes like this:
Upon scanning it in, it would take the scanner to a page like this:
The source code to this can be found here.
The mobile component of our solution used RubyMotion to create a small iOS application that allowed one to set their lock screen to contain their emergency information. The idea behind this was to allow someone to take appropriate action upon finding one’s phone and not requiring them to unlock it.
The source code to this can be found here.
Overall, I had an awesome time and I am eagerly awaiting the next Hack Day.