Basic query service class user example which should be run with a Query SCP as well as a StoreSCP.
After the above servers are running, a FIND for a patient or a MOVE of a Study Instance UID may then be performed.
This example requires a Query SCP to be running. The Query SCP should be able to receive requests from this QuerySCU. Also, a Store SCP should be running to receive images requested to be moved by the Query SCU. The Query SCP should be set up to respond to MOVE requests by sending instances to this Store SCP. These SCPs may be run by using the QuerySCPExtended and StoreSCPExtended code.
StoreSCPExtended -p 105 -i path-to-ImagesReceivedForQuerySCU-folder QuerySCPExtended -p 104 -i path-to-QuerySCPImages-folder -mp 105
QuerySCU -p 104 -u true FIND "Stephen^Miner" QuerySCU -p 104 MOVE 1.2.123.4.454.62341.246.2
Inheritance Hierarchy
LaurelBridge.DCF.Examples.QuerySCUProgram
Namespace: LaurelBridge.DCF.Examples.QuerySCU
Assembly: QuerySCU (in QuerySCU.exe) Version: DCF34 r11538 DCF_3_4_24_20190319
Syntax
C#
public class Program
The Program type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Program | Initializes a new instance of the Program class |
Methods
Name | Description | |
---|---|---|
ExecuteQuery |
Execute a c-find request.
| |
Main |
The main entry point for QuerySCU.
| |
QueryComplete |
This method is called at the completion of the query.
| |
QueryEvent |
This method is called for all incoming DIMSE response messages.
|
See Also