Print Page as PDF
SEARCH ICD FILES ICR (5757)

SEARCH ICD FILES    ICR (5757)

Name Value
NUMBER 5757
IA # 5757
DATE CREATED 2011/12/29
CUSTODIAL PACKAGE DRG GROUPER
USAGE Supported
TYPE Routine
ROUTINE ICDSAPI
NAME SEARCH ICD FILES
GENERAL DESCRIPTION
Routine ICDSAPI was developed as a wrapper routine for
DIC lookups during the ICD-10 project to navigate between the ICD-9 Diagnosis
file 80 and the ICD-10 Diagnosis file 8010 under the two file solution.  The
two file solution had the ICD-9 codes and ICD-10 codes stored in two separate
files.  This solution was abandoned in favor of the one file solution where
both ICD-9 and ICD-10 are stored in the same file (ICD Diagnosis file 80).  A
one file solution of these APIs can be found in the routine ICDEXLK (ICD Data
Extraction, special lookup).  Routine ICDSAPI will be exported to support
applications through the transition between the one and two file solutions.
It will be retired 18 months after the ICD-10 compliance date.

STATUS Retired
KEYWORDS
  • SEARCH
  • ICDSAPI
EXPIRATION DATE 2017/04/01
ID ICDSAPI
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
$$SEARCH(FILE,SCR,FMPAR,CDT)
This API conducts a search of the ICD files (80 or
80.1) for a code, a diagnosis or a procedure using Fileman.  This API was
developed at a time when ICD-10 and ICD-9 codes were in different file (aka,
the two file solution).  It is being maintained at the request of the calling
applications.  Now the ICD-10 and ICD-9 codes are in the same file (aka, the
one file solution).  While this API still works, a much better option is
availble using the special lookup routine in file 80 and 80.1.

VARIABLES TYPE VARIABLES DESCRIPTION
FILE Input
This can be either a file number, a file root, a file
identifier, a coding system or a source abbreviation that can be resolved to a
file number.
Coding    Source Number   Root     ID    System
Abbreviation
80     ^ICD9(   DIAG   1 or 30   ICD or 10D
80.1   ^ICD0(   PROC   2 or 31   ICP or 10P

SRC Input
This is a string of MUMPS code that is executed to
screen an entry from selection.  It must contain an IF statement to set the
value of $T.  Those entries that the IF statement sets $T to 0 (false) will
not be displayed or selectable.

FMPAR Input
This is the Fileman Lookup parameter consisting of a
string of alphabetic characters which that alter how the lookup responds.
Default value is "AEMQZ".  DIC(0) will be set to the contents of this
parameter.

Parameters applicable to a versioned file

A   Ask the entry; if erroneous, ask again
B   Only the B index is used
E   Echo information
F   Forget the lookup value
I   Ignore the special lookup program
M   Multiple-index lookup allowed
O   Only find one entry if it matches exactly
S   Suppresses display of .01
T   Search until user selects or enters ^^
X   EXact match required
Z   Zero node in Y(0), external form in Y(0,0)

Parameters not Applicable to a versioned file and ignored by this lookup

C   Versioned cross-references not turned off
K   Primary Key not established
L   Learning a new entry LAYGO not allowed
N   Uppercase, IEN lookup allowed (not forced)
n   ICD has no pure numeric entries
Q   Input is pre-processed, ?? not necessary
U   All values are external
V   Verification is not optional

CDT Input
This is the Code Set Versioning Date (Fileman format)

If supplied only active codes on that date
will be included in the selection list.

If not supplied, the date will default to
TODAY and all codes may be selected, active
and inactive.

In both cases the display will be altered
based on the date.

$$SEARCH Output
This is the value of Fileman's Y output variable.

Y          IEN ^ Code
or
-1 iF not found

DATE ACTIVATED 2016/04/14
GOOD ONLY FOR VERSION 18