RTF 2 Text Winforms in a WebService

I had no idea I could do this, but I did. I used a Winform control in a Web Service… How about that! This webservice was built for Cerner MillenniumObjects to convert an RTF to Text.

If this is common knowledge, I will kindly refund you your GET REQUEST back.

We won 2nd Place for the mySpectrum patient portal at Intersystems Devcon2010!

http://www.intersystems.com/devcon2010/innovator.html

We won 2nd Place for the mySpectrum patient portal at Intersystems Devcon2010!

http://www.intersystems.com/devcon2010/innovator.html

Sweeney Project - XBOX Controller Hacking


Created with Admarket’s flickrSLiDR.

God Mode? Yeah, I dont know…

I dont really feel that powerful actually. Now if you were to call it like say, “EPIC Mode”, or something, I would feel empowered…. I’d like also visualize a fish flopping around in a late eighties rock video, and not say like a, HIT software vendor or anything.

Web Service Calls with Delegation

Anybody needing a snippet to asynchronously call a web service without freezing the app, its below. It may or may not be the right way to do it, but I’ve standardized on it for my own use.

The “gist” if what is going on below is:

1. Provide a user action to fire off the web service call, in the class a button click. This builds a delegate instance.

2. Provide a method to begin invocation, this is the call itself, this is the beef of the web service call.

3. Setup a landing spot for the call, FinishResult. In here I do the activity indicators and what not that the call is complete, but I pass any of the results from the call to the Result Step.

4. The ResultStep has the result back which can be used throughout the app.

Enjoy.

IPhone Dev Meetup

This meetup brought out some interesting talent from the local area in regards to iPhone development. The venue provided down to earth experiences in regards to the many aspects of iPhone development such as hurdles with various libraries, the app acceptance procedure and client interactions while building an iPhone App. Well hosted. A good mix of talent in attendance.

Classy hosting by Collective Idea, make it out next time, guaranteed to be INSPIRING.

I really like Wordle.  The image above is a  Wordle representation of this blog.  Apparently I like DICOM too.

I really like Wordle.  The image above is a  Wordle representation of this blog.  Apparently I like DICOM too.

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.

FreeBSD8 Guest on Ubuntu KVM

Sometimes I just get plain excited things workout like they are supposed to. Shout out to my Christmas success on getting FreeBSD 8.0 Provisioned and cloned on KVM…

Here is the command I used:

sudo virt-install
// --connect qemu:///system
// -n bsd8
// -r 512
// --vcpus=2
// -s 12 -f BSD80.gcow2
// -c 8.0-RELEASE-i386-disc1.iso
// --vnc --noautoconsole
// --accelerate --network=bridge:br0
// --hvm

One lonely Beastie I Be.

Expensive Xpath Node Grabber

I use this, you shouldn’t.

public static string GetNodeValue2(XPathDocument sdoc, string sSelectExpression)  {
string sRetVal = "";
// Read the XML document

XPathNavigator myXPathNavigator = sdoc.CreateNavigator();

XPathNodeIterator myXPathNodeIterator =
myXPathNavigator.Select(sSelectExpression);

while (myXPathNodeIterator.MoveNext())

{

sRetVal = myXPathNodeIterator.Current.Value;

}

return sRetVal;

}

Im so enterprisey with my xpath and shit.

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.

# Rip through some DICOM, and anonymize

require 'rubygems'
require 'dicom'
require 'benchmark'
a = DICOM::Anonymizer.new
a.add_folder("/Users/sween/Desktop/DICOMA")
puts Benchmark.measure { a.execute }

Here is my benchmark from rbx:

ron-sweeneys-macbook:desktop sween$ rbx anon_dicom_rbx.rb 
*******************************************************
Initiating anonymization process.

Searching for files...
Done.

362 files have been identified in the specified folder(s).
Separate write folder not specified. Will overwrite existing DICOM files.
Initiating read/update/write process (This may take some time)...
Anonymization process completed!
All DICOM objects were SUCCESSFULLY written as DICOM files.
Elapsed time: 147.6 seconds
*******************************************************
147.684140 0.000000 147.684140 (147.684125)


Here is my benchmark from missionary Ruby 1.8.6

ron-sweeneys-macbook:desktop sween$ ruby anon_dicom.rb
*******************************************************
Initiating anonymization process.
Searching for files...

Done.

362 files have been identified in the specified folder(s).
Separate write folder not specified. Will overwrite existing DICOM files.
Initiating read/update/write process (This may take some time)...
Anonymization process completed!
All DICOM objects were SUCCESSFULLY written as DICOM files.

Elapsed time: 25.0 seconds

*******************************************************

6.310000 1.990000 8.300000 ( 25.078275)
She’s gone from Suck to Blow

So I thought changing the text on the UISwitch Class would be easy peasy, but it ended up being a nightmare, its not supported anyway so to speak. So I was clearly not trying to make an app that changed the world, so im not all that ruffled over it, but at any rate…

I present, MegaMaid…

suck to blow

Development Screenshot

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.
Google Health PHR and CCR Hacking

Got to playing around with the Google Health API and got myself up to speed on the CCR architecture, im digging the “subsection” implementation of the document and like the RESTFUL ways of the force.

One quick point blares out about PHR’s that I particularly dont like:

  1. The ability to put in your own result.  This may seem like the point, but flag it somewhere as “user inputted data.”  If you want to track your own health I see the point, but for a repository of “certified” and “bought and paid for” results leave them the way of storage commit.  Seems to me that if you mix the two data elements, ones inputted directly by a user, and data elements certified coming from a hospital or care provider, the whole value of the record depreciates in value.  If I were a diggy diggy doc, Id HAVE to take the data presented to me in the CCR with a grain of salt for legal survial and order all the tests again.  Physicians work with the concept of “study” not discrete results.

After being blessed with the development sprint for Google Health, I gazed over the way of HealthVault and made some observations.

  1. HealthVault has a visions for use cases that are WELL thought out.  I think a lot of folks kind of scratch their head and say, yeah, well what is THAT going to do for me?
  2. HealthVault does not have a dll you can slap in a GUI and use, its all web based.  There is a reason for this, but its a difference worth noting.
  3. HealthVault device integration looks like it was built in the land of awesome.

With that being said, I have some homework to do with HealthVault, a follow up post is definitely in order.

With Google Health, I am pleased to announce that I was able to pull results from an ESB, then format it to CCR.  I was then able to apply an XSLT transform supplied by CCR Acceleration Resources Project over at sourceforge, and also jam it into my Google Health PHR.

I rock.