The example is good, you have to consider the dicom file as an attachment to add in the MimeMultipart Object. Alessandro
On Thu, 14 Apr 2011 14:35:51 +0300, cetin sahin <cetin...@gmail.com> wrote: > Thanks James ; > I will try that code . > but this code Encapsulated string data . > I want to send dicom object .dcm extension with HL7 > how am I implemented that > Is there any sample code > > 13 Nisan 2011 17:44 tarihinde James Agnew yazdı: > Hi Cetin, > > There is no specific HL7 standard or recommendation (that I am aware > of) that is tailored to dicom imaging, so you would definitely need > to > consult with the system you are communicating with to find out how > they expect data to be formatted. > > One approach that would certainly be possible would be to encode the > data as encapsulated data within an ORU^R01 message. > > A similar example could be found here: > > http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/EncapsulatedData.html > [2] > > You would probably want to base-64 encode the data however, given > that > it is in a binary format. > > Cheers, > James > > 2011/4/11 cetin sahin > > Hi Everbody; > how to send and receive DİCOM object with hapi . > Please, give me some example > I attached sample DİCOM object to example > -- > Saygılarımla / Best Regards > Çetin Şahin > Technology Consultant / Teknoloji Danışmanı > ........................................................... > cetin...@gmail.com [4] > > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev [5] > _______________________________________________ > Hl7api-devel mailing list > Hl7api-devel@lists.sourceforge.net [6] > https://lists.sourceforge.net/lists/listinfo/hl7api-devel [7] > > -- > Saygılarımla / Best Regards > Çetin Şahin > Technology Consultant / Teknoloji Danışmanı > ........................................................... > cetin...@gmail.com [8] > > > > Links: > ------ > [1] mailto:ja...@jamesagnew.ca > [2] > > http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/EncapsulatedData.html > [3] mailto:cetin...@gmail.com > [4] mailto:cetin...@gmail.com > [5] http://p.sf.net/sfu/verizon-sfdev > [6] mailto:Hl7api-devel@lists.sourceforge.net > [7] https://lists.sourceforge.net/lists/listinfo/hl7api-devel > [8] mailto:cetin...@gmail.com ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Hl7api-devel mailing list Hl7api-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hl7api-devel