IBCSC4D ;ALB/ARH - ADD/ENTER DIAGNOSIS ;11/9/93
Source file <IBCSC4D.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 |
---|---|---|
EN | ;add/edit diagnosis for a bill, IBIFN required
|
|
E1 | ||
EXIT | ||
ASKDX() | ;
|
|
AD | ||
ADD(DX,IFN,DXPOA) | ;
|
|
EDIT(IBDXIFN) | ;
|
|
EDITQ | ||
SET(IFN,DXARR,POARR) | ;setup arrays of all dx's for bill, array names should be passed by reference
|
|
DISP(POARR) | ;screen display of existing dx's for a bill,
|
|
DISP1(IFN) | ;
|
|
HELP | ;called for help from dx enter to display existing dx's
|
|
ADD1(IFN) | ;does not work, but it should replace ask add, and edit
|
|
DXOPT(IBIFN) | ; display and ask user to select PCE diagnosis
|
|
OPTDX(DFN,DT1,DT2,ARRAY,IBDXE) | ; get diagnosis from PCE for encounters within date range
; ARRAY(X)= DX ^ ORDER ^ OUTPATIENT ENCOUNTER (409.68) ^ DATE/TIME ^ TRUE IF NON-BILL ^ NON-BILL MESS ^ CLINIC |
|
NEWDX(IBX) | ; user select PCE diagnosis to add to bill
|
|
NEWDX1 | ||
NEWDXE | ||
ADDNEW(IBIFN,LIST,IBOEA) | ; add selected PCE diagnosis to bill
|
|
DISPOE(OEARR,EXARR) | ; display outpatient PCE diagnosis
|
|
DISPID | ; Display the Associated Dx and Rx # for a procedure in the identifier.
; Input: Naked reference to the 0th node of an entry in the ; Procedures (#304) sub-file of the Bill/Claims (#399) file. |
|
FIRSTDX(DA) | ; Called by trigger cross reference #2 on file 362.3,.03
; DA is the ien of the entry in file 362.3 ; Check if the corresponding bill is for an inpatient episode, the ; admitting dx for the corresponding bill is null and the dx being ; entered is the first for the bill. If this is all true, admitting ; dx should be set to the dx. |
Name | Field # of Occurrence |
---|---|
FILE^DICN | ADD+3 |
^DIE | EN+15, EDIT+6, EDIT+11 |
^DIR | AD+5, NEWDX1+3, NEWDX1+7 |
$$BDATE^IBACSV | EN+14, ASKDX+3, ADD+1, DISP+3, DISPOE+3, DISPID+8 |
$$ICD9^IBACSV | ADD+1, DISP+5, DISPOE+5, DISPID+8 |
$$ICD9ACT^IBACSV | AD+6 |
$$ICD9SYS^IBACSV | AD+3 |
$$ICD9VER^IBACSV | ADD+1 |
$$FT^IBCEF | EN+9, EN+12, EDIT+4, DISP+6 |
$$INPAT^IBCEF | EN+4, ASKDX+5, DISP+6, FIRSTDX+9 |
DELALL^IBCSC4E | EN+5 |
DXINPT^IBCSC4E | EN+6 |
POAASK^IBCSC4E | EN+9 |
$$MAXECODE^IBCSC4F | ADD+1 |
$$PRCNM^IBCSCH1 | DISPID+5 |
UPD^IBCU72 | EDIT+20, EDIT+34, EDIT+35 |
$$DAT1^IBOUTL | ASKDX+4 |
SCAN^IBSDU | OPTDX+8 |
$$EXPAND^IBTRE | ASKDX+6, DISPOE+9 |
$$FMTE^XLFDT | DISPOE+10 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^IBA(362.3 - [#362.3] | Classic Fileman Calls |
^DGCR(399 - [#399] | Classic Fileman Calls |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DGCR(399 - [#399] | EN+3, E1+1, ASKDX+6, EDIT+19, EDIT+30, EDIT+36, HELP+2, HELP+3, DXOPT+3, DISPID+6 , DISPID+7, FIRSTDX+9 |
^IBA(362.3 - [#362.3] | EN+9, EDIT+8, EDIT+10, EDIT+16, SET+4, SET+5, ADDNEW+3, DISPID+8, FIRSTDX+8, FIRSTDX+9 |
^IBA(362.4 - [#362.4] | DISPID+7 |
^SC - [#44] | DISPOE+8 |
^TMP("DIERR" | OPTDX+8! |
Name | Line Occurrences |
---|---|
$$ADD | E1, ADDNEW+4 |
$$ASKDX | E1 |
$$FIRSTDX | EDIT+8 |
AD | AD+6 |
ADDNEW | DXOPT+5 |
DISP | EN+8, DISP1+1, HELP+4 |
DISPOE | HELP+3, DXOPT+4 |
DXOPT | EN+7 |
E1 | E1 |
EDIT | E1 |
EDITQ | EDIT+8 |
EXIT | EN+12 |
NEWDX | DXOPT+5 |
NEWDX1 | NEWDX1+8 |
NEWDXE | NEWDX1+3, NEWDX1+7 |
OPTDX | HELP+3, DXOPT+4 |
SET | EN+8, E1, DISP1+1, HELP+2, HELP+4, DXOPT+2 |
Name | Field # of Occurrence |
---|---|
^( | EDIT+19, EDIT+30 |
^(0 | DISPID+4 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ARR | SET+3~, OPTDX+2~, OPTDX+17! |
ARR( | SET+7*, SET+8, OPTDX+14, OPTDX+16* |
ARRAY | OPTDX~, OPTDX+3!, OPTDX+17* |
ARRAY( | OPTDX+16* |
CNT | SET+3~, SET+4*, SET+6*, SET+9 |
DA | EN+13~, EN+15*, ADD+3!, EDIT+2*, EDIT+6!, EDIT+9~, EDIT+11*, FIRSTDX~, FIRSTDX+8 |
DA(1 | DISPID+6, DISPID+7, DISPID+8 |
DFN | HELP+3*, DXOPT+1~, DXOPT+3*, DXOPT+4, OPTDX~, OPTDX+6 |
>> DGRVRCAL | E1+1* |
DIC | ADD+3*!, EDIT+6! |
DIC("DR" | ADD+2* |
DIC(0 | ADD+3* |
DIDEL | EDIT+2*, EDIT+6! |
DIE | EN+13~, EN+15*, EDIT+2*, EDIT+6!, EDIT+9~, EDIT+11* |
DIFN | SET+3~, SET+5*, SET+7 |
DIR | AD+5!, NEWDX+1~, NEWDX1+3!, NEWDX1+7! |
DIR("?" | AD+1*, AD+2*, NEWDX1*, NEWDX1+1* |
DIR("??" | AD* |
DIR("A" | NEWDX1+2*, NEWDX1+6* |
DIR("B" | NEWDX1+6* |
DIR("S" | AD+3* |
DIR(0 | AD+4*, NEWDX1+3*, NEWDX1+7* |
DIRUT | NEWDX+1~, NEWDX1+3, NEWDX1+7 |
DO | ADD+3! |
DR | EN+13~, EN+15*, EDIT+5*, EDIT+6!, EDIT+9~, EDIT+11* |
DT1 | OPTDX~, OPTDX+4*, OPTDX+6 |
DT2 | OPTDX~, OPTDX+4*, OPTDX+6 |
DX | ADD~, ADD+1, ADD+3 |
DXARR | SET~, SET+3!, SET+9* |
DXARR( | SET+7* |
DXPOA | ADD~, ADD+2 |
EXARR | DISPOE~ |
EXARR( | DISPOE+6 |
I | DISPID+3~, DISPID+5*, DISPID+8* |
IB0 | EDIT+9~, EDIT+10*, EDIT+11 |
IBC | SET+3~*, SET+4, SET+5 |
IBCBK | OPTDX+2~, OPTDX+7*, OPTDX+8 |
IBCNT | OPTDX+2~, OPTDX+4*, OPTDX+10*, OPTDX+15*, OPTDX+16, OPTDX+17, DISPOE+1~, DISPOE+4*, DISPOE+5, DISPOE+6 , DISPOE+7 |
IBCNT1 | OPTDX+2~, OPTDX+4*, OPTDX+10*, OPTDX+15*, OPTDX+17 |
IBDATE | ASKDX+1~, ASKDX+3*, ASKDX+4, AD+3, AD+6, DISP+2~, DISP+3*, DISP+5, DISPOE+1~, DISPOE+3* , DISPOE+5 |
IBDIFN | EN+8*, E1*, EXIT! |
IBDT | OPTDX+2~, ADDNEW+1~ |
IBDTTX | ASKDX+1~, ASKDX+4*, AD+2, AD+7 |
IBDX | E1*, EXIT!, OPTDX+2~, OPTDX+14*, OPTDX+15, OPTDX+16, ADDNEW+1~, ADDNEW+3*, ADDNEW+4, DISPOE+1~ , DISPOE+5*, DISPOE+7 |
IBDXA | EN+8, E1, EXIT!, HELP+2, HELP+3, HELP+4, DXOPT+1~, DXOPT+2, DXOPT+4, OPTDX+2~ , OPTDX+17! |
IBDXA( | E1, AD+6, OPTDX+10, OPTDX+11, OPTDX+12, OPTDX+13, OPTDX+14 |
IBDXB | OPTDX+2~, OPTDX+17! |
IBDXB( | OPTDX+14 |
IBDXE | OPTDX~ |
IBDXE( | OPTDX+15 |
IBDXIFN | EDIT~, EDIT+2, EDIT+8, EDIT+10, EDIT+16, EDIT+20 |
IBDXN | OPTDX+2~, OPTDX+13*, OPTDX+14 |
IBHIT | EDIT+17~, EDIT+18*, EDIT+20*, EDIT+26 |
IBI | OPTDX+2~, OPTDX+10*, OPTDX+11, OPTDX+12, OPTDX+13, OPTDX+14, ADDNEW+1~, ADDNEW+2* |
IBIFN | EN+3, EN+4, EN+5, EN+6, EN+7, EN+8, EN+9, EN+12, EN+14, EN+15 , E1, E1+1, ASKDX+3, ASKDX+5, ASKDX+6, EDIT+4, EDIT+19, EDIT+30, EDIT+36, DISP+3 , DISP+6, HELP+1, HELP+2, HELP+3, HELP+4, DXOPT~, DXOPT+2, DXOPT+3, DXOPT+5, ADDNEW~ , ADDNEW+3, ADDNEW+4, DISPOE+3 |
IBINP | EN+1~, EN+4*, EN+6, EN+7, EN+9, EN+12, EDIT+4 |
IBJ | OPTDX+2~, OPTDX+11*, OPTDX+12, OPTDX+13, OPTDX+14 |
IBK | OPTDX+2~, OPTDX+12*, OPTDX+13, OPTDX+14 |
IBLIST | DXOPT+1~, DXOPT+5, NEWDX+1!, NEWDX1+4*, NEWDX1+6, NEWDX1+7! |
IBOE | OPTDX+2~ |
IBOEA | ADDNEW~ |
IBOEA( | ADDNEW+2, ADDNEW+3 |
IBOEDX | HELP+3, DXOPT+1~, DXOPT+4, DXOPT+5 |
IBPIECE | EDIT+17~, EDIT+20*, EDIT+31*, EDIT+33, EDIT+34, EDIT+35 |
IBPIFN | ADDNEW+1~ |
IBPOA | EN+8, E1, EXIT!, HELP+4 |
IBPROC | EDIT+17~, EDIT+18*, EDIT+19*, EDIT+29*, EDIT+30*, EDIT+36 |
IBPROCD | EDIT+17~, EDIT+19*, EDIT+20, EDIT+30*, EDIT+33, EDIT+35, EDIT+36* |
IBQ | ADDNEW+1~ |
IBVAL | OPTDX+2~, OPTDX+8 |
IBVAL("BDT" | OPTDX+6* |
IBVAL("DFN" | OPTDX+6* |
IBVAL("EDT" | OPTDX+6* |
IBX | EN+3*, E1+1*, EXIT!, SET+3~, SET+4*, SET+5, SET+8*, DISP+2~, DISP+5*, HELP+1~ , HELP+2*, HELP+3*, DXOPT+1~, DXOPT+3*, DXOPT+4, NEWDX~, NEWDX+1, NEWDX1+3, ADDNEW+1~, ADDNEW+2* , ADDNEW+3, DISPOE+1~, DISPOE+6*, DISPOE+7 |
IBY | SET+3~, SET+5*, SET+6, SET+7, SET+8*, DISP+2~, DISP+5*, DISP+7, ADDNEW+1~, DISPOE+1~ , DISPOE+5*, DISPOE+8, DISPOE+9, DISPOE+10, DISPOE+11, DISPID+3~, DISPID+4*, DISPID+6 |
IBZ | SET+3~, SET+6*, SET+7, DISP+2~, DISP+5*, DISP+6, DISP+7, ADDNEW+1~ |
ICDVDT | EN+13~, EN+14*, ASKDX+1~, ASKDX+3* |
IFN | ADD~, ADD+1, ADD+2, SET~, SET+3, SET+9, DISP1~, DISP1+1, ADD1~ |
IOF | DISPOE+2 |
LIST | ADDNEW~, ADDNEW+1, ADDNEW+2 |
NEEDPOA | EDIT+1~, EDIT+4*, EDIT+5 |
OEARR | DISPOE~ |
OEARR( | DISPOE+4, DISPOE+5, DISPOE+6 |
OK | FIRSTDX+7~, FIRSTDX+8*, FIRSTDX+9*, FIRSTDX+10 |
POA | DISP+2~, DISP+6*, DISP+7 |
POAEDIT | EN+1~, EN+2*, EN+9 |
POARR | SET~, SET+3!, SET+9*, DISP~, DISP1+1~ |
POARR( | SET+8*, DISP+5 |
U | E1+1, EDIT+11, SET+6, SET+7, DISP+6, DISP+7, HELP+3, DXOPT+3, DXOPT+4, DXOPT+5 , OPTDX+14, DISPOE+7, DISPOE+8, DISPOE+9, DISPOE+10, DISPOE+11, DISPID+5, DISPID+7, DISPID+8, FIRSTDX+9 |
X | ASKDX+1~, ADD+3*!, EDIT+9~, NEWDX+1~, DISPID+3~, DISPID+4*, DISPID+5, DISPID+8 |
Y | EN+12, ASKDX+1~, AD+6, AD+8, ADD+4, EDIT+9~, NEWDX+1~, NEWDX1+3, NEWDX1+4, NEWDX1+8 , DISPID+4 |
Z | ASKDX+6~*, ASKDX+7, DISPID+3~, DISPID+6*, DISPID+7*, FIRSTDX+7~, FIRSTDX+8*, FIRSTDX+9 |