PSGOE7 ;BIR/CML3 - SELECT DRUG ;Mar 25, 2020@13:21:35
Source file <PSGOE7.m>
Package | Total | Call Graph |
---|---|---|
Inpatient Medications | 10 | $$ENDDN^PSGMI (END,ENDDC)^PSGSICHK KILL^PSJBCMA5 $$ISCLOZ^PSJCLOZ ($$DGCKIEN,$$PSJSUPCK)^PSJDGCK DIN^PSJDIN ENKILL^PSJLMUDE $$OINAME^PSJLMUTL ($$PADECL,$$PADEWD)^PSJPAD50 READ^PSJUTL |
VA FileMan | 5 | (,LIST)^DIC MIX^DIC1 YN^DICN $$GET1^DIQ ^DIR |
National Drug File | 1 | $$PROD0^PSNAPIS |
Outpatient Pharmacy | 1 | ^PSOCLO1 |
Registration | 1 | INP^VADPT |
Toolkit | 1 | $$GET^XPAR |
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 |
---|---|---|
AD | ; Ask Drug
|
|
AD1 | ;
|
|
DGCKX | ||
DO | ; dosage ordered
|
|
DONE | ;
|
|
NF | ;
|
|
NFOH | ;
|
|
CHKDRG(DRG) | ; Determine if dispense drug is valid for Unit Dose.
|
|
SNFM | ; show non-formulary message
|
|
GTNEDFD(APP,PDRG) | ; Find defaults from Orderable Item.
|
|
PKGFLG(PKF) | ;Return 0 for not in range of acceptable package flags, 1 for within range
|
|
GCN(PSGIENID) | ;Return 0 for not matched, 1 for matched with no GCNSEQNO, 1^1 for matched with a GCNSEQNO
|
Name | Field # of Occurrence |
---|---|
^DIC | NF+7 |
LIST^DIC | DGCKX+10 |
MIX^DIC1 | AD1+29 |
YN^DICN | NF+5 |
$$GET1^DIQ | AD1+20, AD1+21, AD1+22, DGCKX+3, DGCKX+4, DGCKX+7 |
^DIR | AD1+8 |
$$ENDDN^PSGMI | DGCKX+10 |
END^PSGSICHK | DO+11 |
ENDDC^PSGSICHK | DO+6 |
KILL^PSJBCMA5 | AD+2 |
$$ISCLOZ^PSJCLOZ | DO+8 |
$$DGCKIEN^PSJDGCK | DGCKX+3 |
$$PSJSUPCK^PSJDGCK | AD1+30 |
DIN^PSJDIN | DGCKX+4 |
ENKILL^PSJLMUDE | AD+3 |
$$OINAME^PSJLMUTL | DGCKX+7, DGCKX+8, DGCKX+9 |
$$PADECL^PSJPAD50 | AD1+23 |
$$PADEWD^PSJPAD50 | AD1+24 |
READ^PSJUTL | SNFM+2 |
$$PROD0^PSNAPIS | GCN+4 |
^PSOCLO1 | DO+10, DO+12 |
INP^VADPT | AD1+17 |
$$GET^XPAR | AD1+14 |
Name | Line Occurrences |
---|---|
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 |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^PSDRUG - [#50] | Classic Fileman Calls, GET1^DIQ, LIST^DIC |
^PS(50.7 - [#50.7] | Classic Fileman Calls |
^PS(53.1 - [#53.1] | GET1^DIQ |
55.01 | GET1^DIQ |
55.06 | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^PS(50.3 - [#50.3] | GTNEDFD+3 |
^PS(50.7 - [#50.7] | GTNEDFD+1 |
^PS(53.45 - [#53.45] | AD1+1! |
^PS(59.7 - [#59.7] | SNFM+1 |
^PSDRUG - [#50] | NF+2, NF+4, CHKDRG+1, GCN+2 |
^TMP("PSJINTER" | AD+2!, AD1+1! |
^TMP("PSODAOC" | AD1+2! |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | DONE+1!, NF+5*, NF+6 |
%Y | DONE+1! |
ANQX | DO+1~, DO+9, DO+11 |
APP | GTNEDFD~, GTNEDFD+3 |
>> ARRAY("DILIST" | DGCKX+10 |
CLOZFLG | DO+8~*, DO+9, DO+12 |
CNT | NF+2~*, NF+3, NF+4, NF+6 |
>> D | AD+4*, AD+7*, AD+8* |
DA | NF+7! |
DA(1 | NF+7* |
DFN | AD1+14~, AD1+16*, AD1+17 |
DIC | AD+4!*, AD+7*, AD+8*, DONE+1!, NF+7!* |
DIC("A" | NF+7* |
DIC("S" | AD+4*, AD+7*, AD+8* |
DIC("T" | AD+7*, AD+8* |
DIC("W" | AD1+15!, AD1+27* |
DIC(0 | AD+4*, NF+7* |
DIR | AD1+8! |
DIR("A" | AD1+8* |
DIR(0 | AD1+8* |
DRG | CHKDRG~, CHKDRG+1 |
DT | CHKDRG+1 |
DTIME | AD1+3 |
IOF | AD1+8 |
IOM | NFOH+2 |
PDRG | GTNEDFD~, GTNEDFD+1, GTNEDFD+3 |
PKF | PKGFLG~, PKGFLG+1, PKGFLG+2 |
PSGDGCKF | AD1+9~*, DGCKX+2, DGCKX+3, DGCKX+6, DGCKX+9, DO+5 |
PSGDICS | PSGOE7+12*, DONE+1! |
>> PSGDO | AD1+29*, DO+14* |
>> PSGDRG | AD1+29*, DGCKX+1*, DGCKX+2*, DGCKX+3*, DGCKX+4, DGCKX+5*, DGCKX+6*, DGCKX+7, DGCKX+10*, DO+4 , DO+5, DO+6, DO+8, NF+2, NF+4, NF+7 |
>> PSGDRGN | AD1+29*, DGCKX+1*, DGCKX+2*, DGCKX+3*, DGCKX+5*, DGCKX+6*, DGCKX+10* |
PSGFLG | DO+1~, DO+12* |
PSGGCNID | GCN+1~, GCN+4*, GCN+5 |
PSGGCNPT | GCN+1~, GCN+2*, GCN+3, GCN+4 |
PSGIENID | GCN~, GCN+2, GCN+5, GCN+6 |
PSGNDFID | GCN+1~, GCN+2*, GCN+3, GCN+4, GCN+5, GCN+6 |
>> PSGNEDFD | AD1+29*, DO+2* |
PSGODO | AD+2! |
PSGORD | AD1+1!, AD1+20, AD1+21, AD1+22 |
>> PSGORQF | AD1+3*, AD1+10*, DO+4 |
>> PSGP | AD1+14, AD1+16, AD1+21, AD1+22, DO+6 |
>> PSGPDRG | AD1+29*, DGCKX+7*, DGCKX+8*, DGCKX+9*, DGCKX+10, DO+2, DO+11 |
>> PSGPDRGN | AD1+29*, DGCKX+7*, DGCKX+8*, DGCKX+9* |
PSGUSRX | AD1+1!, AD1+5*, DO+5, DONE+1! |
>> PSGX | DO+11* |
PSJALLGY | AD1+1!, DO+1~, DONE+1! |
PSJALLGY( | DO+5* |
>> PSJCLAPP | AD1+19 |
PSJCLNK | AD1+15~, AD1+23*, AD1+24, AD1+26 |
>> PSJDGCK | AD+7, AD+8, AD1+6, AD1+9, AD1+30, DGCKX+1, DGCKX+2, DGCKX+3, DGCKX+5, DGCKX+6 , DGCKX+8, DGCKX+9 |
PSJDOSE | AD+1! |
PSJDOX | AD+1! |
PSJLUAPP | DONE+1! |
>> PSJOCNT | AD1+6 |
PSJORCL | AD1+15~, AD1+19*, AD1+20*, AD1+21*, AD1+22*, AD1+23, AD1+26 |
PSJORD | AD1+1! |
>> PSJPCAF | AD1+17 |
PSJPDLOC | AD+5~, AD1+1!, AD1+26*, AD1+27 |
PSJPLTYP | AD+5~, AD1+1!, AD1+26*, AD1+27 |
>> PSJSYSP | AD+2, AD1+1 |
>> PSJSYSU | AD+4, AD1+12, DGCKX, DO+4, DO+9, DO+11, NF+1, NF+3, SNFM+1 |
PSJTABS | AD+5~, AD1+14~, AD1+25* |
Q | NF+5*, SNFM+1*, GTNEDFD+2~, GTNEDFD+3* |
Q1 | DONE+1!, NF+2*, NF+4*, NF+6 |
Q2 | DONE+1! |
Q3 | DONE+1!, NF+4*, NF+5, NF+6, NFOH+1 |
U | CHKDRG+1 |
VAIN | AD1+14~ |
VAIN(4 | AD1+14, AD1+17, AD1+24, AD1+26 |
X | AD1+3*, AD1+5, AD1+6, AD1+9, AD1+10, AD1+11, AD1+12, AD1+29, DGCKX+10*, NFOH+1* , NFOH+2, CHKDRG+1*, GTNEDFD+2~*, GTNEDFD+3*, GTNEDFD+4 |
>> Y | AD1+29, AD1+30, DGCKX+1, DGCKX+2, DGCKX+5, DGCKX+6, DGCKX+8, DGCKX+9, DO+11, NF+1* , NF+3*, NF+6*, NFOH+2*, SNFM+1*, SNFM+2* |
>> Y(0 | DGCKX+1, DGCKX+2, DGCKX+5, DGCKX+6, NF+6* |
Z | DONE+1!, NFOH+2* |