/AWS1/IF_MIG=>UPDATEIMAGESETMETADATA()¶
About UpdateImageSetMetadata¶
Update image set metadata attributes.
Method Signature¶
METHODS /AWS1/IF_MIG~UPDATEIMAGESETMETADATA
IMPORTING
!IV_DATASTOREID TYPE /AWS1/MIGDATASTOREID OPTIONAL
!IV_IMAGESETID TYPE /AWS1/MIGIMAGESETID OPTIONAL
!IV_LATESTVERSIONID TYPE /AWS1/MIGIMAGESETEXTERNALVRSID OPTIONAL
!IV_FORCE TYPE /AWS1/MIGBOOLEAN OPTIONAL
!IO_UPDATEIMAGESETMETUPDATES TYPE REF TO /AWS1/CL_MIGMETADATAUPDATES OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_migupdimagesetmetrsp
RAISING
/AWS1/CX_MIGACCESSDENIEDEX
/AWS1/CX_MIGCONFLICTEXCEPTION
/AWS1/CX_MIGINTERNALSERVEREX
/AWS1/CX_MIGRESOURCENOTFOUNDEX
/AWS1/CX_MIGSERVICEQUOTAEXCDEX
/AWS1/CX_MIGTHROTTLINGEX
/AWS1/CX_MIGVALIDATIONEX
/AWS1/CX_MIGCLIENTEXC
/AWS1/CX_MIGSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_datastoreid TYPE /AWS1/MIGDATASTOREID /AWS1/MIGDATASTOREID¶
The data store identifier.
iv_imagesetid TYPE /AWS1/MIGIMAGESETID /AWS1/MIGIMAGESETID¶
The image set identifier.
iv_latestversionid TYPE /AWS1/MIGIMAGESETEXTERNALVRSID /AWS1/MIGIMAGESETEXTERNALVRSID¶
The latest image set version identifier.
io_updateimagesetmetupdates TYPE REF TO /AWS1/CL_MIGMETADATAUPDATES /AWS1/CL_MIGMETADATAUPDATES¶
Update image set metadata updates.
Optional arguments:¶
iv_force TYPE /AWS1/MIGBOOLEAN /AWS1/MIGBOOLEAN¶
Setting this flag will force the
UpdateImageSetMetadataoperation for the following attributes:
Tag.StudyInstanceUID,Tag.SeriesInstanceUID,Tag.SOPInstanceUID, andTag.StudyIDAdding, removing, or updating private tags for an individual SOP Instance
RETURNING¶
oo_output TYPE REF TO /aws1/cl_migupdimagesetmetrsp /AWS1/CL_MIGUPDIMAGESETMETRSP¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->updateimagesetmetadata(
io_updateimagesetmetupdates = new /aws1/cl_migmetadataupdates(
io_dicomupdates = new /aws1/cl_migdicomupdates(
iv_removableattributes = '5347567362473873563239796247513D'
iv_updatableattributes = '5347567362473873563239796247513D'
)
iv_reverttoversionid = |string|
)
iv_datastoreid = |string|
iv_force = ABAP_TRUE
iv_imagesetid = |string|
iv_latestversionid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_datastoreid = lo_result->get_datastoreid( ).
lv_imagesetid = lo_result->get_imagesetid( ).
lv_imagesetexternalversion = lo_result->get_latestversionid( ).
lv_imagesetstate = lo_result->get_imagesetstate( ).
lv_imagesetworkflowstatus = lo_result->get_imagesetworkflowstatus( ).
lv_date = lo_result->get_createdat( ).
lv_date = lo_result->get_updatedat( ).
lv_message = lo_result->get_message( ).
ENDIF.