ROR LIST CPT

TITLEVALUE
NAMEROR LIST CPT
DESCRIPTIONThe ROR LIST CPT remote procedure returns a list of CPT codes (defined in
the CPT file), which conform the criteria.
TAGCPTLIST
ROUTINERORRP042
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERDATE
DESCRIPTIONDate for the code set versioning.
PARAMETER TYPELITERAL
REQUIRED
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERPART
DESCRIPTIONThe partial match restriction.
PARAMETER TYPELITERAL
REQUIRED
MAXIMUM DATA LENGTH30

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERFLAGS
DESCRIPTIONFlags that control the execution (can be combined):

A Exclude active codes

B Backwards. Traverses the index in the opposite
direction of normal traversal

D Full search by short name

I Exclude inactive codes

K Search in description keywords
PARAMETER TYPELITERAL
REQUIRED
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER4
INPUT PARAMETERNUMBER
DESCRIPTIONMaximum number of entries to return. A value of "*" or no value in this
parameter designates all entries.
PARAMETER TYPELITERAL
REQUIRED
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER5
INPUT PARAMETERFROM
DESCRIPTIONThe index entry(s) from which to begin the list
^01: FromName
^02: FromIEN

For example, a FROM value of "18" would list entries following 18. You can
use the 2-nd and 3-rd "^"- pieces of the Results[0] to continue the
listing in the subsequent procedure calls.

NOTE: The FROM value itself is not included in the
resulting list.

See description of the LIST^DIC for more details about the PART, NUMBER
and FROM parameters.
PARAMETER TYPELITERAL
REQUIRED
MAXIMUM DATA LENGTH

RETURN VALUE TYPEGLOBAL ARRAY
RETURN PARAMETER DESCRIPTIONA negative value of the first "^"-piece of the Results[0] indicates that
an error occurred during the execution of the remote procedure. In this
case, the second piece of the Results[0] will contain number of the error
descriptors returned in the subsequent nodes of the Results array:

Results[0] Result Descriptor
^01: The last error code
^02: Number of the error descriptors

Results[i] Error Descriptor
^01: Error code
^02: Message
^03: Place of the error

Otherwise, number of CPT codes and the value of the FROM parameter for the
next procedure call are returned in the Results[0] and the subsequent
nodes of the global array contain the codes.

Results[0] Result Descriptor
^01: Number of codes
^02: FromName
^03: FromIEN

Results[i] CPT
^01: IEN
^02: Short Description
^03: Code
^04: reserved
^05: Inactive (""/1)
^06: Inactivation Date (FileMan)
AVAILABILITYRESTRICTED
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION1
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED