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 |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: APSPTDD

Package: IHS Changes To Pharmacy

Routine: APSPTDD


Information

APSPTDD ;IHS/DSD/ENM/CIA/PLS - OUTPATIENT PHAR TOTAL DRUGS DISPENSED ;07-Jul-2010 15:55;SM

Source Information

Source file <APSPTDD.m>

Call Graph

Call Graph Total: 5

Package Total Call Graph
IHS Changes To Pharmacy 2 EN^APSPTDD1  ($$DIR,$$DIRYN,$$GETIEN,$$GETIEN1,ASKDATES)^APSPUTIL  
IHS VA Utilities 1 ^XBDBQUE  
Kernel 1 $$FMTE^XLFDT  
VA Fileman 1 $$GET1^DIQ  

Entry Points

Name Comments DBIA/ICR reference
EN ;EP
CHKDRG(DRG) ;EP
VAC ; Build drug list for selected VA Drug Class
DIVVRY(RX,DIV,TYP,SIEN) ;EP
CHKSTAT(RX) ; EP
FIND(SDT,EDT,XREF,DARY) ;EP
SET(FDT,RX,XREF,SIEN) ;EP
DEV ;EP
OUT ;EP

External References

Name Field # of Occurrence
EN^APSPTDD1 OUT+6
$$DIR^APSPUTIL EN+13, EN+20
$$DIRYN^APSPUTIL EN+25, EN+32, EN+35
$$GETIEN^APSPUTIL EN+18, EN+28
$$GETIEN1^APSPUTIL EN+22
ASKDATES^APSPUTIL EN+7
$$GET1^DIQ FIND+13, SET+5, SET+6, SET+8, SET+9
^XBDBQUE DEV+4
$$FMTE^XLFDT EN+10, EN+11

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: EN+5
Function Call: WRITE
  • Prompt: "Pharmacy Total Drugs Dispensed List ",!!
  • Line Location: EN+6

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)
^PS(50.605 - [#50.605] VAC+4
^PSDRUG - [#50] FIND+10, SET+7
^PSDRUG("VAC" VAC+3
^PSRX - [#52] FIND+3, FIND+5, FIND+8, FIND+12, CHKSTAT+2, DIVVRY+2, SET+3, SET+4
^TMP($J OUT+2!, OUT+7!, SET+11, SET+12*, SET+13*

Label References

Name Line Occurrences
$$CHKDRG FIND+11
$$CHKSTAT FIND+6
$$DIVVRY FIND+14
DEV EN+36
FIND OUT+4, OUT+5
SET FIND+15
VAC OUT+3

Naked Globals

Name Field # of Occurrence
^( SET+12

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
A0 FIND+1~
ACTIEN FIND+1~
APSPBD EN+1~, EN+7, EN+9*, EN+10, EN+12*, OUT+4, OUT+5
APSPBDF EN+1~, EN+10*
APSPCLS EN+2~, EN+4*, EN+21, EN+22*, OUT+3, VAC+3, VAC+4
APSPDALL EN+2~, EN+23*, EN+24, EN+25*, EN+26, CHKDRG+1
APSPDARY EN+2~, OUT+4, OUT+5
APSPDARY( EN+30*, VAC+5*
APSPDIV EN+1~, EN+13*, EN+15, EN+16*, EN+18*, FIND+14
APSPDRG EN+1~, EN+28*, EN+29, EN+30
APSPDS VAC+1~, VAC+2*, VAC+3*, VAC+5
APSPED EN+1~, EN+7, EN+9*, EN+11, EN+12*, OUT+4, OUT+5
APSPEDF EN+1~, EN+11*
APSPNOD EN+2~, EN+35*
APSPQ EN+1~, EN+7, EN+8, EN+13, EN+14, EN+17, EN+18, EN+20, EN+25, EN+26
, EN+32, EN+33, EN+34, EN+35
APSPSORT EN+3~, EN+20*, EN+21
DARY FIND~
DARY( CHKDRG+2
DCNT EN+3~, EN+4*, EN+24, EN+31*
DFN SET+1~, SET+4*
DIV DIVVRY~, DIVVRY+1, DIVVRY+2, SET+1~, SET+5*, SET+11, SET+12, SET+13
DRG FIND+1~, FIND+8*, FIND+9, FIND+10, FIND+11, CHKDRG~, CHKDRG+2, SET+7, SET+9
DRGNM SET+1~, SET+7*, SET+11, SET+12, SET+13
DT EN+7
EDT FIND~, FIND+3
FDT SET~
FDTLP FIND+1~, FIND+2*, FIND+3*, FIND+5, FIND+12, FIND+15
FILLDT FIND+1~
FTYPE SET+1~, SET+2*, SET+5, SET+6, SET+8
IEN FIND+1~, FIND+12*, FIND+13, FIND+14, FIND+15
IO OUT+1
IOF EN+5
OPRV SET+1~, SET+8*
QFLG EN+2~, EN+27, EN+29*, EN+32*, EN+33*
QTY SET+1~, SET+6*, SET+12, SET+13
REMARK SET+1~
RTSDT FIND+1~
RX CHKSTAT~, CHKSTAT+2, DIVVRY~, DIVVRY+2, SET~, SET+3, SET+4, SET+6, SET+8
RXIEN FIND+1~, FIND+4*, FIND+5*, FIND+6, FIND+8, FIND+12, FIND+13, FIND+14, FIND+15, SET+5
RXN SET+1~, SET+3*
SDT FIND~, FIND+2
SIEN DIVVRY~, DIVVRY+2, SET~, SET+2, SET+5, SET+6, SET+8
STA CHKSTAT+1~, CHKSTAT+2*, CHKSTAT+3, CHKSTAT+4
TCNT EN+2~
TOTAL EN+2~
TYP DIVVRY~, DIVVRY+2
U FIND+8, CHKSTAT+2, DIVVRY+2, SET+3, SET+4, SET+7, SET+12, SET+13
UNIT SET+1~, SET+9*, SET+10*, SET+11, SET+12, SET+13
>> X EN+9*
XBNS DEV+1~, DEV+3*
XBRP DEV+1~, DEV+2*
XREF FIND~, FIND+3, FIND+5, FIND+12, FIND+14, FIND+15, SET~, SET+2
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All