Find an accepted context id to send the specified DicomDataSet.
Namespace: LaurelBridge.DCFExamples.QuerySCPExtended
Assembly: QuerySCPExtended (in QuerySCPExtended.exe) Version: DCF34 r13043 DCF_3_4_56_20220408 NetFramework
Syntax
C#
protected virtual int FindContextId( DicomDataSet dds )
Parameters
- dds
- Type: DicomDataSet
The DicomDataSet which will eventually be sent.
Return Value
Type: Int32A context id that was accepted during association negotiation, or -1 if no context id was acceptable.
Remarks
- the dataset should only be sent in the transfer syntax as specified by its group 2 transfer syntax uid value
- the dataset should only be sent in an uncompressed transfer syntax if it cannot be sent as specified in 1) above
- the dataset should only be sent in a lossless compressed transfer syntax regardless of its group 2 transfer syntax uid value
- the dataset should be sent in a lossy compressed transfer syntax if being sent over a slow link
- the dataset should be sent in a transfer syntax that is better implemented by the receiver
- and so it goes...
See Also