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

Package: Electronic Health Modernization

Routine: EHMAPPTZ0


Information

EHMAPPTZ0 ;ALB/WTC - EHRM APPOINTMENT MAINTENANCE; Jun 05, 2025@14:52:49

Source Information

Source file <EHMAPPTZ0.m>

Call Graph

Call Graph

Call Graph Total: 10

Package Total Call Graph
Electronic Health Modernization 4 ($$CLINICS,$$CONVDATE,$$ENCTRSTS,$$FILTER,$$MPTYNCTR,$$NONCOUNT,$$RPTFMT,$$SORTORDR,PROGRESS)^EHM13UTIL  (APPTLSTC,APPTLSTF)^EHMAPPT  SUMOUT^EHMAPPT2  (APPTLSTC,APPTLSTF)^EHMAPPTZ  
Kernel 3 ^%ZIS  ^%ZISC  ^%ZTLOAD  
VA FileMan 3 ^DIC  $$GET1^DIQ  ^DIR  

Entry Points

Name Comments DBIA/ICR reference
POSTSLCT(RPTYPE,CONVDATE,SORTORDR,CLINFLTR,CLINICS,FILTER,NONCOUNT) ;
POSTLIVE(RPTYPE,CONVDATE,SORTORDR,CLINFLTR,CLINICS,FILTER,NONCOUNT,QUEUED,INCLCANC,ACTREQ) ;
;
; QUEUED = 1 if report queued, 0 otherwise
; INCLCANC = 1 if cancelled appointments included, 0 otherwise
; ACTREQ = 1 if only ACTION REQUIRED encounters included, 0 otherwise
POSTLIST ;
POSTLST1 ; TaskMan start point
SUMMARY ;
SUMMARY1 ; TaskMan entry point
ALLSLCT(RPTYPE,SORTORDR,CLINFLTR) ;
ALLAPPTS(RPTYPE,SORTORDR,CLINFLTR,QUEUED) ;
APPTLIST ;
APPTLST1 ; TaskMan start point
APPTSMRY ;
APTSMRY1 ; TaskMan entry point

External References

Name Field # of Occurrence
^%ZIS POSTLIST+12, SUMMARY+8, APPTLIST+12, APPTSMRY+8
^%ZISC POSTLST1+12, APPTLST1+14, APTSMRY1+16
^%ZTLOAD POSTLIST+20, SUMMARY+16, APPTLIST+20, APPTSMRY+16
^DIC ALLSLCT+26
$$GET1^DIQ POSTLIVE+28, POSTLIVE+30, POSTLIVE+66, POSTLIVE+67, POSTLIVE+68, POSTLIVE+71, POSTLIVE+72, POSTLIVE+73, POSTLIVE+76, POSTLIVE+77
, POSTLIVE+78, ALLAPPTS+25, ALLAPPTS+29, ALLAPPTS+45, ALLAPPTS+46, ALLAPPTS+47, ALLAPPTS+50, ALLAPPTS+51, ALLAPPTS+52, ALLAPPTS+55
, ALLAPPTS+56, ALLAPPTS+57, APPTLST1+9, APTSMRY1+13
^DIR ALLSLCT+17, ALLSLCT+22, APPTLIST+10
$$CLINICS^EHM13UTIL POSTSLCT+32
$$CONVDATE^EHM13UTIL POSTSLCT+20
$$ENCTRSTS^EHM13UTIL POSTLIVE+53, POSTLIVE+57
$$FILTER^EHM13UTIL POSTSLCT+36
$$MPTYNCTR^EHM13UTIL POSTLIVE+53, POSTLIVE+57
$$NONCOUNT^EHM13UTIL POSTSLCT+28
$$RPTFMT^EHM13UTIL POSTLIST+10
$$SORTORDR^EHM13UTIL POSTSLCT+24
PROGRESS^EHM13UTIL POSTLIVE+61, ALLAPPTS+42
APPTLSTC^EHMAPPT APPTLST1+12
APPTLSTF^EHMAPPT APPTLST1+11
SUMOUT^EHMAPPT2 SUMMARY1+13, APTSMRY1+14
APPTLSTC^EHMAPPTZ POSTLST1+10
APPTLSTF^EHMAPPTZ POSTLST1+9

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Scanning ",$P(^DIC(44,0),U,1)," file.",!
  • Line Location: POSTLIVE+23
Function Call: WRITE
  • Prompt: $S($D(ZTSK):"...Task queued",1:"...Task cancelled"),!
  • Line Location: POSTLIST+20
Function Call: WRITE
  • Prompt: $S($D(ZTSK):"...Task queued",1:"...Task cancelled"),!
  • Line Location: SUMMARY+16
Function Call: WRITE
  • Prompt: !,"Scanning ",$P(^DIC(44,0),U,1)," file.",!
  • Line Location: ALLAPPTS+22
Function Call: WRITE
  • Prompt: $S($D(ZTSK):"...Task queued",1:"...Task cancelled"),!
  • Line Location: APPTLIST+20
Function Call: WRITE
  • Prompt: $S($D(ZTSK):"...Task queued",1:"...Task cancelled"),!
  • Line Location: APPTSMRY+16
Routine Call
  • %ZIS
  • Line Location:
    • POSTLIST+12
    • SUMMARY+8
    • APPTLIST+12
    • APPTSMRY+8
Routine Call
  • DIC
  • Line Location:
    • ALLSLCT+26
Routine Call
  • DIR
  • Line Location:
    • ALLSLCT+17
    • ALLSLCT+22
    • APPTLIST+10

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DPT - [#2] GET1^DIQ
^SC - [#44] GET1^DIQ
44.003 GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(44 POSTLIVE+23, ALLAPPTS+22
^DPT - [#2] POSTLIVE+43, ALLAPPTS+34
^EHRM(1610 - [#1610] POSTLIVE+28
^SC - [#44] POSTLIVE+28, POSTLIVE+34, ALLAPPTS+25, ALLAPPTS+26
^SDEC(409.84 - [#409.84] POSTLIVE+45, ALLAPPTS+37
^TMP($J POSTLIVE+22!, POSTLIVE+66*, POSTLIVE+67*, POSTLIVE+68*, POSTLIVE+71*, POSTLIVE+72*, POSTLIVE+73*, POSTLIVE+76*, POSTLIVE+77*, POSTLIVE+78*
POSTLIST+12!, POSTLST1+13!, SUMMARY+8!, ALLAPPTS+21!, ALLAPPTS+45*, ALLAPPTS+46*, ALLAPPTS+47*, ALLAPPTS+50*, ALLAPPTS+51*, ALLAPPTS+52*
, ALLAPPTS+55*, ALLAPPTS+56*, ALLAPPTS+57*, APPTLIST+12!, APPTLST1+15!, APPTSMRY+8!, APTSMRY1+17!

Label References

Name Line Occurrences
ALLAPPTS APPTLST1+4, APTSMRY1+8
ALLSLCT APPTLIST+6, APPTSMRY+6
POSTLIVE POSTLST1+4, SUMMARY1+8
POSTSLCT POSTLIST+6, SUMMARY+6

Naked Globals

Name Field # of Occurrence
^( POSTLIVE+34, ALLAPPTS+26

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%ZIS POSTLIST+4~, POSTLIST+12*, SUMMARY+4~, SUMMARY+8*, APPTLIST+4~, APPTLIST+12*, APPTSMRY+4~, APPTSMRY+8*
ACTREQ POSTLIVE~, POSTLIVE+57
APPTDTTM POSTLIVE+20~, POSTLIVE+34*, POSTLIVE+43, POSTLIVE+45, POSTLIVE+66, POSTLIVE+67, POSTLIVE+68, POSTLIVE+71, POSTLIVE+72, POSTLIVE+73
, POSTLIVE+76, POSTLIVE+77, POSTLIVE+78, POSTLIST+4~, SUMMARY+4~, ALLAPPTS+19~, ALLAPPTS+25*, ALLAPPTS+26, ALLAPPTS+29, ALLAPPTS+34
, ALLAPPTS+37, ALLAPPTS+45, ALLAPPTS+46, ALLAPPTS+47, ALLAPPTS+50, ALLAPPTS+51, ALLAPPTS+52, ALLAPPTS+55, ALLAPPTS+56, ALLAPPTS+57
APPTLIST+4~
CLINFLTR POSTSLCT~, POSTSLCT+16*, POSTSLCT+32*, POSTLIVE~, POSTLIVE+31, POSTLIVE+32, POSTLIST+6, POSTLST1+4, SUMMARY+6, SUMMARY1+8
, ALLSLCT~, ALLSLCT+12*, ALLSLCT+22*, ALLSLCT+26*, ALLAPPTS~, ALLAPPTS+24, ALLAPPTS+25, APPTLIST+6, APPTLST1+4, APPTLST1+9
APPTSMRY+4~, APPTSMRY+6, APTSMRY1+8, APTSMRY1+13
CLINIC POSTLIST+4~, APPTLIST+4~
CLINICS POSTSLCT~, POSTSLCT+32, POSTLIVE~, POSTLIST+4~, POSTLIST+6, POSTLST1+4
CLINICS( POSTLIVE+31, POSTLIVE+32
CLINNAME SUMMARY+4~
CONVDATE POSTSLCT~, POSTSLCT+16*, POSTSLCT+20*, POSTLIVE~, POSTLIVE+34, POSTLIVE+39, POSTLIST+4~, POSTLIST+6, POSTLST1+4, POSTLST1+9
SUMMARY+4~, SUMMARY+6, SUMMARY1+8, SUMMARY1+13
CTR POSTLIVE+20~, POSTLIVE+26*, POSTLIVE+61*
DATENTRD POSTLIVE+20~, POSTLIVE+39*
DFN POSTLIVE+20~, POSTLIVE+38*, POSTLIVE+43, POSTLIVE+45, POSTLIVE+66, POSTLIVE+67, POSTLIVE+68, POSTLIVE+71, POSTLIVE+72, POSTLIVE+73
, POSTLIVE+76, POSTLIVE+77, POSTLIVE+78, POSTLIST+4~, ALLAPPTS+19~, ALLAPPTS+30*, ALLAPPTS+34, ALLAPPTS+37, ALLAPPTS+45, ALLAPPTS+46
, ALLAPPTS+47, ALLAPPTS+50, ALLAPPTS+51, ALLAPPTS+52, ALLAPPTS+55, ALLAPPTS+56, ALLAPPTS+57, APPTLIST+4~
DIC POSTSLCT+14~, ALLSLCT+10~, ALLSLCT+26!*
DIC(0 ALLSLCT+26*
DIR POSTSLCT+14~, ALLSLCT+10~, ALLSLCT+16!, ALLSLCT+21!, APPTLIST+10!
DIR("A" ALLSLCT+17*, ALLSLCT+22*, APPTLIST+10*
DIR("B" ALLSLCT+17*, ALLSLCT+22*, APPTLIST+10*
DIR(0 ALLSLCT+17*, ALLSLCT+22*, APPTLIST+10*
DIRUT POSTLIST+4~, POSTLIST+6, SUMMARY+4~, SUMMARY+6, ALLSLCT+17, ALLSLCT+22, ALLSLCT+26, APPTLIST+4~, APPTLIST+6, APPTLIST+10
APPTSMRY+4~, APPTSMRY+6
ENCNTR POSTLIVE+20~, POSTLIVE+43*, POSTLIVE+51, POSTLIVE+52, POSTLIVE+53, POSTLIVE+57, ALLAPPTS+19~
FILTER POSTSLCT~, POSTSLCT+16*, POSTSLCT+36*, POSTLIVE~, POSTLIVE+51, POSTLIVE+52, POSTLIVE+53, POSTLIST+6, POSTLST1+4, POSTLST1+8
, ALLSLCT+12*
I ALLAPPTS+19~, ALLAPPTS+24*, ALLAPPTS+42*
IEN POSTLIVE+20~, POSTLIVE+26*, POSTLIVE+28*, POSTLIVE+30, POSTLIVE+31, POSTLIVE+32, POSTLIVE+34, POSTLIVE+66, POSTLIVE+67, POSTLIVE+68
, POSTLIVE+71, POSTLIVE+72, POSTLIVE+73, POSTLIVE+76, POSTLIVE+77, POSTLIVE+78, ALLAPPTS+19~, ALLAPPTS+24*, ALLAPPTS+25*, ALLAPPTS+26
, ALLAPPTS+29, ALLAPPTS+45, ALLAPPTS+46, ALLAPPTS+47, ALLAPPTS+50, ALLAPPTS+51, ALLAPPTS+52, ALLAPPTS+55, ALLAPPTS+56, ALLAPPTS+57
IEN2 POSTLIVE+20~, POSTLIVE+34*, POSTLIVE+66, POSTLIVE+71, POSTLIVE+76, ALLAPPTS+19~, ALLAPPTS+26*, ALLAPPTS+29, ALLAPPTS+45, ALLAPPTS+50
, ALLAPPTS+55
INCLCANC POSTLIVE~, POSTLIVE+37
IO POSTLST1+4, SUMMARY1+8, APPTLST1+4, APTSMRY1+8
IO("Q" POSTLIST+16, SUMMARY+12, APPTLIST+16, APPTSMRY+12
LASTFI POSTLIST+4~, APPTLIST+4~
NONCOUNT POSTSLCT~, POSTSLCT+28*, POSTLIVE~, POSTLIVE+30, POSTLIST+4~, POSTLIST+6, POSTLST1+4
OUTPTFMT POSTLIST+4~, POSTLIST+10*, POSTLST1+9, POSTLST1+10, APPTLIST+4~, APPTLIST+10*, APPTLST1+11, APPTLST1+12
POP POSTLIST+4~, POSTLIST+12, SUMMARY+4~, SUMMARY+8, APPTLIST+4~, APPTLIST+12, APPTSMRY+4~, APPTSMRY+8
PTAPPT POSTLIVE+20~, POSTLIVE+43*, POSTLIVE+44, POSTLIVE+67, POSTLIVE+72, POSTLIVE+77, ALLAPPTS+19~, ALLAPPTS+34*, ALLAPPTS+36, ALLAPPTS+46
, ALLAPPTS+51, ALLAPPTS+56
PTAPPTC POSTLIVE+43*, POSTLIVE+44, ALLAPPTS+19~, ALLAPPTS+34*, ALLAPPTS+36
QUEUED POSTLIVE~, POSTLIVE+23, POSTLIVE+61, POSTLIST+4~, POSTLIST+16*, POSTLST1+4, POSTLST1+9, SUMMARY+12*, SUMMARY1+8, SUMMARY1+13
, ALLAPPTS~, ALLAPPTS+22, ALLAPPTS+42, APPTLIST+4~, APPTLIST+16*, APPTLST1+4, APPTLST1+11, APPTSMRY+4~, APPTSMRY+12*, APTSMRY1+8
APTSMRY1+14
RPTYPE POSTSLCT~, POSTSLCT+12, POSTSLCT+36, POSTLIVE~, POSTLIVE+51, POSTLIVE+52, POSTLIVE+53, POSTLIST+4~, POSTLIST+6*, POSTLST1+4
SUMMARY+6*, SUMMARY1+8, ALLSLCT~, ALLSLCT+8, ALLAPPTS~, APPTLIST+4~, APPTLIST+6*, APPTLST1+4, APPTSMRY+4~, APPTSMRY+6*
APTSMRY1+8
SDECAPPT POSTLIVE+20~, POSTLIVE+45*, POSTLIVE+46*, POSTLIVE+47, POSTLIVE+68, POSTLIVE+73, POSTLIVE+78, ALLAPPTS+19~, ALLAPPTS+37*, ALLAPPTS+38*
, ALLAPPTS+40, ALLAPPTS+47, ALLAPPTS+52, ALLAPPTS+57
SDECIEN POSTLIVE+20~, POSTLIVE+45*, POSTLIVE+46, POSTLIVE+68, POSTLIVE+73, POSTLIVE+78, ALLAPPTS+19~, ALLAPPTS+37*, ALLAPPTS+38, ALLAPPTS+47
, ALLAPPTS+52, ALLAPPTS+57
SORT1 POSTLIST+4~, SUMMARY+4~, APPTLIST+4~
SORT2 POSTLIST+4~, SUMMARY+4~, APPTLIST+4~
SORT3 POSTLIST+4~, SUMMARY+4~, APPTLIST+4~
SORTORDR POSTSLCT~, POSTSLCT+24*, POSTLIVE~, POSTLIVE+65, POSTLIVE+70, POSTLIVE+75, POSTLIST+4~, POSTLIST+6, POSTLST1+4, POSTLST1+9
POSTLST1+10, SUMMARY+4~, ALLSLCT~, ALLSLCT+17*, ALLAPPTS~, ALLAPPTS+44, ALLAPPTS+49, ALLAPPTS+54, APPTLIST+4~, APPTLIST+6
APPTLST1+4, APPTLST1+11, APPTLST1+12
TITLE POSTLIST+4~, POSTLST1+8*, POSTLST1+9, POSTLST1+10, SUMMARY+4~, SUMMARY1+4~, SUMMARY1+13, APPTLIST+4~, APPTLST1+8*, APPTLST1+9*
APPTLST1+11, APPTLST1+12, APTSMRY1+4~, APTSMRY1+14
TITLE(1 SUMMARY1+9*, APTSMRY1+12*
TITLE(2 APTSMRY1+13*
U POSTLIVE+23, POSTLIVE+37, POSTLIVE+38, POSTLIVE+39, POSTLIVE+43, POSTLIVE+44, POSTLIVE+45, POSTLIVE+47, POSTLIVE+66, POSTLIVE+67
, POSTLIVE+68, POSTLIVE+71, POSTLIVE+72, POSTLIVE+73, POSTLIVE+76, POSTLIVE+77, POSTLIVE+78, POSTLST1+8, ALLSLCT+26, ALLAPPTS+22
, ALLAPPTS+24, ALLAPPTS+25, ALLAPPTS+28, ALLAPPTS+30, ALLAPPTS+36, ALLAPPTS+37, ALLAPPTS+40, ALLAPPTS+45, ALLAPPTS+46, ALLAPPTS+47
, ALLAPPTS+50, ALLAPPTS+51, ALLAPPTS+52, ALLAPPTS+55, ALLAPPTS+56, ALLAPPTS+57, APPTLST1+9, APTSMRY1+13
X POSTSLCT+14~, POSTLIVE+20~, POSTLIVE+34*, POSTLIVE+37, POSTLIVE+38, POSTLIVE+39, POSTLIVE+66, POSTLIVE+71, POSTLIVE+76, ALLSLCT+10~
, ALLAPPTS+19~, ALLAPPTS+26*, ALLAPPTS+28, ALLAPPTS+30, ALLAPPTS+45, ALLAPPTS+50, ALLAPPTS+55
X1 POSTLIST+4~, APPTLIST+4~
X2 POSTLIST+4~, APPTLIST+4~
X3 POSTLIST+4~, APPTLIST+4~
Y POSTSLCT+14~, POSTLIST+4~, ALLSLCT+10~, ALLSLCT+17, ALLSLCT+22, ALLSLCT+26, APPTLIST+4~, APPTLIST+10
YYYYMM SUMMARY+4~
ZTDESC POSTLIST+17~, POSTLIST+18*, SUMMARY+13~, SUMMARY+14*, APPTLIST+17~, APPTLIST+18*, APPTSMRY+13~, APPTSMRY+14*
ZTRTN POSTLIST+17~, POSTLIST+18*, SUMMARY+13~, SUMMARY+14*, APPTLIST+17~, APPTLIST+18*, APPTSMRY+13~, APPTSMRY+14*
ZTSAVE POSTLIST+17~, SUMMARY+13~, APPTLIST+17~, APPTSMRY+13~
ZTSAVE("*" POSTLIST+19*, SUMMARY+15*, APPTLIST+19*, APPTSMRY+15*
ZTSK POSTLIST+17~, POSTLIST+20, SUMMARY+13~, SUMMARY+16, APPTLIST+17~, APPTLIST+20, APPTSMRY+13~, APPTSMRY+16
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