web stats
Transformer or Mapping - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 02-05-2014, 05:02 AM
jimmarks jimmarks is offline
Mirth Newb
 
Join Date: Apr 2013
Posts: 15
jimmarks is on a distinguished road
Default Transformer or Mapping

All,

I am currently using filters within a destination file writer to put files in different folders. All incoming files are Dicom. I have a device that currently takes CD's from outside hospitals and uploads them into our current pacs system. The filtering was based on modality type, but I'd like to keep these files seperate from all the other modalities due to the fact that inhouse modalities should be processed faster.

Because there isn't much to filter on from a standard format, I was hoping there was a way to grab the incoming IP Address from the sending device. Looking around, I don't really see a way to do that. Can anyone lend a hand?

Thanks!
Reply With Quote
  #2  
Old 02-05-2014, 08:37 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,126
narupley is on a distinguished road
Default

The TCP Listener automatically adds metadata about the connected socket (like the source address and port) directly into the channel map, so you can filter on that or do whatever else you want with that data. However the DICOM Listener does not currently do this. We do have an open issue for that though: MIRTH-1521
__________________
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


- How do I foo?
- You just bar.
Reply With Quote
Reply

Tags
ip address, mapping, transformer

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 02:10 AM.


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