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 |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: ORWPT16

Package: Order Entry Results Reporting

Routine: ORWPT16


Information

ORWPT16 ; SLC/KCM - Patient Lookup Functions - 16bit ;7/20/96 15:43

Source Information

Source file <ORWPT16.m>

Call Graph

Call Graph Total: 5

Package Total Call Graph
VA Fileman 2 DD^%DT  FIND^DIC  
PCE Patient Care Encounter 1 ^VSIT  
Registration 1 ELIG^VADPT  
Text Integration Utility 1 GETAPPT^TIUVSIT  

Entry Points

Name Comments DBIA/ICR reference
GETVSIT(Y,DFN,LOC,ADATE) ; procedure
; Return a visit given a patient, location, and date/time
APPTLST(LST,DFN) ; procedure
; Return a list of appointments
LISTALL(Y,DIR,FROM) ; Return a bolus of patient names
ADMITLST(LST,DFN) ; procedure
; Return a list of admissions
IDINFO(ORY,DFN) ; Return identifying information for a patient
; PID^DOB^AGE^SEX^SC%^TYPE^WARD^RM-BED^NAME
LOOKUP(Y,FROM) ; Return a set of patient names
DEMOG(VAL,DFN) ; procedure
; Return common patient demographic info
; NAME^SEX^DOB^SSN^WARDID^WARDNAME^RMBED^ADMITTIME^DIED ;^SC%^ELIGTYPE
PSCNVT(VAL,DFN) ; procedure
; Call conversion routine for pharmacy (both inpatient and outpatient)

External References

Name Field # of Occurrence
DD^%DT ADMITLST+6
FIND^DIC LOOKUP+2
GETAPPT^TIUVSIT APPTLST+3
ELIG^VADPT IDINFO+4
^VSIT GETVSIT+5

Used in RPC

RPC Name Call Tags
ORWPT16 ID INFO IDINFO
ORWPT16 LIST ALL LISTALL
ORWPT16 LOOKUP LOOKUP
ORWPT16 DEMOG DEMOG
ORWPT16 GETVSIT GETVSIT
ORWPT16 APPTLST APPTLST
ORWPT16 ADMITLST ADMITLST
ORWPT16 PSCNVT PSCNVT

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DPT - [#2] FIND^DIC

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DG(405.1 - [#405.1] ADMITLST+7
^DGPM - [#405] DEMOG+5, ADMITLST+5
^DGPM("ATID1" ADMITLST+3, ADMITLST+4
^DIC(42 - [#42] ADMITLST+8
^DPT - [#2] IDINFO+3, DEMOG+3, DEMOG+5, DEMOG+6
^DPT("B" LISTALL+4, LISTALL+5, LISTALL+13, LISTALL+14
^SC - [#44] GETVSIT+7
^SC("B" DEMOG+4
^TMP("DILIST" LOOKUP+4, LOOKUP+5, LOOKUP+7, LOOKUP+8!
^TMP("TIUVN" APPTLST+6, APPTLST+7!
^TMP("TIUVNI" APPTLST+4, APPTLST+6, APPTLST+7!

Naked Globals

Name Field # of Occurrence
^( IDINFO+3, DEMOG+3, DEMOG+6
^(44 ADMITLST+8

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ADATE GETVSIT~, GETVSIT+3
CNT LISTALL+1~*, LISTALL+4, LISTALL+5, LISTALL+10, LISTALL+13, LISTALL+14
DFN IDINFO~, IDINFO+3, DEMOG~, DEMOG+3, DEMOG+5, DEMOG+6, PSCNVT~, GETVSIT~, GETVSIT+3, APPTLST~
, APPTLST+3, ADMITLST~, ADMITLST+3, ADMITLST+4
DIR LISTALL~, LISTALL+3, LISTALL+12
DT IDINFO+7
FROM LISTALL~, LISTALL+4*, LISTALL+5, LISTALL+9, LISTALL+13*, LISTALL+14, LISTALL+18, LOOKUP~, LOOKUP+2
HLOC ADMITLST+2~, ADMITLST+8*, ADMITLST+9
I LISTALL+1~*, LISTALL+4, LISTALL+5, LISTALL+9*, LISTALL+10*, LISTALL+13, LISTALL+14, LISTALL+18*, LOOKUP+1~, LOOKUP+3*
, LOOKUP+4*, LOOKUP+5, LOOKUP+7, APPTLST+2~, APPTLST+4*, APPTLST+6
IEN LISTALL+1~, LISTALL+5*, LISTALL+9, LISTALL+14*, LISTALL+18
ILST APPTLST+2~*, APPTLST+5*, APPTLST+6, ADMITLST+2~*, ADMITLST+9*
LOC GETVSIT~, GETVSIT+3
LST APPTLST~, ADMITLST~
LST( APPTLST+6*, ADMITLST+9*
MOV ADMITLST+2~, ADMITLST+4*, ADMITLST+5
MTIM ADMITLST+2~, ADMITLST+6*, ADMITLST+9
OR0 IDINFO+2~, IDINFO+3*, IDINFO+5, IDINFO+7, IDINFO+9, IDINFO+10
OR1 IDINFO+2~, IDINFO+3*, IDINFO+6
OR101 IDINFO+2~, IDINFO+3*, IDINFO+6
OR36 IDINFO+2~, IDINFO+3*, IDINFO+5
ORY IDINFO~, IDINFO+5*, IDINFO+6*, IDINFO+7*, IDINFO+8, IDINFO+9*, IDINFO+10*
TIM ADMITLST+2~, ADMITLST+3*, ADMITLST+4
U IDINFO+5, IDINFO+6, IDINFO+7, IDINFO+8, IDINFO+9, IDINFO+10, DEMOG+3, DEMOG+4, DEMOG+5, DEMOG+6
, GETVSIT+7, APPTLST+6, ADMITLST+6, ADMITLST+7, ADMITLST+8, ADMITLST+9
VAEL IDINFO+2~
VAEL(3 IDINFO+6
VAEL(6 IDINFO+6
VAERR IDINFO+2~
VAL DEMOG~, DEMOG+3*, DEMOG+4*, DEMOG+5*, DEMOG+6*, PSCNVT~, PSCNVT+2*
VSIT GETVSIT+2~, GETVSIT+3*
VSIT("IEN" GETVSIT+6
VSIT("LOC" GETVSIT+3*, GETVSIT+7
VSIT("PAT" GETVSIT+3*
VSIT("PRI" GETVSIT+4*
VSIT("SVC" GETVSIT+4*
VSIT("VDT" GETVSIT+3*
VSIT(0 GETVSIT+4*
VSITPKG GETVSIT+2~, GETVSIT+4*
X IDINFO+9*, DEMOG+3*, DEMOG+4*, DEMOG+5*, LOOKUP+1~, LOOKUP+5*, LOOKUP+6*, LOOKUP+7
X0 ADMITLST+2~, ADMITLST+5*, ADMITLST+6, ADMITLST+7, ADMITLST+8
XLOC ADMITLST+2~, ADMITLST+8*, ADMITLST+9
XTIM ADMITLST+2~, ADMITLST+6*, ADMITLST+9
XTYP ADMITLST+2~, ADMITLST+7*, ADMITLST+9
Y LISTALL~, LOOKUP~, LOOKUP+3*, GETVSIT~, GETVSIT+6*, GETVSIT+7*, ADMITLST+2~, ADMITLST+6*
Y( LISTALL+9*, LISTALL+10*, LISTALL+18*, LOOKUP+7*
Info |  Source |  Call Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Naked Globals |  Local Variables |  All