IBCSC5A ;ALB/ARH - ADD/ENTER PRESCRIPTION FILLS ;12/27/93
Source file <IBCSC5A.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 prescription fills for a bill, IBIFN required
|
|
E1 | ||
EXIT | ;
|
|
ASKRX(IBRXAP,IBPRO) | ;
|
|
ARX1E | ||
ASKDT(IBDT1,IBDT2,IBDT) | ;
|
|
ADD(RX,IFN,IBDT,DRUG,PIFN,OTHER,IBRF) | ;
|
|
ADDE | ||
EDIT(PIFN,REVIEN) | ;
|
|
SET(IFN,RXARR,RXARRP) | ;setup array of all rx fills for bill, array name should be passed by reference
|
|
DISP(RXARR,RXARRP) | ;screen display of existing fills for a bill: input should be print order array returned by SET^IBCSC5A: RXARR(RX,DT)=RX IFN (362.4) ^ DRUG, passed by reference
|
|
HELP(IFN) | ;called for help from rx enter to display existing rx, displays rx' from 52 and 399
|
|
BILL(IBIFN) | ; return data on a bill 'patient ifn ^ from dt ^ to dt ^ true if add original rx'
|
|
DRUG(IBD) | ; get drug
|
|
RCITEM(IBIFN,ARRAY,TYPE) | ; Pull off all item charges from RC multiple
; for item TYPE on bill IBIFN, return array ARRAY ; If type = "ALL", pull off all types |
|
FINDREV(IBIFN,TYP,PTR) | ; Finds the first revenue code that matches the
; same item type and item pointer |
|
NDCNUM(IBNDC) | ; Returns the format of the NDC # IBNDC, if possible
|
|
PRVNM(PIFN) | ; return provider name for an rx, if one defined or null
|
|
ORDT(IBORDT,Y) | ;get ISSUE DATE from file 52 and stuff into ORDER DATE of file 362.4
|
Name | Field # of Occurrence |
---|---|
FILE^DICN | ADD+3 |
^DIE | ADD+7, EDIT+7, ORDT+3 |
^DIK | EDIT+9, EDIT+10 |
^DIR | ASKRX+3, ASKRX+8, ASKDT+1 |
$$CHG^IBCF4 | SET+7 |
$$CPTNM^IBCRBH1 | DISP+12 |
$$PERDIEM^IBCRU3 | BILL+3 |
$$DATE^IBCSC5C | DISP+9 |
$$HTEXT^IBCSC5C | ASKRX+2 |
ADDNEW^IBCSC5C | EN+3 |
NEWRX^IBCSC5C | EN+3 |
RXDISP^IBCSC5C | EN+3, HELP+1 |
$$RXSTAT^IBCU1 | DISP+5 |
$$RXDUP^IBCU3 | E1+2, DISP+10 |
$$FILE^IBRXUTL | PRVNM+2 |
ZERO^IBRXUTL | DISP+6 |
DIC^PSSDI | DRUG+1 |
$$FMTE^XLFDT | ASKRX+7, ASKDT+1, EDIT+4 |
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 |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^IBA(362.4 - [#362.4] | Classic Fileman Calls |
^PSDRUG - [#50] | Classic Fileman Calls |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DGCR(399 - [#399] | EDIT+9, DISP+10, DISP+11, BILL+2, BILL+4, RCITEM+11, FINDREV+5 |
^DGCR(399.2 - [#399.2] | DISP+12 |
^IBA(362.4 - [#362.4] | EDIT+3, EDIT+8, SET+6, SET+7, DISP+5, PRVNM+2 |
^TMP($J | DISP+7, DISP+8! |
^VA(200 - [#200] | PRVNM+2 |
Name | Field # of Occurrence |
---|---|
^( | RCITEM+11, FINDREV+5 |
^(0 | EDIT+9 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ARRAY | RCITEM~, RCITEM+11 |
CNT | SET+3~, SET+6*, SET+7*, SET+13 |
DA | ADD+1~, ADD+7*!, EDIT+1~, EDIT+7*, EDIT+9*, EDIT+10*, ORDT+2~, ORDT+3* |
DA(1 | EDIT+9*, EDIT+10* |
DD | ADD+1~ |
>> DFN | EN+1*, EN+3 |
>> DGRVRCAL | EN+3*, E1*, ADD+8*, EDIT+11* |
DIC | ADD+1~, ADD+3*, ADD+7!, EDIT+1~, DRUG+1*! |
DIC(0 | ADD+3*, DRUG+1* |
DIDEL | EDIT+1~, EDIT+5* |
DIE | ADD+7*!, EDIT+1~, EDIT+5*, ORDT+2~, ORDT+3* |
>> DIK | EDIT+9*, EDIT+10* |
DIR | ASKRX+3!, ASKRX+8!, ASKDT+1! |
DIR("?" | ASKRX+2* |
DIR("??" | ASKRX+2* |
DIR("A" | ASKRX+3*, ASKRX+7*, ASKDT+1* |
DIR("B" | ASKRX+7*, ASKDT+1* |
DIR(0 | ASKRX+3*, ASKRX+7*, ASKDT+1* |
DIRUT | ASKRX+3!, ASKRX+8, ASKDT+1! |
DLAYGO | ADD+1~, ADD+3* |
DO | ADD+1~ |
DR | ADD+7*!, EDIT+1~, EDIT+6*, ORDT+2~, ORDT+3* |
DRUG | ADD~, ADD+2*, ADD+7 |
DTOUT | ASKDT+1! |
IBC | SET+3~*, SET+6 |
IBCHG | EDIT+1~ |
IBCNT | SET+3~*, SET+14* |
IBD | DRUG~, DRUG+1*, DRUG+2 |
IBDRG | E1+4*, EXIT+1! |
IBDT | E1*, E1+1*, E1+2, E1+3, E1+4, E1+5, EXIT+1!, ASKDT~, ASKDT+1, ADD~ , ADD+7 |
IBDT1 | EN+1*, EN+3, E1+1, EXIT+1!, ASKDT~, ASKDT+1 |
IBDT2 | EN+1*, EN+3, E1+1, EXIT+1!, ASKDT~, ASKDT+1 |
>> IBI | DISP+4*, DISP+9 |
IBIFN | EN+1, EN+2, EN+3, EN+4, E1+2, E1+5, E1+8, ASKRX+2, EDIT+9, EDIT+10 , DISP+1~, DISP+3*, DISP+10, DISP+11, DISP+12, BILL~, BILL+2, BILL+4, RCITEM~, RCITEM+11 , FINDREV~, FINDREV+5 |
IBLIST | EN+3, EXIT+1! |
IBNDC | NDCNUM~, NDCNUM+2, NDCNUM+3 |
IBORDT | EDIT+1~, EDIT+3*, EDIT+4, ORDT~, ORDT+1, ORDT+3 |
IBP | DISP+1~, DISP+7*, DISP+12 |
IBPIFN | E1*, E1+4*, E1+5*, E1+6, E1+8, EXIT+1! |
IBPR | EN+3, EXIT+1!, HELP+1 |
IBPR( | E1+1, E1+3, E1+5 |
IBPRO | EN+3, EN+4, E1, E1+8, EXIT+1!, ASKRX~, ASKRX+4, HELP+1 |
IBPRO( | ASKRX+6 |
IBPRV | PRVNM+1~*, PRVNM+2*, PRVNM+3 |
IBRC | SET+3~, SET+7 |
IBRF | ADD~, ADD+7 |
IBRX | E1*, E1+1, E1+2, E1+3, E1+4, E1+5, EXIT+1! |
IBRXA | EN+2, EN+3, EN+4, E1+8, EXIT+1!, HELP+1~ |
IBRXA( | E1+1, E1+2, E1+4 |
IBRXALL | EN+1*, EN+3, EXIT+1! |
IBRXAP | EN+4*, E1, E1+8*, EXIT+1!, ASKRX~, ASKRX+4, HELP+1* |
IBRXAP( | ASKRX+6 |
IBRXIFN | PRVNM+1~, PRVNM+2* |
IBS | DISP+1~, DISP+5*, DISP+9 |
IBX | EN+1*, E1+5*, EXIT+1!, ASKRX+1~*, ASKRX+4*, ASKRX+6, ASKRX+8*, ARX1E, ADD+1~, ADD+2* , ADD+7*, ADDE, SET+3~, SET+6*, SET+14*, DISP+1~, DISP+4*, DISP+5, DISP+6, DISP+7 , DISP+9, DISP+10, DISP+11, DISP+12, HELP+1~*, BILL+1~, BILL+2*, BILL+3, BILL+4*, PRVNM+1~ , PRVNM+2* |
IBY | ASKRX+1~, ASKRX+6*, ASKRX+7, ASKRX+8, SET+3~, SET+7*, SET+8, SET+9, SET+11, SET+14* , DISP+1~, DISP+4*, DISP+5, DISP+6, DISP+7, DISP+9, DISP+10, DISP+11, DISP+12, BILL+1~ , BILL+2*, BILL+3*, BILL+4*, BILL+5 |
IBZ | SET+3~, DISP+1~, DISP+7*, DISP+9, DISP+10*, DISP+11*, DISP+12 |
IFN | ADD~, ADD+7, SET~, SET+3, SET+5, SET+8, SET+13, HELP~, HELP+1 |
OTHER | ADD~, ADD+6, ADD+7 |
PIFN | ADD~, ADD+7, EDIT~, EDIT+3, EDIT+7, EDIT+8, SET+3~, SET+6*, SET+7, SET+8 , PRVNM~, PRVNM+2 |
PTR | FINDREV~, FINDREV+5 |
REVIEN | EDIT~, EDIT+8, EDIT+9, EDIT+10, FINDREV+3~, FINDREV+5*, FINDREV+6 |
RX | ADD~, ADD+3 |
RXARR | SET~, SET+3!, SET+13*, DISP~, DISP+3 |
RXARR( | SET+7*, SET+8*, SET+9*, SET+11*, SET+14, DISP+4, DISP+5, DISP+6, DISP+7, DISP+11 , DISP+12 |
RXARRP | SET~, SET+3!, DISP~ |
RXARRP( | SET+14*, DISP+4 |
TYP | FINDREV~, FINDREV+5 |
TYPE | RCITEM~, RCITEM+11 |
U | EN+1, EN+3, E1, E1+4, E1+5, E1+8, ASKRX+7, ADD+6, ADD+7, EDIT+3 , EDIT+9, SET+7, SET+8, SET+9, SET+11, SET+14, DISP+4, DISP+5, DISP+6, DISP+7 , DISP+9, DISP+10, DISP+11, DISP+12, HELP+1, BILL+2, BILL+3, BILL+4, RCITEM+11, FINDREV+5 , PRVNM+2 |
X | ASKRX+1~, ADD+1~, ADD+3*, DRUG+1~ |
Y | ASKRX+1~, ASKRX+3*, ASKRX+4, ASKRX+8, ASKDT+2, ADD+1~, ADD+4, ADD+6, ADD+7, DRUG+1~ , ORDT~, ORDT+3 |
Z | RCITEM+9~, RCITEM+10*, RCITEM+11*, FINDREV+3~, FINDREV+4*, FINDREV+5*, NDCNUM+1~, NDCNUM+2*, NDCNUM+3 |
Z0 | RCITEM+9~, RCITEM+11*, FINDREV+3~, FINDREV+5* |
Z1 | RCITEM+9~, RCITEM+11* |