IBTRE6 ;ALB/AAS - CLAIMS TRACKING OUTPUT CLIN DATA ;2-SEP-1993
Source file <IBTRE6.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Name | Comments | DBIA/ICR reference |
---|---|---|
ADMDIAG(IBTRN) | ; -- output admitting diagnosis (inpatient)
|
|
ADMDQ | ||
PDIAG(IBTRN) | ; -- return primary diagnosis (inpatient)
|
|
PDIAGQ | ||
SDIAG | ; -- return secondary diagnosis (inpatient
|
|
ODIAG | ; -- return outpatient diagnosis
|
|
DIAG(IBDX,IBTXT,IBDT) | ; -- Expand diagnosis from pointer
; -- input IBDX = pointer to diag ; IBTXT = if want text added (zero = number only) |
|
APROV(IBTRN) | ; -- return provider (inpatient)
|
|
APROVQ | ||
ATTEND | ; -- return attendings (inpatient)
|
|
PROV | ; -- return providers (inpatient)
|
|
OPROV | ; -- returns outpatient providers
|
|
PROC(IBPR,IBTXT) | ; -- Expand procedure from pointer
; input IBPR=proc^^date (format of ^IBT(356.91,IEN,0)) ; IBTXT = if want text added (zero = number only) |
|
OPROC | ; -- outpatient procedures
|
|
IPROC | ; -- inpatient procedures
|
|
LISTP(IBTRN,IBXY) | ; -- return last y procedures for a tracking entry
; -- input ibtrn = tracking file pointer ; -- output array of procedure by date - ibxy(date)=procedure node |
|
LISTPQ | ||
LSTPDG(X,IBDT,Y) | ; -- return current diagnosis for a tracking entry
; -- input X = tracking file pointer ; ibdt = date for current diagnosis (null = last) ; y = 1= primary (default) ; 2= secondary |
|
LSTPDQ | ||
DTCHK(DA,X) | ; -- input transform for 356.94;.01. date not before admission or after discharge
|
|
DTCHKQ | ||
SETSDX(IBOE,IBSDX) | ; get the list of Outpatient Encounter Diagnosis
; Output: IBSDX = count Dx's found, IBSDX(count) = V POV IEN ^ Dx IEN |
|
LSTSDX(IBSDX) | ; Print list of Outpatient Encounter Diagnosis
; Input: IBSDX = count Dx's found, IBSDX(count) = V POV pointer ^ Dx IEN |
|
SETSDV(IBOE,IBSDV) | ; get list of Outpatient Encounter Providers
; Output: IBSDV = count of Providers found, IBSDV(count) = V PROVIDER IEN ^ DX IEN |
|
LSTSDV(IBSDV) | ; Print list of Outpatient Encounter Providers
; Input: IBSDV = count of Providers found, IBSDV(count) = V PROVIDER IEN ^ PROVIDER IEN |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^IBT(356 - [#356] | ADMDIAG+6, ADMDIAG+9, PDIAG+4, APROV+4, APROV+5, APROV+9, LISTP+7, DTCHK+4 |
^IBT(356.9 - [#356.9] | ADMDIAG+6, PDIAG+4, LSTPDG+10, LSTPDG+11 |
^IBT(356.91 - [#356.91] | LISTP+9, LISTP+10 |
^IBT(356.94 - [#356.94] | APROV+4, APROV+5, DTCHK+4 |
^VA(200 - [#200] | APROVQ, LSTSDV+2 |
Name | Field # of Occurrence |
---|---|
^(0 | LSTPDG+11 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
DA | DTCHK~, DTCHK+3, DTCHK+4 |
DT | LSTPDG+8, DTCHK+9 |
IBARR | SETSDX+2~, SETSDV+2~ |
IBARR( | SETSDX+5, SETSDV+5 |
IBCDT | DTCHK+1~, DTCHK+6*, DTCHK+7, DTCHK+8 |
IBCNT | LISTP+4~ |
IBDA | LISTP+4~, LISTP+9*, LISTP+10, LISTP+12*, LISTP+14, LSTPDG+10*, LSTPDG+11 |
IBDGPM | LISTP+4~, LISTP+7*, LISTP+8, LISTP+9 |
IBDT | DIAG~, DIAG+5, LISTP+4~, LISTP+5*, LISTP+9*, LISTP+10, LISTP+12*, LISTP+14, LSTPDG~, LSTPDG+8* , LSTPDG+10* |
IBDX | ADMDIAG+2~, ADMDIAG+6*, PDIAG+1~, PDIAG+4*, PDIAG+5, DIAG~, DIAG+4, DIAG+5, LSTSDX+2~, LSTSDX+3* |
>> IBETYP | ADMDIAG+5* |
IBI | SETSDX+2~, SETSDX+5*, LSTSDX+2~, LSTSDX+3*, SETSDV+2~, SETSDV+5*, LSTSDV+2~* |
IBOE | SETSDX~, SETSDX+3, SETSDX+4, SETSDV~, SETSDV+3, SETSDV+4 |
IBOK | DTCHK+1~, DTCHK+2*, DTCHK+7*, DTCHK+8*, DTCHK+9*, DTCHKQ |
IBPR | PROC~, PROC+5, PROC+6 |
IBRES | ADMDIAG+2~, ADMDIAG+3*, ADMDIAG+7*, ADMDIAG+11*, ADMDQ, PDIAG+1~, PDIAG+2*, PDIAG+5*, PDIAGQ, DIAG+3~ , DIAG+6*, DIAG+7*, DIAG+8, PROC+3~, PROC+7*, PROC+8*, PROC+9 |
IBSDV | SETSDV~, SETSDV+2!*, SETSDV+5*, LSTSDV~ |
IBSDV( | SETSDV+5*, LSTSDV+2 |
IBSDX | SETSDX~, SETSDX+2!*, SETSDX+5*, LSTSDX~ |
IBSDX( | SETSDX+5*, LSTSDX+3 |
IBTRN | ADMDIAG~, ADMDIAG+4, ADMDIAG+5, ADMDIAG+6, ADMDIAG+9, PDIAG~, PDIAG+3, PDIAG+4, PDIAG+5, APROV~ , APROV+3, APROV+4, APROV+5, APROV+9, LISTP~, LISTP+6, LISTP+7, DTCHK+1~, DTCHK+4*, DTCHK+5 , DTCHK+6 |
IBTXT | DIAG~, DIAG+7, PROC~, PROC+8 |
IBX | LISTP+4~, LISTP+5*, LSTPDG+6~* |
IBX( | LISTP+10*, LISTP+12, LISTP+14 |
IBXY | LISTP~, LISTP+5*, LISTP+13*, LISTP+14 |
IBXY( | LISTP+14* |
IBY | LSTPDG+6~*, LSTPDG+10, LSTPDG+11*, LSTPDQ |
IBZ | DIAG+3~, DIAG+5*, DIAG+6, DIAG+7, PROC+3~, PROC+6*, PROC+7, PROC+8 |
U | ADMDIAG+9, DIAG+6, DIAG+7, APROV+9, PROC+6, PROC+7, PROC+8, LSTPDG+11, SETSDX+5, LSTSDX+3 , SETSDV+5, LSTSDV+2 |
VA200 | ADMDIAG+8~, ADMDIAG+10*, APROV+10* |
VAIN | ADMDIAG+8~, APROV+8~ |
VAIN(11 | APROV+6, APROV+12 |
VAIN(2 | APROV+6, APROV+7, APROV+11 |
VAIN(9 | ADMDIAG+7, ADMDIAG+11 |
VAINDT | ADMDIAG+8~, ADMDIAG+9*, APROV+8~, APROV+9* |
X | ADMDIAG+2~, APROV+2~*, APROV+4*, APROV+5*, APROV+6*, APROV+11*, APROV+12*, APROVQ, LSTPDG~, LSTPDG+7 , LSTPDG+10, DTCHK~, DTCHK+3, DTCHK+7, DTCHK+8, DTCHK+9 |
Y | LSTPDG~, LSTPDG+9*, LSTPDG+11 |
>> Z | PROC+4* |