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

Package: Order Entry Results Reporting

Routine: ORAM


Information

ORAM ;POR/RSF - ANTICOAGULATION MANAGEMENT RPCS (1 of 4) ;11/26/14 12:08

Source Information

Source file <ORAM.m>

Call Graph

Call Graph

Call Graph Total: 15

Package Total Call Graph
Order Entry Results Reporting 5 GETCLINS^ORAMSET  $$NAME^ORAMX  GETQDLG^ORCD  (NOTIF,UNOTIF)^ORCSIGN  SAVE^ORWDX  
Kernel 3 ($$FMADD,$$FMDIFF,$$FMTE,$$FMTH,$$NOW)^XLFDT  $$ABS^XLFMTH  HASH^XUSHSHP  
VA FileMan 3 ^DIC  DT^DILF  $$GET1^DIQ  
Consult Request Tracking 1 GET^GMRCTIU  
Scheduling 1 $$SDAPI^SDAMA301  
Text Integration Utility 1 $$STATUS^TIULC  
Toolkit 1 $$GET^XPAR  

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

Package Total Caller Graph
Order Entry Results Reporting 10 ORAM APPTMTCH  ORAM CONCOMP  ORAM HCT  ORAM INR  ORAM ORDER  ORAM PATIENT  ORAM PROVIDER  ORAM SIGCHECK  
ORAMTTR  ORAMX1  

Entry Points

Name Comments DBIA/ICR reference
PATIENT(RESULT,ORAMDFN) ;Returns current Patient info as:
PATIENTQ
APPTMTCH(RESULT,ORAMDFN,ORAMCL) ; Find appt match on clinic change
GETAPPT(ORAMDFN,ORAMCL) ; Find most recent appointment to Clinic from t-1 to t+1 days
GETAPPX
NEAREST(APPTS) ; Find the nearest appointment to NOW
PROVIDER(RESULT) ;GETS DUZ/NAME OF PROVIDER WHO IS SIGNED IN
INRCHK(ORAMQO) ; Resolve Lab Test id from Quick Order
ISINR(ORTEST) ; Is the lab test an INR?
LABCHK(RESULT) ;
SIGCHECK(RESULT,ESCODE) ;
SIGQ
HCT(RESULT,ORAMDFN) ;GET HCT
INR(RESULT,ORAMDFN) ; Gets most recent INR
CONCOMP(RESULT,ORAMCNUM,ORAMNNUM,ORAMDUZ) ;
LAB(DFN) ;GET LAB NUMBER
LABQ
ORDER(ORESULT,DFN,ORNP,ORLOC,ORQO,ORCDT) ; Place Quick Order for INR or CBC
; RPC ORAM ORDER
; in: DFN - pt id file 2
; ORNP - ordering provider id file 200
; ORLOC - location id file 42
; ORQO - quick order id file 101.41
; ORCDT - collection date/time
IDATE(ORX) ; Convert External Date/time to FM Internal format
QOORD(ORQO) ; Given Quick Order, find the IEN of the Orderable Item
QOORDX

External References

Name Field # of Occurrence
^DIC PATIENT+7
DT^DILF HCT+22, IDATE+2
$$GET1^DIQ ORDER+15, ORDER+17
GET^GMRCTIU CONCOMP+7
GETCLINS^ORAMSET PATIENT+25
$$NAME^ORAMX PATIENT+14
GETQDLG^ORCD ORDER+13, QOORD+2
NOTIF^ORCSIGN ORDER+27
UNOTIF^ORCSIGN ORDER+26
SAVE^ORWDX ORDER+20
$$SDAPI^SDAMA301 GETAPPT+21
$$STATUS^TIULC CONCOMP+6
$$FMADD^XLFDT GETAPPT+7, GETAPPT+10, INR+9
$$FMDIFF^XLFDT NEAREST+4
$$FMTE^XLFDT PATIENT+17, HCT+25, INR+17
$$FMTH^XLFDT INR+17
$$NOW^XLFDT PATIENT+17, GETAPPT+3, NEAREST+1
$$ABS^XLFMTH NEAREST+4
$$GET^XPAR GETAPPT+5, GETAPPT+8, GETAPPT+11, GETAPPT+12, HCT+6, INR+7
HASH^XUSHSHP SIGCHECK+6

Used in RPC

RPC Name Call Tags
ORAM CONCOMP CONCOMP
ORAM HCT HCT
ORAM INR INR
ORAM PATIENT PATIENT
ORAM PROVIDER PROVIDER
ORAM SIGCHECK SIGCHECK
ORAM ORDER ORDER
ORAM APPTMTCH APPTMTCH

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^ORD(101.41 - [#101.41] GET1^DIQ
^DPT - [#2] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] PATIENT+10, PATIENT+11, PATIENT+15, PATIENT+16, LAB+3
^LAB(60 - [#60] INRCHK+6, INRCHK+7, INRCHK+8, ISINR+2, HCT+10
^LR - [#63] HCT+11, HCT+12, INR+10, INR+12
^ORAM(103 - [#103] PATIENT+18, HCT+20, HCT+21
^ORD(101.43 - [#101.43] INRCHK+5, LABCHK+3, LABCHK+4, LABCHK+5, LABCHK+6, LABCHK+7, LABCHK+8
^TMP($J GETAPPT+22, GETAPPT+24!
^VA(200 - [#200] PROVIDER+4, PROVIDER+5, SIGCHECK+7

Label References

Name Line Occurrences
$$GETAPPT PATIENT+22, PATIENT+28, APPTMTCH+1
$$IDATE ORDER+19
$$INRCHK INR+7
$$ISINR INRCHK+8
$$LAB HCT+5, INR+6
$$NEAREST GETAPPT+23
$$QOORD INRCHK+2
GETAPPX GETAPPT+4
LABQ LAB+2
PATIENTQ PATIENT+9
QOORDX QOORD+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
APPTS NEAREST~, NEAREST+2, NEAREST+4
C LABCHK+2~*, LABCHK+3*, LABCHK+4*, LABCHK+5*, LABCHK+6*
COUNT INR+2~, INR+9*, INR+18, INR+20*
CURADM PATIENT+3~, PATIENT+10*, PATIENT+32
DFN LAB~, LAB+2, LAB+3, ORDER~, ORDER+8, ORDER+20, ORDER+25
DIC PATIENT+5~, PATIENT+6*
DIC(0 PATIENT+6*
DT GETAPPT+7, GETAPPT+10, INR+9
DTIME PATIENT+32
DUZ PROVIDER+3*, PROVIDER+4, PROVIDER+5, PROVIDER+6, SIGCHECK+7
ESCODE SIGCHECK~, SIGCHECK+5, SIGCHECK+6
GENDER PATIENT+3~, PATIENT+15*, PATIENT+32
HCT HCT+3~, HCT+11, HCT+15*, HCT+18, HCT+23*, HCT+24*, HCT+26
HCTDATE HCT+3~, HCT+16*, HCT+23*, HCT+24*, HCT+25*, HCT+26
HCTDIFF HCT+3~
HDATE INR+2~
INIT PROVIDER+2~, PROVIDER+5*, PROVIDER+6
INR INR+2~, INR+11~, INR+14*, INR+15, INR+18
INRFD INR+2~, INR+11~, INR+16*, INR+17, INR+19
INRHD INR+2~, INR+11~, INR+17*, INR+18
INRRD INR+2~, INR+11~, INR+17*, INR+18
LDATE HCT+3~, HCT+11*, HCT+12, HCT+16, HCT+19, INR+2~, INR+9*, INR+10*, INR+12, INR+16
LOOPCNT HCT+3~, HCT+11*, HCT+17*
LRDFN HCT+3~, HCT+5*, HCT+11, HCT+12, INR+2~, INR+6*, INR+10, INR+12, LAB+1~, LAB+2*
, LAB+3*, LABQ
N INRCHK+1~
OHCT HCT+3~, HCT+21*, HCT+22, HCT+23, HCT+24
OHCTD HCT+3~, HCT+21*, HCT+22
ORAM60 INRCHK+1~, INRCHK+5*, INRCHK+6, INRCHK+7, INRCHK+8
ORAMAPPT GETAPPT+1~, GETAPPT+22*, GETAPPT+23
ORAMAPPT( GETAPPT+23
ORAMC GETAPPT+1~, GETAPPT+13*, GETAPPT+16, INRCHK+4~, INRCHK+7*, INRCHK+8
ORAMCBC LABCHK+2~, LABCHK+7*, LABCHK+8*
ORAMCL APPTMTCH~, APPTMTCH+1, GETAPPT~, GETAPPT+4, GETAPPT+5, GETAPPT+8, GETAPPT+11, GETAPPT+12
ORAMCNUM CONCOMP~, CONCOMP+7
ORAMCST CONCOMP+4~, CONCOMP+6*, CONCOMP+7
ORAMDFN PATIENT~, PATIENT+4, PATIENT+8*, PATIENT+9*, PATIENT+10, PATIENT+11, PATIENT+15, PATIENT+16, PATIENT+18, PATIENT+22
, PATIENT+28, PATIENT+32, APPTMTCH~, APPTMTCH+1, GETAPPT~, GETAPPT+18, GETAPPT+23, HCT~, HCT+4, HCT+5
, HCT+20, HCT+21, INR~, INR+5, INR+6
ORAMDIFF GETAPPT+1~, GETAPPT+6*, GETAPPT+7, GETAPPT+9*, GETAPPT+10
ORAMDNM HCT+3~, HCT+10*, HCT+12
ORAMDUZ CONCOMP~, CONCOMP+7
ORAMEDT GETAPPT+1~, GETAPPT+7*, GETAPPT+15
ORAMFLTR GETAPPT+1~, GETAPPT+21
ORAMFLTR("FLDS" GETAPPT+20*
ORAMFLTR("MAX" GETAPPT+19*
ORAMFLTR(1 GETAPPT+15*
ORAMFLTR(2 GETAPPT+16*
ORAMFLTR(3 GETAPPT+17*
ORAMFLTR(4 GETAPPT+18*
ORAMFM HCT+3~, HCT+22, HCT+23, HCT+24
ORAMHCT HCT+3~, HCT+6*, HCT+7, HCT+8*, HCT+10
ORAMHCTN HCT+3~, HCT+8*, HCT+10, HCT+23*, HCT+24*, HCT+26
ORAMINR LABCHK+2~, LABCHK+3*, LABCHK+4*, LABCHK+5*, LABCHK+6*
ORAMITST INR+2~, INR+7*, INR+8, INR+12
ORAML INRCHK+1~
ORAMLAD GETAPPT+1~, GETAPPT+8*, GETAPPT+9
ORAMLBD GETAPPT+1~, GETAPPT+5*, GETAPPT+6
ORAMLDT GETAPPT+1~, GETAPPT+10*, GETAPPT+15
ORAMLOCS PATIENT+3~, PATIENT+24~, PATIENT+25
ORAMLOCS( PATIENT+26, PATIENT+27
ORAMLOCS(0 PATIENT+25
ORAMNEW INRCHK+1~, INRCHK+8*
ORAMNNUM CONCOMP~, CONCOMP+6, CONCOMP+7
ORAMNOW PATIENT+3~, PATIENT+17*, PATIENT+29, PATIENT+32
ORAMOK GETAPPT+1~, GETAPPT+2*, GETAPPT+14~, GETAPPT+21*, GETAPPT+22
ORAMORD INRCHK+1~, INRCHK+2*, INRCHK+5
ORAMPLOC PATIENT+3~, PATIENT+18*, PATIENT+20, PATIENT+21*, PATIENT+22, PATIENT+27*, PATIENT+28, PATIENT+32
ORAMPP INRCHK+1~
ORAMQO INRCHK~, INRCHK+2, INRCHK+3, INR+3~, INR+7*
ORAMRD PATIENT+3~, PATIENT+17*, PATIENT+30*, PATIENT+31*, PATIENT+32
ORAMS HCT+3~
ORAMSSN PATIENT+3~, PATIENT+16*, PATIENT+32
ORAMT2 INRCHK+1~
ORAMT60 INRCHK+1~, INRCHK+6*, INRCHK+7
ORAMTCL GETAPPT+1~, GETAPPT+12*, GETAPPT+13
ORAMTST INRCHK+1~
ORAMTSTN INRCHK+1~
ORAMTT INRCHK+1~
ORAMVCL GETAPPT+1~, GETAPPT+11*, GETAPPT+13
ORAMVDT PATIENT+3~, PATIENT+22*, PATIENT+26, PATIENT+28*, PATIENT+29*, PATIENT+32
ORAMY GETAPPT+1~, GETAPPT+3*, GETAPPT+23*, GETAPPX
ORANS ORDER+7~
ORC NEAREST+1~*, NEAREST+2*, NEAREST+4
ORCDT ORDER~, ORDER+12, ORDER+19
ORDG ORDER+7~, ORDER+17*, ORDER+18, ORDER+20
ORDIALOG ORDER+7~, ORDER+14, ORDER+15, ORDER+20, QOORD+1~, QOORD+3
ORDIALOG( QOORD+5, QOORD+6
ORDIALOG(6 ORDER+19*
ORDIFFS NEAREST+1~
ORDIFFS( NEAREST+4*, NEAREST+6
ORDIFFS(0 NEAREST+5
ORDLG ORDER+7~, ORDER+15*, ORDER+16, ORDER+20
ORDT NEAREST+3~*, NEAREST+4*
ORESULT ORDER~, ORDER+8*, ORDER+9*, ORDER+10*, ORDER+11*, ORDER+12*, ORDER+14*, ORDER+16*, ORDER+18*, ORDER+20
, ORDER+23
ORESULT(1 ORDER+25
ORFMT PATIENT+13~, PATIENT+14*
ORI PATIENT+24~*, PATIENT+26*, PATIENT+27, NEAREST+1~, NEAREST+5*, NEAREST+6, QOORD+1~, QOORD+4*, QOORD+5*, QOORD+6
ORIFN ORDER+24~, ORDER+25*
ORLOC ORDER~, ORDER+10, ORDER+20
ORNM ISINR+1~, ISINR+2*, ISINR+3
ORNOW NEAREST+1~*, NEAREST+4
ORNP ORDER~, ORDER+9, ORDER+20
ORQO ORDER~, ORDER+11, ORDER+13, ORDER+17, ORDER+20, QOORD~, QOORD+2
ORTEST ISINR~, ISINR+2
ORVP ORDER+24~, ORDER+25*
ORX IDATE~, IDATE+2
ORY NEAREST+1~*, NEAREST+6*, NEAREST+7, INRCHK+1~, INRCHK+2*, INRCHK+6*, INRCHK+7, INRCHK+8*, INRCHK+9, ISINR+1~*
, ISINR+3*, ISINR+4, IDATE+1~*, IDATE+2*, IDATE+3, QOORD+1~*, QOORD+5, QOORD+6*, QOORDX
PN PROVIDER+2~, PROVIDER+4*, PROVIDER+6
PTNAME PATIENT+3~, PATIENT+11*, PATIENT+12, PATIENT+14*, PATIENT+32
RESULT PATIENT~, PATIENT+32*, APPTMTCH~, APPTMTCH+1*, PROVIDER~, PROVIDER+6*, LABCHK~, LABCHK+2*, LABCHK+3*, LABCHK+4*
, LABCHK+5*, LABCHK+6*, LABCHK+7*, LABCHK+8*, SIGCHECK~, SIGCHECK+8*, HCT~, HCT+4*, HCT+5*, HCT+7*
, HCT+10*, HCT+12*, HCT+13, HCT+14, HCT+15, HCT+19*, HCT+26*, INR~, INR+4*, INR+6*
, CONCOMP~, CONCOMP+5*, CONCOMP+8*
RESULT( INR+18*
SCORE INR+2~, INR+11~, INR+12*, INR+13, INR+14
SIXMON INR+2~, INR+9*, INR+10, INR+19
SUCCESS SIGCHECK+3~, SIGCHECK+4*, SIGCHECK+7*, SIGCHECK+8
TDIFF INR+2~
TST INRCHK+1~
U PATIENT+11, PATIENT+15, PATIENT+16, PATIENT+18, PATIENT+27, PATIENT+32, PROVIDER+4, PROVIDER+5, PROVIDER+6, INRCHK+5
, INRCHK+6, INRCHK+8, ISINR+2, SIGCHECK+7, HCT+8, HCT+10, HCT+14, HCT+15, HCT+20, HCT+21
, HCT+26, INR+14, INR+18
X PATIENT+5~, PATIENT+6*, SIGCHECK+3~, SIGCHECK+6*, SIGCHECK+7
XDT INR+11~, INR+17*
Y PATIENT+5~, PATIENT+8, LABCHK+2~*, LABCHK+7*, LABCHK+8*, ORDER+24~
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All