public class InsertCodeSequence extends Object
A class containing an application for inserting code sequences from the command line.
Modifier and Type | Class and Description |
---|---|
protected class |
InsertCodeSequence.OurMediaImporter |
Modifier and Type | Field and Description |
---|---|
protected String |
attributeName |
protected String |
codeMeaning |
protected String |
codeValue |
protected String |
codingSchemeDesignator |
protected String |
codingSchemeVersion |
protected String |
dstFolderName |
protected String |
ourAETitle |
Constructor and Description |
---|
InsertCodeSequence(String attributeName,
String codeValue,
String codingSchemeDesignator,
String codingSchemeVersion,
String codeMeaning,
String src,
String dstFolderName,
MessageLogger logger) |
protected String ourAETitle
protected String dstFolderName
protected String attributeName
protected String codingSchemeDesignator
protected String codeValue
protected String codeMeaning
protected String codingSchemeVersion
public InsertCodeSequence(String attributeName, String codeValue, String codingSchemeDesignator, String codingSchemeVersion, String codeMeaning, String src, String dstFolderName, MessageLogger logger) throws IOException, DicomException
IOException
DicomException
public static void main(String[] arg)
Insert a coded sequence into the specified files.
Does not replace UIDs or set type to derived.
arg
- array of 7 strings - attributeName, codeValue, codingSchemeDesignator, codingSchemeVersion (or empty string if none), codeMeaning, source folder or DICOMDIR, destination folder