qie.createDICOMRequest¶
Signature: qie.createDICOMRequest(sopClass, command, destinationAET*, priority, sopInstance*)
Returns: DICOM Message dicomRequest - the associated DICOM message object
Creates a DICOM request message object.
Parameters¶
| Type | Name | Description | Default |
|---|---|---|---|
| String | sopClass | the SOP Class UID (0000,0002) | |
| Integer | command | the Command Field (0000,0100) [eg. 0x0001=C-STORE-RQ, 0x0020=C-FIND-RQ] | |
| String | destinationAET* | (optional) the Move Destination Application Entity Title (0000,0600) (only for C-MOVE) | null |
| Integer | priority | the Priority (0000,0700) [0=medium, 1=high, 2=low] | |
| String | sopInstance* | (optional) the SOP Instance UID (0000,1000) (only for C-STORE) | null |
Example¶
var dicomRequestMessage = qie.createDICOMRequest(
'1.2.840.10008.5.1.4.1.1.2', // SOP Class UID for CT Image Storage
0x0001, // Command (Integer that represents C-STORE, C-FIND, etc.)
'DEST_AET', // Destination AE Title (Application Entity Title)
0, // Priority (0 = Medium, 1 = High, 2 = Low)
'1.2.840.113619.2.55.3.604688511.435.1592538156.468' // SOP Instance UID
); // DICOM Message