qie.createCMoveRQCommand¶
Signature: qie.createCMoveRQCommand(sopClass, priority, destinationAET)
Returns: DICOM Message dicomRequest - the associated DICOM message object
Creates a C-MOVE request DICOM message object.
Parameters¶
| Type | Name | Description | Default |
|---|---|---|---|
| String | sopClass | the SOP Class UID (0000,0002) | |
| Integer | priority | the Priority (0000,0700) [0=medium, 1=high, 2=low] | |
| String | destinationAET | the Move Destination Application Entity Title (0000,0600) |
Example¶
// Create a DICOM C-MOVE request (Study Root)
var cMoveRequest = qie.createCMoveRQCommand(
"1.2.840.10008.5.1.4.1.2.2.2", // Study Root Query/Retrieve Information Model – MOVE
0, // priority (0 = medium)
"DEST_AET" // destination AE title
);
// Set Query/Retrieve level
cMoveRequest.setNode("/0008,0052", "STUDY");
// Specify the Study Instance UID to move
cMoveRequest.setNode(
"/0020,000D",
"1.2.840.113619.2.55.3.604688511.435.1592538156.467"
);