DENTVICD LIST

TITLEVALUE
NAMEDENTVICD LIST
DESCRIPTIONThis will return a list of active ICD codes for a lookup value.
TAGLIST
ROUTINEDENTVICD
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERDENTVA
DESCRIPTIONAn input array "DENTVA" will have to be set up in following format:

DENTVA(0) = "LOOKUP^Value"
user input lookup value
DENTVA(1) = "CHKSCR^Value"
If value set to "P", only valid ICD9 codes that are eligible to be
principle diagnosis will be returned.
DENTVA(2) = "ACTDATE^Value"
(ACTDATE is in Fileman format, NULL dates will be set to Today)
The visit date of the ICD code.
DENTVA(3) = "MAX^Value" (100 is the default)
The maximum number of diagnosis you want returned.
PARAMETER TYPELIST
REQUIREDYES
MAXIMUM DATA LENGTH

RETURN VALUE TYPEGLOBAL ARRAY
RETURN PARAMETER DESCRIPTIONThis returns a list of active diagnosis codes matching the lookup value.

For ICD-9 Lookup:
List[n] := p1^p2^p3
p1 = DIAGNOSIS IEN (#80)
p2 = ICD code
p3 = Diagnosis short description

For ICD-10 Lookup:
List[n] := p1^p2^p3^p4^p5
p1 = DIAGNOSIS IEN (#80)
p2 = Diagnosis Code
p3 = Activation Date
p4 = # of Sub-Diagnoses
p5 = Short Description

On error or problems, List[0] = -1^message
AVAILABILITYAGREEMENT
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED