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 |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: VPRSDAQ

Package: Virtual Patient Record

Routine: VPRSDAQ


Information

VPRSDAQ ;SLC/MKB -- SDA queries ;11/8/18 14:11

Source Information

Source file <VPRSDAQ.m>

Call Graph

Call Graph

Call Graph Total: 15

Package Total Call Graph
Virtual Patient Record 4 MDPS1^VPRDJ03  SORT^VPRDJ09  $$MI1^VPRSDAB  $$VCPT^VPRSDAVF  
Text Integration Utility 2 ENCOVER^TIUPP3  LIST^TIUVPR  
Adverse Reaction Tracking 1 (EN1,EN2)^GMRADPT  
Consult Request Tracking 1 OER^GMRCSLM1  
Functional Independence 1 (LC,PRM)^RMIMRP  
General Medical Record - Vitals 1 EN1^GMRVUT0  
Integrated Billing 1 $$INSUR^IBBAPI  
Lab Service 1 RR^LR7OR1  
Problem List 1 LIST^GMPLUTL2  
VA FileMan 1 ^%DT  
Womens Health 1 BASELINE^WVRPCVPR  

Entry Points

Name Comments DBIA/ICR reference
PROBLEMS ; -- Problem List
ALLERGYS ; -- Allergies/Adverse Reactions
ASSESS ; -- get Assessment #120.86 for patient if none or NKA
DOCUMENT ; -- Text Integration Utilities
ADVDIR ; -- Adv Directive (alerts)
LRAP ; -- LR Anatomic Pathology reports [expects LRDFN]
LRMI ; -- LR Microbiology reports [expects LRDFN]
CONSULTS ; -- Consult/Request Tracking
CPROCS ; -- Clinical Procedures
IMMS ; -- V Immunizations
PXRM ; -- Search PXRM index
ICR ; -- V Imm Contraindications/Refusals
HFCVR ; -- V Health Factors, for COVID Vaccination Refusal
CVR ;loop for ITEM
HFS ; -- V Health Factors, for Social History
SOCHIST(IEN) ; -- find social history factors
WVPL ; -- Women's Health Pregnancy Log, for Social History
VITALS ; -- GMR Vital Measurements
INS ; -- Insurance
FIM ; -- Functional Independence Measurements
DATE(X) ; -- Return internal form of date X
NOQ ; -- tag for Entities that should not execute a query

External References

Name Field # of Occurrence
^%DT ADVDIR+12, DATE+2
LIST^GMPLUTL2 PROBLEMS+3
EN1^GMRADPT ALLERGYS+4
EN2^GMRADPT ALLERGYS+3
OER^GMRCSLM1 CONSULTS+2
EN1^GMRVUT0 VITALS+4
$$INSUR^IBBAPI INS+4
RR^LR7OR1 LRAP+2, LRMI+2
LC^RMIMRP FIM+7
PRM^RMIMRP FIM+2
ENCOVER^TIUPP3 ADVDIR+2
LIST^TIUVPR DOCUMENT+2
MDPS1^VPRDJ03 CPROCS+2
SORT^VPRDJ09 PXRM+3
$$MI1^VPRSDAB LRMI+5
$$VCPT^VPRSDAVF PXRM+6
BASELINE^WVRPCVPR WVPL+2

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUTTHF - [#9999999.64] SOCHIST+1
^AUTTHF("B" HFCVR+2, HFCVR+4
^GMR(120.86 - [#120.86] ASSESS+1
^LR - [#63] LRAP+5, LRAP+6
^PXRMINDX(9000010.23 CVR+1, CVR+2, HFS+2, HFS+3, HFS+4
^TMP("GMRCR" CONSULTS+3, CONSULTS+4, CONSULTS+6!
^TMP("LRRR" LRAP+3, LRAP+4, LRAP+8!, LRMI+3, LRMI+7!
^TMP("MDHSP" CPROCS+3, CPROCS+5*
^TMP("TIUPPCV" ADVDIR+5
^TMP("VPRGMV" VITALS+9*
^TMP("VPRPX" PXRM+4, PXRM+5, PXRM+8!
^TMP("WVPREGST" WVPL+1!, WVPL+3
^UTILITY($J VITALS+5, VITALS+6, VITALS+7, VITALS+9, VITALS+10!

Label References

Name Line Occurrences
$$DATE FIM+9
$$SOCHIST HFS+2
CVR HFCVR+2, HFCVR+4
PXRM IMMS+1

Naked Globals

Name Field # of Occurrence
^( ADVDIR+5, LRAP+4, LRMI+3, CPROCS+3, HFCVR+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT ADVDIR+10~, ADVDIR+12*, DATE+1~, DATE+2*
AD ADVDIR+1~, ADVDIR+5*, ADVDIR+8*, ADVDIR+9, ADVDIR+10, ADVDIR+11, ADVDIR+13, ADVDIR+15*, ADVDIR+16, ADVDIR+17
ADD ADVDIR+10~*
ADM FIM+1~, FIM+9*
CNT ADVDIR+1~, ADVDIR+13*, ADVDIR+16*
CTR LRAP+1~, LRMI+1~
DA ICR+1~, ICR+6*, ICR+9*, HFCVR+1~, CVR+2*, HFS+1~, HFS+4*
DATE ICR+1~, ICR+5*, ICR+6, HFCVR+1~, CVR+1*, CVR+2, HFS+1~, HFS+3*, HFS+4
>> DFN PROBLEMS+3, ASSESS+1, ASSESS+2, DOCUMENT+2, ADVDIR+2, LRAP+2, LRAP+3, LRAP+4, LRAP+8, LRMI+2
LRMI+3, LRMI+7, CONSULTS+2, CPROCS+2, ICR+3, CVR+1, CVR+2, HFS+2, HFS+3, HFS+4
WVPL+2, WVPL+3, INS+4, FIM+3*, FIM+6
>> DLIST( PROBLEMS+6*, ALLERGYS+6*, DOCUMENT+5*, ADVDIR+13*, ADVDIR+16*, LRAP+7*, LRMI+6*, CONSULTS+5*, CPROCS+6*, PXRM+7*
ICR+9*, CVR+2*, HFS+4*, VITALS+8*, INS+5*, FIM+10*
>> DLIST(1 ASSESS+2*, WVPL+3*
>> DMAX PROBLEMS+4, ALLERGYS+6, DOCUMENT+4, LRAP+4, LRMI+3, CONSULTS+3, CPROCS+2, CPROCS+3, PXRM+4, PXRM+5
ICR+8, CVR+1, CVR+2, HFS+2, HFS+3, HFS+4, VITALS+3, VITALS+5, FIM+8
>> DSTOP PROBLEMS+5, DOCUMENT+2, LRAP+2, LRMI+2, CONSULTS+2, CPROCS+2, PXRM+2, ICR+5, CVR+1, HFS+3
VITALS+3, FIM+9
>> DSTRT PROBLEMS+5, DOCUMENT+2, LRAP+2, LRMI+2, CONSULTS+2, CPROCS+2, PXRM+2, ICR+5, CVR+1, HFS+3
VITALS+3, FIM+9
DT INS+2
>> FILTER("status" PROBLEMS+2, INS+2
FNUM IMMS+1~*, PXRM+6
GMRA ALLERGYS+1~, ALLERGYS+2*
>> GMRAL( ALLERGYS+6
GMRCDA CONSULTS+1~
GMRCGRP CONSULTS+1~
GMRCSEX CONSULTS+1~
GMRVSTR VITALS+1~, VITALS+2*
GMRVSTR(0 VITALS+3*
I ADVDIR+1~, ADVDIR+5*, ADVDIR+8*, ADVDIR+15*, CPROCS+1~, CPROCS+3*, CPROCS+5, INS+1~, INS+5*
ID PROBLEMS+1~, ALLERGYS+1~, ALLERGYS+6*, CPROCS+1~, PXRM+1~, PXRM+5*, PXRM+6, PXRM+7, VITALS+1~, VITALS+7*
VITALS+8, VITALS+9
IDT LRAP+1~, LRAP+4*, LRAP+5, LRAP+6, LRAP+7, LRMI+1~, LRMI+3*, LRMI+5, LRMI+6, ICR+1~
ICR+6*, ICR+8*, ICR+9
IEN SOCHIST~, SOCHIST+1
INDX ICR+1~, ICR+3*, ICR+4*, ICR+5, ICR+6
ITEM HFCVR+1~, HFCVR+2*, HFCVR+4*, CVR+1, CVR+2, HFS+1~, HFS+2*, HFS+3, HFS+4
>> LRDFN LRAP+5, LRAP+6, LRAP+7, LRMI+5, LRMI+6
NAME HFCVR+1~, HFCVR+3*, HFCVR+4*
NUM INS+1~, INS+4*
NXT ADVDIR+1~, ADVDIR+8*, ADVDIR+12*, ADVDIR+13*, ADVDIR+16, ADVDIR+17*
RMIMTIME FIM+1~
ROOT ICR+1~, ICR+3*, ICR+4
STS ADVDIR+1~, ADVDIR+8*, ADVDIR+10*, ADVDIR+13, ADVDIR+15*, ADVDIR+16
SUB LRAP+1~, LRAP+3*, LRAP+4, LRAP+5, LRAP+6, LRAP+7
TITLE CONSULTS+1~
TIUD ADVDIR+1~
TIUD( ADVDIR+5*, ADVDIR+8, ADVDIR+15
TIUD("" ADVDIR+8
TIUD(0 ADVDIR+6
TMP ICR+1~
TMP( ICR+6*, ICR+8, ICR+9
U PROBLEMS+5, ASSESS+1, ADVDIR+5, ADVDIR+9, ADVDIR+10, ADVDIR+13, ADVDIR+16, ADVDIR+17, LRAP+6, CPROCS+3
CPROCS+4, CPROCS+5, CPROCS+6, HFS+4, SOCHIST+1, VITALS+3, FIM+6, FIM+9
VPRCNT FIM+1~, FIM+4*, FIM+8, FIM+10*
VPRDT INS+1~, INS+2*, INS+3*, INS+4
VPRI DOCUMENT+1~, DOCUMENT+3*, DOCUMENT+4*, DOCUMENT+5
VPRIDT PXRM+1~, PXRM+4*, PXRM+5, VITALS+1~, VITALS+5*, VITALS+6, VITALS+7, VITALS+9
>> VPRINS INS+6*
VPRN PROBLEMS+1~, PROBLEMS+4*, PROBLEMS+5, PROBLEMS+6, ALLERGYS+1~, ALLERGYS+2*, ALLERGYS+6*, DOCUMENT+1~, DOCUMENT+3*, DOCUMENT+4
DOCUMENT+5*, LRAP+1~*, LRAP+4, LRAP+7*, LRMI+1~*, LRMI+3, LRMI+6*, CONSULTS+1~, CONSULTS+2*, CONSULTS+3*
CONSULTS+4, CONSULTS+5, CPROCS+1~*, CPROCS+3, CPROCS+6*, PXRM+1~, PXRM+2*, PXRM+4, PXRM+5, PXRM+7*
ICR+1~*, ICR+8, ICR+9*, HFCVR+1~*, CVR+1, CVR+2*, HFS+1~*, HFS+2, HFS+3, HFS+4*
VITALS+1~, VITALS+4*, VITALS+5, VITALS+8*, FIM+1~, FIM+6*, FIM+7, FIM+8*, FIM+9, FIM+10
VPRPROB PROBLEMS+1~, PROBLEMS+3
VPRPROB( PROBLEMS+4, PROBLEMS+5, PROBLEMS+6
VPRS FIM+1~, FIM+5*, FIM+6
>> VPRSITE FIM+2
>> VPRSITE( FIM+5, FIM+6
>> VPRSITE(1 FIM+2
VPRSTART PXRM+1~, PXRM+2*
VPRSTOP PXRM+1~, PXRM+2*
VPRSTS PROBLEMS+1~, PROBLEMS+2*, PROBLEMS+3, INS+1~, INS+2*, INS+3, INS+4
VPRTYP VITALS+1~, VITALS+6*, VITALS+7, VITALS+9
VPRX CONSULTS+1~, CONSULTS+4*, CONSULTS+5, CPROCS+1~, CPROCS+3*, CPROCS+4, CPROCS+5, CPROCS+6, INS+1~, INS+4
VPRX("IBBAPI" INS+5, INS+6
VPRY DOCUMENT+1~, DOCUMENT+2, DOCUMENT+4, DOCUMENT+6, FIM+1~, FIM+7
VPRY( FIM+8, FIM+9, FIM+10
VPRY(1 FIM+7
X PROBLEMS+1~, PROBLEMS+5*, ADVDIR+10~, ADVDIR+11*, ADVDIR+12, HFCVR+1~, SOCHIST+1~*, SOCHIST+2, DATE~, DATE+2
Y ADVDIR+10~, ADVDIR+12, DATE+1~, DATE+2*, DATE+3

Marked Items

Name Field # of Occurrence
$T(EN2^GMRADPT ALLERGYS+3
Info |  Source |  Call Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All