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 |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: ABMM2PH1

Package: Third Party Billing

Routine: ABMM2PH1


Information

ABMM2PH1 ;IHS/SD/SDR - MU Patient Volume Hospital Report ;

Source Information

Source file <ABMM2PH1.m>

Call Graph

Call Graph Total: 5

Package Total Call Graph
Third Party Billing 2 ($$BDT,$$CDT,$$MDT,$$SDT,$$SDTO)^ABMDUTL  (ELGCHK,HD,HDR,PRVTCHIP)^ABMM2PV3  
VA Fileman 2 C^%DTC  $$GET1^DIQ  
Kernel 1 (CLOSE,OPEN)^%ZISH  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Third Party Billing 1 ABMM2PVH  

Entry Points

Name Comments DBIA/ICR reference
NOTMET ;EP
PATIENT ;EP
NMHDR ;EP
PTHDR ;
MET ;EP
PTHSTFL ;EP

External References

Name Field # of Occurrence
C^%DTC NOTMET+39
CLOSE^%ZISH PTHSTFL+110
OPEN^%ZISH PTHSTFL+3
$$BDT^ABMDUTL PTHSTFL+98
$$CDT^ABMDUTL PATIENT+50
$$MDT^ABMDUTL NOTMET+43
$$SDT^ABMDUTL NOTMET+5
$$SDTO^ABMDUTL PATIENT+51, PTHSTFL+99
ELGCHK^ABMM2PV3 PTHSTFL+83, PTHSTFL+101
HD^ABMM2PV3 NOTMET+34, PATIENT+53
HDR^ABMM2PV3 PATIENT+2, PTHSTFL+7
PRVTCHIP^ABMM2PV3 PTHSTFL+90
$$GET1^DIQ MET+3, PATIENT+43, PATIENT+46, PATIENT+47, PTHSTFL+78, PTHSTFL+79, PTHSTFL+93, PTHSTFL+94, PTHDR+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"Patient Volume: ",+$P($G(^XTMP("ABM-PVH2",$J,"LOC TOP",ABMVLOC)),U)_"%"
  • Line Location: MET+1
Function Call: WRITE
  • Prompt: !!,"Total Patient Encounters (Denominator) "_ABMLOC_": ",?70,$J(+$G(^XTMP("ABM-PVH2",$J,"LOC-DENOM",ABMSDT,ABMVLOC)),8)
  • Line Location: MET+5
Function Call: WRITE
  • Prompt: !,"Total Numerator Encounters "_ABMLOC_": ",?70,$J(+$G(^XTMP("ABM-PVH2",$J,"LOC-NUM",ABMSDT,ABMVLOC)),8)
  • Line Location: MET+6
Function Call: WRITE
  • Prompt: !,"Total Medicaid Paid Encounters "_ABMLOC_": ",?70,$J(+$G(^XTMP("ABM-PVH2",$J,"LOC-NUM PD",ABMSDT,ABMVLOC,"MCD")),8)
  • Line Location: MET+7
Function Call: WRITE
  • Prompt: !,"Total Medicaid Zero Paid Encounters "_ABMLOC_": ",?70,$J(+$G(^XTMP("ABM-PVH2",$J,"LOC-NUM ZEROPD",ABMSDT,ABMVLOC,"MCD")),8)
  • Line Location: MET+8
Function Call: WRITE
  • Prompt: !,"Total Medicaid Enrolled (Not Billed) Encounters "_ABMLOC_": ",?70,$J(+$G(^XTMP("ABM-PVH2",$J,"LOC-NUM ENR",ABMSDT,ABMVLOC,"MCD")),8)
  • Line Location: MET+9
Function Call: WRITE
  • Prompt: !,"Total Kidscare/Chip Paid Encounters "_ABMLOC_": ",?70,$J(+$G(^XTMP("ABM-PVH2",$J,"LOC-NUM PD",ABMSDT,ABMVLOC,"CHIP")),8)
  • Line Location: MET+10
Function Call: WRITE
  • Prompt: !,"Total Kidscare/Chip Zero Paid Encounters "_ABMLOC_": ",?70,$J(+$G(^XTMP("ABM-PVH2",$J,"LOC-NUM ZEROPD",ABMSDT,ABMVLOC,"CHIP")),8)
  • Line Location: MET+11
Function Call: WRITE
  • Prompt: !,"Total Kidscare/Chip Enrolled (Not Billed) Encounters "_ABMLOC_": ",?70,$J(+$G(^XTMP("ABM-PVH2",$J,"LOC-NUM ENR",ABMSDT,ABMVLOC,"CHIP")),8)
  • Line Location: MET+13
Function Call: WRITE
  • Prompt: !,"Total Other Encounters "_ABMLOC_" (*not included in numerator): ",?70,$J(+$G(^XTMP("ABM-PVH2",$J,"LOC ENC CNT",ABMSDT,ABMVLOC,"OTHR")),8)
  • Line Location: MET+15
Function Call: WRITE
  • Prompt: !!,"The Patient Volume Threshold (10% for Hospitals) was not met for the"
  • Line Location: NOTMET+1
Function Call: WRITE
  • Prompt: !,$S(("^A^B^C^"[("^"_ABMY("90")_"^")):"MU Qualification year",1:"timeframe entered")_". Details for the volumes that were achieved are"
  • Line Location: NOTMET+2
Function Call: WRITE
  • Prompt: !,"provided for your information."
  • Line Location: NOTMET+3
Function Call: WRITE
  • Prompt: !!,"Highest Patient Volume Met: ",+$P($G(^XTMP("ABM-PVH2",$J,"LOC TOP",ABMVLOC)),U)
  • Line Location: NOTMET+4
Function Call: WRITE
  • Prompt: !,"First Day Highest Patient Volume Achieved: ",$$SDT^ABMDUTL(ABMSDT)
  • Line Location: NOTMET+5
Function Call: WRITE
  • Prompt: !!,"Total Patient Encounters of First Highest Patient Volume Period: ",ABMTHPV
  • Line Location: NOTMET+10
Function Call: WRITE
  • Prompt: !,"Total Hospital"_$S(+$G(ABMER)=1:"/ER",1:"")_" Encounters of First Highest Patient Volume Period: ",ABMMHPV
  • Line Location: NOTMET+11
Function Call: WRITE
  • Prompt: !
  • Line Location: NMHDR+1
Function Call: WRITE
  • Prompt: "="
  • Line Location: NMHDR+2
Function Call: WRITE
  • Prompt: !,"HOSPITAL"_$S($G(ABMER)=1:"/ER",1:"")_" PATIENT VOLUME - QUALIFICATION YEAR ",ABMY("QYR")
  • Line Location: NMHDR+3
Function Call: WRITE
  • Prompt: !,"Report Period",?15,"Rate",?21,"Denom-",?30,"Numer-",?38,"Mcd",?44,"Mcd",?52,"Mcd",?58,"Schip",?64,"Schip",?73,"Schip"
  • Line Location: NMHDR+4
Function Call: WRITE
  • Prompt: !?21,"inator",?30,"ator",?37,"Paid",?42,"ZeroPd",?49,"Enrolled",?59,"Paid",?64,"ZeroPd",?71,"Enrolled"
  • Line Location: NMHDR+5
Function Call: WRITE
  • Prompt: !
  • Line Location: NMHDR+6
Function Call: WRITE
  • Prompt: "="
  • Line Location: NMHDR+7
Function Call: WRITE
  • Prompt: ?79,$P(^(ABMVDFN),U,4)
  • Line Location: PATIENT+29
Function Call: WRITE
  • Prompt: ?79,$P(^(ABMVDFN),U,4)
  • Line Location: PATIENT+52
Function Call: WRITE
  • Prompt: !,"Visit Location"_U_"Patient"_U_"Chart#"_U_"Policy Holder ID"_U_"Serv Cat"_U_"Clinic"_U_"InsType"_U_"BilledTo"
  • Line Location: PTHSTFL+9
Function Call: WRITE
  • Prompt: U_"DateOfService"_U_"DatePaid"_U_"Medicaid/SchipPaid"_U_"Bill#"_U_"Payment"_U_"Primary POV"_U_"PRVT"_U_"MCR"_U_"MCD"_U_"CHIP"_U_"NEEDY INDIV"
  • Line Location: PTHSTFL+10
Function Call: WRITE
  • Prompt: U_"MCD ST"
  • Line Location: PTHSTFL+11
Function Call: WRITE
  • Prompt: U_ABMMCDN
  • Line Location: PTHSTFL+47
Function Call: WRITE
  • Prompt: U
  • Line Location: PTHSTFL+48
Function Call: WRITE
  • Prompt: U_ABMMCDN
  • Line Location: PTHSTFL+91
Function Call: WRITE
  • Prompt: U
  • Line Location: PTHSTFL+92
Function Call: WRITE
  • Prompt: !!,"Duplicate visits for this period: "_ABMDCNT
  • Line Location: PTHSTFL+109
Function Call: WRITE
  • Prompt: !,"VISIT LOCATION: ",$$GET1^DIQ(9999999.06,ABMVLOC,.02,"E"),!
  • Line Location: PTHDR+1
Function Call: WRITE
  • Prompt: "="
  • Line Location: PTHDR+2
Function Call: WRITE
  • Prompt: !,?25,"Ser",?39,"I.",?42,"Billed",?53,"Date of",?70,"Date"
  • Line Location: PTHDR+3
Function Call: WRITE
  • Prompt: !,"PATIENT NAME",?18,"CHART#",?25,"Cat",?29,"Clinic",?39,"T.",?42,"To",?53,"Service",?70,"Paid",!
  • Line Location: PTHDR+4
Function Call: WRITE
  • Prompt: "="
  • Line Location: PTHDR+5

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
9000001.41 GET1^DIQ
^AUPNVSIT - [#9000010] GET1^DIQ
^AUTTLOC - [#9999999.06] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNMCD - [#9000004] PTHSTFL+89
^XTMP("ABM-PVH2" MET+1, MET+5, MET+6, MET+7, MET+8, MET+9, MET+10, MET+11, MET+13, MET+15
, NOTMET+4, NOTMET+7, NOTMET+9, NOTMET+18, NOTMET+20, NOTMET+26!, NOTMET+32, NOTMET+44, NOTMET+45, NOTMET+46
, NOTMET+47, NOTMET+48, NOTMET+49, NOTMET+50, NOTMET+51, NOTMET+52, PATIENT+33, PATIENT+35, PATIENT+36, PATIENT+37
, PATIENT+38, PATIENT+39, PATIENT+40, PATIENT+41, PATIENT+52, PTHSTFL+1, PTHSTFL+14, PTHSTFL+64, PTHSTFL+67, PTHSTFL+70
, PTHSTFL+71, PTHSTFL+72, PTHSTFL+100
^XTMP("ABM-PVP2" PTHSTFL+68, PTHSTFL+69*

Label References

Name Line Occurrences
NMHDR NOTMET+29, NOTMET+34
PTHDR PATIENT+3, PATIENT+53

Naked Globals

Name Field # of Occurrence
^( PATIENT+52

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> ABM NMHDR+2*, NMHDR+7*, PTHDR+2*, PTHDR+5*
>> ABM("PG" PATIENT+1*, PTHSTFL+6*
>> ABMC NOTMET+24*, NOTMET+25, NOTMET+27*
>> ABMCHIP PTHSTFL+106
>> ABMCNT NOTMET+12*, NOTMET+16*, NOTMET+19*, NOTMET+20, NOTMET+22, NOTMET+24*, NOTMET+25*, NOTMET+26
ABMDCNT PTHSTFL+2!, PTHSTFL+68*, PTHSTFL+109
>> ABMDEN NOTMET+45*, NOTMET+53
>> ABMDT NOTMET+17*, NOTMET+18*, NOTMET+20
>> ABMDTCNT NOTMET+31*, NOTMET+35*, NOTMET+54
>> ABMEDT NOTMET+40*, NOTMET+41*, NOTMET+42, NOTMET+43
>> ABMER NOTMET+11, NMHDR+3
>> ABMFN PTHSTFL+3
>> ABMHRN PATIENT+43*, PATIENT+45, PTHSTFL+78*, PTHSTFL+81
>> ABMINS PATIENT+41*, PATIENT+49, PTHSTFL+74*, PTHSTFL+96
>> ABMITYP PATIENT+40*, PATIENT+48, PTHSTFL+73*, PTHSTFL+95
ABML PTHSTFL+82!
ABML("CHIP" PTHSTFL+86
ABML("MCD" PTHSTFL+86
ABMLN NOTMET+13!
>> ABMLOC MET+3*, MET+5, MET+6, MET+7, MET+8, MET+9, MET+10, MET+11, MET+13, MET+15
>> ABMMCD PTHSTFL+106
>> ABMMCDEN NOTMET+50*, NOTMET+53
ABMMCDN PTHSTFL+85!, PTHSTFL+89*, PTHSTFL+91
>> ABMMCDPD NOTMET+47*, NOTMET+53
>> ABMMCDZP NOTMET+49*, NOTMET+53
>> ABMMCR PTHSTFL+106
>> ABMMHPV NOTMET+8*, NOTMET+9*, NOTMET+11
>> ABMMIEN PTHSTFL+84*, PTHSTFL+87*, PTHSTFL+88, PTHSTFL+89, PTHSTFL+90, PTHSTFL+92
>> ABMNI PTHSTFL+106
>> ABMNUM NOTMET+46*, NOTMET+53
>> ABMP NOTMET+21*, NOTMET+23*, NOTMET+25, NOTMET+26
>> ABMP("EDT" NOTMET+36, NOTMET+41
>> ABMP("SAVE" PTHSTFL+87
>> ABMP("STATE" PTHSTFL+107
>> ABMP("VDT" PTHSTFL+65*
>> ABMPATH PTHSTFL+3
>> ABMPD NOTMET+43*, NOTMET+53
>> ABMPI PTHSTFL+106
>> ABMPMET PTHSTFL+8*
>> ABMPRC( NOTMET+20*, NOTMET+23, NOTMET+25, NOTMET+26
>> ABMPT PATIENT+36*, PATIENT+42, PTHSTFL+70*, PTHSTFL+77
>> ABMPTF PATIENT+39*, PATIENT+44, PTHSTFL+76*, PTHSTFL+80
>> ABMPTL PATIENT+38*, PATIENT+44, PTHSTFL+75*, PTHSTFL+80
>> ABMREC PTHSTFL+72*, PTHSTFL+73, PTHSTFL+74, PTHSTFL+75, PTHSTFL+76, PTHSTFL+100*, PTHSTFL+102, PTHSTFL+103, PTHSTFL+104, PTHSTFL+105
>> ABMRT NOTMET+44*, NOTMET+53
>> ABMSAV NOTMET+22*, NOTMET+25
>> ABMSCHEN NOTMET+52*, NOTMET+53
>> ABMSCHPD NOTMET+48*, NOTMET+53
>> ABMSCHZP NOTMET+51*, NOTMET+53
>> ABMSDT MET+5, MET+6, MET+7, MET+8, MET+9, MET+10, MET+11, MET+13, MET+15, NOTMET+5
, NOTMET+7, NOTMET+9, NOTMET+30*, NOTMET+32*, NOTMET+33, NOTMET+37, NOTMET+43, NOTMET+44, NOTMET+45, NOTMET+46
, NOTMET+47, NOTMET+48, NOTMET+49, NOTMET+50, NOTMET+51, NOTMET+52, PATIENT+33, PATIENT+35, PATIENT+36, PATIENT+37
, PATIENT+38, PATIENT+39, PATIENT+40, PATIENT+41, PATIENT+52, PTHSTFL+1*, PTHSTFL+12, PTHSTFL+14, PTHSTFL+64, PTHSTFL+67
, PTHSTFL+70, PTHSTFL+71, PTHSTFL+72, PTHSTFL+100
>> ABMTHPV NOTMET+6*, NOTMET+7*, NOTMET+10
>> ABMTRIEN PATIENT+37*, PATIENT+51, PTHSTFL+71*, PTHSTFL+99
>> ABMVDFN PATIENT+34*, PATIENT+35*, PATIENT+36, PATIENT+37, PATIENT+38, PATIENT+39, PATIENT+40, PATIENT+41, PATIENT+46, PATIENT+47
, PATIENT+52, PTHSTFL+66*, PTHSTFL+67*, PTHSTFL+68, PTHSTFL+69, PTHSTFL+70, PTHSTFL+71, PTHSTFL+72, PTHSTFL+93, PTHSTFL+94
, PTHSTFL+100
>> ABMVDT PATIENT+32*, PATIENT+33*, PATIENT+35, PATIENT+36, PATIENT+37, PATIENT+38, PATIENT+39, PATIENT+40, PATIENT+41, PATIENT+50
, PATIENT+52, PTHSTFL+63*, PTHSTFL+64*, PTHSTFL+65, PTHSTFL+67, PTHSTFL+70, PTHSTFL+71, PTHSTFL+72, PTHSTFL+98, PTHSTFL+100
>> ABMVLOC MET+1, MET+3, MET+5, MET+6, MET+7, MET+8, MET+9, MET+10, MET+11, MET+13
, MET+15, NOTMET+4, NOTMET+7, NOTMET+9, NOTMET+20, NOTMET+44, NOTMET+45, NOTMET+46, NOTMET+47, NOTMET+48
, NOTMET+49, NOTMET+50, NOTMET+51, NOTMET+52, PATIENT+33, PATIENT+35, PATIENT+36, PATIENT+37, PATIENT+38, PATIENT+39
, PATIENT+40, PATIENT+41, PATIENT+42, PATIENT+52, PTHSTFL+13*, PTHSTFL+14*, PTHSTFL+64, PTHSTFL+67, PTHSTFL+70, PTHSTFL+71
, PTHSTFL+72, PTHSTFL+77, PTHSTFL+79, PTHSTFL+100, PTHDR+1
>> ABMY("90" NOTMET+2, NOTMET+33
>> ABMY("QYR" NOTMET+42, NMHDR+3
>> ABMY("SDT" NOTMET+33
>> ABMY("TVDTS" NOTMET+15, NOTMET+22
>> DIROUT NOTMET+32, NOTMET+34, PATIENT+33, PATIENT+53
>> DIRUT NOTMET+32, NOTMET+34, PATIENT+33, PATIENT+53
>> DTOUT NOTMET+32, NOTMET+34, PATIENT+33, PATIENT+53
>> DUOUT NOTMET+32, NOTMET+34, PATIENT+33, PATIENT+53
>> IENS PATIENT+42*, PATIENT+43, PTHSTFL+77*, PTHSTFL+78
IO PTHSTFL+5
IOSL NOTMET+34, PATIENT+53
IOST NOTMET+32, NOTMET+34, PATIENT+33, PATIENT+53
>> POP PTHSTFL+4
U MET+1, NOTMET+4, PATIENT+36, PATIENT+37, PATIENT+38, PATIENT+39, PATIENT+40, PATIENT+41, PATIENT+52, PTHSTFL+1
, PTHSTFL+9, PTHSTFL+10, PTHSTFL+11, PTHSTFL+70, PTHSTFL+71, PTHSTFL+73, PTHSTFL+74, PTHSTFL+75, PTHSTFL+76, PTHSTFL+80
, PTHSTFL+81, PTHSTFL+89, PTHSTFL+91, PTHSTFL+92, PTHSTFL+93, PTHSTFL+94, PTHSTFL+95, PTHSTFL+96, PTHSTFL+98, PTHSTFL+99
, PTHSTFL+102, PTHSTFL+103, PTHSTFL+104, PTHSTFL+105, PTHSTFL+106, PTHSTFL+107
>> X NOTMET+40
>> X1 NOTMET+37*
>> X2 NOTMET+38*
>> Y NOTMET+32, NOTMET+34, PATIENT+33, PATIENT+53
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 |  Naked Globals |  Local Variables |  All