Print Page as PDF
ICDXAU ICR (5685)

ICDXAU    ICR (5685)

Name Value
NUMBER 5685
IA # 5685
DATE CREATED 2011/06/08
CUSTODIAL PACKAGE DRG GROUPER
USAGE Private
TYPE Routine
ROUTINE ICDXAU
NAME ICDXAU
GENERAL DESCRIPTION
Routine ICDXAU was developed to replace ICDAPIU 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).  Routine ICDXAU
was abandoned and never exported to test sites, and will not be released to
the field.  This ICR is not used.

STATUS Withdrawn
EXPIRATION DATE 2013/09/09
ID ICDXAU
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
$$STATCHK(CODE,CDT)
This API returns the status, IEN and effective date
of a code.

VARIABLES TYPE VARIABLES DESCRIPTION
CODE Input
This is either an ICD-10 Diagnosis Code or an ICD-10
Procedure code (IEN not allowed) (Required)

CDT Input
This is a date in FileMan format used to check if a
code is active or inactive on a specified date. (Optional, default is TODAY)

$$STATCHK Output
3-Piece "^" delimited string, the following are
possible outputs:

1 ^ IEN ^ Effective Date       Active Code
0 ^ IEN ^ Effective Date       Inactive Code
0 ^ IEN ^ Message              Not Active
0 ^ -1  ^ Error Message        Error

$$NEXT(CODE)
Returns the Next ICD-10 Diagnosis/Procedure Code
(active or inactive).

VARIABLES TYPE VARIABLES DESCRIPTION
CODE Input
This is either an ICD-10 Diagnosis Code or an ICD-10
Procedure code (IEN not allowed) (Required)

$$NEXT Output
This is the Next ICD-10 Code, Null if none

$$PREV(CODE)
Returns the Previous ICD-10 Diagnosis/Procedure Code
(active or inactive)

VARIABLES TYPE VARIABLES DESCRIPTION
CODE Input
This is either an ICD-10 Diagnosis Code or an ICD-10
Procedure code (IEN not allowed) (Required)

$$PREV Output
This is the Previous ICD-10 Code, Null if none

$$HIST(CODE,.ARY)
Returns the activation history of an ICD-10 Code.

VARIABLES TYPE VARIABLES DESCRIPTION
CODE Input
This is either an ICD-10 Diagnosis Code or an ICD-10
Procedure code (IEN not allowed) (Required)

.ARY Input
Local array name, passed by reference.  If passed the
codes activation history will be stored in this array by status and effective
date.  (Optional)

$$HIST Output
The number of activation history entries are
returned, or -1 if an error occurs

ARY Output
Local array containing the activation histories for a
given code:

ARY(0)      = # of Activation History Entries ARY(<date>) = status (1 = Active
0 = Inactive) ARY("IEN")  = <ien>


PERIOD(CODE,ARY)
Returns Activation/Inactivation Periods

VARIABLES TYPE VARIABLES DESCRIPTION
CODE Input
This is either an ICD-10 Diagnosis Code or an ICD-10
Procedure code (IEN not allowed) (Required)

.ARY Input
Local array name, passed by reference.  The
activation periods will be stored in this array by date. (Required)

ARY Output
Local array containing the activation periods for a
given code:

ARY(0) IEN ^ Short Description for TODAY

NOTE:  Future activations will not
have a short description

or

-1 if error

ARY(Activation Date) = 2 piece string

1  Inactivation Date
2  Short Name

Where the Short Name is versioned as
follows:

Period is active

Short Description for the date
the period became active

Period is inactive

Short Description for the date
the period became inactive

or -1^0 (no period or error)