IBACSV ;WOIFO/AAT - CODE SET VERSIONING IB UTILITIES ;19-FEB-03
Source file <IBACSV.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
B30416 | ;
|
|
CPT(IBC,IBDT,IBERROR) | ||
ICD0(IBC,IBDT,IBERROR) | ||
ICD9(IBC,IBDT,IBERROR) | ||
DRG(IBC,IBDT,IBERROR) | ||
CPTACT(IEN,IBDT) | ||
ICD0ACT(IEN,IBDT) | ||
ICD9ACT(IEN,IBDT) | ||
DRGACT(IEN,IBDT) | ||
CPTIEN(IBC) | ||
ICD0IEN(IBC) | ||
ICD9IEN(IBC) | ||
DRGIEN(IBC) | ||
ICD0VER(IEN) | ||
ICD9VER(IEN) | ||
ICD0SYS(IBDT) | ||
ICD9SYS(IBDT) | ||
BDATE(IBIFN,PROC) | ;
; PROC (Optional) - IEN of PROCEDURES sub-file. ; if PROC is defined, the function will try to return the date of procedure first. |
|
CSVDATE(IBSYS) | ;
|
|
PTFDATE(IBPTF) | ;
|
|
TRNDATE(IBTRN) | ; The EPISODE DATE is used to determine the date of service
; for the given Tracking Number |
|
DRGTD(IEN,IBDT) | ;
|
Name | Field # of Occurrence |
---|---|
$$ICDDX^ICDEX | ICD9+3, ICD9IEN+2, ICD9VER+2 |
$$ICDOP^ICDEX | ICD0+3, ICD0IEN+2, ICD0VER+2 |
$$LS^ICDEX | ICD0ACT+3, ICD9ACT+3 |
$$SYS^ICDEX | ICD0SYS+3, ICD9SYS+3 |
$$DRG^ICDGTDRG | DRG+3, DRGACT+3, DRGIEN+2 |
$$DRGD^ICDGTDRG | DRGTD+4 |
$$GETDATE^ICDGTDRG | PTFDATE+2 |
DRGD^ICDGTDRG | DRGTD+3 |
$$CPT^ICPTCOD | CPT+3, CPTACT+3, CPTIEN+2 |
$$IMPDATE^LEXU | CSVDATE+2 |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DGCR(399 - [#399] | BDATE+10, BDATE+12, BDATE+13 |
^IBT(356 - [#356] | TRNDATE+3 |
^ICD - [#80.2] | DRGTD+3 |
Name | Line Occurrences |
---|---|
$$BDATE | B30416+1 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
>> DA(1 | B30416+1 |
>> DA(2 | B30416+1 |
>> DGPROCDT | BDATE+11 |
>> DIC("S" | B30416+2* |
>> DIC("W" | B30416+3* |
DT | CPT+1, ICD0+1, ICD9+1, DRG+1, CPTACT+1, ICD0ACT+1, ICD9ACT+1, DRGACT+1, ICD0SYS+2, ICD9SYS+2 |
IBARR | DRGTD+1~ |
IBARR(1 | DRGTD+5 |
IBC | CPT~, CPT+3, ICD0~, ICD0+3, ICD9~, ICD9+3, DRG~, DRG+3, CPTIEN~, CPTIEN+2 , ICD0IEN~, ICD0IEN+2, ICD9IEN~, ICD9IEN+2, DRGIEN~, DRGIEN+2 |
IBDAT | BDATE+3~, BDATE+4*, BDATE+11*, BDATE+12*, BDATE+13*, BDATE+14 |
IBDT | CPT~, CPT+1*, CPT+3, ICD0~, ICD0+1*, ICD0+3, ICD9~, ICD9+1*, ICD9+3, DRG~ , DRG+1*, DRG+3, CPTACT~, CPTACT+1*, CPTACT+3, ICD0ACT~, ICD0ACT+1*, ICD0ACT+3, ICD9ACT~, ICD9ACT+1* , ICD9ACT+3, DRGACT~, DRGACT+1*, DRGACT+3, ICD0SYS~, ICD0SYS+2*, ICD0SYS+3, ICD9SYS~, ICD9SYS+2*, ICD9SYS+3 , DRGTD~, DRGTD+2*, DRGTD+4 |
IBERROR | CPT~, CPT+2*, CPT+4*, ICD0~, ICD0+2*, ICD0+4*, ICD9~, ICD9+2*, ICD9+4*, DRG~ , DRG+2*, DRG+4* |
IBIFN | BDATE~, BDATE+5, BDATE+10, BDATE+12, BDATE+13 |
IBINF | CPT~, CPT+3*, CPT+4*, CPT+5, ICD0~, ICD0+3*, ICD0+4*, ICD0+5, ICD9~, ICD9+3* , ICD9+4*, ICD9+5, DRG~, DRG+3*, DRG+4*, DRG+5, CPTACT~, CPTACT+3*, CPTACT+4, ICD0ACT~ , ICD0ACT+3*, ICD0ACT+4, ICD9ACT~, ICD9ACT+3*, ICD9ACT+4, DRGACT~, DRGACT+3*, DRGACT+4, CPTIEN~, CPTIEN+2* , CPTIEN+3, ICD0IEN~, ICD0IEN+2*, ICD0IEN+3, ICD9IEN~, ICD9IEN+2*, ICD9IEN+3, DRGIEN~, DRGIEN+2*, DRGIEN+3 , ICD0VER~, ICD0VER+2*, ICD0VER+3, ICD9VER~, ICD9VER+2*, ICD9VER+3, ICD0SYS~, ICD0SYS+3*, ICD0SYS+4, ICD9SYS~ , ICD9SYS+3*, ICD9SYS+4, CSVDATE+1~*, CSVDATE+2*, CSVDATE+3 |
IBPTF | PTFDATE~, PTFDATE+1, PTFDATE+2 |
IBRES | CPTACT~, CPTACT+2*, CPTACT+4*, CPTACT+5, ICD0ACT~, ICD0ACT+2*, ICD0ACT+4*, ICD0ACT+5, ICD9ACT~, ICD9ACT+2* , ICD9ACT+4*, ICD9ACT+5, DRGACT~, DRGACT+2*, DRGACT+4*, DRGACT+5, CPTIEN~, CPTIEN+1*, CPTIEN+3*, CPTIEN+4 , ICD0IEN~, ICD0IEN+1*, ICD0IEN+3*, ICD0IEN+4, ICD9IEN~, ICD9IEN+1*, ICD9IEN+3*, ICD9IEN+4, DRGIEN~, DRGIEN+1* , DRGIEN+3*, DRGIEN+4, ICD0VER~, ICD0VER+1*, ICD0VER+3*, ICD0VER+4, ICD9VER~, ICD9VER+1*, ICD9VER+3*, ICD9VER+4 , ICD0SYS~, ICD0SYS+1*, ICD0SYS+4*, ICD0SYS+5, ICD9SYS~, ICD9SYS+1*, ICD9SYS+4*, ICD9SYS+5, CSVDATE+1~*, CSVDATE+3* , CSVDATE+4, DRGTD+1~, DRGTD+4* |
IBSYS | CSVDATE~, CSVDATE+2 |
IBTRN | TRNDATE~, TRNDATE+2, TRNDATE+3 |
>> ICPTVDT | B30416+1* |
IEN | CPTACT~, CPTACT+3, ICD0ACT~, ICD0ACT+3, ICD9ACT~, ICD9ACT+3, DRGACT~, DRGACT+3, ICD0VER~, ICD0VER+2 , ICD9VER~, ICD9VER+2, DRGTD~, DRGTD+3, DRGTD+4 |
PROC | BDATE~, BDATE+10!, BDATE+11, BDATE+12 |
U | CPT+4, CPT+5, ICD0+4, ICD0+5, ICD9+4, ICD9+5, DRG+4, CPTACT+4, DRGACT+4, CPTIEN+3 , ICD0IEN+3, ICD9IEN+3, DRGIEN+3, ICD0VER+3, ICD9VER+3, BDATE+10, BDATE+12, BDATE+13, TRNDATE+3 |
Name | Field # of Occurrence |
---|---|
$T(DRGD^ICDGTDRG | DRGTD+3 |