APCDEHTC ; IHS/CMI/LAB - ENTER TRANS CODE TO HOSPITAL VISIT ;
Source file <APCDEHTC.m>
Package | Total | Call Graph |
---|---|---|
Patient Care Component | 11 | INAC^APCDEA ^APCDEA3 ^APCDEIN ^APCDEKL ^APCDEMDI ^APCDEQX ^APCDFCTC ($$DTC,START)^APCDKDTC ^APCDVAR CHKEHR2^APCDVCHK EN1^APCDVD |
VA Fileman | 5 | ^%DT ^%DTC ^DIC (FILE,YN)^DICN ^DIR |
IHS Patient | 2 | (,KILL)^AUPNPAT (MOD,VSIT01)^AUPNVSIT |
IHS VA Utilities | 2 | ^XBFMK EN^XBVK |
Kernel | 1 | $$FMTE^XLFDT |
Name | Comments | DBIA/ICR reference |
---|---|---|
RDV | ||
GETMNE | ; GET MNEMONIC
|
|
MNEPROC | ; PROCESS MNEMONICS UNTIL DONE
|
|
EOJ | ; END OF JOB
|
|
GETMNEK | ; KILL GETMNE SPECIFIC VARIABLES
|
|
GETTYPE | ; GET TYPE OF ENCOUNTER
|
|
FINDVSIT | ; INTERACTIVE MODE
|
|
GETVISIT | ; GET VISIT
|
|
GETPAT | ; GET PATIENT
|
|
WRITE | ; WRITE VISITS FOR SELECT
|
|
GENVISIT | ; GENERATE NEW VISIT
|
|
OPTION | ;EP;GET OPTION FROM USER
|
|
GATHER | ; GATHER VISITS FOR USER TO SELECT
|
|
TEXT | ;
|
|
OPTION2 | ; LET USER SELECT OPTION
|
|
DISPLAY | ; DISPLAY VISIT FOR USER
|
|
SELECT | ; ALLOW USER TO SELECT, EXIT, OR ADD
|
|
HDR | ; Write Header
|
Name | Field # of Occurrence |
---|---|
^%DT | RDV+2, GENVISIT+4 |
^%DTC | RDV+8 |
INAC^APCDEA | GETPAT+8 |
^APCDEA3 | MNEPROC+5, GETMNE+6 |
^APCDEIN | HDR+5 |
^APCDEKL | EOJ+1 |
^APCDEMDI | GETPAT+9 |
^APCDEQX | GETMNE+7 |
^APCDFCTC | MNEPROC+10 |
$$DTC^APCDKDTC | MNEPROC+9 |
START^APCDKDTC | MNEPROC+9 |
^APCDVAR | HDR+7 |
CHKEHR2^APCDVCHK | MNEPROC+7 |
EN1^APCDVD | DISPLAY+1, DISPLAY+4 |
^AUPNPAT | GENVISIT+1, SELECT+5 |
KILL^AUPNPAT | EOJ+4 |
MOD^AUPNVSIT | RDV+7 |
VSIT01^AUPNVSIT | GENVISIT+5 |
^DIC | GETPAT+4, MNEPROC+2, GETMNE+2 |
FILE^DICN | GENVISIT+12 |
YN^DICN | GETPAT+6 |
^DIR | GETTYPE+4, FINDVSIT+7, OPTION2+6, DISPLAY+2 |
^XBFMK | EOJ+3 |
EN^XBVK | EOJ+1 |
$$FMTE^XLFDT | FINDVSIT+5 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: READ |
|
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 |
---|---|
^AUPNPAT - [#9000001] | Classic Fileman Calls |
^AUPNVSIT - [#9000010] | Classic Fileman Calls |
^APCDTKW - [#9001001] | Classic Fileman Calls |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^APCDSITE - [#9001001.2] | GETPAT+3, GETTYPE+3 |
^AUPNVSIT - [#9000010] | RDV+7, GATHER+1, SELECT+5, WRITE+1 |
^AUPNVSIT("AA" | FINDVSIT+4 |
^DIC(4 - [#4] | FINDVSIT+5 |
^DIC(40.7 - [#40.7] | WRITE+3 |
^DPT - [#2] | FINDVSIT+5, OPTION2+1 |
Name | Line Occurrences |
---|---|
DISPLAY | OPTION2+9 |
EOJ | HDR+10 |
FINDVSIT | RDV+6, FINDVSIT+12 |
GATHER | FINDVSIT+4 |
GENVISIT | FINDVSIT+10 |
GETMNE | MNEPROC+7, GETMNE+8 |
GETMNEK | MNEPROC+11 |
GETPAT | HDR+9 |
GETTYPE | GENVISIT+10 |
GETVISIT | HDR+9 |
MNEPROC | HDR+9 |
OPTION | SELECT+3 |
OPTION2 | OPTION+1 |
RDV | RDV, RDV+3 |
SELECT | FINDVSIT+11 |
WRITE | OPTION2+5 |
Name | Field # of Occurrence |
---|---|
^(0 | RDV+7 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | GETPAT+6*, EOJ+2! |
%1 | EOJ+2! |
%DT | RDV+2*, GENVISIT+4*, EOJ+2! |
A | EOJ+2! |
>> APCDAC | FINDVSIT+3*, GATHER+5*, SELECT+1, OPTION2+6, DISPLAY+1, DISPLAY+2 |
>> APCDADF | SELECT+1*, OPTION2+6 |
>> APCDAFLG | GENVISIT+4*, GENVISIT+6*, GENVISIT+13*, SELECT+4* |
>> APCDAFLG("ERR" | GENVISIT+4*, GENVISIT+6*, GENVISIT+13* |
>> APCDAI | FINDVSIT+4*, GATHER+1, GATHER+5, OPTION2+5*, WRITE+3 |
>> APCDAL | FINDVSIT+4*, OPTION+1* |
APCDALV | FINDVSIT+1!, FINDVSIT+5 |
APCDALV( | GATHER+5*, OPTION2+5, OPTION2+11, DISPLAY+1, DISPLAY+4 |
APCDALV(4 | FINDVSIT+12 |
>> APCDAO | FINDVSIT+12, SELECT+2*, SELECT+4, OPTION+1, OPTION2+7*, OPTION2+10*, OPTION2+11* |
APCDAT | WRITE+2*, WRITE+3, WRITE+4! |
>> APCDAVD | FINDVSIT+2*, FINDVSIT+4* |
>> APCDAVDC | FINDVSIT+2*, FINDVSIT+4 |
>> APCDAX | GATHER+1*, GATHER+2, GATHER+3, GATHER+4, OPTION2+5*, WRITE+1*, WRITE+2, WRITE+3 |
>> APCDCAT | RDV+7*, GENVISIT+8* |
>> APCDCLN | RDV+7* |
>> APCDDATE | GETVISIT+1*, RDV+5*, RDV+7*, RDV+8, GENVISIT+3*, GENVISIT+4, GENVISIT+6, GENVISIT+12, GENVISIT+13, FINDVSIT+2 , FINDVSIT+5 |
>> APCDDOB | GENVISIT+2* |
>> APCDDOD | GENVISIT+2* |
APCDEQX | MNEPROC+7, GETMNE+7, GETMNEK+1! |
>> APCDFLG | HDR+6 |
APCDFV | MNEPROC+10*! |
APCDJ | HDR+2*, HDR+3! |
>> APCDLOC | RDV+7*, GENVISIT+7* |
APCDLOOK | GENVISIT+12! |
>> APCDMNE | MNEPROC+4*, GETMNE+4* |
>> APCDMNE("NAME" | MNEPROC+4*, GETMNE+4* |
APCDMOD | GETMNE+5!, GETMNE+8! |
>> APCDMODE | GETMNE+8* |
APCDMPQ | MNEPROC+6*, MNEPROC+7, MNEPROC+12!, GETMNE+3*, GETMNE+7* |
>> APCDNOXV | HDR+8* |
>> APCDPARM | HDR+7, GETPAT+6, MNEPROC+10 |
>> APCDPAT | HDR+8*, HDR+9, GETPAT+2*, GETPAT+7*, GETPAT+8*, RDV+7*, GENVISIT+1, FINDVSIT+4, FINDVSIT+5, OPTION2+1 |
APCDREGU | MNEPROC+12! |
>> APCDSEX | GENVISIT+2* |
>> APCDTYPE | RDV+7*, GENVISIT+11, GETTYPE+1*, GETTYPE+6* |
APCDVLK | GETMNE+8*! |
APCDVSIT | HDR+9, GETVISIT+1*, RDV+7, RDV+8, MNEPROC+9, MNEPROC+10, GETMNE+8, GETMNEK+1!, GENVISIT+14*, SELECT+5 , OPTION2+11*, DISPLAY+1*, DISPLAY+4* |
APCDVSIT("NEW" | GENVISIT+15* |
APCDX | HDR+2*, HDR+3!, GETMNEK+1! |
>> AUPNDAYS | RDV+8* |
>> AUPNDOB | RDV+8, GENVISIT+2 |
>> AUPNDOD | GENVISIT+2 |
>> AUPNLK("INAC" | GETPAT+3* |
>> AUPNSEX | GENVISIT+2 |
>> AUPNVSIT | RDV+7* |
DA | GETTYPE+2!, FINDVSIT+7! |
DD | GENVISIT+12! |
DI | EOJ+2! |
DIC | GETPAT+4*!, MNEPROC+2*!, GETMNE+2*, GENVISIT+12*! |
DIC("A" | GETMNE+2*! |
DIC("DR" | GENVISIT+12* |
DIC("S" | GETMNE+2*! |
DIC(0 | GETPAT+4*, MNEPROC+2*, GETMNE+2*, GENVISIT+12* |
DIGG | EOJ+2! |
DIPGM | EOJ+2! |
DIR | GETTYPE+2!, GETTYPE+4!, FINDVSIT+7!, OPTION2+6!, DISPLAY+2! |
DIR("?" | OPTION2+6*, DISPLAY+2* |
DIR("A" | GETTYPE+4*, FINDVSIT+7*, OPTION2+6*, DISPLAY+2* |
DIR("B" | GETTYPE+3*, FINDVSIT+7*, OPTION2+6* |
DIR(0 | GETTYPE+4*, FINDVSIT+7*, OPTION2+6*, DISPLAY+2* |
DIROUT | GETTYPE+2! |
DIRUT | GETTYPE+2!, GETTYPE+5, FINDVSIT+8, OPTION2+7, DISPLAY+3 |
DISYS | EOJ+2! |
DLAYGO | GENVISIT+12*! |
DO | GENVISIT+12! |
DQ | EOJ+2! |
DTIME | RDV |
DTOUT | GETTYPE+2! |
DUOUT | GETTYPE+2! |
DUZ("AG" | GETPAT+9 |
DUZ(2 | GETPAT+3, GENVISIT+7, GETTYPE+3, FINDVSIT+5, GATHER+3 |
DX | EOJ+2! |
IOF | HDR+1 |
IOY | EOJ+2! |
POP | EOJ+2! |
S | EOJ+2! |
U | GETPAT+3, GETPAT+6, RDV+7, MNEPROC+4, MNEPROC+10, GETMNE+4, GETTYPE+3, FINDVSIT+5, GATHER+2, GATHER+3 , GATHER+4, SELECT+5, OPTION2+1, WRITE+3 |
X | GETPAT+8, RDV*, RDV+1, RDV+3, RDV+8, MNEPROC+2*, GENVISIT+4*, GENVISIT+6, GENVISIT+12*, GETTYPE+5* , EOJ+2! |
>> X1 | RDV+8* |
>> X2 | RDV+8* |
Y | GETPAT+5, GETPAT+7, RDV+4!, RDV+5, MNEPROC+3, MNEPROC+4, GETMNE+3, GETMNE+4, GENVISIT+1*!, GENVISIT+4 , GENVISIT+13, GENVISIT+14, GETTYPE+6, EOJ+2!, FINDVSIT+9, SELECT+5*!, OPTION2+8*, OPTION2+9, OPTION2+10, OPTION2+11 , DISPLAY+4 |
>> ZTQUEUED | GENVISIT+12 |
>> ZTSK | GENVISIT+12 |
Name | Field # of Occurrence |
---|---|
$T(TEXT+APCDJ | HDR+2 |