Create functional tests for merge/split methods on ImagingStudy
Merge request !26 includes a number of methods that can be used to split and merge DICOM studies via the Orthanc API.
-
split_study
: remove imaging series from the specified study and place them in a new study. Re-write study tags of split series to a new value, patient tags are untouched. -
merge_studies
: merge other studies (and their child series) into the current study. Re-write tags of merged studies and child resources to patient and UID of current study. -
merge_resources
: merge the specified resources (series, studies, and instances) into the current study. Re-write tags of merged resources to patient and UID of target study.
These methods need test cases within the functional test runner:
-
split_study
: upload an OAI instance of a right knee study to the server, split 3D/DESS scan to a new study instance under the same patient. -
merge_studies
: upload an OAI instance to the server with seven to eight series across multiple studies, merge the left/right series (at the study level) together and re-write the study description. -
merge_resources
: upload an OAI instance to the server with seven to eight series, merge the left/right series together (by directly referencing their series UIDs) and re-write the study description.