The IDLffDicomExQuery::MC_Status function method converts a DICOM Network Service status code into a human-readable string and vice versa.
The MC_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.MC_Status(4000)
PRINT, IDLffDicomExQuery.MC_Status("MC_END_OF_DATA")
IDL prints:
MC_ALREADY_REGISTERED
4018
Syntax
Result = IDLffDicomExQuery.MC_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 MC_STATUS status code or a string giving the human-readable status name.
Keywords
None
Version History
See Also
IDLffDicomExQuery::CFind_Status