public class ConvertSRTCodesToSCT extends 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 String |
ourAETitle |
protected String |
xmlRetiredSRTNewSCTMappingResourceName |
protected String |
xmlSRTSCTMappingResourceName |
Constructor and Description |
---|
ConvertSRTCodesToSCT(String[] srcs,
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(String[] arg)
Examine a set of SR files and copy them converting SRT codes to SCT codes (per CP 1850).
|
protected String ourAETitle
protected String xmlRetiredSRTNewSCTMappingResourceName
protected String xmlSRTSCTMappingResourceName
public ConvertSRTCodesToSCT(String[] srcs, String dstFolderName) throws FileNotFoundException, IOException, DicomException
Examine a set of SR files and copy them converting SRT codes to SCT codes (per CP 1850).
srcs
- dstFolderName
- FileNotFoundException
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(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