←Select platform

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

Summary

Retrieves an encapsulated document and corresponding DICOM elements from a DICOM data set and outputs the results to a stream.

Syntax

C#
VB
WinRT C#
C++
public void GetEncapsulatedDocument(  
   Leadtools.Dicom.DicomElement element, 
   bool child, 
   ILeadStream stream, 
   Leadtools.Dicom.DicomEncapsulatedDocument encapsulatedDocument, 
   Leadtools.Dicom.DicomCodeSequenceItem conceptNameCodeSequence 
) 
Public Overloads Sub GetEncapsulatedDocument( _ 
   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 GetEncapsulatedDocument(  
   Leadtools.Dicom.DicomElement element, 
   bool child, 
   ILeadStream stream, 
   Leadtools.Dicom.DicomEncapsulatedDocument encapsulatedDocument, 
   Leadtools.Dicom.DicomCodeSequenceItem conceptNameCodeSequence 
) 
 function Leadtools.Dicom.DicomDataSet.GetEncapsulatedDocument(DicomElement,Boolean,ILeadStream,DicomEncapsulatedDocument,DicomCodeSequenceItem)(  
   element , 
   child , 
   stream , 
   encapsulatedDocument , 
   conceptNameCodeSequence  
) 
public: 
void GetEncapsulatedDocument(  
   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 retrieve the encapsulated document as a child of element., false to retrieve the encapsulated document on the same level as element.

stream
The stream that will contain the encapsulated document.

encapsulatedDocument
The encapsulated document module attributes

conceptNameCodeSequence
The concept name code sequence attributes

Remarks

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 retrieve the Concept Name Code Sequence element (0040,A043) pass a conceptNameCodeSequence object.

stream is a stream that will contain the encapsulated document after it is extracted.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly