public class CopyOnlyHeadOfMultipleStructuredReportsAndReferences extends Object
A class to process multiple SR files and their referenced instances (like Presentation States and Segmentations) and copy only the head (most recent) of the Predecessor Documents sequence chain and its references, ignoring earlier (obsolete) SR files and earlier references.
Modifier and Type | Class and Description |
---|---|
protected class |
CopyOnlyHeadOfMultipleStructuredReportsAndReferences.OurMediaImporter |
Modifier and Type | Field and Description |
---|---|
protected String |
ourAETitle |
Constructor and Description |
---|
CopyOnlyHeadOfMultipleStructuredReportsAndReferences(String[] srcs,
String dstFolderName)
Copy only the most recent SR files and their references.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] arg)
Copy only the most recent SR files and their references.
|
protected String ourAETitle
public CopyOnlyHeadOfMultipleStructuredReportsAndReferences(String[] srcs, String dstFolderName) throws FileNotFoundException, IOException, DicomException
Copy only the most recent SR files and their references.
srcs
- dstFolderName
- FileNotFoundException
IOException
DicomException
public static void main(String[] arg)
Copy only the most recent SR files and their references.
arg
- array of 2 or more strings - one or more source folder or DICOMDIR and a destination folder