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 |  Local Variables |  All
Print Page as PDF
Routine: APSPCSM

Package: IHS Changes To Pharmacy

Routine: APSPCSM


Information

APSPCSM ; IHS/MSC/PLS - CONTROLLED SUBSTANCE MANAGEMENT REPORT ;24-May-2013 08:49;PLS

Source Information

Source file <APSPCSM.m>

Call Graph

Call Graph Total: 11

Package Total Call Graph
IHS Changes To Pharmacy 4 OUT^APSPCSM  PRINT^APSPCSM1  $$RMNRFL^APSPFUNC  ($$DIR,$$DIRYN,$$GETIEN,ASKDATES)^APSPUTIL  
Kernel 3 ($$FMADD,$$FMTE)^XLFDT  $$UP^XLFSTR  (EDIT,RESCH)^XUTMOPT  
VA Fileman 2 $$FIND1^DIC  $$GET1^DIQ  
IHS VA Utilities 1 ^XBDBQUE  
Outpatient Pharmacy 1 $$LSTRFL^PSOBPSU1  

Caller Graph

Caller Graph Total: 3

Package Total Caller Graph
IHS Changes To Pharmacy 2 APSPCSM  APSPCSM1  
Outpatient Pharmacy 1 PSOHELP1  

Entry Points

Name Comments DBIA/ICR reference
SORT ;EP -
DCVRY(DCLS,RX) ;EP
EN ;EP
CMOP(RX,FILL) ;
ENTSK ;EP-
DIVVRY(RX,DIV,TYP,SIEN) ;EP
FIND(SDT,EDT,XREF,DCLS) ;EP
DEV ;
PRVVRY(RX,PRV,TYP,SIEN) ;EP
DSPRDT(RX,TYP,SIEN) ;EP
PATVRY(RX,PAT) ;EP
CVTDCLS(DCLS) ; EP
AUTOQ ;EP - ENTRY POINT FOR AUTO QUEUEING OF APSP CSM REPORT TASK OPTION
STATS(DAT) ;EP -
SET(FDT,RX,XREF,SIEN,CMOP) ;EP
OUT ;EP

External References

Name Field # of Occurrence
OUT^APSPCSM ENTSK+27
PRINT^APSPCSM1 OUT+7
$$RMNRFL^APSPFUNC SET+27
$$DIR^APSPUTIL EN+13, EN+21, EN+26, EN+29, EN+33, EN+38, EN+42, EN+47, EN+49, EN+52
, EN+54
$$DIRYN^APSPUTIL EN+57
$$GETIEN^APSPUTIL EN+18
ASKDATES^APSPUTIL EN+8
$$FIND1^DIC AUTOQ+1, AUTOQ+2
$$GET1^DIQ FIND+11, FIND+14, STATS+13, STATS+14, SET+11, SET+17, SET+18, SET+19, SET+20, SET+21
, SET+22, SET+24, CMOP+4
$$LSTRFL^PSOBPSU1 CMOP+3
^XBDBQUE DEV+4
$$FMADD^XLFDT EN+8, ENTSK+5, ENTSK+16
$$FMTE^XLFDT EN+10, EN+11, ENTSK+6, ENTSK+17
$$UP^XLFSTR STATS+5, SET+28
EDIT^XUTMOPT AUTOQ+3, AUTOQ+6
RESCH^XUTMOPT AUTOQ+5

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: EN+6
Function Call: WRITE
  • Prompt: !!,"Controlled Substance Management Report"
  • Line Location: EN+7
Routine Call
  • DIC
  • Line Location:
    • AUTOQ+1
    • AUTOQ+2

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DIC(19 - [#19] FIND1^DIC
^DIC(19.2 - [#19.2] FIND1^DIC
^DPT - [#2] GET1^DIQ
^VA(200 - [#200] GET1^DIQ
^PSDRUG - [#50] GET1^DIQ
^PSRX - [#52] GET1^DIQ
52.1 GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PSDRUG - [#50] SET+12, SET+13, DCVRY+4, DCVRY+5
^PSRX - [#52] FIND+4, FIND+6, FIND+9, FIND+13, SET+6, SET+7, SET+8, DCVRY+2, DCVRY+3, DIVVRY+2
, DSPRDT+1, PRVVRY+2, PATVRY+2, CMOP+6, CMOP+7
^TMP($J OUT+2!, OUT+8!, SET+4, SET+27*, SET+29*, SET+30*, SET+31*, SET+32*, SET+33*, SET+34*
, SET+35*, SET+36*

Label References

Name Line Occurrences
$$CMOP FIND+19
$$CVTDCLS SET+14
$$DCVRY FIND+10
$$DIVVRY FIND+15
$$DSPRDT FIND+16
$$PATVRY FIND+7
$$PRVVRY FIND+17
DEV EN+59
FIND OUT+3, OUT+4
SET FIND+20, FIND+21
SORT OUT+6

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
A0 FIND+1~
ACTIEN FIND+1~
APSPBD EN+1~, EN+8, EN+10, EN+12*, OUT+3, OUT+4, ENTSK+1~, ENTSK+5*, ENTSK+6, ENTSK+7*
APSPBDF EN+1~, EN+10*, ENTSK+1~, ENTSK+6*
APSPCMOP EN+3~, EN+57*, FIND+21, ENTSK+3~, ENTSK+26*
APSPDCLS EN+1~, EN+21*, OUT+3, OUT+4, FIND+10, ENTSK+1~, ENTSK+8*
APSPDCT EN+2~
APSPDCT( DCVRY+6
APSPDCT(1 EN+24*, ENTSK+9*
APSPDCT(2 EN+24*, ENTSK+9*
APSPDCT(3 EN+24*, ENTSK+9*
APSPDCTN EN+2~, ENTSK+1~
APSPDCTN(1 EN+25*, ENTSK+10*
APSPDCTN(2 EN+25*, ENTSK+10*
APSPDCTN(3 EN+25*, ENTSK+10*
APSPDET EN+2~, EN+28*, EN+29, EN+52, EN+54, ENTSK+1~, ENTSK+11*
APSPDIV EN+1~, EN+4*, EN+13*, EN+15, EN+16*, EN+18*, FIND+15, ENTSK+1~, ENTSK+12*
APSPDOSE EN+2~, EN+4*, EN+54*, ENTSK+1~, ENTSK+13*
APSPDRG EN+2~, EN+4*, ENTSK+2~, ENTSK+14*
APSPDSUB EN+1~, EN+4*, EN+23*, ENTSK+2~, ENTSK+15*
APSPED EN+1~, EN+8, EN+11, EN+12*, OUT+3, OUT+4, ENTSK+2~, ENTSK+16*, ENTSK+17, ENTSK+18*
APSPEDF EN+1~, EN+11*, ENTSK+2~, ENTSK+17*
APSPETOT EN+3~, EN+5*, EN+52*, ENTSK+2~, ENTSK+19*
APSPPAT EN+3~, EN+5*, EN+31*, EN+33*, EN+35, EN+36*, EN+38*, FIND+7, ENTSK+2~, ENTSK+20*
APSPPRV EN+2~, EN+4*, EN+40*, EN+42*, EN+44, EN+45*, EN+47*, FIND+17, ENTSK+2~, ENTSK+21*
APSPQ EN+1~, EN+4*, EN+8, EN+9, EN+13, EN+14, EN+17, EN+18, EN+19, EN+20
, EN+21, EN+22, EN+26, EN+27, EN+29, EN+30, EN+33, EN+34, EN+37, EN+38
, EN+39, EN+42, EN+43, EN+46, EN+47, EN+48, EN+49, EN+50, EN+52, EN+53
, EN+54, EN+55, EN+57, EN+58, ENTSK+2~, ENTSK+22*
APSPRTOT EN+3~
APSPRTOT("DRUG" STATS+12*
APSPRTOT("DRUGN" STATS+14*
APSPRTOT("FILLS" STATS+10*
APSPRTOT("RXCNT" STATS+16*
APSPRTOT("RXDRUG" STATS+19*
APSPRTOT("RXS" STATS+21*
APSPRTYP EN+1~, EN+26*, EN+28, ENTSK+3~, ENTSK+23*
APSPSORT EN+2~, EN+29*, EN+32, EN+41, ENTSK+3~, ENTSK+24*
APSPXML EN+2~, EN+4*, EN+49*, EN+51*, EN+52, EN+54, ENTSK+3~, ENTSK+25*
CMOP FIND+1~, FIND+3*, FIND+19*, FIND+20, FIND+21, SET~, SET+27, CMOP+1~, CMOP+2*, CMOP+8*
, CMOP+9*, CMOP+10
DAT STATS~, STATS+2, STATS+3, STATS+4, STATS+6, STATS+7, STATS+8
DATA CMOP+1~, CMOP+7*, CMOP+8
DAYS SET+2~, SET+20*, SET+27
DCLS FIND~, SET+1~, SET+13*, SET+14*, SET+27, SET+33, DCVRY~, DCVRY+6, CVTDCLS~, CVTDCLS+1
, CVTDCLS+2, CVTDCLS+3, CVTDCLS+4
DCLSVAL DCVRY+1~, DCVRY+5*, DCVRY+6
DFN SET+2~, SET+10*, SET+11
DIV STATS+8*, SET+1~, SET+17*, SET+27, SET+29, SET+30, SET+31, SET+32, SET+33, SET+34
, SET+35, DIVVRY~, DIVVRY+1, DIVVRY+2
DRGIEN DCVRY+1~, DCVRY+3*, DCVRY+4, DCVRY+5
>> DRGNM SET+12*, SET+27, SET+28*, SET+29, SET+30, SET+31, SET+32, SET+33, SET+34, SET+35
DRUG STATS+1~, STATS+3*, STATS+11, STATS+12, STATS+13, STATS+14, SET+1~, SET+9*, SET+12, SET+13
, SET+27
DRUGN STATS+1~, STATS+4*, STATS+5, STATS+13, STATS+14, STATS+20
DRUGNU STATS+1~, STATS+5*, STATS+13, STATS+14, STATS+19, STATS+20
DT EN+8, ENTSK+5, ENTSK+16
EDT FIND~, FIND+4
FDT STATS+1~, STATS+7*, SET~, SET+27, SET+29, SET+30, SET+32, SET+33, SET+34, SET+35
FDTLP FIND+1~, FIND+2*, FIND+4*, FIND+6, FIND+13, FIND+20, FIND+21
FILL CMOP~, CMOP+8
FILLDT FIND+1~
FTYPE SET+1~, SET+3*, SET+17, SET+19, SET+20, SET+21, SET+24, SET+27, SET+36
IEN FIND+1~, FIND+13*, FIND+14, FIND+15, FIND+16, FIND+17, FIND+19, FIND+20, FIND+21, CMOP+1~
, CMOP+6*, CMOP+7
IO OUT+1
IOF EN+6
LP STATS+1~, ENTSK+4~
LSTDSPDT SET+1~, SET+15*
MW CMOP+1~, CMOP+4*, CMOP+9
NODE0 SET+1~, SET+6*, SET+9, SET+10, SET+27
NODE2 SET+1~, SET+7*
NODE3 SET+1~, SET+8*, SET+15
NXT SET+2~, SET+4*, SET+5*, SET+27, SET+29, SET+30, SET+31, SET+32, SET+33, SET+34
, SET+35, SET+36
OPRV SET+2~, SET+21*, SET+22, SET+27
OPRVNM SET+2~, SET+22*, SET+23*, SET+35
PAT PATVRY~, PATVRY+1, PATVRY+2
PHRM SET+2~, SET+24*, SET+27
PNM SET+2~, SET+11*, SET+34
PRV PRVVRY~, PRVVRY+1, PRVVRY+2
QTY STATS+1~, STATS+6*, STATS+11, STATS+12, SET+2~, SET+19*, SET+27
RDT SET+1~, SET+18*
RFL CMOP+1~, CMOP+3*, CMOP+4
RIFLG SET+1~, SET+16*, SET+27
RTSDATE SET+1~
RTSDT FIND+1~
RX STATS+1~, STATS+2*, STATS+15, STATS+18, STATS+21, STATS+22, SET~, SET+6, SET+7, SET+8
, SET+17, SET+18, SET+19, SET+20, SET+21, SET+24, SET+36, DCVRY~, DCVRY+3, DIVVRY~
, DIVVRY+2, DSPRDT~, DSPRDT+1, PRVVRY~, PRVVRY+2, PATVRY~, PATVRY+2, CMOP~, CMOP+3, CMOP+4
, CMOP+6, CMOP+7
RXCNT STATS+1~
RXIEN FIND+1~, FIND+5*, FIND+6*, FIND+7, FIND+9, FIND+10, FIND+11, FIND+13, FIND+14, FIND+15
, FIND+16, FIND+17, FIND+19, FIND+20, FIND+21, SET+27, DCVRY+2
RXRTSDT DCVRY+1~, DCVRY+2*
SDT FIND~, FIND+2
SIEN SET~, SET+3, SET+17, SET+19, SET+20, SET+21, SET+24, SET+27, SET+36, DIVVRY~
, DIVVRY+2, DSPRDT~, DSPRDT+1, PRVVRY~, PRVVRY+2
STATS EN+2~
STATS("DRUG" STATS+11*
STATS("DRUGN" STATS+13*
STATS("FILLS" STATS+9*
STATS("RXCNT" STATS+17*
STATS("RXDRUG" STATS+20*
STATS("RXS" STATS+15, STATS+18, STATS+21, STATS+22*
STOP CMOP+1~, CMOP+5*, CMOP+6, CMOP+8*
TYP DIVVRY~, DIVVRY+2, DSPRDT~, DSPRDT+1, PRVVRY~, PRVVRY+2
U FIND+9, STATS+2, STATS+3, STATS+4, STATS+6, STATS+7, STATS+8, STATS+13, STATS+14, SET+9
, SET+10, SET+12, SET+13, SET+27, DCVRY+2, DCVRY+3, DCVRY+5, DIVVRY+2, DSPRDT+1, PRVVRY+2
, PATVRY+2, CMOP+7
X ENTSK+4~
XBNS DEV+1~, DEV+3*
XBRP DEV+1~, DEV+2*
XREF FIND~, FIND+4, FIND+6, FIND+13, FIND+15, FIND+16, FIND+17, FIND+19, FIND+20, FIND+21
, SET~, SET+3, SET+27
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 |  Local Variables |  All