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

Package: Quasar

Routine: ACKQDWLP


Information

ACKQDWLP ;AUG/JLTP BIR/PTD HCIOFO/BH - Print A&SP Capitation Report ;19 Nov 2013 9:53 AM

Source Information

Source file <ACKQDWLP.m>

Call Graph

Call Graph

Call Graph Total: 11

Package Total Call Graph
Quasar 5 (SUMCPT,SUMEC,SUMICD,SUMZIP)^ACKQDWLR  ECSTAT^ACKQDWLU  ($$FTIME,$$NUMDT,$$XDAT,CNTR,PAUSE)^ACKQUTL  $$DIV^ACKQUTL2  (GETDT,INIT)^ACKQWL  
Kernel 3 (,HOME)^%ZIS  ^%ZISC  ^%ZTLOAD  
VA FileMan 2 NOW^%DTC  $$GET1^DIQ  
DRG Grouper 1 $$CODEC^ICDEX  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Quasar 1 ACKQAS WKLD VERIFY  

Entry Points

Name Comments DBIA/ICR reference
OPTN ; Introduce option
DIV ; select Div (user may select one/many/ALL)
DEV
DQ ; Entry point when queued.
EXIT ; ALWAYS EXIT HERE
COMPILE ; Comp properly sorted data in ^TMP
ZIPSTAT ; ZIP stats
ICDSTAT ; ICD stats
CPTSTAT ; CPT Stats
PRINT ; Display results
ZIP ; For all visits
ICD ; ICD stats
CPT ; CPT stats
EC ; EC stats
DHD ;
HD1 ; Header for all visits
HD2 ; Head for ICD stats
HD3 ; Head for CPT stats
HD4 ; Head for EC stats
LINE

External References

Name Field # of Occurrence
NOW^%DTC DQ+2
^%ZIS DEV+1
HOME^%ZIS DEV+2
^%ZISC EXIT+3
^%ZTLOAD DEV+2
SUMCPT^ACKQDWLR PRINT+29
SUMEC^ACKQDWLR PRINT+30
SUMICD^ACKQDWLR PRINT+28
SUMZIP^ACKQDWLR PRINT+27
ECSTAT^ACKQDWLU COMPILE+6
$$FTIME^ACKQUTL DQ+2
$$NUMDT^ACKQUTL DQ+2
$$XDAT^ACKQUTL DHD+8
CNTR^ACKQUTL DHD+5, DHD+6, DHD+7, DHD+8
PAUSE^ACKQUTL PRINT+9, PRINT+19, ZIP+5, ZIP+9, ZIP+26, ICD+5, ICD+9, ICD+25, CPT+5, CPT+9
CPT+25, EC+5, EC+9, EC+25
$$DIV^ACKQUTL2 DIV+1
GETDT^ACKQWL DIV+2
INIT^ACKQWL DIV+2
$$GET1^DIQ CPT+12, EC+12
$$CODEC^ICDEX ICDSTAT+8

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: @IOF,!,"This option produces a four-part Capitation Report.",!,"It includes Demographic, Diagnostic and Procedure data.",!
  • Line Location: OPTN+1
Function Call: WRITE
  • Prompt: !!,"The right margin for this report is 80.",!,"You can queue it to run at a later time.",!
  • Line Location: DEV+0
Function Call: WRITE
  • Prompt: !,"NO DEVICE SELECTED OR REPORT PRINTED."
  • Line Location: DEV+1
Function Call: WRITE
  • Prompt: !!,"No Capitation data found for selected Divisions."
  • Line Location: PRINT+9
Function Call: WRITE
  • Prompt: !!,"No data found for this Division."
  • Line Location: PRINT+18
Function Call: WRITE
  • Prompt: !," "_XAS,":"
  • Line Location: ZIP+9
Function Call: WRITE
  • Prompt: !,LN
  • Line Location: ZIP+23
Function Call: WRITE
  • Prompt: !,LN
  • Line Location: ICD+21
Function Call: WRITE
  • Prompt: !,LN
  • Line Location: CPT+21
Function Call: WRITE
  • Prompt: !,LN
  • Line Location: EC+21
Function Call: WRITE
  • Prompt: "Printed: ",ACKCDT,?(IOM-8),"Page: ",ACKPG
  • Line Location: DHD+4
Function Call: WRITE
  • Prompt: !
  • Line Location: DHD+5
Function Call: WRITE
  • Prompt: !
  • Line Location: DHD+6
Function Call: WRITE
  • Prompt: !
  • Line Location: DHD+7
Function Call: WRITE
  • Prompt: !
  • Line Location: DHD+8
Function Call: WRITE
  • Prompt: !
  • Line Location: DHD+8
Function Call: WRITE
  • Prompt: !,?23,"CLINIC",?36,"TELEPHONE",?53,"UNIQUE"
  • Line Location: HD1+2
Function Call: WRITE
  • Prompt: !," ZIP CODE",?23,"VISITS",?37,"VISITS",?52,"PATIENTS",?68,"C&P"
  • Line Location: HD1+3
Function Call: WRITE
  • Prompt: !,?23,"CLINIC",?36,"TELEPHONE"
  • Line Location: HD2+1
Function Call: WRITE
  • Prompt: !," ICD",?23,"VISITS",?37,"VISITS",?53,"UNIQUE"
  • Line Location: HD2+2
Function Call: WRITE
  • Prompt: !,?23,"CLINIC",?36,"TELEPHONE"
  • Line Location: HD3+1
Function Call: WRITE
  • Prompt: !," CPT",?23,"VISITS",?37,"VISITS",?53,"UNIQUE"
  • Line Location: HD3+2
Function Call: WRITE
  • Prompt: !,?23,"CLINIC",?36,"TELEPHONE"
  • Line Location: HD4+1
Function Call: WRITE
  • Prompt: !," EC",?23,"VISITS",?37,"VISITS",?53,"UNIQUE"
  • Line Location: HD4+2
Function Call: WRITE
  • Prompt: !,X
  • Line Location: LINE+0
Routine Call
  • %ZIS
  • Line Location:
    • DEV+1
Routine Call
  • %ZIS
  • Line Location:
    • DEV+2

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^ACK(509850.4 - [#509850.4] GET1^DIQ
^EC(725 - [#725] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ACK(509850.7 - [#509850.7] ZIPSTAT+3, ZIPSTAT+4, ICDSTAT+3, ICDSTAT+4, CPTSTAT+3, CPTSTAT+4
^TMP("ACKQDWLP" ACKQDWLP+12!, EXIT+2!, ZIPSTAT+8*, ZIPSTAT+9*, ZIPSTAT+11*, ZIPSTAT+12*, ICDSTAT+11*, ICDSTAT+12*, ICDSTAT+14*, ICDSTAT+15*
CPTSTAT+8*, CPTSTAT+9*, CPTSTAT+11*, CPTSTAT+12*, PRINT+8, PRINT+16, PRINT+21, PRINT+22, PRINT+23, PRINT+24
ZIP+3, ZIP+8, ZIP+10, ICD+3, ICD+8, ICD+10, CPT+3, CPT+8, CPT+10, EC+3
EC+8, EC+10
^TMP("ACKQWLD" DQ+2!

Label References

Name Line Occurrences
COMPILE DQ+3
CPT PRINT+23
CPTSTAT COMPILE+6
DHD PRINT+9, PRINT+17, PRINT+21, PRINT+22, PRINT+23, PRINT+24, ZIP+5, ZIP+9, ICD+5, ICD+9
CPT+5, CPT+9, EC+5, EC+9
EC PRINT+24
EXIT DIV+1, DIV+2, DEV+1, DEV+2
HD1 PRINT+21, ZIP+5, ZIP+9
HD2 PRINT+22, ICD+5, ICD+9
HD3 PRINT+23, CPT+5, CPT+9
HD4 PRINT+24, EC+5, EC+9
ICD PRINT+22
ICDSTAT COMPILE+6
LINE PRINT+9, PRINT+17, HD1+4, HD2+2, HD3+2, HD4+2
PRINT DQ+3
ZIP PRINT+21
ZIPSTAT COMPILE+6

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % DQ+2
%I EXIT+1!
%ZIS DEV+1!*
%ZIS("B" DEV+1*
ACK1 COMPILE+1~, COMPILE+3*, COMPILE+4*, COMPILE+5
ACK6 COMPILE+1~, ZIPSTAT+2*, ZIPSTAT+3*, ZIPSTAT+4, ICDSTAT+2*, ICDSTAT+3*, ICDSTAT+4, CPTSTAT+2*, CPTSTAT+3*, CPTSTAT+4
ACKAUD COMPILE+1~, ZIPSTAT+5*, ZIPSTAT+7, ZIPSTAT+8, ZIPSTAT+9, ICDSTAT+5*, ICDSTAT+10, ICDSTAT+11, ICDSTAT+12, CPTSTAT+5*
CPTSTAT+7, CPTSTAT+8, CPTSTAT+9
ACKBFY EXIT+1!
ACKCCT CPT+1~, CPT+4*, CPT+17*, CPT+22, EC+1~, EC+4*, EC+17*, EC+22
ACKCDT DQ+2*, EXIT+1!, DHD+4
ACKCODE ZIPSTAT+1~, ZIPSTAT+6*, ZIPSTAT+8, ZIPSTAT+9, ZIPSTAT+11, ZIPSTAT+12, ICDSTAT+1~, ICDSTAT+6*, ICDSTAT+8*, ICDSTAT+9*
ICDSTAT+11, ICDSTAT+12, ICDSTAT+14, ICDSTAT+15, CPTSTAT+1~, CPTSTAT+6*, CPTSTAT+8, CPTSTAT+9, CPTSTAT+11, CPTSTAT+12
ACKCTT CPT+1~, CPT+4*, CPT+17*, CPT+22, EC+1~, EC+4*, EC+17*, EC+22
ACKCUT CPT+1~, CPT+4*, CPT+18*, CPT+22, EC+1~, EC+4*, EC+18*, EC+22
ACKDA EXIT+1!, ZIPSTAT+3, ZIPSTAT+4, ICDSTAT+3, ICDSTAT+4, CPTSTAT+3, CPTSTAT+4
ACKDIEN PRINT+1~, PRINT+4~, PRINT+7*, PRINT+8, PRINT+13*, PRINT+16, PRINT+21, PRINT+22, PRINT+23, PRINT+24
ZIP+3, ZIP+8, ZIP+10, ICD+3, ICD+8, ICD+10, CPT+3, CPT+8, CPT+10, EC+3
EC+8, EC+10
ACKDIV DIV+1*, EXIT+2!
ACKDIV( COMPILE+4, COMPILE+5, PRINT+6, PRINT+7, PRINT+12, PRINT+13, PRINT+14
ACKDNME PRINT+1~, PRINT+3*, PRINT+14*, DHD+7
ACKEM EXIT+1!
ACKICT ICD+1~, ICD+4*, ICD+17*, ICD+22
ACKITT ICD+1~, ICD+4*, ICD+17*, ICD+22
ACKIUT ICD+1~, ICD+4*, ICD+18*, ICD+22
ACKK1 PRINT+1~, PRINT+4~, PRINT+5*, PRINT+6*, PRINT+7, PRINT+11*, PRINT+12*, PRINT+13, PRINT+14
ACKM EXIT+1!, DHD+8
ACKPASS PRINT+4~, PRINT+5*, PRINT+8*, PRINT+9, DHD+7
ACKPG DQ+2*, EXIT+1!, DHD+2, DHD+3*, DHD+4
ACKREC COMPILE+1~, ZIPSTAT+4*, ZIPSTAT+5, ZIPSTAT+6, ICDSTAT+4*, ICDSTAT+5, ICDSTAT+6, CPTSTAT+4*, CPTSTAT+5, CPTSTAT+6
ACKSPE COMPILE+1~, ZIPSTAT+5*, ZIPSTAT+10, ZIPSTAT+11, ZIPSTAT+12, ICDSTAT+5*, ICDSTAT+13, ICDSTAT+14, ICDSTAT+15, CPTSTAT+5*
CPTSTAT+10, CPTSTAT+11, CPTSTAT+12
>> ACKSTR ICD+10*, ICD+13, ICD+14, ICD+15, ICD+17, ICD+18, CPT+10*, CPT+13, CPT+14, CPT+15
CPT+17, CPT+18, EC+10*, EC+13, EC+14, EC+15, EC+17, EC+18
ACKVDVN COMPILE+1~, COMPILE+5*, ZIPSTAT+3, ZIPSTAT+4, ZIPSTAT+8, ZIPSTAT+9, ZIPSTAT+11, ZIPSTAT+12, ICDSTAT+3, ICDSTAT+4
ICDSTAT+11, ICDSTAT+12, ICDSTAT+14, ICDSTAT+15, CPTSTAT+3, CPTSTAT+4, CPTSTAT+8, CPTSTAT+9, CPTSTAT+11, CPTSTAT+12
ACKZCPT ZIP+1~, ZIP+4*, ZIP+20*, ZIP+24
ACKZCT ZIP+1~, ZIP+4*, ZIP+19*, ZIP+24
ACKZTT ZIP+1~, ZIP+4*, ZIP+19*, ZIP+24
ACKZUT ZIP+1~, ZIP+4*, ZIP+20*, ZIP+24
AS EXIT+1!, ZIP+2*, ZIP+3*, ZIP+6, ZIP+8, ZIP+10, ICD+3*, ICD+6, ICD+8, ICD+10
CPT+3*, CPT+6, CPT+8, CPT+10, EC+3*, EC+6, EC+8, EC+10
CDR EXIT+1!
CPT EXIT+1!, CPT+8*, CPT+10, CPT+12
DIR EXIT+1!
DIRUT DIV+2, EXIT+1!, PRINT+12, PRINT+19, PRINT+21, PRINT+22, PRINT+23, PRINT+24, PRINT+26, PRINT+27
PRINT+28, PRINT+29, PRINT+30, ZIP+3, ZIP+5, ZIP+8, ZIP+9, ZIP+22, ZIP+25, ZIP+26
ICD+3, ICD+5, ICD+8, ICD+9, ICD+20, ICD+23, ICD+24, ICD+25, CPT+3, CPT+5
CPT+8, CPT+9, CPT+20, CPT+23, CPT+24, CPT+25, EC+3, EC+5, EC+8, EC+9
EC+20, EC+23, EC+24, EC+25
DTOUT EXIT+1!
DUOUT EXIT+2!
>> EC EC+8*, EC+10, EC+12
I EXIT+2!
ICD EXIT+2!, ICD+8*, ICD+10, ICD+12
IO DQ+1
IO("Q" DEV+2!
IOF OPTN+1, EXIT+3, DHD+2
IOM DHD+4, LINE
IOP DEV+1!
IOSL ZIP+5, ZIP+9, ICD+5, ICD+9, CPT+5, CPT+9, EC+5, EC+9
IOST EXIT+3, PRINT+9, PRINT+19, ZIP+5, ZIP+9, ZIP+26, ICD+5, ICD+9, ICD+25, CPT+5
CPT+9, CPT+25, EC+5, EC+9, EC+25, DHD+2
LN EXIT+2!, ZIP+23*, ICD+21*, CPT+21*, EC+21*
>> POP DEV+1
T EXIT+2!, ZIP+8*
U COMPILE+5, ZIPSTAT+5, ZIPSTAT+6, ICDSTAT+5, ICDSTAT+6, CPTSTAT+5, CPTSTAT+6, PRINT+7, PRINT+13, PRINT+14
ZIP+13, ZIP+14, ZIP+15, ZIP+16, ZIP+19, ZIP+20, ICD+13, ICD+14, ICD+15, ICD+17
ICD+18, CPT+13, CPT+14, CPT+15, CPT+17, CPT+18, EC+13, EC+14, EC+15, EC+17
EC+18
X EXIT+2!, ZIP+10*, ZIP+13, ZIP+14, ZIP+15, ZIP+16, ZIP+19, ZIP+20, DHD+1~, HD1+1~
HD2+1~, HD3+1~, HD4+1~, LINE*
XAS EXIT+2!, ZIP+6*, ZIP+7, ZIP+9, ZIP+24, ICD+6*, ICD+7, ICD+22, CPT+6*, CPT+7
CPT+22, EC+6*, EC+7, EC+22
Y EXIT+2!
ZIP EXIT+2!, ZIP+8*, ZIP+10, ZIP+12
>> ZTDESC DEV+2*
>> ZTQUEUED EXIT+3
>> ZTREQ EXIT+3*
>> ZTRTN DEV+2*
>> ZTSAVE("ACK*" DEV+2*
ZTSK DEV+2!
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