mongodb on rails via mongo_record in 4 steps

This is not an amazing task for most, but it im sharing it anyway because thats how I roll.


It is easy to get mongodb on rails using mongo_record in four tasks:

  1. create/generate a schema.rb file.

  2. install the mongo_record plugin

  3. edit the database.yml file.

  4. edit each model to connect to the mongodb.



permalink Read More Comment1384 comments Catmongodb, ruby, rails

Come on Ride a Train (to HealthVault)

Whitle goes woo!!!!dicomTRAIN


Yeah so I got my hack on with Microsoft HealthVault and came up with the dicomTRAIN.  Im currently working on the PutThings method to upload the converted dicom file but time is time and pretty soon I crawl into my home office until next boating season so I plan to get the full 360 completed soon.


In a single statement, I have to say that Microsoft HealthVault > Google Health.


Use Case Ideas…


  • Consumer upload of PEDS studies to reveal dosing information and present it as a report.

  • Online DICOM conversion utility, manual or via API.

  • Something to do while football is on Sunday.

  • Audit the privacy of your portable Medical Imaging Studies.

permalink Read More Comment321 comments Catdicom, ruby, healthvault

dicomTRAIN alpha release

On the onset of RSNA 2009, I decided to put some grunt work into dicomTRAIN and legitimize it a bit.  If you are unfamiliar with the dicomTRAIN, its an online DICOM conversion utility written in Ruby on Rails.



Drop by and take it for a spin, im excited about enhancing it, but its good enough to release and use, while I troll for potential sponsors of the service.

permalink Read More Comment6 comments Catrails, ruby, dicom

Rubinius and DICOM Ruby

Breaktime with Rubinius… ok, so my interest peaked and I wanted to see how it would go with my favorite gem, Ruby DICOM and a common task, anonymization. Im not sayin, im just sayin should I have gotten a better performance benchmark from rbx ?



Here is the lil script.


permalink Read More Comment13 comments Catruby, dicom

HL7 Sniffer Revisited

I actually had to use this so I took it out and cleaned it up a little bit… also checking out the gist embed functionality.




permalink Read More Comment6 comments Cathl7, ruby

It happened! Ruby-DICOM is here!

It happened! What happened Dave? Something Wonderful!

As of July 28th, 2008, Ruby gets a DICOM library. A straight up pure Ruby implementation with no external dependencies. Thanks to the hard work of Christoffer Lervag I can re-think my use of jruby and iterate all over dicom headers like Chewie rips out a hyper drive with all with ruby sweetness like Yukihiro Matsumoto intended.

Ok, so I have a half ass blog post on possibly the coolest 10 method ruby library since Warnock’s GapMinder plug-in lowered my productivity for an evening, but I have to apologize this gift fell from the sky, and I have only been able to play with 2 methods (of 10) so far, so bear with it as I hack through it over the next few days.

Though the library in its 2 day infancy only supports file level I/O, I already have to say that Mirth may already be replaced when it comes to databasing dicom values … I think a marriage of this library and active-record are in short order, check a full header dump below.

Although I have a basic love/hate with Rmagick, check out this ImageMagick launch with the pixel data of the first slice! cool eh? This library will build each slice into an array, send the object the .display message and view is better than a viewmaster.

Stay Tuned, and thanks Christoffer!

permalink Read More Comment3 comments Catdicom, ruby