Modifier and Type | Field and Description |
---|---|
private QC |
qc |
private TestResult |
result |
Constructor and Description |
---|
QCTool(String url,
QCOperation operation,
Code code,
String targetStudyUID) |
QCTool(String url,
QCOperation operation,
String codeString,
String targetStudyUID) |
Modifier and Type | Method and Description |
---|---|
private static Code |
decodeCode(String codeString) |
void |
delete(String testDescription,
String deleteParams,
boolean patient)
delete.
|
void |
deleteMulti(String testDescription,
String[] deleteParams) |
TestResult |
getResult() |
void |
init(TestResult result) |
void |
merge(String testDescription,
ArrayList<String> mergeUIDs,
Attributes targetStudyAttrs,
Attributes targetSeriesAttrs,
IDWithIssuer pid)
merge.
|
void |
performPatientOperation(String testDescription,
Attributes sourcePatientAttrs,
Attributes targetPatientAttrs)
performPatientOperation.
|
void |
quickFixLinkMWL(String testDescription,
Attributes mwlAttributes,
IDWithIssuer pid)
updateAttributes.
|
void |
reject(String testDescription,
ArrayList<String> rOrUIDs)
reject.
|
void |
restore(String testDescription,
ArrayList<String> rOrUIDs)
restore.
|
void |
segment(String testDescription,
ArrayList<String> moveUIDs,
ArrayList<String> cloneUIDs,
Attributes targetStudyAttrs,
Attributes targetSeriesAttrs,
IDWithIssuer pid)
segment.
|
void |
split(String testDescription,
ArrayList<String> moveUIDs,
Attributes targetStudyAttrs,
Attributes targetSeriesAttrs,
IDWithIssuer pid)
split.
|
void |
updateAttributes(String testDescription,
QCUpdateScope updateScope,
Attributes updateData)
updateAttributes.
|
private TestResult result
public QCTool(String url, QCOperation operation, Code code, String targetStudyUID)
public QCTool(String url, QCOperation operation, String codeString, String targetStudyUID)
private static Code decodeCode(String codeString)
public void init(TestResult result)
public TestResult getResult()
public void merge(String testDescription, ArrayList<String> mergeUIDs, Attributes targetStudyAttrs, Attributes targetSeriesAttrs, IDWithIssuer pid)
testDescription
- the test descriptionmergeUIDs
- the sop instance uids of the studies to mergetargetStudyAttrs
- the target study attributes to be updatedtargetSeriesAttrs
- the target series attributes to be updatedpid
- the patient ID of the target patientpublic void split(String testDescription, ArrayList<String> moveUIDs, Attributes targetStudyAttrs, Attributes targetSeriesAttrs, IDWithIssuer pid)
testDescription
- the test descriptionmoveUIDs
- the uids for the moved instancestargetStudyAttrs
- the target study attributes to be updatedtargetSeriesAttrs
- the target series attributes to be updatedpid
- patient IDpublic void segment(String testDescription, ArrayList<String> moveUIDs, ArrayList<String> cloneUIDs, Attributes targetStudyAttrs, Attributes targetSeriesAttrs, IDWithIssuer pid)
testDescription
- the test descriptionmoveUIDs
- the uids for the moved instancescloneUIDs
- the uids for the cloned instancetargetStudyAttrs
- the target study attributes to be updatedtargetSeriesAttrs
- the target series attributes to be updatedpid
- patient IDpublic void updateAttributes(String testDescription, QCUpdateScope updateScope, Attributes updateData)
testDescription
- the test descriptionupdateScope
- the scope can be any scope specified in QCUpdateScopeupdateData
- Attributes used to identify and update objectspublic void delete(String testDescription, String deleteParams, boolean patient)
testDescription
- the test descriptiondeleteParams
- the string separated by colons for the object to deletepatient
- boolean specifying if the deleteParams are that of a patientpublic void deleteMulti(String testDescription, String[] deleteParams)
public void performPatientOperation(String testDescription, Attributes sourcePatientAttrs, Attributes targetPatientAttrs)
testDescription
- the test descriptionsourcePatientAttrs
- the attributes with id and optionally issuer of the patient
used as source patient in the processtargetPatientAttrs
- the attributes with id and optionally issuer of the patient
used as target patient in the processpublic void reject(String testDescription, ArrayList<String> rOrUIDs)
testDescription
- the test descriptionrOrUIDs
- the list of SOPUIDspublic void restore(String testDescription, ArrayList<String> rOrUIDs)
testDescription
- the test descriptionrOrUIDs
- the list of SOPUIDspublic void quickFixLinkMWL(String testDescription, Attributes mwlAttributes, IDWithIssuer pid)
testDescription
- the test descriptionupdateScope
- the scope can be any scope specified in QCUpdateScopeupdateData
- Attributes used to identify and update objectsCopyright © 2017 dcm4che.org. All rights reserved.