web stats
extract dicom tags into mysql db - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 08-31-2010, 08:19 PM
manigogo@gundluth.org manigogo@gundluth.org is offline
What's HL7?
 
Join Date: Aug 2010
Posts: 4
manigogo@gundluth.org is on a distinguished road
Default extract dicom tags into mysql db

I have successfully extracted dicom tags by creating variables in the transformer, then have used those variables in the destination page using an insert statement. This works but is far from elegant because I have to define up front what those specific tags are (eg msg['tag280004'].toString() = photometric interpretation). Of course one does not always know up front which tags might be present so the better way (at least this neophyte programmer thinks) would be to loop through each tag in a dicom file then insert each one till they have all been parsed out. I can see Mirth has a message function in the reference tab called "iterate over segments" which, as far as I can tell, is only for HL7 messages. I have parsed the xml segments in the past with other languages (php) but it seems to me this is a good use for Mirth? Would anyone have thoughts on how to achieve this? Perhaps sample code (javascript)? I would be happy to share the channel once I get it working, if anyone might be interested.

Last edited by manigogo@gundluth.org; 09-01-2010 at 06:24 AM. Reason: grammer
Reply With Quote
Reply

Tags
database, dicom, insert

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 08:51 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation