APSPFNC3 ;IHS/MSC/PLS - auto return to stock/delete support ;21-Aug-2008 14:57;SM
Source file <APSPFNC3.m>
Package | Total | Call Graph |
---|---|---|
Outpatient Pharmacy | 5 | EN^PSOHLSN1 EN^PSOHLUP LOCK^PSOORCPY DCV^PSOPKIV1 (ACT,CP,STAT)^PSORESK1 |
VA Fileman | 3 | NOW^%DTC ^DIE ^DIK |
IHS Changes To Pharmacy | 1 | CALLPOS^APSPFUNC |
Pharmacy Data Management | 1 | ($$L,PSOL,PSOUL,UL)^PSSLOCK |
Name | Comments | DBIA/ICR reference |
---|---|---|
ULK | ;
|
|
INVT | ;
|
|
EN(DA) | ; EP
|
|
RESK | ;
|
|
ULP | ;
|
|
PASS | ;N PSORXDAC K PSOXYZF S PSORXDAC=$O(^PS(52.5,"B",DA,0)) I PSORXDAC,$P($G(^PS(52.5,PSORXDAC,0)),U,7)="L" N PSOXYZ S PSOXYZF=0 W !!,"Please wait, Rx is Loading for CMOP Transmission.." D
|
|
INVINC | ;
|
|
ENQ | ||
KILL | ||
EX | ||
ACT | ;adds activity info for deleted rx
|
|
REF | ;
|
Name | Field # of Occurrence |
---|---|
NOW^%DTC | ACT+4, RESK+19, REF+16 |
CALLPOS^APSPFUNC | ENQ+16, RESK+23, REF+20 |
^DIE | RESK+19, REF+16 |
^DIK | ENQ+6, ENQ+7, ENQ+9, RESK+21, REF+18 |
EN^PSOHLSN1 | ENQ+5, RESK+22, REF+19 |
EN^PSOHLUP | RESK+4 |
LOCK^PSOORCPY | EN+8 |
DCV^PSOPKIV1 | PASS+7 |
ACT^PSORESK1 | RESK+20, REF+17 |
CP^PSORESK1 | REF+12 |
STAT^PSORESK1 | RESK+5 |
$$L^PSSLOCK | EN+8 |
PSOL^PSSLOCK | EN+9 |
PSOUL^PSSLOCK | ULK+1 |
UL^PSSLOCK | ULP+1 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^PSRX - [#52] | Classic Fileman Calls |
^PS(52.4 - [#52.4] | Classic Fileman Calls |
^PS(52.41 - [#52.41] | Classic Fileman Calls |
^PS(52.5 - [#52.5] | Classic Fileman Calls |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^PS(52.4 - [#52.4] | ENQ+7 |
^PS(52.41 - [#52.41] | ENQ+9 |
^PS(52.5 - [#52.5] | ENQ+6, RESK+21, REF+18 |
^PS(55 - [#55] | ENQ+15, ENQ+17, RESK+4 |
^PS(59.7 - [#59.7] | RESK+3 |
^PSDRUG - [#50] | ENQ+14*, RESK+16, RESK+17, REF+13, REF+14, INVINC+1* |
^PSRX - [#52] | EN+7, EN+13, EN+14, ENQ, ENQ+1, ENQ+2*, ENQ+3, ENQ+4*, ENQ+5, ENQ+16 , ACT+2, ACT+3, ACT+6*, ACT+7*, RESK+4, RESK+5, RESK+9, RESK+10, RESK+11, RESK+12 , RESK+13, REF+2, REF+5, REF+6, REF+7, REF+8, REF+11, REF+12 |
^PSRX("ACP" | ENQ+3!, ACT+2! |
^PSRX("AH" | ENQ+4! |
^PSRX("AR" | RESK+15, RESK+18!, REF+10, REF+15! |
Name | Line Occurrences |
---|---|
ACT | ENQ+3 |
INVINC | RESK+16, RESK+17, REF+13, REF+14 |
INVT | RESK+16, REF+13 |
KILL | PASS+4 |
REF | RESK+10 |
RESK | PASS+4 |
ULK | PASS+4, PASS+7, ENQ+13, ENQ+18 |
ULP | EN+11, PASS+4, PASS+7, ENQ+13, ENQ+18 |
Name | Field # of Occurrence |
---|---|
^( | ENQ+15, ENQ+17! |
^("STA" | RESK+5 |
^(0 | EN+14, ENQ+15!*, RESK+10, REF+7 |
^(2 | EN+14, ENQ+3 |
^(660.1 | ENQ+14 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | KILL!, ACT+1~, ACT+7, RESK+2~, RESK+19 |
%H | ACT+1~ |
%I | ACT+1~ |
%Y | KILL! |
COM | EN+2~, ENQ+18!, RESK+1~, RESK+7* |
COPAYFLG | RESK+1~, REF+12* |
DA | EN~, EN+6, EN+13, EN+14, PASS+3, PASS+4, PASS+5*, ENQ, ENQ+1, ENQ+3* , ENQ+4*, ENQ+5, ENQ+6*, ENQ+7*, ENQ+8, ENQ+9*!, ENQ+10*, ENQ+12*, ENQ+13, KILL! , ACT+1~, ACT+3*, ACT+5*, ACT+6, ACT+7, EX*, RESK+19*, RESK+21*, REF+16*, REF+18* |
DA(1 | REF+16* |
DFN | EN+3~, ENQ+15*, ENQ+17 |
DI | KILL! |
DIC | KILL! |
DIE | KILL!, RESK+2~, RESK+19!*, REF+16!* |
DIG | KILL! |
DIH | KILL! |
DIK | ENQ+6*, ENQ+7*, ENQ+9*!, RESK+2~, RESK+21!*, REF+18!* |
DIR | KILL+1!, RESK+2~, RESK+6! |
DIRUT | KILL+1! |
DIU | KILL! |
DIV | KILL! |
DR | KILL!, RESK+19*, REF+16* |
DT | ACT+7 |
DTOUT | KILL+1! |
DUOUT | KILL+1! |
DUZ | ACT+7 |
FDA | ACT+1~, ACT+3* |
I | EN+3~, ENQ+15*, ENQ+17*, ACT+1~, ACT+2*, RESK+2~ |
IFN | RESK+2~ |
INCOM | PASS+7~* |
J | RESK+1~ |
PKI1 | EN+3~, PASS+7 |
PS | EN+2~, EN+5*, KILL! |
PSDEL | EN+2~, EN+5*, ENQ+18, KILL! |
PSIN | RESK+1~, RESK+3*, RESK+12, REF+7 |
PSOABCDA | EN+1~, ENQ+8!*, ENQ+10, ENQ+12!, KILL+1! |
PSODEF | EN+4~, RESK+3! |
PSODEFLG | EN+1~, PASS+4*, RESK+5*, RESK+16, REF+12*, REF+13 |
PSODLCOM | KILL!, RESK+1~, RESK+7* |
PSODT | KILL+1! |
PSOGG | EN+3~, EN+13*, KILL! |
PSOGGFL | EN+3~, EN+12*, EN+13*, EN+14 |
PSOHLDAH | EN+1~, PASS+3*, PASS+5, KILL! |
PSOHLRE | EN+1~, PASS+3*, PASS+5, KILL! |
PSOIB | ENQ*, KILL! |
PSOINVTX | KILL+1!, RESK+16, REF+13, INVT+1* |
PSOLOCRL | KILL+1!, RESK+13!*, RESK+14, RESK+15, RESK+18, REF+8*, REF+9, REF+10, REF+15 |
PSOLOUD | RESK+2~, RESK+4*! |
PSOMSG | EN+2~, EN+9, EN+10 |
PSONODF | KILL+1! |
PSONOOR | PASS+6*, ENQ+5, KILL+1! |
PSOPCECT | KILL!, RESK+3* |
PSOPLCK | EN+2~, EN+8* |
PSOREF | EN+1~, KILL!, ACT+1~, ACT+2* |
>> PSORX("INTERVENE" | ENQ+13, ENQ+18 |
PSORXDFN | EN+3~, EN+7*, EN+8, KILL!, ULP+1 |
PSOWHERE | RESK+1~, RESK+13!, RESK+15*, RESK+16, RESK+17, RESK+18, REF+10*, REF+13, REF+14, REF+15 |
PSOXXDEL | EN+2~, EN+5*, KILL+1! |
PSOXYZF | EN+3~, KILL+1! |
>> PSOZVER | ENQ+13 |
PSROF | KILL+1!, REF+2* |
>> PSVFLAG | ENQ+13, ENQ+18 |
QDRUG | KILL+1!, RESK+2~, RESK+9*, RESK+16, RESK+17, REF+13, REF+14, INVINC+1 |
QTY | EN+1~, KILL+1!, RESK+10*, REF+11*, INVINC+1 |
REL | EN+3~, EN+12*, EN+14*, PASS+3, PASS+4, PASS+5* |
RESK | KILL!, RESK+1~, RESK+3* |
RFDATE | KILL! |
RFL | KILL! |
RFL1 | KILL! |
RX | ENQ+1*, ENQ+14, ENQ+15, ENQ+18!, KILL! |
RX0 | KILL!, RESK+1~ |
RX2 | KILL!, RESK+1~ |
RXF | ACT+1~, ACT+2*, ACT+7 |
RXN | EN+2~, EN+6*, EN+7, EN+9, ENQ+1*, ENQ+2, ENQ+3, ENQ+4, ENQ+6, ENQ+7 , ENQ+9, ENQ+15, ENQ+16, ENQ+17, ENQ+18!, KILL!, ACT+2, ACT+3, ACT+6, ACT+7 , EX, ULK+1 |
RXO | KILL! |
RXP | EN+1~, PASS+4*, KILL+1!, RESK+4, RESK+5, RESK+9, RESK+10, RESK+11, RESK+12, RESK+13 , RESK+15, RESK+18, RESK+19, RESK+21, RESK+22, RESK+23, REF+2, REF+5, REF+6, REF+7 , REF+8, REF+10, REF+11, REF+12, REF+15, REF+16, REF+18, REF+19, REF+20 |
SIGOK | KILL+1! |
ST | KILL!, RESK+1~ |
ST0 | KILL!, RESK+1~ |
STAT | ENQ+18! |
TYPE | KILL+1!, REF+1~, REF+2*, REF+3, REF+5, REF+6, REF+7, REF+8, REF+10, REF+11 , REF+15, REF+16, REF+20 |
U | EN+7, EN+10, EN+14, ENQ+2, ENQ+3, ENQ+4, ENQ+5, ENQ+14, ENQ+15, ENQ+16 , ACT+2, ACT+6, ACT+7, RESK+3, RESK+4, RESK+5, RESK+9, RESK+10, RESK+11, RESK+12 , RESK+13, REF+2, REF+5, REF+6, REF+7, REF+8, REF+11, INVINC+1 |
X | EN+3~, KILL! |
XTYPE | RESK+1~, RESK+11*, REF+4* |
Y | EN+3~, ENQ+2, KILL! |
Z | EN+3~, KILL! |