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 |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: CRHD2

Package: Shift Handoff Tool

Routine: CRHD2


Information

CRHD2 ; CAIRO/CLC - GET DATA ITEMS FOR CHANGEOVER LIST ;08-Apr-2008 08:03;CLC

Source Information

Source file <CRHD2.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
Kernel 2 ($$DT,$$NOW)^XLFDT  $$UP^XLFSTR  
Shift Handoff Tool 2 ENT^CRHDDNR  ENT^CRHDDR  
Order Entry Results Reporting 1 COVER^ORWPS  
Toolkit 1 $$GET^XPAR  
VA FileMan 1 UPDATE^DIE  

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

Package Total Caller Graph
Shift Handoff Tool 5 CRHD  CRHD IS RECORD LOCKED  CRHD SAVE TEMP FLD  CRHDUT  PATIENT  

Entry Points

Name Comments DBIA/ICR reference
CODESTS(CRHDRTN,CRHDSTR) ;CODE STATUS -using orders, try to find and orderable item for DNR, if not found look for a text order
; by the name of DNRTITLE, title also set up as a p
NODETAM(CRHDY,CRHDDFN,CRHDCAT) ;GET ACTIVE MEDS WITHOUT THE DETAILS, FOR ACTIVE MEDS WITH DETAILS USE CRHDAM
SORT ;
OUTPUT ;
TEMPDATA(CRHDRTN,CRHDFLDN,CRHDUSER,CRHDDFN,CRHDTXT) ;TEMPORARY DATA, DATA ONLY USE FOR A SHORT TIME FRAME
NEW
UPDATE(CRHDFLD,CRHDUSER,CRHDDFN,CRHDTXT) ;
STORETXT(CRHDIEN,CRHDMIEN,CRHDTARY) ;store text to file
SAVEOLD(CRHDIEN,CRHDMIEN) ;
CHK(CRHDFLDN,CRHDUSER,CRHDDFN) ;
XREF(CRHDIEN,CRHDMIEN) ;SET THE XREF FOR SPECIALTY AND TEAM
KILXREF(CRHDIEN,CRHDMIEN) ;KILL XREF FOR SPECIALTY AND TEAM
ONOFFPRV(CRHDPRIV,CRHDIEN,CRHDMIEN) ;ON/OFF PRIVATE NOTE
LOCK(CRHDRTN,CRHDDFN,CRHDFLDM) ;

External References

Name Field # of Occurrence
ENT^CRHDDNR CODESTS+20
ENT^CRHDDR CODESTS+19
UPDATE^DIE UPDATE+6
COVER^ORWPS NODETAM+6
$$DT^XLFDT STORETXT+7
$$NOW^XLFDT TEMPDATA+16, TEMPDATA+17, NEW+1, NEW+5, NEW+6, UPDATE+5
$$UP^XLFSTR TEMPDATA+8, LOCK+3
$$GET^XPAR XREF+7, XREF+8, KILXREF+5, KILXREF+6

Used in RPC

RPC Name Call Tags
CRHD SAVE TEMP FLD TEMPDATA
CRHD IS RECORD LOCKED LOCK

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^CRHD( CHK+4, CHK+5
^CRHD(183.2 - [#183.2] UPDATE+8, UPDATE+10, STORETXT+6!, STORETXT+7*, STORETXT+12*, STORETXT+13*, STORETXT+17*, STORETXT+18*, SAVEOLD+1, SAVEOLD+2!
, SAVEOLD+3*, XREF+2, XREF+4, XREF+6, XREF+9*, XREF+10*, KILXREF+2, KILXREF+4, KILXREF+7!, KILXREF+8!
, LOCK+4, LOCK+5, LOCK+7, LOCK+8
^CRHDER( TEMPDATA+16*, TEMPDATA+17*, NEW+5*, NEW+6*

Label References

Name Line Occurrences
$$CHK TEMPDATA+9
KILXREF ONOFFPRV+2
NEW TEMPDATA+13
OUTPUT NODETAM+15
SORT NODETAM+13, NODETAM+14
STORETXT UPDATE+9
UPDATE TEMPDATA+14, NEW+3
XREF ONOFFPRV+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CRHDAUTH XREF+1~, XREF+2*, XREF+3, XREF+7, XREF+8, KILXREF+1~, KILXREF+2*, KILXREF+3, KILXREF+5, KILXREF+6
CRHDCAT NODETAM~, NODETAM+13, NODETAM+14, OUTPUT+6, OUTPUT+8
CRHDCT CODESTS+8~, CODESTS+23*, CODESTS+31*, CODESTS+32, CODESTS+33, CODESTS+35*, CODESTS+38*, CODESTS+40, CODESTS+41, CODESTS+42*
, CODESTS+45, NODETAM+3~, NODETAM+5*, OUTPUT+5*, OUTPUT+6, OUTPUT+7, OUTPUT+8, STORETXT+1~, STORETXT+9*, STORETXT+16*
, STORETXT+17, STORETXT+18
CRHDDFN CODESTS+8~, CODESTS+11*, CODESTS+19, CODESTS+20, NODETAM~, NODETAM+6, TEMPDATA~, TEMPDATA+9, TEMPDATA+14, TEMPDATA+16
NEW+3, NEW+5, UPDATE~, UPDATE+3, CHK~, CHK+5, LOCK~, LOCK+5
CRHDDIV CODESTS+8~, CODESTS+13*, CODESTS+19, CODESTS+20
CRHDDNRT CODESTS+8~, CODESTS+12*, CODESTS+19, CODESTS+20
CRHDDTFG CODESTS+9~, CODESTS+16*, CODESTS+17*
CRHDERR TEMPDATA+6~, TEMPDATA+15, TEMPDATA+18!, NEW+4, NEW+7!, UPDATE+9
CRHDFDA TEMPDATA+6~, TEMPDATA+18!, NEW+7!
CRHDFDA( NEW*, NEW+1*, NEW+2*, UPDATE+2*, UPDATE+3*, UPDATE+4*, UPDATE+5*
CRHDFG STORETXT+1~, STORETXT+9*, STORETXT+10, STORETXT+14*
CRHDFLD UPDATE~, UPDATE+2, CHK+4*, CHK+5, CHK+6, CHK+7
CRHDFLDM LOCK~, LOCK+3*, LOCK+4
CRHDFLDN TEMPDATA~, TEMPDATA+8*, TEMPDATA+9, TEMPDATA+14, TEMPDATA+16, NEW+3, NEW+5, CHK~, CHK+4
CRHDFLG CODESTS+9~, CHK+1~, CHK+2*, CHK+6*, CHK+7*, CHK+8*, CHK+9
CRHDFN TEMPDATA+6~, CHK+3*, CHK+4, CHK+5
>> CRHDI CODESTS+24*, CODESTS+29
CRHDIEN UPDATE+7*, UPDATE+8, UPDATE+9, UPDATE+10, STORETXT~, STORETXT+2, STORETXT+6, STORETXT+7, STORETXT+12, STORETXT+13
, STORETXT+17, STORETXT+18, SAVEOLD~, SAVEOLD+1, SAVEOLD+2, SAVEOLD+3, XREF~, XREF+2, XREF+4, XREF+6
, XREF+9, XREF+10, KILXREF~, KILXREF+2, KILXREF+4, KILXREF+7, KILXREF+8, ONOFFPRV~, ONOFFPRV+1, ONOFFPRV+2
, LOCK+1~, LOCK+4*, LOCK+5, LOCK+7, LOCK+8
CRHDLEN CODESTS+8~, CODESTS+14*, CODESTS+15*, CODESTS+37, CODESTS+38, CODESTS+41
CRHDLINE STORETXT+1~, STORETXT+8*, STORETXT+13
CRHDMDNR CODESTS+8~, CODESTS+18*, CODESTS+19, CODESTS+20, CODESTS+26, CODESTS+29
CRHDMIEN UPDATE+7*, UPDATE+8, UPDATE+9, UPDATE+10, STORETXT~, STORETXT+2, STORETXT+6, STORETXT+7, STORETXT+12, STORETXT+13
, STORETXT+17, STORETXT+18, SAVEOLD~, SAVEOLD+1, SAVEOLD+2, SAVEOLD+3, XREF~, XREF+2, XREF+4, XREF+6
, XREF+9, XREF+10, KILXREF~, KILXREF+2, KILXREF+4, KILXREF+7, KILXREF+8, ONOFFPRV~, ONOFFPRV+1, ONOFFPRV+2
, LOCK+1~, LOCK+5*, LOCK+6, LOCK+7, LOCK+8
CRHDN NODETAM+4~, NODETAM+8*, NODETAM+9*, NODETAM+10, SORT+1, SORT+2, OUTPUT+1*, OUTPUT+2*, OUTPUT+3, OUTPUT+4
OUTPUT+6, OUTPUT+7
CRHDN2 NODETAM+3~, OUTPUT+3*, OUTPUT+4, OUTPUT+6, OUTPUT+7
CRHDN3 NODETAM+3~, OUTPUT+4*
CRHDO CODESTS+9~, CODESTS+19
CRHDO( CODESTS+21
CRHDOCT CODESTS+9~, CODESTS+41*
CRHDOUT TEMPDATA+6~, TEMPDATA+18!, NEW+7!
CRHDOUT(1 UPDATE+7
CRHDOUT(2 UPDATE+7
CRHDP CHK+1~
CRHDP1 NODETAM+3~, NODETAM+10*, NODETAM+11, NODETAM+12
CRHDP2 NODETAM+3~
CRHDPAT XREF+1~, XREF+4*, XREF+9, XREF+10, KILXREF+1~, KILXREF+4*, KILXREF+7, KILXREF+8
CRHDPP1 NODETAM+3~, NODETAM+11*, SORT+2
CRHDPP2 NODETAM+3~, NODETAM+12*, NODETAM+13, NODETAM+14
CRHDPRIV ONOFFPRV~, ONOFFPRV+1, ONOFFPRV+2
CRHDPZZZ TEMPDATA+6~, TEMPDATA+11*, TEMPDATA+13
CRHDQ CODESTS+9~, CODESTS+21*, CODESTS+22*, CODESTS+24*, CODESTS+27
CRHDQ1 CODESTS+9~, CODESTS+24*, CODESTS+27
>> CRHDQ2 CODESTS+28*, CODESTS+29, CODESTS+30, CODESTS+32, CODESTS+33
>> CRHDQFLG CODESTS+25*, CODESTS+28*, CODESTS+29*, CODESTS+30*
CRHDQQFG CODESTS+8~, CODESTS+23*, CODESTS+24, CODESTS+26*, CODESTS+29*
CRHDQX CODESTS+9~, CODESTS+27*, CODESTS+28, CODESTS+29, CODESTS+30, CODESTS+32, CODESTS+33
CRHDQY CODESTS+9~, CODESTS+27*, CODESTS+28, CODESTS+29, CODESTS+30
CRHDRTN CODESTS~, CODESTS+10!, CODESTS+34, CODESTS+43!, CODESTS+44*, NODETAM+3~, NODETAM+6, NODETAM+7, TEMPDATA~, TEMPDATA+7!
, LOCK~, LOCK+2*, LOCK+7*
CRHDRTN( CODESTS+32*, CODESTS+33*, CODESTS+36, CODESTS+37, CODESTS+38*, CODESTS+40, CODESTS+42, NODETAM+9, NODETAM+10, SORT+1
SORT+2
CRHDRTN(1 CODESTS+45*, CODESTS+46*, TEMPDATA+19*, TEMPDATA+20*
CRHDRTN(2 CODESTS+46*
CRHDSORT NODETAM+3~
CRHDSORT( SORT+2*, OUTPUT+2, OUTPUT+3, OUTPUT+4
CRHDSR CODESTS+9~, CODESTS+41*
CRHDSTR CODESTS~, CODESTS+11, CODESTS+12, CODESTS+13, CODESTS+14, CODESTS+16, CODESTS+18
CRHDT CODESTS+9~, CODESTS+20
CRHDT( CODESTS+22
CRHDTARY STORETXT~
CRHDTM XREF+1~, XREF+7*, XREF+9, KILXREF+1~, KILXREF+5*, KILXREF+7
CRHDTMP CODESTS+9~
CRHDTMP( CODESTS+21*, CODESTS+22*, CODESTS+24, CODESTS+27
CRHDTRG STORETXT+1~, STORETXT+3*, STORETXT+4, STORETXT+8, STORETXT+10, STORETXT+11, STORETXT+12, STORETXT+15, STORETXT+17
CRHDTSP XREF+1~, XREF+8*, XREF+10, KILXREF+1~, KILXREF+6*, KILXREF+8
CRHDTXT TEMPDATA~, TEMPDATA+14, TEMPDATA+17, NEW+3, NEW+6, UPDATE~, UPDATE+9
CRHDUPY TEMPDATA+7!, TEMPDATA+9*, TEMPDATA+10
CRHDUPZ TEMPDATA+6~, TEMPDATA+10*, TEMPDATA+11, TEMPDATA+13*, NEWNEW+1, NEW+2, UPDATE+3, UPDATE+4, UPDATE+5
CRHDUPZZ TEMPDATA+6~, TEMPDATA+11*, TEMPDATA+12*, TEMPDATA+13*, NEWNEW+1, NEW+2, UPDATE+3, UPDATE+4, UPDATE+5
CRHDUSER TEMPDATA~, TEMPDATA+9, TEMPDATA+14, TEMPDATA+16, NEWNEW+3, NEW+5, UPDATE~, UPDATE+4, CHK~
CRHDX CODESTS+8~, CODESTS+35*, CODESTS+36*, CODESTS+37, CODESTS+38, CODESTS+40, CODESTS+42, STORETXT+1~, STORETXT+8*, STORETXT+9*
, STORETXT+10*, STORETXT+11, STORETXT+15, STORETXT+17, CHK+1~
CRHDY CODESTS+8~, CODESTS+44, NODETAM~
CRHDY( CODESTS+38*, CODESTS+40*, CODESTS+41*, CODESTS+42*, OUTPUT+6*, OUTPUT+7*
CRHDY(0 OUTPUT+8*
U CODESTS+12, CODESTS+13, CODESTS+14, CODESTS+16, CODESTS+18, TEMPDATA+16, NEW+5
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Local Variables  | All