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

Package: IHS GPRA Information System

Routine: BGPMUAP2


Information

BGPMUAP2 ; IHS/MSC/MGH - Print MU EP measures NQF0031,NQF0032,NQF0034 ;01-Mar-2011 15:43;MGH

Source Information

Source file <BGPMUAP2.m>

Call Graph

Call Graph Total: 7

Package Total Call Graph
IHS GPRA Information System 4 $$ROUND^BGPMUA01  (HDRBLK,HEADER,HEADERL)^BGPMUPH  W^BGPMUPP  PTLSORT^BGPMUUTL  
IHS Patient 1 ($$AGE,$$HRN)^AUPNPAT  
Kernel 1 $$FMTE^XLFDT  
VA Fileman 1 $$GET1^DIQ  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
IHS GPRA Information System 1 BGPMUAD2  

Entry Points

Name Comments DBIA/ICR reference
P2 ;Do the Details
PAP ;EP
P1 ;Write individual measure
0034(TF) ;Get the numbers for this measure
0032(TF) ;Get the numbers for this measure
SUM34 ;Populate "BGPMU SUMMARY" for Colorectal Cancer
SUM31 ;Populate "BGPMU SUMMARY" for Breast Cancer Screening
DATA(NODE) ;GET DATA
COLON ;EP
BREAST ;EP
B2 ;Do the Details
SUM32 ;Populate "BGPMU SUMMARY" for Cervical Cancer Screening
C2 ;Do the Details
C1 ;Write individual measure
0031(TF) ;Get the numbers for this measure
B1 ;Write individual measure

External References

Name Field # of Occurrence
$$AGE^AUPNPAT DATA+5
$$HRN^AUPNPAT DATA+4
$$ROUND^BGPMUA01 0034+8, 0034+9, 0034+10, 0031+7, 0032+7, 0032+8, SUM31+10, SUM31+13, SUM31+16, SUM32+10
, SUM32+13, SUM32+16, SUM34+11, SUM34+15, SUM34+19
HDRBLK^BGPMUPH P1+12, B1+10, C1+10
HEADER^BGPMUPH P1+11, P1+13, P1+15, P1+17, P1+19, P1+21, P1+23, B1+9, B1+11, B1+13
, B1+15, C1+9, C1+11, C1+13, C1+15
HEADERL^BGPMUPH P2+2, P2+12, B2+2, B2+12, DATA+11, C2+2, C2+13
W^BGPMUPP P2+3, P2+4, P2+5, P2+6, P2+7, P2+8, P2+9, P2+10, B2+3, B2+4
, B2+5, B2+6, B2+7, B2+8, B2+9, B2+10, C2+3, C2+4, C2+5, C2+6
, C2+7, C2+8, C2+9, C2+10, C2+11
PTLSORT^BGPMUUTL P2+17, P2+24, P2+31, B2+17, B2+24, C2+18, C2+25
$$GET1^DIQ DATA+3, DATA+8
$$FMTE^XLFDT DATA+14

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Pts 50-74",?33,$P(STRING1,U,1),?44,($P(STRING2,U,1)+$P(STRING2,U,6)),?64,($P(STRING3,U,1)+$P(STRING3,U,6))
  • Line Location: P1+14
Function Call: WRITE
  • Prompt: !,"# Excluded (Exc)",?33,$P(STRING1,U,6),?44,$P(STRING2,U,6),?64,$P(STRING3,U,6)
  • Line Location: P1+16
Function Call: WRITE
  • Prompt: !,"Pts 50-74 less Exc",?33,($P(STRING1,U,1)-$P(STRING1,U,6)),?44,$P(STRING2,U,1),?64,$P(STRING3,U,1)
  • Line Location: P1+18
Function Call: WRITE
  • Prompt: !!,"# w/colon screen",?33,$P(STRING1,U,2),?38,$J($P(STRING1,U,4),5,1),?44,$P(STRING2,U,2),?49,$J($P(STRING2,U,4),5,1),?56,$J($FN(PRD,",+",1),6),?64,$P(STRING3,U,2),?68,$J($P(STRING3,U,4),5,1),?74,$J($FN(PRN,",+",1),6)
  • Line Location: P1+20
Function Call: WRITE
  • Prompt: !,"# w/o colon screen",?33,$P(STRING1,U,3),?38,$J($P(STRING1,U,5),5,1),?44,$P(STRING2,U,3),?49,$J($P(STRING2,U,5),5,1),?56,$J($FN(PRD1,",+",1),6),?64,$P(STRING3,U,3),?68,$J($P(STRING3,U,5),5,1),?74,$J($FN(PRN1,",+",1),6)
  • Line Location: P1+22
Function Call: WRITE
  • Prompt: !,"PATIENT NAME",?23,"HRN",?30,"COMMUNITY",?42,"SEX",?46,"AGE",?50,"DENOMINATOR",?63,"NUMERATOR"
  • Line Location: P2+13
Function Call: WRITE
  • Prompt: !,LINE
  • Line Location: P2+14
Function Call: WRITE
  • Prompt: !!,"Total # of patients on list: "_PTCT
  • Line Location: P2+36
Function Call: WRITE
  • Prompt: !,"Pts 41-68",?33,$P(STRING1,U,1),?44,$P(STRING2,U,1),?64,$P(STRING3,U,1)
  • Line Location: B1+12
Function Call: WRITE
  • Prompt: !!,"# w/mammogram",?33,$P(STRING1,U,2),?38,$J($P(STRING1,U,4),5,1),?44,$P(STRING2,U,2),?49,$J($P(STRING2,U,4),5,1),?56,$J($FN(PRD,",+",1),6),?64,$P(STRING3,U,2),?68,$J($P(STRING3,U,4),5,1),?74,$J($FN(PRN,",+",1),6)
  • Line Location: B1+14
Function Call: WRITE
  • Prompt: !,"# w/o mammogram",?33,$P(STRING1,U,3),?38,$J($P(STRING1,U,5),5,1),?44,$P(STRING2,U,3),?49,$J($P(STRING2,U,5),5,1),?56,$J($FN(PRD1,",+",1),6),?64,$P(STRING3,U,3),?68,$J($P(STRING3,U,5),5,1),?74,$J($FN(PRN1,",+",1),6)
  • Line Location: B1+16
Function Call: WRITE
  • Prompt: !,"PATIENT NAME",?23,"HRN",?30,"COMMUNITY",?42,"SEX",?46,"AGE",?50,"DENOMINATOR",?63,"NUMERATOR"
  • Line Location: B2+13
Function Call: WRITE
  • Prompt: !,LINE
  • Line Location: B2+14
Function Call: WRITE
  • Prompt: !!,"Total # of patients on list: "_PTCT
  • Line Location: B2+29
Function Call: WRITE
  • Prompt: !,LINE
  • Line Location: DATA+13
Function Call: WRITE
  • Prompt: !,NAME,?23,HRN,?30,COMM,?42,SEX,?46,AGE,?50,"EN:"_$P($$FMTE^XLFDT(DEN,2),".",1),?63,$S(NUM="":"NM: ",1:$S($P(NUM,";",1)="Excluded":"",1:"M:")_$P(NUM,";",1)_" "_$P($$FMTE^XLFDT($P(NUM,";",2),2),".",1))
  • Line Location: DATA+14
Function Call: WRITE
  • Prompt: !,"Pts 23-63:",?33,$P(STRING1,U,1),?44,$P(STRING2,U,1),?64,$P(STRING3,U,1)
  • Line Location: C1+12
Function Call: WRITE
  • Prompt: !!,"# w/pap test",?33,$P(STRING1,U,2),?38,$J($P(STRING1,U,4),5,1),?44,$P(STRING2,U,2),?49,$J($P(STRING2,U,4),5,1),?56,$J($FN(PRD,",+",1),6),?64,$P(STRING3,U,2),?68,$J($P(STRING3,U,4),5,1),?74,$J($FN(PRN,",+",1),6)
  • Line Location: C1+14
Function Call: WRITE
  • Prompt: !,"# w/o pap test",?33,$P(STRING1,U,3),?38,$J($P(STRING1,U,5),5,1),?44,$P(STRING2,U,3),?49,$J($P(STRING2,U,5),5,1),?56,$J($FN(PRD1,",+",1),6),?64,$P(STRING3,U,3),?68,$J($P(STRING3,U,5),5,1),?74,$J($FN(PRN1,",+",1),6)
  • Line Location: C1+16
Function Call: WRITE
  • Prompt: !,"PATIENT NAME",?23,"HRN",?30,"COMMUNITY",?42,"SEX",?46,"AGE",?50,"DENOMINATOR",?63,"NUMERATOR"
  • Line Location: C2+14
Function Call: WRITE
  • Prompt: !,LINE
  • Line Location: C2+15
Function Call: WRITE
  • Prompt: !!,"Total # of patients on list: "_PTCT
  • Line Location: C2+30

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DPT - [#2] GET1^DIQ
^AUPNPAT - [#9000001] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] DATA+9
^TMP("BGPMU SUMMARY" SUM31+4!, SUM31+5*, SUM31+23*, SUM32+4!, SUM32+5*, SUM32+23*, SUM34+4!, SUM34+5*, SUM34+26*
^TMP("BGPMU0031" BREAST+3!, 0031+2, 0031+3, SUM31+8, SUM31+9, SUM31+11, SUM31+12, SUM31+14, SUM31+15
^TMP("BGPMU0032" PAP+3!, 0032+2, 0032+3, SUM32+8, SUM32+9, SUM32+11, SUM32+12, SUM32+14, SUM32+15
^TMP("BGPMU0034" COLON+3!, 0034+2, 0034+3, 0034+4, SUM34+8, SUM34+9, SUM34+10, SUM34+12, SUM34+13, SUM34+14
, SUM34+16, SUM34+17, SUM34+18

Label References

Name Line Occurrences
$$0031 B1+2, B1+3, B1+4
$$0032 C1+2, C1+3, C1+4
$$0034 P1+2, P1+3, P1+4
B1 BREAST+1
B2 B1+17
C1 PAP+1
C2 C1+17
DATA P2+21, P2+28, P2+35, B2+21, B2+28, C2+22, C2+29
P1 COLON+1
P2 P1+24
SUM31 B1+18
SUM32 C1+18
SUM34 P1+25

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
AGE DATA+1~, DATA+5*, DATA+14
ARRAY 0034+1~, 0034+11*, 0034+12, 0031+1~, 0031+9*, 0031+10, 0032+1~, 0032+9*, 0032+10
>> BDEN1CT SUM31+14*, SUM31+16, SUM31+22, SUM32+14*, SUM32+16, SUM32+22, SUM34+16*, SUM34+19, SUM34+25
>> BEXC1CT SUM34+18*, SUM34+19, SUM34+25
BGPARR P2+1~, P2+16!, P2+17, P2+23!, P2+24, P2+30!, P2+31, B2+16!, B2+17, B2+23!
, B2+24, C2+17!, C2+18, C2+24!, C2+25
BGPARR( P2+18, P2+20, P2+25, P2+27, P2+32, P2+34, B2+18, B2+20, B2+25, B2+27
, C2+19, C2+21, C2+26, C2+28
BGPDNCNT SUM31+2~, SUM31+3*, SUM31+17*, SUM31+23, SUM32+2~, SUM32+3*, SUM32+17*, SUM32+23, SUM34+2~, SUM34+3*
, SUM34+20*, SUM34+26
>> BGPED DATA+5
>> BGPIC P1+24, B1+17, C1+17, SUM31+4, SUM31+5, SUM31+23, SUM32+4, SUM32+5, SUM32+23, SUM34+4
, SUM34+5, SUM34+26
>> BGPIOSL P1+13, P1+15, P1+17, P1+19, P1+21, P1+23, P2+12, B1+11, B1+13, B1+15
, B2+12, DATA+10, C1+11, C1+13, C1+15, C2+13
>> BGPLIST P2+15, P2+22, P2+29, B2+15, B2+22, C2+16, C2+23
>> BGPLIST( P1+24, B1+17, C1+17
>> BGPPTYPE P2+3, P2+4, P2+5, P2+6, P2+7, P2+8, P2+9, P2+10, B2+3, B2+4
, B2+5, B2+6, B2+7, B2+8, B2+9, B2+10, C2+3, C2+4, C2+5, C2+6
, C2+7, C2+8, C2+9, C2+10, C2+11
>> BGPQUIT P1+11, P1+13, P1+15, P1+17, P1+19, P1+21, P1+23, P2+12, B1+9, B1+11
, B1+13, B1+15, B2+2, B2+12, DATA+11, C1+9, C1+11, C1+13, C1+15, C2+13
BGPSSTR SUM31+2~, SUM31+18*, SUM31+20*, SUM31+22*, SUM31+23, SUM32+2~, SUM32+18*, SUM32+20*, SUM32+22*, SUM32+23
, SUM34+2~, SUM34+21*, SUM34+23*, SUM34+25*, SUM34+26
>> BMP SUM31+16*, SUM31+22, SUM32+16*, SUM32+22, SUM34+19*, SUM34+25
>> BNUM1CT SUM31+15*, SUM31+16, SUM31+22, SUM32+15*, SUM32+16, SUM32+22, SUM34+17*, SUM34+19, SUM34+25
BREAST B2+1~
>> CDEN1CT SUM31+8*, SUM31+10, SUM31+18, SUM32+8*, SUM32+10, SUM32+18, SUM34+8*, SUM34+11, SUM34+21
CERV C2+1~
>> CEXC1CT SUM34+10*, SUM34+11, SUM34+21
>> CMP SUM31+10*, SUM31+18, SUM32+10*, SUM32+18, SUM34+11*, SUM34+21
>> CNUM1CT SUM31+9*, SUM31+10, SUM31+18, SUM32+9*, SUM32+10, SUM32+18, SUM34+9*, SUM34+11, SUM34+21
COLON P2+1~
COMM DATA+1~, DATA+8*, DATA+14
DEN P1+1~, 0034+1~, 0034+2*, 0034+5, 0034+6, 0034+7, 0034+8, 0034+9, 0034+10, 0034+11
, B1+1~, 0031+1~, 0031+2*, 0031+4, 0031+5, 0031+6, 0031+7, 0031+9, DATA+1~, DATA+6*
, DATA+14, C1+1~, 0032+1~, 0032+2*, 0032+4, 0032+5, 0032+6, 0032+7, 0032+8, 0032+9
DEN1 DATA+1~
DEN2 DATA+1~
DFN DATA+1~, DATA+2*, DATA+4, DATA+5, DATA+8, DATA+9
DUZ(2 DATA+4
EXC 0034+1~, 0034+4*, 0034+5, 0034+10, 0034+11
FOL P2+1~
HRN DATA+1~, DATA+4*, DATA+14
J SUM32+2~, SUM34+2~
LINE P2+1~, P2+14*, B2+1~, B2+14*, DATA+1~, DATA+13*, C2+1~, C2+15*
N SUM31+2~, SUM31+6*, SUM31+18, SUM32+2~, SUM32+6*, SUM32+18, SUM34+2~, SUM34+6*, SUM34+21
NAME P2+1~, B2+1~, DATA+1~, DATA+3*, DATA+14, C2+1~
NNUM 0034+1~, 0034+5*, 0034+9, 0034+11, 0031+1~, 0031+4*, 0031+9, 0032+1~, 0032+4*, 0032+8
, 0032+9
NODE P2+1~, P2+20*, P2+21, P2+27*, P2+28, P2+34*, P2+35, B2+1~, B2+20*, B2+21
, B2+27*, B2+28, DATA~, DATA+2, DATA+3, DATA+6, DATA+7, C2+1~, C2+21*, C2+22
, C2+28*, C2+29
NUM P1+1~, 0034+1~, 0034+3*, 0034+5, 0034+8, 0034+11, B1+1~, 0031+1~, 0031+3*, 0031+4
, 0031+7, 0031+9, DATA+1~, DATA+7*, DATA+14, C1+1~, 0032+1~, 0032+3*, 0032+4, 0032+7
, 0032+9
PC B1+1~, C1+1~
PC1 P1+1~, 0034+1~, 0034+6*, 0034+8*, 0034+11, 0031+1~, 0031+5*, 0031+7*, 0031+8, 0031+9
, 0032+1~, 0032+5*, 0032+7*, 0032+9
PC2 0034+1~, 0034+6*, 0034+9*, 0034+11, 0031+1~, 0031+5*, 0031+8*, 0031+9, 0032+1~, 0032+5*
, 0032+8*, 0032+9
PC3 0034+1~, 0034+6*, 0034+10*, 0034+11
>> PDEN1CT SUM31+11*, SUM31+13, SUM31+20, SUM32+11*, SUM32+13, SUM32+20, SUM34+12*, SUM34+15, SUM34+23
>> PEXC1CT SUM34+14*, SUM34+15, SUM34+23
>> PMP SUM31+13*, SUM31+20, SUM32+13*, SUM32+20, SUM34+15*, SUM34+23
>> PNUM1CT SUM31+12*, SUM31+13, SUM31+20, SUM32+12*, SUM32+13, SUM32+20, SUM34+13*, SUM34+15, SUM34+23
PRD P1+1~, P1+5*, P1+20, B1+1~, B1+5*, B1+14, C1+1~, C1+5*, C1+14
PRD1 P1+6*, P1+22, B1+1~, B1+6*, B1+16, C1+6*, C1+16
PRD2 P1+1~, P1+7*
PRN P1+1~, P1+8*, P1+20, B1+1~, B1+7*, B1+14, C1+1~, C1+7*, C1+14
PRN1 P1+9*, P1+22, B1+1~, B1+8*, B1+16, C1+1~, C1+8*, C1+16
PRN2 P1+1~, P1+10*, C1+1~
PT P2+1~, P2+18*, P2+20, P2+25*, P2+27, P2+32*, P2+34, B2+1~, B2+18*, B2+20
, B2+25*, B2+27, C2+1~, C2+19*, C2+21, C2+26*, C2+28
PTCT P2+1~, P2+11*, P2+19*, P2+26*, P2+33*, P2+36, B2+1~, B2+11*, B2+19*, B2+26*
, B2+29, C2+1~, C2+12*, C2+20*, C2+27*, C2+30
SEX DATA+1~, DATA+9*, DATA+14
STRING1 P1+1~, P1+2*, P1+5, P1+6, P1+7, P1+8, P1+9, P1+10, P1+14, P1+16
, P1+18, P1+20, P1+22, B1+1~, B1+2*, B1+5, B1+6, B1+7, B1+8, B1+12
, B1+14, B1+16, C1+1~, C1+2*, C1+5, C1+6, C1+7, C1+8, C1+12, C1+14
, C1+16
STRING2 P1+1~, P1+3*, P1+5, P1+6, P1+7, P1+14, P1+16, P1+18, P1+20, P1+22
, B1+1~, B1+3*, B1+5, B1+6, B1+12, B1+14, B1+16, C1+1~, C1+3*, C1+5
, C1+6, C1+12, C1+14, C1+16
STRING3 P1+1~, P1+4*, P1+8, P1+9, P1+10, P1+14, P1+16, P1+18, P1+20, P1+22
, B1+1~, B1+4*, B1+7, B1+8, B1+12, B1+14, B1+16, C1+1~, C1+4*, C1+7
, C1+8, C1+12, C1+14, C1+16
TF 0034~, 0034+2, 0034+3, 0034+4, 0031~, 0031+2, 0031+3, 0032~, 0032+2, 0032+3
U P1+5, P1+6, P1+7, P1+8, P1+9, P1+10, P1+14, P1+16, P1+18, P1+20
, P1+22, 0034+11, B1+5, B1+6, B1+7, B1+8, B1+12, B1+14, B1+16, 0031+9
, DATA+2, DATA+3, DATA+6, DATA+7, DATA+9, C1+5, C1+6, C1+7, C1+8, C1+12
, C1+14, C1+16, 0032+9, SUM31+5, SUM31+18, SUM31+20, SUM31+22, SUM32+5, SUM32+18, SUM32+20
, SUM32+22, SUM34+5, SUM34+21, SUM34+23, SUM34+25
VST P2+1~, B2+1~, C2+1~
X P1+1~, P2+3*, P2+4*, P2+5*, P2+6*, P2+7*, P2+8*, P2+9*, P2+10*, B1+1~
, B2+3*, B2+4*, B2+5*, B2+6*, B2+7*, B2+8*, B2+9*, B2+10*, C1+1~, C2+3*
, C2+4*, C2+5*, C2+6*, C2+7*, C2+8*, C2+9*, C2+10*, C2+11*
Y P1+1~, B1+1~, C1+1~
Z P1+1~, B1+1~, C1+1~
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