←Select platform

SetEncapsulatedDocument(DicomElement,Boolean,ILeadStream,DicomEncapsulatedDocument,DicomCodeSequenceItem) Method

Summary

Inserts an encapsulated document and corresponding DICOM elements into a DICOM data set in a stream.

Syntax

C#
VB
WinRT C#
C++
public void SetEncapsulatedDocument(  
   Leadtools.Dicom.DicomElement element, 
   bool child, 
   ILeadStream stream, 
   Leadtools.Dicom.DicomEncapsulatedDocument encapsulatedDocument, 
   Leadtools.Dicom.DicomCodeSequenceItem conceptNameCodeSequence 
) 
Public Overloads Sub SetEncapsulatedDocument( _ 
   ByVal element As Leadtools.Dicom.DicomElement, _ 
   ByVal child As Boolean, _ 
   ByVal stream As ILeadStream, _ 
   ByVal encapsulatedDocument As Leadtools.Dicom.DicomEncapsulatedDocument, _ 
   ByVal conceptNameCodeSequence As Leadtools.Dicom.DicomCodeSequenceItem _ 
)  
public void SetEncapsulatedDocument(  
   Leadtools.Dicom.DicomElement element, 
   bool child, 
   ILeadStream stream, 
   Leadtools.Dicom.DicomEncapsulatedDocument encapsulatedDocument, 
   Leadtools.Dicom.DicomCodeSequenceItem conceptNameCodeSequence 
) 
 function Leadtools.Dicom.DicomDataSet.SetEncapsulatedDocument(DicomElement,Boolean,ILeadStream,DicomEncapsulatedDocument,DicomCodeSequenceItem)(  
   element , 
   child , 
   stream , 
   encapsulatedDocument , 
   conceptNameCodeSequence  
) 
public: 
void SetEncapsulatedDocument(  
   Leadtools.Dicom.DicomElement^ element, 
   bool child, 
   ILeadStream^ stream, 
   Leadtools.Dicom.DicomEncapsulatedDocument^ encapsulatedDocument, 
   Leadtools.Dicom.DicomCodeSequenceItem^ conceptNameCodeSequence 
)  

Parameters

element
A DicomElement in the data set.

child
true to insert the encapsulated document as a child of the element., false to insert the encapsulated document on the same level as the element.

stream
The stream whose contents will be encapsulated.

encapsulatedDocument
The encapsulated document module attributes

conceptNameCodeSequence
The concept name code sequence attributes

Remarks

This feature is available in version 16 or higher.

The members of the DicomEncapsulatedDocument class and the DicomCodeSequenceItem class together represent the set of attributes contained in the "Encapsulated Document Module Attributes'. The Encapsulated Information Object Definition (IOD) describes one of the following file types that has been encapsulated within a DICOM information object:

  • PDF document
  • CDA document

For more information, refer to Part 3 of the DICOM standard.

The encapsulatedDocument class corresponds to the Encapsulated Document Module Attributes described in part 3 of the DICOM specification. To set the Concept Name Code Sequence element (0040,A043) pass a conceptNameCodeSequence object.

stream is a stream whose contents are the document that will be encapsulated. This should be either a PDF or a CDA document, and the member of the DicomEncapsulatedDocument class should be set accordingly.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Dicom Assembly
Click or drag to resize