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 |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: APCDDVW

Package: Patient Care Component

Routine: APCDDVW


Information

APCDDVW ; IHS/CMI/LAB - NO DESCRIPTION PROVIDED ;

Source Information

Source file <APCDDVW.m>

Call Graph

Call Graph Total: 7

Package Total Call Graph
Patient Care Component 3 HEAD^APCDDVW  (DISPPP,INPT,MRG,ZERO)^APCDDVW1  TXER^APCDDVW2  
VA Fileman 3 DD^%DT  DT^DIO2  ^DIR  
Kernel 1 $$FMTE^XLFDT  

Caller Graph

Caller Graph Total: 4

Package Total Caller Graph
Patient Care Component 4 APCDDVD  APCDDVW  APCDDVW1  APCDDVW2  

Entry Points

Name Comments DBIA/ICR reference
TXERSUB ;
PPPVSUB
DE ;EP;FIND DEP ENTRIES
HEAD ;EP;HEADER
DONE
MRG ;
PPPV ; Print report 2
PAGEHEAD ;
MRGSUB ;
PRN1 ;EP
START ;
ZERO ; Write zero dependent report
XIT ; Clean up and exit
INPTSUB ;
INPT ;
ER ;
ALL ;
HEAD2
HEAD1 ;
DE2 ;
TXER ;
ZEROSUB

External References

Name Field # of Occurrence
DD^%DT START+3
HEAD^APCDDVW PPPV+6
DISPPP^APCDDVW1 PRN1+8
INPT^APCDDVW1 INPT+1
MRG^APCDDVW1 MRG+1
ZERO^APCDDVW1 ZERO+1
TXER^APCDDVW2 TXER+1
DT^DIO2 PPPV+3
^DIR DONE+2, HEAD2
$$FMTE^XLFDT START+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"RUN TIME (H.M.S): ",APCDDVH,".",APCDDVM,".",APCDDVS
  • Line Location: DONE+1
Function Call: WRITE
  • Prompt: !!,"TOTAL NUMBER OF ERRORS ON THIS PPPV REPORT: ",$G(APCDCNTR("PPPV")),!!
  • Line Location: PPPV+2
Function Call: WRITE
  • Prompt: !!,"There are no visits on or after ",$S(APCDPROC="P":"Posting",APCDPROC="V":"Visit",1:"Posting")," date "
  • Line Location: PPPV+3
Function Call: WRITE
  • Prompt: !,"with no Primary Provider and/or POV."
  • Line Location: PPPV+3
Function Call: WRITE
  • Prompt: !?10,"This visit has: "
  • Line Location: DE+1
Function Call: WRITE
  • Prompt: ?27,$P($P(^DIC(APCDVFLE,0),U),"V ",2),"'s",!
  • Line Location: DE2+2
Function Call: WRITE
  • Prompt: !
  • Condition for execution: APCDV2>1
  • Line Location: ER+1
Function Call: WRITE
  • Prompt: ?5,^XTMP("APCDDV",APCDJOB,APCDBT,"PPPV",APCDCL,APCDCLIN,APCDH,APCDV,APCDV2)
  • Line Location: ER+1
Function Call: WRITE
  • Prompt: !!," HRN FAC: [",$P(^AUTTLOC(APCDCL,0),U,7),"] HRN: [",APCDH,"] NAME: [",$P(^DPT(DFN,0),U),"]"
  • Line Location: PRN1+4
Function Call: WRITE
  • Prompt: !," DATE: [",APCDRD,"] LOCATION: [",$S($D(^DIC(4,$P(APCDVR,U,6),0)):$P(^(0),U),1:"UNKNOWN"),"]"
  • Line Location: PRN1+5
Function Call: WRITE
  • Prompt: !," SERVICE CATEGORY: [",$P(APCDVR,U,7),"] TYPE: [",$P(APCDVR,U,3),"] CLINIC: [",$S($P(APCDVR,U,8)]"":$P(^DIC(40.7,$P(APCDVR,U,8),0),U),1:"NONE"),"]"
  • Line Location: PRN1+6
Function Call: WRITE
  • Prompt: !," Ext Acct #: ",$P($G(^AUPNVSIT(APCDV,12)),U,11)
  • Line Location: PRN1+7
Function Call: WRITE
  • Prompt: !," DEPENDENT ENTRIES: [",$P(APCDVR,U,9),"]"
  • Line Location: PRN1+8
Function Call: WRITE
  • Prompt: !,"THE FOLLOWING VISITS DO NOT HAVE EITHER A PRIMARY PROVIDER OR PURPOSE OF VISIT"
  • Line Location: PPPVSUB+0
Function Call: WRITE
  • Prompt: !,"VISITS WITH A ZERO DEPENDENT ENTRY COUNT -- POTENTIAL DELETIONS"
  • Line Location: ZEROSUB+0
Function Call: WRITE
  • Prompt: !,"LIST OF VISITS WITH TRANSACTION ERRORS"
  • Line Location: TXERSUB+1
Function Call: WRITE
  • Prompt: "----MANDATORY DEMOGRAPHIC DATA ITEMS",!,"*******MUST BE CORRECTED IN ORDER FOR DATA TO BE TRANSMITTED*******"
  • Line Location: TXERSUB+2
Function Call: WRITE
  • Prompt: "----DEMOGRAPHIC ERRORS (PAT REG)"
  • Line Location: TXERSUB+3
Function Call: WRITE
  • Prompt: !,"MULTIPLE VISITS ON ONE DAY;POTENTIAL MERGES"
  • Line Location: MRGSUB+1
Function Call: WRITE
  • Prompt: !,"VISITS WITH INPATIENT EDIT ERRORS"
  • Line Location: INPTSUB+1
Function Call: WRITE
  • Prompt: !
  • Line Location: HEAD2+0
Function Call: WRITE
  • Prompt: !,APCDDT,?70,"Page: ",APCDPG
  • Line Location: HEAD1+2
Function Call: WRITE
  • Prompt: !?29,"PCC Data Entry Module"
  • Line Location: HEAD1+3
Function Call: WRITE
  • Prompt: !?23,"*********************************"
  • Line Location: HEAD1+4
Function Call: WRITE
  • Prompt: !?23,"* VISIT REVIEW ERROR REPORT *"
  • Line Location: HEAD1+5
Function Call: WRITE
  • Prompt: !?23,"*********************************"
  • Line Location: HEAD1+6
Function Call: WRITE
  • Prompt: !!,"Report of Errors for ",$S(APCDPROC="P":"Posting",APCDPROC="V":"VISIT",1:"Posting")," Date Range: ",APCDBDD," through ",APCDEDD
  • Line Location: HEAD1+7
Function Call: WRITE
  • Prompt: !?(80-$L(X)/2),X
  • Line Location: HEAD1+9
Function Call: WRITE
  • Prompt: !,APCD80S
  • Line Location: HEAD1+10
Function Call: WRITE
  • Prompt: !,APCD80S
  • Line Location: HEAD1+12
Routine Call
  • DIR
  • Line Location:
    • DONE+2
    • HEAD2

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNVSIT - [#9000010] PRN1+1, PRN1+7
^AUTTLOC - [#9999999.06] PRN1+4
^AUTTSU - [#9999999.22] HEAD1+8
^DD("DD" PRN1+3
^DIC - [#1] DE+2, DE2+1, DE2+2, DE2+10, DE2+11
^DIC(4 - [#4] PRN1+5, HEAD1+8
^DIC(40.7 - [#40.7] PRN1+6
^DPT - [#2] PRN1+4
^VA(200 - [#200] DE2+10, DE2+11
^XTMP("APCDDV" PPPV+3, PPPV+4, PPPV+5, PPPV+6, ER+1

Label References

Name Line Occurrences
@( START+6, HEAD1+11
DE PPPV+6
DE2 DE+2
ER PPPV+6
HEAD PPPV+1, DE2+16, DE2+22
HEAD1 HEAD+2
HEAD2 HEAD+1
INPT ALL+5
MRG ALL+3
PPPV ALL+2
PRN1 PPPV+6
TXER ALL+4
ZERO ALL+1

Naked Globals

Name Field # of Occurrence
^(0 PRN1+5

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
APCD80S START+2*, XIT+1!, HEAD1+10, HEAD1+12
APCDAPOV DE2+3!, DE2+19
APCDAPOV( DE2+8*, DE2+9*, DE2+21
APCDAPRV DE2+3!, DE2+13
APCDAPRV( DE2+10*, DE2+11*, DE2+15
>> APCDBD START+3, PPPV+3
APCDBDD START+3*, XIT+1!, HEAD1+7
APCDBS XIT+1!
>> APCDBT DONE, PPPV+3, PPPV+4, PPPV+5, PPPV+6, ER+1
>> APCDCL PPPV+4*, PPPV+5, PPPV+6, ER+1, PRN1+4
>> APCDCLIN PPPV+4*, PPPV+5, PPPV+6, ER+1
>> APCDCNTR("PPPV" PPPV+2
APCDDEM XIT+1!, TXERSUB+3, HEAD+1
APCDDEMM XIT+1!, TXERSUB+2, HEAD+1
>> APCDDLPV DE2+18
>> APCDDOPP DE2+12
APCDDT START+1*, XIT+1!, HEAD1+2
APCDDVH DONE*, DONE+1, XIT+2!
APCDDVM DONE+1*, XIT+2!
APCDDVS DONE+1*, XIT+2!
APCDDVTS DONE*, DONE+1*, XIT+2!
APCDE XIT+1!
APCDECNT XIT+1!
>> APCDED START+3
APCDEDD START+3*, XIT+1!, HEAD1+7
APCDET DONE, XIT+1!
APCDFILE XIT+1!
APCDH XIT+1!, PPPV+5*, PPPV+6, ER+1, PRN1+4
>> APCDJOB PPPV+3, PPPV+4, PPPV+5, PPPV+6, ER+1
>> APCDK12D DE2+5*, DE2+6*, DE2+9, DE2+10, DE2+11
>> APCDK12N DE2+5*, DE2+6
>> APCDK16D DE2+7*, DE2+8
>> APCDK16N DE2+7*
APCDL XIT+1!
APCDLC XIT+1!
>> APCDLOCT HEAD1+8
>> APCDLOCT("ONE" HEAD1+8
>> APCDLOCT("SU" HEAD1+8
APCDPG START+4*, XIT+1!, HEAD+2, HEAD1+1*, HEAD1+2
APCDPROC XIT+1!, PPPV+3, HEAD1+7
APCDQUIT START+5!, XIT+1!, PPPV+4, PPPV+5, PPPV+6, DE2+15, DE2+16, DE2+21, DE2+22, ER+1
, ALL+1, ALL+2, ALL+3, ALL+4, ALL+5, HEAD2*
APCDRD XIT+1!, PRN1+3*, PRN1+5
>> APCDT START+6, PRN1+8, ALL+1*, ALL+2*, ALL+3*, ALL+4*, ALL+5*, HEAD1+11
APCDV XIT+1!, PPPV+6*, ER+1, PRN1+1, PRN1+7
APCDV2 XIT+1!, ER+1*
APCDVDFN XIT+1!, DE2+2*, DE2+4*, DE2+5, DE2+7
APCDVDG XIT+1!, DE2+1*, DE2+5, DE2+7
APCDVFLE XIT+1!, DE+2*, DE2+1, DE2+2, DE2+7, DE2+10, DE2+11
>> APCDVI DE2+4*
APCDVIGR XIT+1!, DE2+1*, DE2+2, DE2+4
APCDVR XIT+1!, PRN1+1*, PRN1+2, PRN1+3, PRN1+5, PRN1+6, PRN1+8
>> APCDX DE2+15*, DE2+17, DE2+21*, DE2+23
APCP XIT+1!
DFN XIT+1!, PRN1+2*, PRN1+4
DIR DONE+2!, HEAD2!
DIR(0 DONE+2*, HEAD2*
DT START+1
>> DTOUT HEAD2
IO DONE+2, HEAD2
IO(0 DONE+2, HEAD2
IOF DONE+3, HEAD1+1
IOSL PPPV+6
IOST DONE+2, HEAD2
U DE2+2, DE2+8, DE2+9, DE2+10, DE2+11, PRN1+1, PRN1+2, PRN1+4, PRN1+5, PRN1+6
, PRN1+7, PRN1+8, HEAD1+8
X XIT+2!, HEAD1+8*, HEAD1+9
Y START+3*, XIT+2!, PPPV+3*, PRN1+3*, HEAD2
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All