DSIC ICD9 GET DIAGNOSIS (1628)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIC ICD9 GET DIAGNOSIS
TAG ICD9
ROUTINE DSICDRG
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY AGREEMENT
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 ifn or .01 field value from the DIAGNOSIS file (#80)
    
  • FLDS
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   50
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    This is a "^"-delimited list of field values you wish returned for a
      9.5 - USE ONLY WITH SEX (M, F, or <null>)
       15 - AGE (N:newborn;P:pediatric;A:adult)
      100 - INACTIVE (1 or <null>)
      101 - UNACCEPTABLE AS PRINCIPAL DX (1 if not acceptable)
      102 - INACTIVE DATE
     
    Default value:  ien^.01^3
    diagnosis code.
     
    Acceptable field numbers:
      ien - return ifn to file 80
      .01 - ICD9 NAME (diagnosis code)
        3 - DIAGNOSIS (short description 2-30 char)
        5 - MAJOR DIAGNOSTIC CATEGORY (external value from 80.3)
       10 - DESCRIPTION (long description 1-245 char)
    
  • CDT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   14
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    This date is optional.  It can be <null>, TODAY, NOW, or a internal 
    Fileman format date.  Default value is TODAY.  This date will be used to 
    check if the code was active as of that date.
     
    This parameter is not used at this time
    
  • SCR
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   2
    REQUIRED:   NO
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    This is a single or double character code used to screen out diagnoses.
      SCR = "A" - default value - return only active codes
            "U" - return codes which are acceptable as a principal diagnosis
            "N" - do not screen out any codes
           "AU" - return codes which are both active and acceptable as a
                  principal diagnosis
    
RETURN PARAMETER DESCRIPTION
Return:
  If problems encountered, -1^error message
  If valid diagnosis but failed input screen, 0^message
  If valid daignosis and passes input screen, p1^p2^...
     for details on string returned see ICD9^DSICDRG
 
end description 06-23-2003