Skip to Content
go-dicom(3)
Command line

movescu

Asks a Query/Retrieve SCP, with C-MOVE, to send a study or a series to a destination AE title. The SCP opens its own association to that destination and stores the instances there.

When to use it

Use movescu to pull a study from a PACS to a workstation, a router or an archive, or to have one PACS push a study to another. The destination must be known to the SCP by AE title, with its host and port configured there; movescu names it, it does not receive anything itself. To receive the instances on the same association instead, with no configuration on the PACS, use getscu.

Find the Study or Series Instance UID first with findscu. Over HTTP the job is wado.

The closest tools are dcmtk's movescu (with -aem) and pynetdicom's python -m pynetdicom movescu.

Examples

Move a study to a destination

go-dicom storescp -port 11113 -aet DEST -output moved
go-dicom movescu -aec QRSCP -dest DEST -study 1.3.6.1.4.1.5962.1.2.1.20040119072730.12322 pacs:11112
Moving from pacs:11112 to DEST (level: STUDY)
C-MOVE completed successfully

On the destination:

Received: 1.3.6.1.4.1.5962.1.1.1.1.1.20040119072730.12322 (SOP Class: 1.2.840.10008.5.1.4.1.1.2) -> moved/1.3.6.1.4.1.5962.1.1.1.1.1.20040119072730.12322.dcm

The PACS must map DEST to the destination's host and port; for qrscp that is -move-dest DEST=host:11113.

Move one series

go-dicom movescu -aec QRSCP -dest DEST -level SERIES -study 1.3.6.1.4.1.5962.1.2.4.20040826185059.5457 -series 1.3.6.1.4.1.5962.1.3.4.1.20040826185059.5457 pacs:11112
Moving from pacs:11112 to DEST (level: SERIES)
C-MOVE completed successfully

At SERIES level give both -study and -series.

A destination the SCP does not know

go-dicom movescu -aec QRSCP -dest NOWHERE -study 1.3.6.1.4.1.5962.1.2.1.20040119072730.12322 pacs:11112
Moving from pacs:11112 to NOWHERE (level: STUDY)
Error: C-MOVE failed: DIMSE error [MOVE_FAILED]: C-MOVE failed with status 0xA801 (status=0xA801)

A801 is "Move Destination unknown" (PS3.4 C.4.2.1.5).

Notes

  • -dest is required (Error: --dest (move destination AE title) is required).
  • Exit status is 0 when the SCP reports Success, 1 on a failure status or a failed association. A study UID that matches nothing also ends in Success, with nothing sent: check the destination.
  • -timeout is in seconds (default 120) and bounds the whole move. The -tls… options are those of echoscu; -events records the association (Events).
  • See CONFORMANCE.md, Retrieve responses and statuses.

See also

Options

On this page