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

Package: Enterprise Health Management Platform

Routine: HMPCAC


Information

HMPCAC ;SLC/AGP,ASMR/RRB - HMP CAC Tools;Nov 24, 2015 20:05:06

Source Information

Source file <HMPCAC.m>

Call Graph

Call Graph

Call Graph Total: 17

Package Total Call Graph
VA FileMan 5 EN^DDIOL  (,$$FIND1)^DIC  UPDATE^DIE  (CLEAN,DT)^DILF  ^DIR  
Order Entry Results Reporting 4 TEAMPTS^ORQPTQ1  (CLINPTS,PROVPTS,SPECPTS,WARDPTS)^ORQPTQ2  BYWARD^ORWPT  $$ACTLOC^ORWU  
Kernel 3 $$FMTE^XLFDT  $$UP^XLFSTR  $$ACCESS^XQCHK  
Enterprise Health Management Platform 2 API^HMPDJFS  $$SYS^HMPUTILS  
Registration 1 $$SITE^VASITE  
Scheduling 1 $$SDAPI^SDAMA301  
Toolkit 1 $$GET^XPAR  

Entry Points

Name Comments DBIA/ICR reference
ASK(YESNO,PROMPT) ;
ADDSVR() ;
OPTASGN() ; called by Option: Add Health Management Platform User [HMPM ADD HMP USER]
GETPATS(RESULT,IEN,SRV) ;
BLDLIST(LIST,HMPY) ;
CLINPTS2(Y,USER,CLIN,BDATE,EDATE) ; WRAPPER FUNCTION FOR USE BY RPC CALL ORQPT CLINIC PATIENTS
CLINPTS(Y,USER,CLIN,BDATE,EDATE,MAXAPPTS,APPTBGN,APPTEND) ; RETURN LIST OF PTS W/CLINIC APPT W/IN BEGINNING AND END DATES
; PKS-8/2003: Modified for new scheduling pkg APIs.
COMBPTS(LIST,USER,PTR,BDATE,EDATE) ;
GETDFLST(LIST,USER) ;

External References

Name Field # of Occurrence
EN^DDIOL OPTASGN+25
^DIC ADDSVR+8, OPTASGN+10
$$FIND1^DIC OPTASGN+3, COMBPTS+6
UPDATE^DIE OPTASGN+23
CLEAN^DILF COMBPTS+8
DT^DILF CLINPTS+11, CLINPTS+12
^DIR ASK+8
API^HMPDJFS GETPATS+11
$$SYS^HMPUTILS ADDSVR+3
TEAMPTS^ORQPTQ1 COMBPTS+38, GETDFLST+5
CLINPTS^ORQPTQ2 COMBPTS+42
PROVPTS^ORQPTQ2 COMBPTS+32, GETDFLST+7
SPECPTS^ORQPTQ2 COMBPTS+35, GETDFLST+8
WARDPTS^ORQPTQ2 COMBPTS+29
BYWARD^ORWPT GETDFLST+6
$$ACTLOC^ORWU CLINPTS+3
$$SDAPI^SDAMA301 CLINPTS+26
$$SITE^VASITE ADDSVR+2
$$FMTE^XLFDT CLINPTS2+11, CLINPTS2+12, GETDFLST+15, GETDFLST+17, GETDFLST+23, GETDFLST+25
$$UP^XLFSTR CLINPTS+7, CLINPTS+8, GETDFLST+13, GETDFLST+14, GETDFLST+16, GETDFLST+22, GETDFLST+24
$$GET^XPAR CLINPTS+7, CLINPTS+8, GETDFLST+3, GETDFLST+5, GETDFLST+6, GETDFLST+7, GETDFLST+8, GETDFLST+13, GETDFLST+14, GETDFLST+16
, GETDFLST+22, GETDFLST+24
$$ACCESS^XQCHK OPTASGN+14

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: ASK+7
Function Call: WRITE
  • Prompt: !,"Station Number: "_$P(SITE,U,3)
  • Line Location: ADDSVR+4
Function Call: WRITE
  • Prompt: !,"HMP System Identifier: "_SYS
  • Line Location: ADDSVR+5
Function Call: WRITE
  • Prompt: !,"Error: Could not find 'HMP UI CONTEXT' option."
  • Line Location: OPTASGN+3
Function Call: WRITE
  • Prompt: !,IC,"=",@IC
  • Line Location: OPTASGN+27
Function Call: WRITE
  • Prompt: !,"No default patient list found."
  • Line Location: GETPATS+3
Function Call: WRITE
  • Prompt: !,"Patient "_PAT_" already synced."
  • Line Location: GETPATS+8
Routine Call
  • DIC
  • Line Location:
    • ADDSVR+8
    • OPTASGN+10
Routine Call
  • DIC
  • Line Location:
    • OPTASGN+3
    • COMBPTS+6
Routine Call
  • DIE
  • Line Location:
    • OPTASGN+23
Routine Call
  • DIR
  • Line Location:
    • ASK+8

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^OR(100.24 - [#100.24] FIND1^DIC
^DIC(19 - [#19] FIND1^DIC
^VA(200 - [#200] Classic Fileman Calls
^HMP(800000 - [#800000] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^HMP(800000 - [#800000] ADDSVR+6, OPTASGN+6, GETPATS+8
^OR(100.24 - [#100.24] COMBPTS+18, COMBPTS+20, GETDFLST+21
^TMP($J CLINPTS+16!, CLINPTS+31, CLINPTS+32, CLINPTS+37, CLINPTS+39, CLINPTS+41, CLINPTS+51!
^VA(200 - [#200] CLINPTS+6, GETDFLST+2

Label References

Name Line Occurrences
$$ADDSVR OPTASGN+5
ASK OPTASGN+16, OPTASGN+20
BLDLIST COMBPTS+30, COMBPTS+33, COMBPTS+36, COMBPTS+39, COMBPTS+43, GETDFLST+9, GETDFLST+19
CLINPTS CLINPTS2+3
CLINPTS2 GETDFLST+18
COMBPTS GETDFLST+26
GETDFLST GETPATS+2
GETPATS OPTASGN+17, OPTASGN+28

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
API GETDFLST+1~, GETDFLST+13*
APPTBGN CLINPTS2+1~, CLINPTS2+3, CLINPTS2+11, CLINPTS~, CLINPTS+45*, CLINPTS+47*, COMBPTS+41~*, COMBPTS+42
APPTEND CLINPTS2+1~, CLINPTS2+3, CLINPTS2+7*, CLINPTS2+9, CLINPTS2+11, CLINPTS2+12, CLINPTS~, CLINPTS+45*, CLINPTS+46*, COMBPTS+41~*
, COMBPTS+42
ARGS OPTASGN+1~, GETPATS+1~, GETPATS+11
ARGS("command" GETPATS+4*
ARGS("localId" GETPATS+9*
ARGS("server" GETPATS+5*
BDATE CLINPTS2~, CLINPTS2+2, CLINPTS2+3, CLINPTS~, CLINPTS+7*, CLINPTS+11, CLINPTS+13, CLINPTS+19, COMBPTS~, COMBPTS+5
, COMBPTS+42
BEG GETDFLST+1~, GETDFLST+14*, GETDFLST+15*, GETDFLST+18, GETDFLST+22*, GETDFLST+23*, GETDFLST+26
CLIN CLINPTS2~, CLINPTS2+3, CLINPTS~, CLINPTS+2, CLINPTS+3, CLINPTS+18, CLINPTS+20
CNT BLDLIST+1~
DEF ADDSVR+1~, ADDSVR+6*
DIC ADDSVR+1~, ADDSVR+7*, OPTASGN+1~, OPTASGN+9*
DIC("A" ADDSVR+7*, OPTASGN+9*
DIC("B" ADDSVR+6*
DIC(0 ADDSVR+7*, OPTASGN+9*
DIR ASK+8!
DIR("?" ASK+6*
DIR("A" ASK+4*
DIR("B" ASK+5*
DIR(0 ASK+3*
DIROUT ASK+2!, ASK+9
DIRUT ASK+2!
DLAYGO ADDSVR+1~, ADDSVR+7*, OPTASGN+1~, OPTASGN+8!
DT GETDFLST+15, GETDFLST+17, GETDFLST+23, GETDFLST+25
DTOUT ASK+2!, ASK+9*, ASK+10
DUOUT ASK+2!, ASK+10
EDATE CLINPTS2~, CLINPTS2+2, CLINPTS2+3, CLINPTS~, CLINPTS+8*, CLINPTS+12, CLINPTS+13, CLINPTS+14*, CLINPTS+19, COMBPTS~
, COMBPTS+5, COMBPTS+42
END GETDFLST+1~, GETDFLST+16*, GETDFLST+17*, GETDFLST+18, GETDFLST+24*, GETDFLST+25*, GETDFLST+26
FDA OPTASGN+1~
FDA( OPTASGN+22*
FILE COMBPTS+1~, COMBPTS+25*, COMBPTS+28, COMBPTS+31, COMBPTS+34, COMBPTS+37, COMBPTS+40
HASOPT OPTASGN+1~, OPTASGN+14*, OPTASGN+15
HMPERR OPTASGN+1~, OPTASGN+24, COMBPTS+1~, COMBPTS+7!
HMPOPT OPTASGN+1~, OPTASGN+3*, OPTASGN+14, OPTASGN+22
HMPSRC GETDFLST+1~
HMPY BLDLIST~, COMBPTS+1~, COMBPTS+29, COMBPTS+30, COMBPTS+32, COMBPTS+33, COMBPTS+35, COMBPTS+36, COMBPTS+38, COMBPTS+39
, COMBPTS+42, COMBPTS+43, GETDFLST+1~, GETDFLST+5, GETDFLST+6, GETDFLST+7, GETDFLST+8, GETDFLST+9, GETDFLST+18, GETDFLST+19
HMPY( BLDLIST+2, BLDLIST+3
I BLDLIST+1~, BLDLIST+2*, BLDLIST+3
>> IC OPTASGN+26*, OPTASGN+27*
IDXERR CLINPTS+31~*, CLINPTS+32
IEN OPTASGN+1~, OPTASGN+12*, OPTASGN+14, OPTASGN+17, OPTASGN+22, OPTASGN+28, GETPATS~, GETPATS+2, GETDFLST+1~, GETDFLST+5*
, GETDFLST+6*, GETDFLST+7*, GETDFLST+8*, GETDFLST+13*, GETDFLST+18, GETDFLST+21*, GETDFLST+26
LIST OPTASGN+1~, GETPATS+1~, GETPATS+2, GETPATS+3, BLDLIST~, COMBPTS~, COMBPTS+30, COMBPTS+33, COMBPTS+36, COMBPTS+39
, COMBPTS+43, GETDFLST~, GETDFLST+9, GETDFLST+19, GETDFLST+26
LIST( GETPATS+6, BLDLIST+5*
MAXAPPTS CLINPTS2+1~, CLINPTS2+2*, CLINPTS2+3, CLINPTS2+5, CLINPTS2+10, CLINPTS2+11, CLINPTS2+12, CLINPTS2+13, CLINPTS~, CLINPTS+5*
, CLINPTS+24, COMBPTS+1~, COMBPTS+5*, COMBPTS+42
MSG OPTASGN+1~, COMBPTS+1~, COMBPTS+4*, COMBPTS+11*, COMBPTS+23*
NODE BLDLIST+1~, BLDLIST+3*, BLDLIST+5, CLINPTS+4~, CLINPTS+41*, CLINPTS+42, CLINPTS+48
NUMAPPTS CLINPTS2+1~, CLINPTS2+4*, CLINPTS2+5, CLINPTS2+9*, CLINPTS2+11
OPTNAME OPTASGN+1~, OPTASGN+2*, OPTASGN+3
ORAPPT CLINPTS+4~, CLINPTS+38*, CLINPTS+39*, CLINPTS+41, CLINPTS+44, CLINPTS+45, CLINPTS+46, CLINPTS+47
ORCLIN CLINPTS+4~, CLINPTS+18*, CLINPTS+43
ORERR CLINPTS+4~, CLINPTS+29, CLINPTS+30*, CLINPTS+32*
ORI CLINPTS2+6~, CLINPTS2+7*, CLINPTS2+8*, CLINPTS2+9, CLINPTS+4~, CLINPTS+35*, CLINPTS+40*, CLINPTS+42, CLINPTS+43, CLINPTS+44
, CLINPTS+50
ORPT CLINPTS+4~, CLINPTS+35*, CLINPTS+37*, CLINPTS+39, CLINPTS+41
ORPTSTAT CLINPTS+4~, CLINPTS+48*, CLINPTS+49*, CLINPTS+50
ORRESULT CLINPTS+4~, CLINPTS+17*, CLINPTS+26*, CLINPTS+29, CLINPTS+36
ORSRV CLINPTS+4~, CLINPTS+6*, CLINPTS+7, CLINPTS+8
ORY COMBPTS+19!
PAT OPTASGN+1~, GETPATS+1~, GETPATS+6*, GETPATS+8, GETPATS+9, GETPATS+10
PROMPT ASK~, ASK+4
PTR COMBPTS~, COMBPTS+1~, COMBPTS+24*, COMBPTS+29, COMBPTS+32, COMBPTS+35, COMBPTS+38, COMBPTS+42
RESULT OPTASGN+1~, OPTASGN+17, OPTASGN+28, GETPATS~, GETPATS+11
RTN COMBPTS+1~, COMBPTS+6*, COMBPTS+11, COMBPTS+18, COMBPTS+20
SDARRAY CLINPTS+4~, CLINPTS+26
SDARRAY("FLDS" CLINPTS+23*
SDARRAY("MAX" CLINPTS+24*
SDARRAY("SORT" CLINPTS+22*
SDARRAY(1 CLINPTS+19*
SDARRAY(2 CLINPTS+20*
SDARRAY(3 CLINPTS+21*
SITE ADDSVR+1~, ADDSVR+2*, ADDSVR+4
>> SORT COMBPTS+15*
SRC COMBPTS+1~, COMBPTS+16*, COMBPTS+18*, COMBPTS+20, GETDFLST+1~, GETDFLST+3*, GETDFLST+5, GETDFLST+6, GETDFLST+7, GETDFLST+8
, GETDFLST+9, GETDFLST+11, GETDFLST+20
SRV GETPATS~, GETPATS+5, GETPATS+8, GETDFLST+1~, GETDFLST+2*, GETDFLST+3, GETDFLST+5, GETDFLST+6, GETDFLST+7, GETDFLST+8
, GETDFLST+13, GETDFLST+14, GETDFLST+16, GETDFLST+22, GETDFLST+24
SVR OPTASGN+1~, OPTASGN+6*, OPTASGN+17, OPTASGN+28
SYS ADDSVR+1~, ADDSVR+3*, ADDSVR+5
TEXT ASK+1~
TXT COMBPTS+1~, COMBPTS+20*, COMBPTS+23, COMBPTS+24, COMBPTS+25
U ADDSVR+4, ADDSVR+6, OPTASGN+6, BLDLIST+5, CLINPTS2+9, CLINPTS+6, CLINPTS+29, CLINPTS+42, CLINPTS+43, CLINPTS+44
, CLINPTS+48, CLINPTS+50, GETDFLST+2
USER CLINPTS2~, CLINPTS2+3, CLINPTS~, CLINPTS+6, COMBPTS~, COMBPTS+6, GETDFLST~, GETDFLST+2, GETDFLST+3, GETDFLST+5
, GETDFLST+6, GETDFLST+7, GETDFLST+8, GETDFLST+13, GETDFLST+14, GETDFLST+16, GETDFLST+18, GETDFLST+21, GETDFLST+22, GETDFLST+24
, GETDFLST+26
X ASK+1~, GETDFLST+1~, GETDFLST+12*, GETDFLST+13
Y ASK+1~, ADDSVR+1~, ADDSVR+9, OPTASGN+1~, OPTASGN+5*, OPTASGN+6, OPTASGN+11, OPTASGN+12, CLINPTS2~, CLINPTS2+3
, CLINPTS~
Y( CLINPTS2+8, CLINPTS2+9!, CLINPTS2+10*, CLINPTS2+11*, CLINPTS2+12*, CLINPTS2+13*, CLINPTS+42*, CLINPTS+43*, CLINPTS+44*, CLINPTS+50*
Y("" CLINPTS2+4
Y(0 ASK+11
Y(1 CLINPTS+2*, CLINPTS+3*, CLINPTS+13*, CLINPTS+29*, CLINPTS+36*
YESNO ASK~, ASK+11*, OPTASGN+1~, OPTASGN+16, OPTASGN+17, OPTASGN+19!, OPTASGN+20, OPTASGN+21
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All