copy_image_set
async
¶
copy_image_set(
datastore_id: DatastoreId,
source_image_set_id: ImageSetId,
copy_image_set_information: CopyImageSetInformation,
*,
config_overrides: Optional[AsyncMedicalImagingClientConfig] = None,
force: Optional[bool] = None,
promote_to_primary: Optional[bool] = None,
) -> CopyImageSetResponse
Copy an image set.
Parameters:
-
datastore_id(DatastoreId) –The data store identifier.
-
source_image_set_id(ImageSetId) –The source image set identifier.
-
copy_image_set_information(CopyImageSetInformation) –Copy image set information.
-
force(Optional[bool], default:None) –Providing this parameter will force completion of the
CopyImageSetoperation, even if there are inconsistent Patient, Study, and/or Series level metadata elements between thesourceImageSetanddestinationImageSet. -
promote_to_primary(Optional[bool], default:None) –Providing this parameter will configure the
CopyImageSetoperation to promote the given image set to the primary DICOM hierarchy. If successful, a new primary image set ID will be returned as the destination image set.
Raises:
-
AccessDeniedException–The user does not have sufficient access to perform this action.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalServerException–An unexpected error occurred during processing of the request.
-
ResourceNotFoundException–The request references a resource which does not exist.
-
ServiceQuotaExceededException–The request caused a service quota to be exceeded.
-
ThrottlingException–The request was denied due to throttling.
-
ValidationException–The input fails to satisfy the constraints set by the service.
-
UnknownServiceError–The service returned an error code this client does not model.