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

Package: IHS Uniform Data System

Routine: BUDCRP6L


Information

BUDCRP6L ; IHS/CMI/LAB - UDS REPORT DRIVER TABLE 6B ;

Source Information

Source file <BUDCRP6L.m>

Call Graph

Call Graph Total: 5

Package Total Call Graph
IHS Patient 1 ($$AGE,$$HRN)^AUPNPAT  
IHS Uniform Data System 1 EN1^BUDCRP6B  
IHS VA Utilities 1 EN^XBVK  
Kernel 1 $$FMTE^XLFDT  
VA Fileman 1 ^DIR  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
IHS Uniform Data System 1 BUDCRP6I  

Entry Points

Name Comments DBIA/ICR reference
CRC2 ;EP
S(V) ;
CRC1 ;EP
CRCLIST2 ;EP
EOJ ;
CRCLIST1 ;EP
CRC2HD ;
USR() ;EP - Return name of current user from ^VA(200.
CRC1H ;
HIV1 ;EP
CRC1L ;EP
CRC1H1 ;
LOC() ;EP - Return location name from file 4 based on DUZ(2).
CTR(X,Y) ;EP - Center X in a field Y wide.
CRC1L1 ;
CRC2H ;
PAUSE ;
CRC2L ;EP
GENI ;EP - general introductions
CRC1HD ;
HIVLIST1 ;EP
CRC2L1 ;
CRC2H1 ;

External References

Name Field # of Occurrence
$$AGE^AUPNPAT CRC1L1+11, CRC2L1+11
$$HRN^AUPNPAT CRC1L1+7, CRC1L1+11, CRC2L1+7, CRC2L1+11
EN1^BUDCRP6B HIVLIST1+4, CRCLIST1+4, CRCLIST2+4
^DIR PAUSE+1, GENI+4, CRC1H+3, CRC2H+3
EN^XBVK EOJ+1
$$FMTE^XLFDT CRC1HD+3, CRC1HD+8, CRC1H1+3, CRC1H1+7, CRC2HD+3, CRC2HD+8, CRC2H1+3, CRC2H1+7

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"NOTE: Patient lists may be hundreds of pages long, depending on the size of your"
  • Line Location: GENI+1
Function Call: WRITE
  • Prompt: !,"patient population. It is recommended that you run these reports at night and"
  • Line Location: GENI+2
Function Call: WRITE
  • Prompt: !,"print to an electronic file, not directly to a printer.",!
  • Line Location: GENI+3
Function Call: WRITE
  • Prompt: !!,"This Patient List option documents the individual patients and visits"
  • Line Location: GENI+5
Function Call: WRITE
  • Prompt: !,"that are counted and summarized on each Table report (main menu"
  • Line Location: GENI+6
Function Call: WRITE
  • Prompt: !,"option REP). The summary Table report is included at the beginning of each"
  • Line Location: GENI+7
Function Call: WRITE
  • Prompt: !,"List report."
  • Line Location: GENI+8
Function Call: WRITE
  • Prompt: !,"UDS searches your database to find all visits and related patients"
  • Line Location: GENI+9
Function Call: WRITE
  • Prompt: !,"during the time period selected. Based on the UDS definition, to be counted"
  • Line Location: GENI+10
Function Call: WRITE
  • Prompt: !,"as a patient, the patient must have had at least one visit meeting the "
  • Line Location: GENI+11
Function Call: WRITE
  • Prompt: !,"following criteria:"
  • Line Location: GENI+12
Function Call: WRITE
  • Prompt: !?4,"- must be to a location specified in your visit location setup"
  • Line Location: GENI+13
Function Call: WRITE
  • Prompt: !?4,"- must be to Service Category Ambulatory (A), Hospitalization (H), Day"
  • Line Location: GENI+14
Function Call: WRITE
  • Prompt: !?6,"Surgery (S), Observation (O), Telemedicine (M), Nursing home visit (R), "
  • Line Location: GENI+15
Function Call: WRITE
  • Prompt: !?6,"or In-Hospital (I) visit"
  • Line Location: GENI+16
Function Call: WRITE
  • Prompt: !?4,"- must NOT have an excluded clinic code (see User Manual for a list)"
  • Line Location: GENI+17
Function Call: WRITE
  • Prompt: !?4,"- must have a primary provider and a coded purpose of visit"
  • Line Location: GENI+18
Function Call: WRITE
  • Prompt: !?4,"- the patient must NOT have a gender of 'Unknown'"
  • Line Location: GENI+19
Function Call: WRITE
  • Prompt: !
  • Line Location: GENI+20
Function Call: WRITE
  • Prompt: !,$$CTR($$LOC,80)
  • Line Location: HIV1+2
Function Call: WRITE
  • Prompt: !,$$CTR("UDS 2015",80)
  • Line Location: HIV1+3
Function Call: WRITE
  • Prompt: !!,"All patients w/First HIV Dx & Timely Follow-up (Table 6B)",!
  • Line Location: HIV1+4
Function Call: WRITE
  • Prompt: !!,"This report provides a list of all patients whose first ever HIV"
  • Line Location: HIV1+7
Function Call: WRITE
  • Prompt: !,"diagnosis occurred between October 1 of the prior year through"
  • Line Location: HIV1+8
Function Call: WRITE
  • Prompt: !,"September 30th of the current report year and had a medical visit for"
  • Line Location: HIV1+9
Function Call: WRITE
  • Prompt: !,"HIV care within 90 days of the first-ever HIV diagnosis, and had at "
  • Line Location: HIV1+10
Function Call: WRITE
  • Prompt: !,"least one medical visit during the report year."
  • Line Location: HIV1+11
Function Call: WRITE
  • Prompt: !,"Age is calculated as of December 31."
  • Line Location: HIV1+12
Function Call: WRITE
  • Prompt: !
  • Line Location: HIV1+13
Function Call: WRITE
  • Prompt: !,$$CTR($$LOC,80)
  • Line Location: CRC1+2
Function Call: WRITE
  • Prompt: !,$$CTR("UDS 2015",80)
  • Line Location: CRC1+3
Function Call: WRITE
  • Prompt: !!,"All patients 51-74 years of age w/colorectal cancer screen (Table 6B)",!
  • Line Location: CRC1+4
Function Call: WRITE
  • Prompt: !!,"This report provides a list of all patients age 51-74 as of December 31"
  • Line Location: CRC1+7
Function Call: WRITE
  • Prompt: !,"of the report period, not diagnosed with colorectal cancer, who has a "
  • Line Location: CRC1+8
Function Call: WRITE
  • Prompt: !,"documented colorectal cancer screen, and had at least one medical visit"
  • Line Location: CRC1+9
Function Call: WRITE
  • Prompt: !,"during the reporting year."
  • Line Location: CRC1+10
Function Call: WRITE
  • Prompt: !,"Age is calculated as of December 31."
  • Line Location: CRC1+11
Function Call: WRITE
  • Prompt: !
  • Line Location: CRC1+12
Function Call: WRITE
  • Prompt: !,"TOTAL PATIENTS WITH COLORECTAL CANCER SCREEN: ",BUDTOT,!
  • Line Location: CRC1L+6
Function Call: WRITE
  • Prompt: !,$E($P(^DPT(DFN,0),U,1),1,25),?29,$S($$HRN^AUPNPAT(DFN,BUDSITE)]"":$$HRN^AUPNPAT(DFN,BUDSITE,2),1:$$HRN^AUPNPAT(DFN,DUZ(2),2)),?41,$E(BUDCOM,1,25),?70,$P(^DPT(DFN,0),U,2),?75,BUDAGE,!
  • Line Location: CRC1L1+7
Function Call: WRITE
  • Prompt: ?5,$P(BUDALL,U,1),?30,$P(BUDALL,U,2)
  • Line Location: CRC1L1+10
Function Call: WRITE
  • Prompt: !
  • Line Location: CRC1H+3
Function Call: WRITE
  • Prompt: !,"***** CONFIDENTIAL PATIENT INFORMATION, COVERED BY THE PRIVACY ACT *****"
  • Line Location: CRC1H1+2
Function Call: WRITE
  • Prompt: !?3,$P(^VA(200,DUZ,0),U,2),?35,$$FMTE^XLFDT(DT),?70,"Page ",BUDGPG,!
  • Line Location: CRC1H1+3
Function Call: WRITE
  • Prompt: !,$$CTR("*** RPMS Uniform Data System (UDS) ***",80)
  • Line Location: CRC1H1+4
Function Call: WRITE
  • Prompt: !,$$CTR("Patient List for Table 6B, Section K,",80),!,$$CTR("Colorectal Cancer Screening",80),!
  • Line Location: CRC1H1+5
Function Call: WRITE
  • Prompt: $$CTR($P(^DIC(4,BUDSITE,0),U),80),!
  • Line Location: CRC1H1+6
Function Call: WRITE
  • Prompt: $$CTR(X,80),!
  • Line Location: CRC1H1+7
Function Call: WRITE
  • Prompt: $$CTR(X,80),!
  • Line Location: CRC1H1+8
Function Call: WRITE
  • Prompt: $TR($J("",80)," ","-")
  • Line Location: CRC1H1+9
Function Call: WRITE
  • Prompt: !!,"PATIENT NAME",?34,"HRN",?41,"COMMUNITY",?70,"SEX",?75,"AGE"
  • Line Location: CRC1H1+16
Function Call: WRITE
  • Prompt: !?5,"CRC Screen"
  • Line Location: CRC1H1+17
Function Call: WRITE
  • Prompt: !,$TR($J("",80)," ","-"),!
  • Line Location: CRC1H1+18
Function Call: WRITE
  • Prompt: !,$$CTR($$LOC,80)
  • Line Location: CRC2+2
Function Call: WRITE
  • Prompt: !,$$CTR("UDS 2015",80)
  • Line Location: CRC2+3
Function Call: WRITE
  • Prompt: !!,"All patients 51-74 years of age w/o colorectal cancer screen (Table 6B)",!
  • Line Location: CRC2+4
Function Call: WRITE
  • Prompt: !!,"This report provides a list of all patients age 51-74 as of December 31"
  • Line Location: CRC2+7
Function Call: WRITE
  • Prompt: !,"of the report period, not diagnosed with colorectal cancer, who did not "
  • Line Location: CRC2+8
Function Call: WRITE
  • Prompt: !,"have a documented colorectal cancer screen, and had at least one medical"
  • Line Location: CRC2+9
Function Call: WRITE
  • Prompt: !,"visit during the reporting year."
  • Line Location: CRC2+10
Function Call: WRITE
  • Prompt: !,"Age is calculated as of December 31."
  • Line Location: CRC2+11
Function Call: WRITE
  • Prompt: !
  • Line Location: CRC2+12
Function Call: WRITE
  • Prompt: !,"TOTAL PATIENTS WITHOUT COLORECTAL CANCER SCREEN: ",BUDTOT,!
  • Line Location: CRC2L+6
Function Call: WRITE
  • Prompt: !,$E($P(^DPT(DFN,0),U,1),1,25),?29,$S($$HRN^AUPNPAT(DFN,BUDSITE)]"":$$HRN^AUPNPAT(DFN,BUDSITE,2),1:$$HRN^AUPNPAT(DFN,DUZ(2),2)),?41,$E(BUDCOM,1,25),?70,$P(^DPT(DFN,0),U,2),?75,BUDAGE,!
  • Line Location: CRC2L1+7
Function Call: WRITE
  • Prompt: ?5,$P(BUDALL,U,1),?30,$P(BUDALL,U,2)
  • Line Location: CRC2L1+10
Function Call: WRITE
  • Prompt: !
  • Line Location: CRC2H+3
Function Call: WRITE
  • Prompt: !,"***** CONFIDENTIAL PATIENT INFORMATION, COVERED BY THE PRIVACY ACT *****"
  • Line Location: CRC2H1+2
Function Call: WRITE
  • Prompt: !?3,$P(^VA(200,DUZ,0),U,2),?35,$$FMTE^XLFDT(DT),?70,"Page ",BUDGPG,!
  • Line Location: CRC2H1+3
Function Call: WRITE
  • Prompt: !,$$CTR("*** RPMS Uniform Data System (UDS) ***",80)
  • Line Location: CRC2H1+4
Function Call: WRITE
  • Prompt: !,$$CTR("Patient List for Table 6B, Section K,",80),!,$$CTR("Colorectal Cancer Screening",80),!
  • Line Location: CRC2H1+5
Function Call: WRITE
  • Prompt: $$CTR($P(^DIC(4,BUDSITE,0),U),80),!
  • Line Location: CRC2H1+6
Function Call: WRITE
  • Prompt: $$CTR(X,80),!
  • Line Location: CRC2H1+7
Function Call: WRITE
  • Prompt: $$CTR(X,80),!
  • Line Location: CRC2H1+8
Function Call: WRITE
  • Prompt: $TR($J("",80)," ","-")
  • Line Location: CRC2H1+9
Function Call: WRITE
  • Prompt: !!,"PATIENT NAME",?34,"HRN",?41,"COMMUNITY",?70,"SEX",?75,"AGE"
  • Line Location: CRC2H1+16
Function Call: WRITE
  • Prompt: !?5,"CRC Screen"
  • Line Location: CRC2H1+17
Function Call: WRITE
  • Prompt: !,$TR($J("",80)," ","-"),!
  • Line Location: CRC2H1+18
Routine Call
  • DIR
  • Line Location:
    • PAUSE+1
    • GENI+4
    • CRC1H+3
    • CRC2H+3

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(4 - [#4] LOC+1, CRC1HD+7, CRC1H1+6, CRC2HD+7, CRC2H1+6
^DPT - [#2] CRC1L1+7, CRC1L1+11, CRC2L1+7, CRC2L1+11
^TMP($J S+2*
^VA(200 - [#200] USR+1, CRC1HD+3, CRC1H1+3, CRC2HD+3, CRC2H1+3
^XTMP("BUDCRP6B" CRC1L+3, CRC1L1+2, CRC1L1+3, CRC1L1+4, CRC1L1+5, CRC1L1+9, CRC2L+3, CRC2L1+2, CRC2L1+3, CRC2L1+4
, CRC2L1+5, CRC2L1+9

Label References

Name Line Occurrences
$$CTR HIV1+2, HIV1+3, CRC1+2, CRC1+3, CRC1H1+4, CRC1H1+5, CRC1H1+6, CRC1H1+7, CRC1H1+8, CRC2+2
, CRC2+3, CRC2H1+4, CRC2H1+5, CRC2H1+6, CRC2H1+7, CRC2H1+8
$$LOC HIV1+2, CRC1+2, CRC2+2
CRC1 CRCLIST1+3
CRC1H CRC1L+2, CRC1L+5, CRC1L1+1, CRC1L1+6
CRC1H1 CRC1H+2
CRC1HD CRC1H+1
CRC1L1 CRC1L+4
CRC2 CRCLIST2+3
CRC2H CRC2L+2, CRC2L+5, CRC2L1+1, CRC2L1+6
CRC2H1 CRC2H+2
CRC2HD CRC2H+1
CRC2L1 CRC2L+4
EOJ HIVLIST1+1, CRCLIST1+1, CRCLIST2+1
GENI HIV1+5, CRC1+5, CRC2+5
HIV1 HIVLIST1+3
PAUSE HIV1+6, CRC1+6, CRC2+6
S CRC1L+3, CRC1L+7, CRC1L1+12, CRC1HD+1, CRC1HD+2, CRC1HD+3, CRC1HD+4, CRC1HD+5, CRC1HD+6, CRC1HD+7
, CRC1HD+8, CRC1HD+9, CRC1HD+10, CRC1HD+11, CRC1HD+12, CRC1HD+13, CRC1HD+14, CRC1HD+15, CRC1HD+16, CRC2L+3
, CRC2L+7, CRC2L1+12, CRC2HD+1, CRC2HD+2, CRC2HD+3, CRC2HD+4, CRC2HD+5, CRC2HD+6, CRC2HD+7, CRC2HD+8
, CRC2HD+9, CRC2HD+10, CRC2HD+11, CRC2HD+12, CRC2HD+13, CRC2HD+14, CRC2HD+15, CRC2HD+16

Naked Globals

Name Field # of Occurrence
^(0 USR+1, LOC+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> BUDAGE CRC1L1+2*, CRC1L1+3, CRC1L1+4, CRC1L1+5, CRC1L1+7, CRC1L1+9, CRC2L1+2*, CRC2L1+3, CRC2L1+4, CRC2L1+5
, CRC2L1+7, CRC2L1+9
>> BUDALL CRC1L1+9*, CRC1L1+10, CRC1L1+12, CRC2L1+9*, CRC2L1+10, CRC2L1+12
>> BUDBD CRC1HD+8, CRC1H1+7, CRC2HD+8, CRC2H1+7
>> BUDCAD CRC1L1+11, CRC2L1+11
>> BUDCEN CRC1HD+9, CRC1H1+8, CRC2HD+9, CRC2H1+8
>> BUDCOM CRC1L1+4*, CRC1L1+5, CRC1L1+7, CRC1L1+9, CRC1L1+11, CRC2L1+4*, CRC2L1+5, CRC2L1+7, CRC2L1+9, CRC2L1+11
>> BUDCRC1L CRCLIST1+2*
>> BUDCRC2L CRCLIST2+2*
>> BUDDECNT S+1*, S+2
>> BUDED CRC1HD+8, CRC1H1+7, CRC2HD+8, CRC2H1+7
>> BUDGPG CRC1H+2, CRC1H1+1*, CRC1H1+3, CRC2H+2, CRC2H1+1*, CRC2H1+3
>> BUDH CRC1L+3, CRC1L1+2, CRC1L1+3, CRC1L1+4, CRC1L1+5, CRC1L1+9, CRC2L+3, CRC2L1+2, CRC2L1+3, CRC2L1+4
, CRC2L1+5, CRC2L1+9
>> BUDHIV1L HIVLIST1+2*
>> BUDJ CRC1L+3, CRC1L1+2, CRC1L1+3, CRC1L1+4, CRC1L1+5, CRC1L1+9, CRC2L+3, CRC2L1+2, CRC2L1+3, CRC2L1+4
, CRC2L1+5, CRC2L1+9
>> BUDNAME CRC1L1+3*, CRC1L1+4, CRC1L1+5, CRC1L1+9, CRC2L1+3*, CRC2L1+4, CRC2L1+5, CRC2L1+9
>> BUDP CRC1L+1*, CRC1H1+10, CRC1H1+19*, CRC2L+1*, CRC2H1+10, CRC2H1+19*
>> BUDQUIT CRC1L+1*, CRC1L+2, CRC1L+5, CRC1L1+1, CRC1L1+2, CRC1L1+3, CRC1L1+4, CRC1L1+5, CRC1L1+6, CRC1H+3*
, CRC2L+1*, CRC2L+2, CRC2L+5, CRC2L1+1, CRC2L1+2, CRC2L1+3, CRC2L1+4, CRC2L1+5, CRC2L1+6, CRC2H+3*
>> BUDROT CRC1L+3, CRC1L+5, CRC1L+6, CRC1L+7, CRC1L1+1, CRC1L1+6, CRC1L1+7, CRC1L1+10, CRC1L1+11, CRC1H+1
, CRC2L+3, CRC2L+5, CRC2L+6, CRC2L+7, CRC2L1+1, CRC2L1+6, CRC2L1+7, CRC2L1+10, CRC2L1+11, CRC2H+1
>> BUDSITE CRC1L1+7, CRC1L1+11, CRC1HD+7, CRC1H1+6, CRC2L1+7, CRC2L1+11, CRC2HD+7, CRC2H1+6
>> BUDTOT CRC1L+1*, CRC1L+6, CRC1L+7, CRC1L1+8*, CRC2L+1*, CRC2L+6, CRC2L+7, CRC2L1+8*
DA PAUSE+1!
>> DFN CRC1L1+5*, CRC1L1+7, CRC1L1+9, CRC1L1+11, CRC2L1+5*, CRC2L1+7, CRC2L1+9, CRC2L1+11
DIR PAUSE+1!, GENI+4!, CRC1H+3!, CRC2H+3!
DIR("A" PAUSE+1*, GENI+4*
DIR(0 PAUSE+1*, GENI+4*, CRC1H+3*, CRC2H+3*
DT CRC1HD+3, CRC1H1+3, CRC2HD+3, CRC2H1+3
>> DTOUT CRC1H+3, CRC2H+3
DUZ USR+1, CRC1HD+3, CRC1H1+3, CRC2HD+3, CRC2H1+3
DUZ(2 LOC+1, CRC1L1+7, CRC1L1+11, CRC2L1+7, CRC2L1+11
IO CRC1H+3, CRC2H+3
IO(0 CRC1H+3, CRC2H+3
IOF HIV1+1, CRC1+1, CRC1H1+1, CRC2+1, CRC2H1+1
IOM CTR+1
IOSL CRC1L+5, CRC1L1+1, CRC1L1+6, CRC2L+5, CRC2L1+1, CRC2L1+6
IOST CRC1H+3, CRC2H+3
U USR+1, LOC+1, CRC1L1+7, CRC1L1+10, CRC1L1+11, CRC1L1+12, CRC1HD+3, CRC1HD+7, CRC1H1+3, CRC1H1+6
, CRC2L1+7, CRC2L1+10, CRC2L1+11, CRC2L1+12, CRC2HD+3, CRC2HD+7, CRC2H1+3, CRC2H1+6
V S~, S+2
X CTR~, CTR+1, CRC1L1+11*, CRC1L1+12*, CRC1HD+8*, CRC1HD+9*, CRC1H1+7*, CRC1H1+8*, CRC2L1+11*, CRC2L1+12*
, CRC2HD+8*, CRC2HD+9*, CRC2H1+7*, CRC2H1+8*
Y CTR~, CTR+1, CRC1H+3, CRC2H+3
>> ZTQUEUED CRC1H+3, CRC2H+3
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All