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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: BQIUL2

Package: iCare

Routine: BQIUL2


Information

BQIUL2 ;PRXM/HC/ALA-Miscellaneous BQI utilities ; 01 Nov 2007 2:20 PM

Source Information

Source file <BQIUL2.m>

Call Graph

Call Graph Total: 8

Package Total Call Graph
VA Fileman 3 FIELD^DID  $$IENS^DILF  $$GET1^DIQ  
iCare 3 $$ISACTIVE^BQIPTINS  ($$DATE,$$FMTE,$$TKO)^BQIUL1  $$PTR^BQIUL2  
Kernel 1 ($$STRIP,$$UP)^XLFSTR  
PCE Patient Care Encounter 1 $$PRIMVPRV^PXUTL1  

Caller Graph

Caller Graph Total: 18

Package Total Caller Graph
iCare 13 BQICAEXP  BQICAVAL  BQICMUTL  BQIIPPRG  BQIMUHLP  BQIPDSCF  BQIRGDMA  BQIRGHPC  
BQIRGTHM  BQITAXXP  BQIUL2  BQIUTB5  BQIVFDEF  
Tracking Procedure Workflow 5 BTPWBTTR  BTPWETRG  BTPWEVNT  BTPWHIST  BTPWTIUT  

Entry Points

Name Comments DBIA/ICR reference
NSC(DFN,TMFRAME,TYP) ;EP - Number of no shows and patient cancels
MCD(DFN) ;EP - Medicaid Number
LAVPN(DFN) ;EP -- Get patient's last AMBULATORY visit provider narratives
STCC(FIL,FLD,VAL) ; EP - Find a value for a set of codes code
; Input Parameters
; FIL = FileMan File Number
; FLD = FileMan Field Number
; VAL = Code Value
LAVDT(DFN) ;EP -- Get patient's last AMBULATORY visit date/time
LALC(DFN) ;EP -- Get patient's last AMBULATORY visit location
LAVDN(DFN) ;EP -- Get patient's last AMBULATORY visit POV narratives
PRIMVPOV(PXUTVST) ; EP - Returns the primary diagnosis if there is one
; for the passed visit otherwise returns 0.
LAVP(DFN) ;EP -- Get patient's last AMBULATORY visit primary provider
LAVC(DFN) ;EP -- Get patient's last AMBULATORY visit clinic
PRIMVPRV(PXUTVST) ; EP - Returns the primary provider if there is one
; for the passed visit otherwise returns 0.
LAVD(DFN) ;EP -- Get patient's last AMBULATORY visit
PRIMSEC(PXUTVST,PXUTAUPN,PXUTNODE,PXUPIECE) ; EP - Returns ien of the primary one
; if there is one for the passed visit otherwise returns 0.
; Parameters:
; PXUTVST Pointer to the visit
; PXUTAUPN V-File global e.g. "^AUPNVPRV"
; PXUTNODE The node that the Primary/Secondary field is on
; PXUPIECE The piece of the Primary/Secondary field
STC(FIL,FLD,VAL) ; EP - Find a value for a set of codes code
; Input Parameters
; FIL = FileMan File Number
; FLD = FileMan Field Number
; VAL = Code Value
PTR(FIL,FLD,VVAL,VPEC) ;EP - Find alternate value for a pointer
SCD(STRNG,VAL) ;EP - find a description for a code
OTRIB(DFN) ;EP - List of other tribes

External References

Name Field # of Occurrence
$$ISACTIVE^BQIPTINS MCD+12
$$DATE^BQIUL1 NSC+3
$$FMTE^BQIUL1 LAVDT+7
$$TKO^BQIUL1 OTRIB+9, LAVDN+10, LAVPN+10
$$PTR^BQIUL2 MCD+13
FIELD^DID PTR+13, PTR+19
$$IENS^DILF MCD+9
$$GET1^DIQ MCD+4, MCD+5, MCD+10, MCD+11, LAVD+10, LAVDT+7, LAVC+6, LAVC+8, LALC+6, LAVP+8
, LAVDN+7, LAVPN+7
$$PRIMVPRV^PXUTL1 LAVP+6
$$STRIP^XLFSTR PTR+16
$$UP^XLFSTR PTR+15

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] GET1^DIQ
^DIC(40.7 - [#40.7] GET1^DIQ
^AUPNMCD - [#9000004] GET1^DIQ
9000004.11 GET1^DIQ
^AUPNVSIT - [#9000010] GET1^DIQ
^AUPNVPOV - [#9000010.07] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNMCD - [#9000004] MCD+7
^AUPNMCD("B" MCD+3
^AUPNPAT - [#9000001] OTRIB+4, OTRIB+5
^AUPNVPOV - [#9000010.07] PRIMVPOV+4
^AUPNVPOV("AD" LAVDN+6, LAVPN+6
^AUPNVPRV - [#9000010.06] PRIMVPRV+4
^AUPNVSIT - [#9000010] LAVD+11, LAVD+12, LAVD+13, LAVD+15
^AUPNVSIT("AA" LAVD+6, LAVD+8, LAVD+9
^AUTTTRI - [#9999999.03] OTRIB+7
^DD( STC+7, STCC+7
^DIC(40.7 - [#40.7] LAVD+17
^DPT - [#2] NSC+5, NSC+6, NSC+7

Label References

Name Line Occurrences
$$LAVD LAVDT+5, LAVC+4, LALC+4, LAVP+4, LAVDN+4, LAVPN+4
$$PRIMSEC PRIMVPRV+3, PRIMVPOV+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ARR PTR+8~
ARR("GLOBAL S UBSCRIPT LOCATION" , PTR+20
ARR1 PTR+8~, PTR+20*, PTR+22, PTR+24
BDT NSC+1~, NSC+2*, NSC+3*, NSC+5*, NSC+6, NSC+7
BQTRIB OTRIB+1~, OTRIB+5*, OTRIB+6
>> CLN LAVD+15*, LAVD+16, LAVD+17
CST LAVC+3~, LAVC+6*, LAVC+7, LAVC+8, LALC+3~, LALC+6*, LALC+7, LALC+8
DA MCD+8~, MCD+9*
DA(1 MCD+9*
DFN MCD~, MCD+3, NSC~, NSC+5, NSC+6, NSC+7, OTRIB~, OTRIB+4, OTRIB+5, LAVD~
, LAVD+6, LAVD+8, LAVD+9, LAVDT~, LAVDT+5, LAVC~, LAVC+4, LALC~, LALC+4, LAVP~
, LAVP+4, LAVDN~, LAVDN+4, LAVPN~, LAVPN+4
DT NSC+2, NSC+8
EFF MCD+8~, MCD+10*, MCD+12
EXP MCD+8~, MCD+11*, MCD+12
FIL STC~, STC+7, STCC~, STCC+7, PTR~, PTR+13
FLD STC~, STC+7, STCC~, STCC+7, PTR~, PTR+13
I STC+9*, STCC+9*, SCD+1~, SCD+3*
IEN MCD+1~, MCD+2*, MCD+3*, MCD+4, MCD+5, MCD+7, MCD+9, LAVDN+3~, LAVDN+4*, LAVDN+6*
, LAVDN+7, LAVPN+3~, LAVPN+4*, LAVPN+6*, LAVPN+7
IENS MCD+8~, MCD+9*, MCD+10, MCD+11
LVISIT LAVD+4~, LAVD+5*, LAVD+6, LAVD+18*, LAVD+19
LVSDT LAVD+4~, LAVD+5*, LAVD+6*, LAVD+7*, LAVD+8*, LAVD+9
MCDN MCD+1~, MCD+4*, MCD+13
MN MCD+1~, MCD+6*, MCD+7*, MCD+9
>> NCDT NSC+7*, NSC+8
NSC NSC+1~, NSC+4*, NSC+9*, NSC+10
OTHER OTRIB+1~, OTRIB+2*, OTRIB+8*, OTRIB+9*, OTRIB+10
OTRIB OTRIB+1~, OTRIB+7*, OTRIB+8
PAR NSC+1~
PCC NSC+1~, NSC+4*, NSC+9*, NSC+10
PEC PTR+8~, PTR+24*, PTR+25
POVN LAVDN+3~, LAVDN+7*, LAVDN+8, LAVDN+9
PRV LAVP+3~, LAVP+6*, LAVP+7, LAVP+8
PRVN LAVPN+3~, LAVPN+7*, LAVPN+8, LAVPN+9
PXCATEMP PRIMVPRV+2~, PRIMVPRV+3*, PRIMVPRV+4, PRIMVPOV+2~, PRIMVPOV+3*, PRIMVPOV+4
PXUPIECE PRIMSEC~, PRIMSEC+10
PXUTAUPN PRIMSEC~, PRIMSEC+10
PXUTNODE PRIMSEC~
PXUTPRIM PRIMSEC+8~, PRIMSEC+9*, PRIMSEC+10*, PRIMSEC+11
PXUTVST PRIMVPRV~, PRIMVPRV+3, PRIMVPOV~, PRIMVPOV+3, PRIMSEC~
QFL LAVD+4~, LAVD+5*, LAVD+8, LAVD+9, LAVD+16, LAVD+17*, LAVD+18*
RESULT MCD+1~, MCD+2*, MCD+13*, MCD+14
STAT NSC+1~, NSC+6*, NSC+9
STATE MCD+1~, MCD+5*, MCD+13
STRNG SCD~, SCD+3
TEXT LAVDN+3~, LAVDN+4*, LAVDN+8, LAVDN+9*, LAVDN+10, LAVPN+3~, LAVPN+4*, LAVPN+8, LAVPN+9*, LAVPN+10
TMFRAME NSC~, NSC+2, NSC+3
TN OTRIB+1~, OTRIB+3*, OTRIB+4*, OTRIB+6, OTRIB+7
TYP NSC~, NSC+10
U STC+7, STCC+7, PTR+15, PTR+25, OTRIB+5, OTRIB+7, LAVD+12, LAVD+13, LAVD+15
VAL STC~, STC+10, STCC~, STCC+10, STCC+11, SCD~, SCD+4
VALUE STC+6~, STC+10*, STC+12, STCC+6~, STCC+10*, STCC+11*, STCC+13, SCD+1~, SCD+4*, SCD+6
VEDATA STC+6~, STC+7*, STC+9, STCC+6~, STCC+7*, STCC+9, PTR+8~, PTR+14*, PTR+22
VEHDTA PTR+8~, PTR+14*, PTR+15, PTR+22*, PTR+25
VEPAR PTR+8~, PTR+17!
VEPAR("POINTER" PTR+14
VEQFL STC+6~, STC+7*, STC+9, STC+10*, STCC+6~, STCC+7*, STCC+9, STCC+10*, STCC+11*, SCD+1~
, SCD+2*, SCD+3, SCD+4*
VEVL STC+6~, STC+9*, STC+10, STCC+6~, STCC+9*, STCC+10, STCC+11, SCD+1~, SCD+3*, SCD+4
VFILN PTR+8~, PTR+15*, PTR+16*, PTR+19
VIEN LAVD+4~, LAVD+5*, LAVD+9*, LAVD+10, LAVD+11, LAVD+12, LAVD+13, LAVD+15, LAVD+18, LAVDT+4~
, LAVDT+5*, LAVDT+6, LAVDT+7, LAVC+3~, LAVC+4*, LAVC+5, LAVC+6, LAVC+8, LALC+3~, LALC+4*
, LALC+5, LALC+6, LAVP+3~, LAVP+4*, LAVP+5, LAVP+6, LAVDN+3~, LAVDN+4*, LAVDN+5, LAVDN+6
, LAVPN+3~, LAVPN+4*, LAVPN+5, LAVPN+6
VPEC PTR~, PTR+9*, PTR+19
VVAL PTR~, PTR+11, PTR+22, PTR+25
VVALUE PTR+8~, PTR+25*, PTR+26
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All