BMCADDFY ; IHS/PHXAO/TMJ - ADD A NEW REFERRAL FOR A SPECIFIC FISCAL YEAR ; [ 01/09/2006 3:51 PM ]
Source file <BMCADDFY.m>
Package | Total | Call Graph |
---|---|---|
Referred Care Information System | 9 | ($$ASF,$$REFNFY,EOP,HDR,PARMSET,PAUSE)^BMC (ADDVREF,BOCOM)^BMCADD (COMMENTS,DXPX,STATIC)^BMCADD1 ^BMCADD2 DSPV^BMCADDP (DDS,DIC,DIE,FILE)^BMCFMC ^BMCKILL START^BMCLKID1 ^BMCREF |
VA Fileman | 3 | %XY^%RCR (,IX1)^DIK ^DIR |
IHS Patient | 1 | $$DOD^AUPNPAT |
IHS Standard Terminology | 1 | $$DESC^BSTSAPI |
Kernel | 1 | $$LOW^XLFSTR |
Package | Total | Caller Graph |
---|---|---|
Referred Care Information System | 1 | BMC ADD REFERRAL PREVIOUS FY |
Name | Comments | DBIA/ICR reference |
---|---|---|
ADD2 | ;add if routine referrals have been defined
|
|
EOJ | ; END OF JOB
|
|
L16 | ||
NUMBER | ;GENERATE REF NUMBER
|
|
GETANS | ;
|
|
REFNUM | ;Get Referral Number Choice
|
|
DXPX | ; GET PROVIDIONAL DIAGNOSES/PROCEDURES IF WANTED
|
|
PATIENT2 | ;ASK FOR PAT UNTIL USER SELECTS OR QUITS
|
|
STATIC | ; STORE STATIC DATA
|
|
DATE | ;GET DT OF REF
|
|
PATIENT | ; GET PATIENT
|
|
RR | ;routine referral selected
|
|
NEXT | ;2ND $O
|
|
ASK | ;Ask to Continue
|
|
GETDATE | ;Do Get Date if no existing Refs
|
|
G30 | ;
|
|
SHOW | ;Display last 5-10 Referrals #
|
|
START | ;
|
|
ADD | ; ADD NEW REFERRAL RECORD
|
|
REFDISP | ;Display if Pat has existing Refs
|
|
PROV | ;GET REQ PROV
|
|
EDIT | ; EDIT REFERRAL RECORD JUST ADDED
|
|
MAIN | ;
|
|
DELETE | ; DELETE REFERRAL JUST ADDED BECAUSE OPERATOR DIDN'T FINISH
|
Name | Field # of Occurrence |
---|---|
%XY^%RCR | RR+11 |
$$DOD^AUPNPAT | PATIENT2+5 |
$$ASF^BMC | NUMBER+10 |
$$REFNFY^BMC | REFNUM+8 |
EOP^BMC | DATE+10, NUMBER+8, REFNUM+3, REFNUM+6, REFNUM+12, ADD+10, RR+7 |
HDR^BMC | START+2 |
PARMSET^BMC | START+1 |
PAUSE^BMC | EDIT+10, DELETE+3 |
ADDVREF^BMCADD | GETDATE+10 |
BOCOM^BMCADD | EDIT+13 |
COMMENTS^BMCADD1 | DXPX+8 |
DXPX^BMCADD1 | DXPX+1 |
STATIC^BMCADD1 | STATIC+1 |
^BMCADD2 | G30+10 |
DSPV^BMCADDP | GETDATE+7 |
DDS^BMCFMC | EDIT+5 |
DIC^BMCFMC | PATIENT2+1 |
DIE^BMCFMC | RR+22 |
FILE^BMCFMC | ADD+9, RR+5 |
^BMCKILL | EOJ+1 |
START^BMCLKID1 | NEXT+7 |
^BMCREF | RR+24, EDIT+8 |
$$DESC^BSTSAPI | RR+13 |
^DIK | DELETE+2 |
IX1^DIK | RR+19 |
^DIR | PATIENT2+7, ASK+2, DATE+3, PROV+3, NUMBER+6, REFNUM+2, G30+4, GETANS+1, DXPX+6 |
$$LOW^XLFSTR | ADD2+14 |
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 |
|
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 |
|
FileNo | Call Tags |
---|---|
^AUPNPAT - [#9000001] | Classic Fileman Calls |
^BMCREF - [#90001] | Classic Fileman Calls |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^BMCREF - [#90001] | NEXT+5, SHOW+7, SHOW+8, RR+14*, RR+15!, RR+16*, RR+18*, EDIT+9 |
^BMCREF("AA" | REFDISP+3, REFDISP+5, NEXT+2, DATE+8 |
^BMCREF("C" | REFNUM+10 |
^BMCREF("FY" | SHOW+3, SHOW+5 |
^BMCRTNRF - [#90001.32] | RR+13, ADD2+14 |
^BMCRTNRF("B" | ADD2+12, ADD2+14 |
^DD(90001 | REFNUM+11 |
^DPT - [#2] | PATIENT2+3 |
Name | Line Occurrences |
---|---|
ADD | GETDATE+5 |
ADD2 | ADD+2 |
ASK | MAIN+8 |
DATE | GETDATE+1 |
DELETE | GETDATE+7, EDIT+6 |
DXPX | EDIT+11 |
EDIT | GETDATE+8, EDIT+10 |
EOJ | START+3 |
GETANS | L16+2, L16+6 |
GETDATE | MAIN+7 |
MAIN | START+2 |
NEXT | REFDISP+5 |
NUMBER | GETDATE+3, REFNUM+3 |
PATIENT | MAIN+4 |
PATIENT2 | PATIENT+1 |
PROV | ADD+4 |
REFDISP | MAIN+6 |
REFNUM | REFNUM+5, REFNUM+10 |
STATIC | EDIT+14 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
>> %X | RR+11* |
>> %Y | RR+11* |
>> APCDOVRR | MAIN+3* |
>> BMCCTYP | DXPX+4* |
>> BMCCUT | L16+4*, L16+5 |
BMCDFN | PATIENT+1, PATIENT2+3*, PATIENT2+5!, REFDISP+3, REFDISP+5, NEXT+2, DATE+8, ADD+8, RR+21 |
BMCDISP | ADD2+1! |
BMCDISP( | L16+5* |
>> BMCDT | REFDISP+4*, REFDISP+5*, NEXT+2, NEXT+3 |
>> BMCFY | NUMBER+7*, NUMBER+8, NUMBER+12, SHOW+2 |
BMCHIGH | ADD2+1!, ADD2+2*, ADD2+3*, ADD2+4*, ADD2+5*, ADD2+14*, L16+4, G30+4, GETANS+1 |
>> BMCIEN | SHOW+4*, SHOW+5*, SHOW+6, SHOW+7, SHOW+8 |
>> BMCLOOK | MAIN+1* |
BMCMINI | ADD2+1!, G30+8*, GETANS+5*, EDIT+4, EDIT+13 |
BMCMINIX | ADD2+1!, G30+9*, GETANS+6*, EDIT+4, EDIT+13 |
>> BMCMODE | MAIN+1* |
BMCOUTR | GETDATE+7, GETDATE+10, PROV+2, ADD2+1!, G30+7*, GETANS+4*, EDIT+4 |
BMCOVRPS | RR+4*, RR+6! |
>> BMCPARM | START+1 |
>> BMCPCC | GETDATE+7, GETDATE+10 |
>> BMCPROV | PROV+1*, PROV+5*, ADD+8, RR+21 |
>> BMCQ | START+2, MAIN+1*, MAIN+5, MAIN+7, MAIN+9, GETDATE+2, GETDATE+4, GETDATE+6, GETDATE+7, GETDATE+9 , PATIENT+1, PATIENT2+1*, PATIENT2+4*, ASK+1*, ASK+3*, ASK+4*, REFDISP+3*, REFDISP+4*, DATE+2*, DATE+6* , DATE+11*, PROV+1*, PROV+2*, PROV+6*, NUMBER+5*, SHOW+3*, SHOW+4*, REFNUM+13*, ADD+1*, ADD+4 , ADD+13*, RR+25*, EDIT+6* |
>> BMCRDATE | DATE+5*, DATE+8, ADD+7, RR+5, RR+18 |
>> BMCREC("PAT N | AME" , PATIENT2+3*, PATIENT2+5!, DATE+9 |
>> BMCREC("REF D | ATE" , DATE+5*, DATE+9 |
>> BMCRIEN | NEXT+1*, NEXT+2*, NEXT+4, NEXT+5, ADD+12*, RR+8*, RR+11, RR+14, RR+15, RR+16 , RR+18, RR+19, RR+24, EDIT+1, EDIT+7, EDIT+9, DELETE+2 |
>> BMCRNUM | REFNUM+4*, REFNUM+5, REFNUM+6 |
>> BMCRNUMB | REFNUM+13*, ADD+8, ADD+11, RR+21 |
>> BMCRPROV | PROV+5* |
BMCRR | ADD+2, ADD+3*, ADD+5, RR+11, RR+13, ADD2+1!, G30+6*, G30+7*, G30+8*, G30+9* , G30+10!, GETANS+3*, GETANS+4*, GETANS+5*, GETANS+6*, GETANS+7* |
>> BMCRRC | ADD2+12*, ADD2+13, L16, L16+3, G30+1 |
>> BMCRTYPE | EDIT+9 |
>> BMCSCOD | MAIN+1*, RR+12*, RR+13* |
BMCSEL | ADD2+1! |
BMCSEL( | ADD2+14*, L16+1, L16+5, GETANS+7 |
BMCSEL(1 | ADD2+2*, ADD2+8 |
BMCSEL(2 | ADD2+3*, ADD2+9 |
BMCSEL(3 | ADD2+4*, ADD2+10 |
BMCSEL(4 | ADD2+5*, ADD2+11 |
BMCSEL(5 | G30+2*, G30+3 |
>> BMCSNO | MAIN+1* |
>> BMCSTART | NUMBER+12*, NUMBER+13, SHOW+3, SHOW+5 |
>> BMCSTRM | MAIN+1*, RR+12*, RR+13* |
>> BMCSUFAC | NUMBER+10*, NUMBER+11, NUMBER+12 |
>> BMCVDFN | MAIN+1* |
CT | REFDISP+4*, REFDISP+5, REFDISP+6!, NEXT+6, NEXT+8* |
DA | PATIENT2+7!, ASK+2!, DATE+3!, PROV+3!, NUMBER+6!, REFNUM+2!, RR+19*, EDIT+1*, DELETE+2* |
>> DDSCHANG | EDIT+6 |
>> DDSFILE | EDIT+1* |
>> DDSPARM | EDIT+4* |
>> DIC | PATIENT2+1*, ADD+7*, RR+5* |
>> DIC("DR" | ADD+8* |
>> DIC(0 | PATIENT2+1*, ADD+7*, RR+5* |
>> DIE | RR+21* |
>> DIK | RR+19*, DELETE+2* |
DIR | PATIENT2+7!, ASK+2!, DATE+3!, PROV+3!, NUMBER+6!, REFNUM+2!, G30+4!, GETANS+1!, DXPX+6! |
DIR("?" | NUMBER+6*, REFNUM+2*, DXPX+5* |
DIR("A" | PATIENT2+7*, ASK+2*, PROV+3*, NUMBER+6*, REFNUM+2*, G30+4*, GETANS+1*, DXPX+4* |
DIR("B" | PATIENT2+7*, ASK+2*, DATE+3*, G30+4*, GETANS+1*, DXPX+5* |
DIR(0 | PATIENT2+7*, ASK+2*, DATE+3*, PROV+3*, NUMBER+6*, REFNUM+2*, G30+4*, GETANS+1*, DXPX+5* |
>> DIRUT | ASK+3, DATE+4, PROV+4, REFNUM+3, G30+5, GETANS+2, DXPX+7 |
>> DLAYGO | ADD+7*, RR+5* |
>> DR | RR+21*, EDIT+4* |
DT | ADD+8, RR+21 |
DUZ | ADD+8, RR+21 |
>> I | REFDISP+5*, SHOW+4*, SHOW+5, SHOW+9*, L16+1*, L16+5* |
IOF | ADD2+6 |
>> J | L16+5* |
>> K | L16+5* |
U | PATIENT2+3, NEXT+5, PROV+5, SHOW+7, SHOW+8, REFNUM+11, RR+13, RR+14, RR+16, RR+18 , ADD2+14, L16+1, L16+5, GETANS+7, EDIT+9 |
>> X | REFNUM+8*, REFNUM+9, REFNUM+10, REFNUM+12, REFNUM+13, ADD+7*, RR+5*, ADD2+12*, ADD2+14*, EDIT+9* , EDIT+10 |
>> Y | PATIENT2+2, PATIENT2+3, PATIENT2+5, ASK+4, DATE+5, PROV+5, NUMBER+7, REFNUM+4, ADD+10, ADD+12 , RR+7, RR+8, RR+23, RR+24*, ADD2+14*, G30+6, G30+7, G30+8, G30+9, G30+10 , GETANS+3, GETANS+4, GETANS+5, GETANS+6, GETANS+7, EDIT+7*, DXPX+7 |
>> Y(0 | DATE+5 |