The IDLffDicomExQuery::CFind_Status function method converts a DICOM Network Service C_FIND_RSP response code into a human-readable string and vice versa.

The CFind_Status function method is a static method, which means that it can be called either on the IDLffDicomExQuery class, or on an object instance.

Example


PRINT, IDLffDicomExQuery.CFind_Status(65280)
PRINT, IDLffDicomExQuery.CFind_Status("C_FIND_PENDING")

IDL prints:

C_FIND_PENDING
65280

Syntax


Result = IDLffDicomExQuery.CFind_Status( Code )

Return Value


The result is a scalar string if Code was an integer, or a scalar integer if Code was a string.

If the Code is not valid then !NULL is returned.

Arguments


Code

Set this argument to either an integer giving the C_FIND_RSP response code or a string giving the human-readable response name.

Keywords


None

Version History


8.6.1

Introduced

See Also


IDLffDicomExQuery::MC_Status