DENTVICD ICD GET DIAG (3382)    REMOTE PROCEDURE (8994)

Name Value
NAME DENTVICD ICD GET DIAG
TAG ICD
ROUTINE DENTVICD
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY AGREEMENT
WORD WRAP ON TRUE
DESCRIPTION
This will return specific information for a diagnosis code
INPUT PARAMETER
  • VICD
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   7
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    This is the IEN or .01 field value from the DIAGNOSIS file (#80)
    
  • CDT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   14
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    This is the date to be used to check if the code was active as of that 
    date.
     
    The default value is TODAY.
    
RETURN PARAMETER DESCRIPTION
Return:
  p5  = UNACCEPTABLE AS PRINCIPAL DX (#101) (1:yes)
  p6  = MAJOR DIAGNOSTIC CATEGORY ien (#5)
  p7  = MDC13 (#5.5)
  p8  = COMPLICATION/COMORBIDITY (#70)
  p9  = ICD EXPANDED (#8)
  p10 = STATUS where 0:inactive;1:active
  p11 = SEX (#9.5) [M/F]          p15 = AGE LOW (#14)
  p12 = INACTIVE DATE [int;ext]   p16 = AGE HIGH (#15)
  p13 = MDC24 (#5.7)              p17 = ACTIVATION DATE
  p14 = MDC25 (#5.9)              p18 = NOTICE OF TEXTUAL INACCURACY 
  If problems encountered, -1^error message
  If valid diagnosis but failed input screen, 0^message
  If valid daignosis and passes input screen, p1^p2^...
 
  p1  = ien
  p2  = code number
  p3  = IDENTIFIER (#2)
  p4  = DIAGNOSIS (#3)