Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: PSORXPA1

Package: Outpatient Pharmacy

Routine: PSORXPA1


Information

PSORXPA1 ;BIR/SAB - listman partial prescriptions ;Aug 06, 2021@13:21:01

Source Information

Source file <PSORXPA1.m>

Call Graph

Call Graph

Call Graph Total: 17

Package Total Call Graph
Outpatient Pharmacy 10 $$LSTRFL^PSOBPSU1  ($$ECME,$$STATUS)^PSOBPSUT  RMP^PSOCAN3  EN^PSOHDR  EN^PSOHLSN1  ^PSOLSET  LOCK^PSOORCPY  ($$ELIGDISP,$$TRIC)^PSOREJP1  
VALID^PSORXRP1  AUDIT^PSOTRI  
VA FileMan 4 ^DIE  ^DIK  $$GET1^DIQ  ^DIR  
List Manager 1 FULL^VALM1  
Pharmacy Data Management 1 ($$L,PSOL,PSOUL,UL)^PSSLOCK  
Registration 1 KVA^VADPT  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Kernel 1 ^ORD(101  
Outpatient Pharmacy 1 PSO PARTIAL  

Entry Points

Name Comments DBIA/ICR reference
CLC
CLCX
KILL
KL
ACT ;adds activity info for partial rx
EX
ULK ;
CS(LINEITEM) ; controlled substance check
; Input: LINEITEM - the line item that was selected from the list of active Rx's
; off the Medication Profile screen rendered using PSO LM BACKDOOR ORDERS

External References

Name Field # of Occurrence
^DIE CLC+7
^DIK KILL
$$GET1^DIQ CS+6, CS+7
^DIR PSORXPA1+6, PSORXPA1+35, PSORXPA1+42
$$LSTRFL^PSOBPSU1 PSORXPA1+23
$$ECME^PSOBPSUT PSORXPA1+30
$$STATUS^PSOBPSUT PSORXPA1+37
RMP^PSOCAN3 CLC+8
EN^PSOHDR CLC+11
EN^PSOHLSN1 PSORXPA1+46
^PSOLSET PSORXPA1+16
LOCK^PSOORCPY PSORXPA1+12
$$ELIGDISP^PSOREJP1 PSORXPA1+33, PSORXPA1+40
$$TRIC^PSOREJP1 PSORXPA1+23
VALID^PSORXRP1 PSORXPA1+15
AUDIT^PSOTRI ACT+9
$$L^PSSLOCK PSORXPA1+12
PSOL^PSSLOCK PSORXPA1+14
PSOUL^PSSLOCK ULK+2
UL^PSSLOCK PSORXPA1+14, ULK+1
KVA^VADPT KL+1
FULL^VALM1 PSORXPA1+16

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"This is a controlled substance. Cannot partial fill Rx.",!
  • Line Location: PSORXPA1+6
Routine Call
  • DIE
  • Line Location:
    • CLC+7
Routine Call
  • DIR
  • Line Location:
    • PSORXPA1+6
    • PSORXPA1+35
    • PSORXPA1+42

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PSDRUG - [#50] GET1^DIQ
^PSRX - [#52] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD(52 PSORXPA1+50
^PS(52.5 - [#52.5] PSORXPA1+52, PSORXPA1+53
^PSDRUG - [#50] CLC+13
^PSRX - [#52] PSORXPA1+10, PSORXPA1+11, PSORXPA1+17, PSORXPA1+43, PSORXPA1+44*, PSORXPA1+45, PSORXPA1+49, PSORXPA1+50, CLCCLC+1
CLC+2, CLC+8, CLC+12, CLC+13*, CLC+20, KILL*, ACT+1, ACT+2, ACT+3*
^XUSEC("PSO TRICARE/CHAMPVA" PSORXPA1+27

Label References

Name Line Occurrences
$$CS PSORXPA1+6
ACT CLC+12
CLCX CLC+9
KILL CLC+10
KL PSORXPA1+16
ULK PSORXPA1+15, PSORXPA1+16, PSORXPA1+49, CLC+10, CLCXKILL+1

Naked Globals

Name Field # of Occurrence
^("STA" PSORXPA1+49
^(0 PSORXPA1+53, CLC
^(2 PSORXPA1+17, PSORXPA1+45
^(3 PSORXPA1+17

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% KL!
%X KL!
%Y KL!
>> BBFLG PSORXPA1+17, CLC+12*
>> BBRX(1 PSORXPA1+17*, CLC+12*
>> BINGCRT CLC+20*
>> BINGRTE CLC+12*
>> C PSORXPA1+50*
COMM PSORXPA1+45*, PSORXPA1+46!
CSVAL CS+4~, CS+7*, CS+8
>> D PSORXPA1+50*, PSORXPA1+51
D0 KL!
D1 KL!
DA PSORXPA1+17*, PSORXPA1+23, PSORXPA1+30, PSORXPA1+33, PSORXPA1+37, PSORXPA1+40, PSORXPA1+43, PSORXPA1+44, PSORXPA1+45, PSORXPA1+46
PSORXPA1+49!, PSORXPA1+50, PSORXPA1+52, CLCCLC+1, CLC+2, CLC+3, CLC+8, CLC+20, CLCX!
, KILL*, KL!, ACT+2*, ACT+3*, EX*
DFN KL!
DI KL!
DIC KL!
DIE CLC+3*, CLC+11!, CLCX!, KL!
DIE("NO^" CLC+3*
DIK KILL*, KL+1!
DIR PSORXPA1+31~, PSORXPA1+38~
DIR("A" PSORXPA1+6*, PSORXPA1+33*, PSORXPA1+34*, PSORXPA1+40*, PSORXPA1+41*
DIR(0 PSORXPA1+6*, PSORXPA1+32*, PSORXPA1+39*
DIROUT PSORXPA1+31~, PSORXPA1+38~
DIRUT PSORXPA1+31~, PSORXPA1+38~
DLAYGO KL!
DQ KL!
DR CLC+5*, CLCX!, KL!
DR(2 CLC+6*
DRG CLC*, CLC+13, CLCX!, KL+1!
DRGIEN CS+4~, CS+6*, CS+7
DT PSORXPA1+43, ACT+3
DTOUT PSORXPA1+31~, PSORXPA1+38~
DUOUT PSORXPA1+31~, PSORXPA1+38~, KL+1!
DUZ PSORXPA1+27, CLCACT+3
>> E PSORXPA1+50*
FDA ACT+2*, EX!
HRX KL+1!
I CLC+1*, KL!, ACT+1*, EX!
I1 KL+1!
IFN KL+1!
II KL!
IOP CLCX!
J PSORXPA1+17*, PSORXPA1+46!, KL!
JJJ KL!
LINEITEM CS~, CS+5
N KL!
>> ORN PSORXPA1+6, PSORXPA1+7, PSORXPA1+9, PSORXPA1+10, PSORXPA1+11, PSORXPA1+14, PSORXPA1+15, PSORXPA1+17, ULK+2
PDT KL!
PHARMST PSORXPA1+46*!
PHYS CLC*, CLC+1*, CLCX!, KL!
PM CLC+3*, KL!
PPL CLCX!
PRMK CLC+3!, CLC+10, CLC+11, KL!, ACT+3
PS KL!
PSDATE KL!
PSL KL!
PSNP KL!
PSOCLC CLC*, KL+1!
PSOD KL+1!
>> PSODFN CLC+12*
PSOELIG PSORXPA1+19~, PSORXPA1+21*, PSORXPA1+22*, PSORXPA1+25, ACT+6, ACT+8, ACT+9
>> PSOFROM CLC+20*
PSOLIST KL+1!
PSOLST KL+1!
PSOLST( PSORXPA1+6, PSORXPA1+7, PSORXPA1+9, PSORXPA1+10, PSORXPA1+11, PSORXPA1+14, PSORXPA1+15, PSORXPA1+17, ULK+2
PSOM KL+1!
PSOMSG PSORXPA1+14!, ULK+3!
PSOP KL+1!
>> PSOPAR PSORXPA1+16
PSOPLCK PSORXPA1+12*!, PSORXPA1+14!, ULK+3!
PSOPRZ CLC+2*, CLC+10, CLCX!
PSORF PSORXPA1+19~, PSORXPA1+23*, PSORXPA1+33, PSORXPA1+37, PSORXPA1+40
PSORPDFN PSORXPA1+10*, PSORXPA1+12!, PSORXPA1+14!, ULK+1, ULK+3!
>> PSORX("PATIEN T STATUS" , PSORXPA1+22
>> PSORX("PSOL" CLC+15*, CLC+16, CLC+18*, CLC+19*
PSOTCQ PSORXPA1+19~, PSORXPA1+23*, PSORXPA1+25, PSORXPA1+28*, PSORXPA1+30, PSORXPA1+35*, PSORXPA1+37, PSORXPA1+42*
PSOTRIC PSORXPA1+19~, PSORXPA1+23*, PSORXPA1+25, ACT+6, ACT+7, ACT+9
PSOU KL+1!
>> PSOX1 CLC+16*, CLC+17
>> PSOX2 CLC+16*, CLC+18, CLC+19
>> PSOZ1 PSORXPA1+52*, PSORXPA1+53
PSPAR KL+1!
>> PSXSYS PSORXPA1+52
>> PTST PSORXPA1+22
QFLG PSORXPA1+15!
R3 PSORXPA1+17*, PSORXPA1+46!
RFDAT KL!
RFL KL!
RFL1 KL!
RLL KL!
RX PSORXPA1+15*!
RX0 PSORXPA1+17*, PSORXPA1+46!
RX2 PSORXPA1+17*, PSORXPA1+46!
RXF CLC+3*, CLC+11!, CLC+13*, KL!, ACT+1*, ACT+3, ACT+9, EX!
RXIEN CS+4~, CS+5*, CS+6
RXJST ACT+5~, ACT+7*, ACT+8*, ACT+9
RXN CLC+3*, CLC+11!, CLC+12, CLC+13, CLC+15, CLC+16, CLC+18, CLC+19, KILLKL+1!
ACT+1, ACT+2, ACT+3, ACT+9, EX
RXP CLC+13*, CLCX!, KL+1!
>> RXPR( PSORXPA1+15, CLC+8, CLC+13*
>> RXRP( PSORXPA1+7
>> RXRS( PSORXPA1+9
ST KL!
ST0 KL!
STAT PSORXPA1+46*!
>> VALMBCK PSORXPA1+7*, PSORXPA1+9*, PSORXPA1+11*, PSORXPA1+13*, PSORXPA1+14*, PSORXPA1+15*, PSORXPA1+28*, PSORXPA1+35*, PSORXPA1+42*, PSORXPA1+49*
, CLCX*, KILL+1*
>> VALMSG PSORXPA1+7*, PSORXPA1+9*, PSORXPA1+11*, PSORXPA1+12*, PSORXPA1+14*, PSORXPA1+15*, PSORXPA1+28*, PSORXPA1+51*, KILL+1*
X PSORXPA1+31~, PSORXPA1+38~, PSORXPA1+50*, KL!
Y PSORXPA1+31~, PSORXPA1+35, PSORXPA1+38~, PSORXPA1+42, KL!
Z KL!
Z1 CLC+3!, CLC+9, CLC+10, CLC+11, CLC+12, CLC+13, CLC+20, KILL, KL!
Z2 CLC+2~*
>> ZD( CLC+13*

Marked Items

Name Field # of Occurrence
$T(EN^PSOHDR CLC+11
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All