public class ConvertSRTCodesToSCT
extends java.lang.Object
A class to convert all SRT codes to SCT codes.
Modifier and Type | Class and Description |
---|---|
protected class |
ConvertSRTCodesToSCT.OurMediaImporter |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
ourAETitle |
protected java.lang.String |
xmlRetiredSRTNewSCTMappingResourceName |
protected java.lang.String |
xmlSRTSCTMappingResourceName |
Constructor and Description |
---|
ConvertSRTCodesToSCT(java.lang.String[] srcs,
java.lang.String dstFolderName)
Examine a set of SR files and copy them converting SRT codes to SCT codes (per CP 1850).
|
Modifier and Type | Method and Description |
---|---|
void |
convertSRTToSCTInThisItem(AttributeList list)
Convert SRT codes to SCT codes (per CP 1850) in this ItemList.
|
void |
findCodeSequenceItemsAndConvertSRTCodesToSCT(AttributeList list)
Convert SRT codes to SCT codes (per CP 1850) in the this and its children.
|
static void |
main(java.lang.String[] arg)
Examine a set of SR files and copy them converting SRT codes to SCT codes (per CP 1850).
|
protected java.lang.String ourAETitle
protected java.lang.String xmlRetiredSRTNewSCTMappingResourceName
protected java.lang.String xmlSRTSCTMappingResourceName
public ConvertSRTCodesToSCT(java.lang.String[] srcs, java.lang.String dstFolderName) throws java.io.FileNotFoundException, java.io.IOException, DicomException
Examine a set of SR files and copy them converting SRT codes to SCT codes (per CP 1850).
srcs
- dstFolderName
- java.io.FileNotFoundException
java.io.IOException
DicomException
public void convertSRTToSCTInThisItem(AttributeList list)
Convert SRT codes to SCT codes (per CP 1850) in this ItemList.
Does not recurse into SequenceAttributes.
list
- public void findCodeSequenceItemsAndConvertSRTCodesToSCT(AttributeList list)
Convert SRT codes to SCT codes (per CP 1850) in the this and its children.
Recurses into SequenceAttributes.
list
- public static void main(java.lang.String[] arg)
Examine a set of SR files and copy them converting SRT codes to SCT codes (per CP 1850).
arg
- array of 2 or more strings - one or more source folder or DICOMDIR and a destination folder