web stats
DICOM Secondary Capture - Nested DICOM Object for Outbound - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 01-13-2014, 05:11 AM
gkittlaus gkittlaus is offline
OBX.3 Kenobi
Join Date: Jan 2012
Posts: 104
gkittlaus is on a distinguished road
Default DICOM Secondary Capture - Nested DICOM Object for Outbound

Hello everyone,

after endless hours I managed to have a breakthrough with DICOM and Mirth.
Right now I can create DICOM Files from any source or Format.
I can read in PDF files and encapsulate them into the DICOM file - no Problem, because in this Format, every DICOM tag is in the same hierarchy.

With Secondary Capture it is different.
The Bytes of the JPG are stored in an subobject (fffe,e000) of the PixelData (7fe0,0010).

This is how it should look like if I dump the result:
(7fe0,0010) OB (PixelSequence #=2)                      # u/l, 1 PixelData
  (fffe,e000) pi (no value available)                     #   0, 1 Item
  (fffe,e000) pi ff\d8\ff\e0\00\10\4a\46\49\46\00\01\02\00\00\01\00\01\00\00\ff\ db... # 57792, 1 Item
(fffe,e0dd) na (SequenceDelimitationItem)               #   0, 0 SequenceDelimitationItem
You see that tag fffe,e000 is repeated in a Sequence of 7fe0,0010.
But how do I do this in Mirth?
Is there a way to insert those nested elements just by a well structured XML template?

Thank you in advance!
Reply With Quote
Old 11-11-2018, 04:26 PM
matthewg matthewg is offline
What's HL7?
Join Date: Aug 2018
Posts: 1
matthewg is on a distinguished road
Default PDF to Dicom..

Hey, any chance I can pick your brain for a copy of the channel you used to do this task?
I'm about to embark on a path to turn an HL7 file into a PDF - then encapsulate it as Dicom and send to the PACS....
Reply With Quote
Old 11-20-2018, 03:16 AM
schillert schillert is offline
OBX.1 Kenobi
Join Date: Jul 2012
Posts: 31
schillert is on a distinguished road

I guess you just convert your PDF page by page into JPEG and add an attachment for each page. You then trust Mirth to re-attach them for you.

That's the way DICOM is handled in Mirth. The DICOM header is treated as a message - the pixel part as attachment(s).
Reply With Quote

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 09:56 PM.

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