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

Package Total Call Graph
Virtual Patient Record 5 MDPS1^VPRDJ03  SORT^VPRDJ09  IDT^VPRDVSIT  $$MI1^VPRSDAB  $$VCPT^VPRSDAV  
VA FileMan 3 ^%DT  $$FIND1^DIC  $$GET1^DIQ  
Registration 2 $$GETACT^DGPFAPI  ADM^VADPT2  
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  
Order Entry Results Reporting 1 EN^ORQ1  
Problem List 1 LIST^GMPLUTL2  
Scheduling 1 $$SDAPI^SDAMA301  
Surgery 1 LIST^SROESTV  
Womens Health 1 BASELINE^WVRPCVPR  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 3

Package Total Caller Graph
Virtual Patient Record 3 VPRSDA  VPRSDAC  VPRSDAT  

Entry Points

Name Comments DBIA/ICR reference
PROBLEMS ; -- Problem List
ALLERGYS ; -- Allergies/Adverse Reactions
VISITS ; -- Visits
ADM ; -- Admissions (via Visits)
DOCUMENT ; -- Text Integration Utilities
ADVDIR ; -- Adv Directive (alerts)
CW ; -- Crisis/Warning notes (alerts) [replaced by CWQ^VPRSDAF in *23]
LRAP ; -- LR Anatomic Pathology reports [expects LRDFN]
LRMI ; -- LR Microbiology reports [expects LRDFN]
ORDERS(DG) ; -- Orders by Display Group
RX(ORIFN) ; -- is order really a med? (non-PS order in display group)
BB(ORIFN) ; -- return 1 or 0, if order is for Blood Bank
NONORD ; -- Other orders: not Lab, Rad, or Med
ORPKG ; -- get list of pkgs to exclude
CONSULTS ; -- Consult/Request Tracking
CPROCS ; -- Clinical Procedures
SURGERYS ; -- Surgeries
EXAMS ; -- V Exams (Physical Exams)
HFACTORS ; -- V Health Factors (Health Concerns)
CPT ; -- V CPT (Procedures)
POV ; -- V POV (Diagnosis)
IMMS ; -- Immunizations
PXRM ; -- Search PXRM index
HFCVR ; -- V Health Factors, for COVID Vaccination Refusal
HFM ; -- V Health Factors, for Family History
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
APPTS ; -- Appointments
SCHADMS ; -- Scheduled Admissions
INS ; -- Insurance
PRF ; -- Patient Record Flags [replaced by PRFQ^VPRSDAF]
PTF ; -- PTF Diagnosis (DXLS via Admissions)
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
$$GETACT^DGPFAPI PRF+2
$$FIND1^DIC ORPKG+3
$$GET1^DIQ RX+2, PTF+6
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
EN^ORQ1 ORDERS+5, NONORD+4
LC^RMIMRP FIM+7
PRM^RMIMRP FIM+2
$$SDAPI^SDAMA301 APPTS+6
LIST^SROESTV SURGERYS+2
ENCOVER^TIUPP3 ADVDIR+2, CW+2
LIST^TIUVPR DOCUMENT+2
ADM^VADPT2 VISITS+8, ADM+6
MDPS1^VPRDJ03 CPROCS+2
SORT^VPRDJ09 PXRM+3
IDT^VPRDVSIT VISITS+2, ADM+2
$$MI1^VPRSDAB LRMI+5
$$VCPT^VPRSDAV PXRM+6
BASELINE^WVRPCVPR WVPL+2

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DGPT - [#45] GET1^DIQ
^DIC(9.4 - [#9.4] FIND1^DIC,  GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNVSIT - [#9000010] VISITS+6
^AUPNVSIT("AA" VISITS+4, VISITS+5
^AUPNVSIT("AAH" ADM+3, ADM+4
^AUTTHF - [#9999999.64] HFM+3, SOCHIST+1
^AUTTHF("B" HFCVR+2
^DGPM - [#405] PTF+5
^DGPM("ATID1" PTF+3, PTF+4
^DGS(41.1 - [#41.1] SCHADMS+2, SCHADMS+3
^LR - [#63] LRAP+5, LRAP+6
^OR(100 - [#100] ORDERS+8, ORDERS+9, RX+2, BB+2, NONORD+7, NONORD+8
^ORD(100.98 - [#100.98] ORDERS+2, BB+2, NONORD+2
^PXRMINDX(9000010.23 HFCVR+3, HFCVR+4, HFM+2, HFM+4, HFM+5, 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("ORR" ORDERS+6, ORDERS+15!, NONORD+5, NONORD+11!
^TMP("TIUPPCV" ADVDIR+5, CW+4
^TMP("VPRGMV" VITALS+9*
^TMP("VPRPX" PXRM+4, PXRM+5, PXRM+8!
^TMP("WVPREGST" WVPL+1!, WVPL+3
^TMP($J APPTS+7
^UTILITY($J VITALS+5, VITALS+6, VITALS+7, VITALS+9, VITALS+10!

Label References

Name Line Occurrences
$$BB ORDERS+13
$$DATE FIM+9
$$RX ORDERS+12
$$SOCHIST HFS+2
ORPKG NONORD+2
PXRM EXAMS+1, HFACTORS+1, CPT+1, POV+1, IMMS+1

Naked Globals

Name Field # of Occurrence
^( ADVDIR+5, CW+4, LRAP+4, LRMI+3, ORDERS+6, NONORD+5, CPROCS+3
^(4 ORDERS+9

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 PTF+1~, PTF+4*, PTF+5, FIM+1~, FIM+9*
BEG VISITS+1~, VISITS+2*, VISITS+3, ADM+1~, ADM+2*, ADM+3
CNT ADVDIR+1~, ADVDIR+13*, ADVDIR+16*, CW+1~, CW+3*, CW+4*
CTR LRAP+1~, LRMI+1~
DA HFCVR+1~, HFCVR+4*, HFM+1~, HFM+5*, HFS+1~, HFS+4*
DATE HFCVR+1~, HFCVR+3*, HFCVR+4, HFM+1~, HFM+4*, HFM+5, HFS+1~, HFS+3*, HFS+4
>> DFN PROBLEMS+3, VISITS+4, VISITS+5, ADM+3, ADM+4, DOCUMENT+2, ADVDIR+2, CW+2, LRAP+2, LRAP+3
LRAP+4, LRAP+8, LRMI+2, LRMI+3, LRMI+7, ORDERS+5, NONORD+4, CONSULTS+2, CPROCS+2, SURGERYS+2
HFCVR+3, HFCVR+4, HFM+2, HFM+4, HFM+5, HFS+2, HFS+3, HFS+4, WVPL+2, WVPL+3
APPTS+2, APPTS+7, APPTS+8, SCHADMS+2, INS+4, PRF+2, PRF+5, PTF+3, PTF+4, FIM+3*
FIM+6
DG ORDERS~, ORDERS+2*, ORDERS+4, ORDERS+12, ORDERS+13, BB+1~, BB+2*, BB+3
>> DLIST( PROBLEMS+6*, ALLERGYS+6*, VISITS+9*, ADM+7*, DOCUMENT+5*, ADVDIR+13*, ADVDIR+16*, CW+4*, LRAP+7*, LRMI+6*
, ORDERS+14*, NONORD+10*, CONSULTS+5*, CPROCS+6*, SURGERYS+8*, PXRM+7*, HFCVR+4*, HFM+5*, HFS+4*, VITALS+8*
APPTS+8*, SCHADMS+6*, INS+5*, PRF+5*, PTF+7*, FIM+10*
>> DLIST(1 WVPL+3*
>> DMAX PROBLEMS+4, ALLERGYS+6, VISITS+4, ADM+3, DOCUMENT+4, LRAP+4, LRMI+3, ORDERS+6, NONORD+5, CONSULTS+3
CPROCS+2, CPROCS+3, SURGERYS+2, PXRM+4, PXRM+5, HFCVR+3, HFCVR+4, HFM+2, HFM+4, HFM+5
HFS+2, HFS+3, HFS+4, VITALS+3, VITALS+5, APPTS+7, SCHADMS+2, PTF+3, PTF+4, FIM+8
>> DSTOP PROBLEMS+5, VISITS+2, ADM+2, DOCUMENT+2, LRAP+2, LRMI+2, ORDERS+5, NONORD+4, CONSULTS+2, CPROCS+2
SURGERYS+2, PXRM+2, HFCVR+3, HFM+4, HFS+3, VITALS+3, APPTS+2, SCHADMS+4, PTF+2, FIM+9
>> DSTRT PROBLEMS+5, VISITS+2, ADM+2, DOCUMENT+2, LRAP+2, LRMI+2, ORDERS+5, NONORD+4, CONSULTS+2, CPROCS+2
SURGERYS+2, PXRM+2, HFCVR+3, HFM+4, HFS+3, VITALS+3, APPTS+2, SCHADMS+4, PTF+2, FIM+9
DT INS+2
END VISITS+1~, VISITS+2*, VISITS+4, ADM+1~, ADM+2*, ADM+3, PTF+1~, PTF+2*, PTF+3
>> FILTER("status" PROBLEMS+2, INS+2
FNUM EXAMS+1~*, HFACTORS+1~*, CPT+1~*, POV+1~*, IMMS+1~*, PXRM+6
GMRA ALLERGYS+1~, ALLERGYS+2*
>> GMRAL ALLERGYS+5
>> 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*, CW+1~, CW+3*, CW+4*, CPROCS+1~, CPROCS+3*, CPROCS+5
SURGERYS+1~, SURGERYS+4*, SURGERYS+5, INS+1~, INS+5*, PRF+1~, PRF+3*, PRF+4, PRF+5
ID PROBLEMS+1~, ALLERGYS+1~, ALLERGYS+6*, VISITS+1~, VISITS+5*, VISITS+6, VISITS+9, ADM+1~, ADM+4*, ADM+7
CPROCS+1~, PXRM+1~, PXRM+5*, PXRM+6, PXRM+7, VITALS+1~, VITALS+7*, VITALS+8, VITALS+9
IDT VISITS+1~, VISITS+3*, VISITS+4*, VISITS+5, VISITS+7, ADM+1~, ADM+3*, ADM+4, ADM+5, LRAP+1~
LRAP+4*, LRAP+5, LRAP+6, LRAP+7, LRMI+1~, LRMI+3*, LRMI+5, LRMI+6, PTF+1~, PTF+2*
PTF+3*, PTF+4
IEN SOCHIST~, SOCHIST+1, PRF+1~, PRF+4*, PRF+5
ITEM HFCVR+1~, HFCVR+2*, HFCVR+3, HFCVR+4, HFM+1~, HFM+2*, HFM+3, HFM+4, HFM+5, HFS+1~
HFS+2*, HFS+3, HFS+4
>> LRDFN LRAP+5, LRAP+6, LRAP+7, LRMI+5, LRMI+6
NMSP ORPKG+1~, ORPKG+2*, ORPKG+3
NUM INS+1~, INS+4*, PRF+1~, PRF+2*
NXT ADVDIR+1~, ADVDIR+8*, ADVDIR+12*, ADVDIR+13*, ADVDIR+16, ADVDIR+17*
ORDER ORDERS+1~, ORDERS+6*, ORDERS+7, ORDERS+8, ORDERS+9*, ORDERS+12, ORDERS+13, ORDERS+14, NONORD+1~, NONORD+5*
NONORD+6, NONORD+7, NONORD+8, NONORD+10
ORDG ORDERS+1~, ORDERS+2*, ORDERS+5, NONORD+1~, NONORD+2*, NONORD+4
ORIFN RX~, RX+2, BB~, BB+2
ORIGVIEW ORDERS+1~, ORDERS+4*, NONORD+1~, NONORD+3*
ORKID ORDERS+1~, ORDERS+4*, ORDERS+5
ORLIST ORDERS+1~, ORDERS+6, NONORD+1~, NONORD+5
ORPKG NONORD+1~
ORPKG( NONORD+9, ORPKG+4*
PKG RX+1~, RX+2*, RX+3
PTF PTF+1~, PTF+5*, PTF+6, PTF+7
RMIMTIME FIM+1~
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
U PROBLEMS+5, VISITS+6, ADVDIR+5, ADVDIR+9, ADVDIR+10, ADVDIR+13, ADVDIR+16, ADVDIR+17, CW+4, LRAP+6
, ORDERS+7, ORDERS+10, ORDERS+11, RX+2, BB+2, NONORD+6, NONORD+7, NONORD+8, CPROCS+3, CPROCS+4
CPROCS+5, CPROCS+6, SURGERYS+6, SURGERYS+7, HFM+3, HFM+5, HFS+4, SOCHIST+1, VITALS+3, SCHADMS+4
SCHADMS+5, PTF+5, FIM+6, FIM+9
VADMVT VISITS+1~, VISITS+6, VISITS+8!, ADM+1~, ADM+6, ADM+7
VAERR VISITS+1~, ADM+1~
VAINDT VISITS+1~, VISITS+7*, ADM+1~, ADM+5*
VPRA SCHADMS+1~, SCHADMS+2*, SCHADMS+3, SCHADMS+6
VPRCNT FIM+1~, FIM+4*, FIM+8, FIM+10*
VPRDT APPTS+1~, APPTS+6*, APPTS+7*, APPTS+8, INS+1~, INS+2*, INS+3*, INS+4
>> VPRF( PRF+3, PRF+4
>> VPRF("IDX" PRF+5*
VPRI DOCUMENT+1~, DOCUMENT+3*, DOCUMENT+4*, DOCUMENT+5, ORDERS+1~, ORDERS+6*, NONORD+1~, NONORD+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*, VISITS+1~, VISITS+3*, VISITS+4
VISITS+9*, ADM+1~*, ADM+3, ADM+7*, DOCUMENT+1~, DOCUMENT+3*, DOCUMENT+4, DOCUMENT+5*, LRAP+1~*, LRAP+4
LRAP+7*, LRMI+1~*, LRMI+3, LRMI+6*, ORDERS+1~, ORDERS+5*, ORDERS+6, ORDERS+14*, NONORD+1~, NONORD+4*
NONORD+5, NONORD+10*, CONSULTS+1~, CONSULTS+2*, CONSULTS+3*, CONSULTS+4, CONSULTS+5, CPROCS+1~*, CPROCS+3, CPROCS+6*
SURGERYS+1~, SURGERYS+3*, SURGERYS+4, SURGERYS+5, SURGERYS+8, PXRM+1~, PXRM+2*, PXRM+4, PXRM+5, PXRM+7*
HFCVR+1~*, HFCVR+3, HFCVR+4*, HFM+1~*, HFM+2, HFM+4, HFM+5*, HFS+1~*, HFS+2, HFS+3
HFS+4*, VITALS+1~, VITALS+4*, VITALS+5, VITALS+8*, APPTS+1~, APPTS+6*, APPTS+7, APPTS+8*, SCHADMS+1~*
SCHADMS+2, SCHADMS+6*, PTF+1~, PTF+2*, PTF+3, PTF+4, PTF+7*, FIM+1~, FIM+6*, FIM+7
FIM+8*, FIM+9, FIM+10
VPRNUM APPTS+1~, APPTS+6*
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, APPTS+1~, APPTS+6
SCHADMS+3*, SCHADMS+4, SCHADMS+5, INS+1~, INS+4
VPRX("FLDS" APPTS+3*
VPRX("IBBAPI" INS+5, INS+6
VPRX("SORT" APPTS+3*
VPRX(1 APPTS+2*
VPRX(3 APPTS+5*
VPRX(4 APPTS+2*
VPRY DOCUMENT+1~, DOCUMENT+2, DOCUMENT+4, DOCUMENT+6, SURGERYS+1~, SURGERYS+2, SURGERYS+3, SURGERYS+4, SURGERYS+5, SURGERYS+8
SURGERYS+9, 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, CW+1~, CW+4*, RX+1~, RX+2*, BB+1~
, BB+2*, NONORD+1~, NONORD+8*, NONORD+9, ORPKG+1~, ORPKG+3*, ORPKG+4, SURGERYS+1~, SURGERYS+5*, SURGERYS+6
SURGERYS+7, HFCVR+1~, HFM+1~, HFM+3*, SOCHIST+1~*, SOCHIST+2, SCHADMS+4*, DATE~, DATE+2
X3 ORDERS+1~, ORDERS+9*, ORDERS+10, ORDERS+11
X4 ORDERS+1~, ORDERS+9*, ORDERS+10
Y ADVDIR+10~, ADVDIR+12, RX+1~*, RX+3*, RX+4, BB+1~*, BB+3*, BB+4, DATE+1~, DATE+2*
, DATE+3

Marked Items

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