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: APSPPCC1

Package: IHS Changes To Pharmacy

Routine: APSPPCC1


Information

APSPPCC1 ;IHS/CIA/PLS - PCC Hook for Pharmacy Package - Continued ;04-Jun-2014 14:48;DU

Source Information

Source file <APSPPCC1.m>

Call Graph

Call Graph Total: 7

Package Total Call Graph
VA Fileman 3 ^DIC  $$GET1^DIQ  ^DIR  
DRG Grouper 1 $$IMP^ICDEX  
IHS Changes To Pharmacy 1 $$PRVNARR^APSPPCC  
Kernel 1 $$VERSION^XPDUTL  
Toolkit 1 ($$GET,ADD)^XPAR  

Caller Graph

Caller Graph Total: 5

Package Total Caller Graph
Outpatient Pharmacy 5 PSONEW  PSOORNE4  PSOORNEW  PSOREF0  PSORXL1  

Entry Points

Name Comments DBIA/ICR reference
POV(RXIEN,RFIEN) ;
GETVMED(RXIEN) ;EP
POVSEL(PIEN) ;EP
ACTPROB(RXIEN) ;
EN1 ;EP - Prompt user
SET(RXIEN,RFIEN,POV) ;
PROVNAR() ;
CONFIRM(PROMPT,DEFAULT) ; EP
ICD(IEN) ;
EN(DFN,RXIEN,SUS) ;EP
POVS(VIEN) ;

External References

Name Field # of Occurrence
$$PRVNARR^APSPPCC POV+10, PROVNAR+7
^DIC POV+8
$$GET1^DIQ EN+3, EN+15, EN+19, EN+22, POV+10, POV+17, ACTPROB+3, ACTPROB+7, ACTPROB+8, POVS+6
, ICD+1, POVSEL+2, POVSEL+3, GETVMED+3, GETVMED+6
^DIR ACTPROB+11, PROVNAR+4, POVS+11, CONFIRM+4
$$IMP^ICDEX EN+10
$$GET^XPAR EN+7
ADD^XPAR SET+2
$$VERSION^XPDUTL EN+8

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Rx# "_$P($G(^PSRX(RXIEN,0)),U,1)," Drug:",$P($G(^PSDRUG(+$P($G(^PSRX(RXIEN,0)),U,6),0)),U),!
  • Line Location: EN1+1
Function Call: WRITE
  • Prompt: !?5,CNT,")",?8,$$GET1^DIQ(9000011,PIEN,.01),?15,$$GET1^DIQ(9000011,PIEN,.05)
  • Line Location: ACTPROB+8
Function Call: WRITE
  • Prompt: !,"Please enter a narrative describing the diagnosis."
  • Line Location: PROVNAR+3
Function Call: WRITE
  • Prompt: !,"Purpose of Visit List:"
  • Line Location: POVS+3
Function Call: WRITE
  • Prompt: !?5,CNT,")",?8,$$GET1^DIQ(9000010.07,PIEN,.01),?15,$$GET1^DIQ(9000010.07,PIEN,.04)
  • Line Location: POVS+6
Routine Call
  • DIC
  • Line Location:
    • POV+8
Routine Call
  • DIR
  • Line Location:
    • ACTPROB+11
    • PROVNAR+4
    • POVS+11
    • CONFIRM+4

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PSRX - [#52] GET1^DIQ
52.1 GET1^DIQ
^ICD9 - [#80] GET1^DIQ
^AUPNVPOV - [#9000010.07] GET1^DIQ
^AUPNVMED - [#9000010.14] GET1^DIQ
^AUPNPROB - [#9000011] GET1^DIQ
^APSPCTRL - [#9009033] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNPROB - [#9000011] ACTPROB+14
^AUPNPROB("AC" ACTPROB+4, ACTPROB+6
^AUPNVPOV - [#9000010.07] POVS+14
^AUPNVPOV("AD" POV+21, POVS+4
^AUPNVSIT - [#9000010] POV+18
^PSDRUG - [#50] EN1+1
^PSRX - [#52] EN+5, EN1+1, POV+4, POV+5

Label References

Name Line Occurrences
$$ACTPROB POV+14, POV+19, POV+22, POV+26
$$CONFIRM EN+24
$$GETVMED POV+12
$$ICD ACTPROB+14, POVS+14
$$POV EN1+2
$$POVS POV+25
$$POVSEL POVS+5
$$PROVNAR POV+15, POV+20, POV+23, POV+27
EN1 EN+17, EN+21, EN+26
SET EN+13, EN1+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CLININD POV+1~, POV+5*, POV+6, POV+8
CNT ACTPROB+1~, ACTPROB+6*, ACTPROB+8*, ACTPROB+9, ACTPROB+10, POVS+1~, POVS+2*, POVS+6*, POVS+7, POVS+8
DEFAULT CONFIRM~, CONFIRM+3
DFN EN~, ACTPROB+1~, ACTPROB+3*, ACTPROB+4, ACTPROB+6
>> DIC POV+8*
>> DIC(0 POV+8*
DIR ACTPROB+1~, PROVNAR+1~, POVS+1~, CONFIRM+1~
DIR("?" POVS+10*
DIR("A" ACTPROB+10*, PROVNAR+4*, POVS+8*, CONFIRM+2*
DIR("B" POVS+9*, CONFIRM+3*
DIR(0 ACTPROB+10*, PROVNAR+4*, POVS+8*, CONFIRM+3*
DIRUT ACTPROB+1~, ACTPROB+12, PROVNAR+1~, PROVNAR+5, POVS+1~, POVS+12
DT EN+10, EN+11
DTOUT ACTPROB+1~, PROVNAR+1~, POVS+1~
DUOUT ACTPROB+1~, PROVNAR+1~, POVS+1~
ICDIEN ACTPROB+1~
IEN ICD~, ICD+1
IMP EN+4~, EN+10*, EN+11
PIEN ACTPROB+1~, ACTPROB+6*, ACTPROB+7, ACTPROB+8, ACTPROB+13*, ACTPROB+14, POVS+1~, POVS+2*, POVS+4*, POVS+5
, POVS+6, POVS+13*, POVS+14, POVSEL~, POVSEL+2, POVSEL+3
POV EN+4~, EN+8*, EN+11*, EN+12*, EN+13, EN1+2*, EN1+3, POV+1~, POV+2*, POV+6
, POV+10*, POV+14*, POV+15*, POV+19*, POV+20*, POV+22*, POV+23*, POV+25*, POV+26*, POV+27*
, POV+28, ACTPROB+1~, ACTPROB+2*, ACTPROB+14*, ACTPROB+15, PROVNAR+1~, PROVNAR+2*, PROVNAR+6*, PROVNAR+7*, PROVNAR+8
, POVS+1~, POVS+2*, POVS+14*, POVS+15, SET~, SET+2
POVS POVS+1~
POVS( POVS+6*, POVS+13
PRB ACTPROB+1~
PRB( ACTPROB+8*, ACTPROB+13
PROMPT CONFIRM~, CONFIRM+2
>> PSOSITE EN+3, EN+15, EN+19, EN+22
RES POVSEL+1~, POVSEL+2*, POVSEL+3*, POVSEL+4, GETVMED+1~, GETVMED+3*, GETVMED+4
RFIEN EN+4~, EN+5*, EN+6, EN+7, EN+13, EN+23, EN1+2, EN1+3, POV~, SET~
, SET+2
RXIEN EN~, EN+5, EN+7, EN+13, EN1+1, EN1+2, EN1+3, POV~, POV+4, POV+5
, POV+12, POV+14, POV+19, POV+22, POV+26, ACTPROB~, ACTPROB+3, SET~, SET+2, GETVMED~
, GETVMED+3, GETVMED+6
RXVMED POV+1~, POV+12*, POV+13, POV+17
SIGN POV+1~, POV+4*, POV+10
SUS EN~, EN+6, EN+18
U EN1+1, POV+4, POV+5, POV+10, ACTPROB+14, PROVNAR+6, PROVNAR+7, POVS+14, SET+2
VIEN POVS~, POVS+4
VIS POV+1~, POV+17*, POV+18, POV+21, POV+25
>> X POV+8*
>> Y POV+9, POV+10, ACTPROB+13, PROVNAR+6, POVS+13, CONFIRM+5
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