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 |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: ORRCDPT1

Package: Care Management

Routine: ORRCDPT1


Information

ORRCDPT1 ;SLC/MKB - Patient List for Nursing Dashboard ; 19 Sept 2003 10:10 AM

Source Information

Source file <ORRCDPT1.m>

Call Graph

Call Graph Total: 12

Package Total Call Graph
Care Management 5 IDS^ORRCACK  IDS^ORRCEVT  IDS^ORRCOR  IDS^ORRCTSK  IDS^ORRCVIT  
Kernel 2 $$FMTHL7^XLFDT  $$UP^XLFSTR  
Order Entry Results Reporting 2 TEAMPTS^ORQPTQ1  DEFLIST^ORQPTQ11  
Registration 1 DEM^VADPT  
Toolkit 1 $$GET^XPAR  
VA Fileman 1 ^%DT  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Care Management 1 ORRCDPT  

Entry Points

Name Comments DBIA/ICR reference
TASK ; -- find PAT's due tasks
FORMAT ; -- Format return array ^TMP($J,"ORRCPTS") from temp array ^TMP($J,"ORRCY")
TEXT ; -- find patients with active generic text orders
VITL ; -- find patients with recent vitals
ADD(TYPE) ; -- Add item IDs from ^TMP($J,"ORRCY",PAT,<TYPE>) into return array
GETRET()
PARAMS ; -- Return date range parameters ORDMIN(type),ORDMAX(type) for ORUSR
RSLT ; -- find PAT's results unack'd by ORUSR
EN(ORY,ORUSR,ORLST) ; -- Return each patient in ORLSTs for ORUSR
; where ORLST(#) = <list-type>:<list-ID>:<clinic start>:<clinic stop>
; in @ORY@(#) = "Patient=<dfn>^<name>^<ssn>^<dob>^<age>"
; = "Result=ORR:##^ORR:##^...^*ORR:##"
; = "Task=TSK:##^TSK:##^...^*TSK:##"
; = "Event=VST:ID^VST:ID^...^VST:ID"
; = "Unverified=ORV:##^...^ORV:##"
; = "Nursing=ORN:##^...^!ORN:##"
; = "Vital=VIT:ID^...^*VIT:ID"
; = "Error=^<error description>"
; RPC = ORRC NURS DASHBD PATIENTS
ERROR(ORY)
UNVR ; -- find PAT's unverified orders, by nursing
EVNT ; -- find PAT's appointments

External References

Name Field # of Occurrence
^%DT PARAMS+4, PARAMS+6
TEAMPTS^ORQPTQ1 EN+23
DEFLIST^ORQPTQ11 EN+21
IDS^ORRCACK RSLT+3
IDS^ORRCEVT EVNT+3
IDS^ORRCOR UNVR+3, TEXT+3
IDS^ORRCTSK TASK+2
IDS^ORRCVIT VITL+3
DEM^VADPT FORMAT+4
$$FMTHL7^XLFDT FORMAT+5
$$UP^XLFSTR EN+20
$$GET^XPAR EN+17, PARAMS+3, PARAMS+5

Used in RPC

RPC Name Call Tags
ORRC NURS DASHBD PATIENTS EN

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP("OR" EN+22
^TMP($J EN+13!, EN+28*, EN+30, EN+33*, EN+34, EN+35, EN+36!, ERROR+5, RSLT+4*, TASK+3*
, EVNT+4*, UNVR+4*, TEXT+4*, VITL+4*, FORMAT+3, FORMAT+6, FORMAT+7, FORMAT+8, FORMAT+9, FORMAT+10
, FORMAT+11, ADD+3, GETRET+1
^VA(200 - [#200] EN+16, PARAMS+1

Label References

Name Line Occurrences
$$GETRET ERROR+2, FORMAT+2
@( EN+25, EN+27
ADD FORMAT+6, FORMAT+7, FORMAT+8, FORMAT+9, FORMAT+10, FORMAT+11
ERROR EN+35
EVNT EN+32
FORMAT EN+34
PARAMS EN+18
RSLT EN+32
TASK EN+32
TEXT EN+32
UNVR EN+32
VITL EN+32

Naked Globals

Name Field # of Occurrence
^( EN+22, ADD+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT PARAMS+1~, PARAMS+3*, PARAMS+5*
DFN FORMAT+1~, FORMAT+4*, FORMAT+5
DUZ EN+16
ERRI EN+14~, EN+18*, EN+28*
FROM EN+15~, EN+17*, EN+21
I ERROR+1~*, ERROR+3*, ERROR+4*, ERROR+5*
J ERROR+1~*, ERROR+3*, ERROR+5*
ORABEG EVNT+1~, EVNT+2*, EVNT+3
ORACK RSLT+1~, RSLT+3, RSLT+4
ORAEND EVNT+1~, EVNT+2*, EVNT+3
ORBEG EN+14~, EN+26*
ORDBEG RSLT+1~, RSLT+2*, RSLT+3, UNVR+1~, UNVR+2*, UNVR+3, TEXT+1~, TEXT+2*, TEXT+3
ORDEND RSLT+1~, RSLT+2*, RSLT+3, UNVR+1~, UNVR+2*, UNVR+3, TEXT+1~, TEXT+2*, TEXT+3
ORDER UNVR+1~, UNVR+3, UNVR+4, TEXT+1~, TEXT+3, TEXT+4
ORDMAX EN+14~
ORDMAX( PARAMS+6*
ORDMAX("EVENT" EVNT+2
ORDMAX("RESULT" RSLT+2
ORDMAX("TEXT ORDER" , TEXT+2
ORDMAX("UNVERIFIED" UNVR+2
ORDMAX("VITALS" VITL+2
ORDMIN EN+14~
ORDMIN( PARAMS+4*
ORDMIN("EVENT" EVNT+2
ORDMIN("RESULT" RSLT+2
ORDMIN("TEXT ORDER" , TEXT+2
ORDMIN("UNVERIFIED" UNVR+2
ORDMIN("VITALS" VITL+2
OREND EN+14~, EN+26*
OREVT EVNT+1~, EVNT+3, EVNT+4
ORI EN+14~, EN+19*
ORID EN+14~, EN+20*, EN+23, ADD+1~, ADD+2*, ADD+3*
ORJ EN+14~, EN+22*, EN+29*
ORLST EN~
ORLST( EN+19
ORN FORMAT+1~, FORMAT+3*, FORMAT+5*, ADD+4*, ADD+6*
ORPAT EN+14~, EN+21, EN+23
ORPAT( EN+22*, EN+29
ORPAT(1 EN+20, EN+28
ORPT FORMAT+1~, FORMAT+3*, FORMAT+4, FORMAT+6, FORMAT+7, FORMAT+8, FORMAT+9, FORMAT+10, FORMAT+11, ADD+3
ORSRV EN+15~, EN+16*, EN+17
ORSUB ADD+1~, ADD+2*, ADD+3
ORTN EN+14~, EN+24*, EN+25*, EN+27*
ORTSK TASK+1~, TASK+2, TASK+3
ORU ADD+1~, ADD+2*, ADD+4*, ADD+5*
ORUSR EN~, EN+18*, PARAMS+1, PARAMS+3, PARAMS+5, RSLT+3
ORVBEG VITL+1~, VITL+2*, VITL+3
ORVEND VITL+1~, VITL+2*, VITL+3
ORVIT VITL+1~, VITL+3, VITL+4
ORX EN+14~, EN+19*, EN+20, EN+26, PARAMS+1~, PARAMS+2*, PARAMS+3, PARAMS+4, PARAMS+5, PARAMS+6
, ADD+1~, ADD+2*, ADD+4*, ADD+5*, ADD+6
ORY EN~, EN+35, ERROR~, ERROR+2*, ERROR+3, ERROR+5, FORMAT+2*, FORMAT+5, ADD+4, ADD+6
PAT EN+14~, EN+22*, EN+29*, EN+30, EN+33, RSLT+3, RSLT+4, TASK+2, TASK+3, EVNT+3
, EVNT+4, UNVR+3, UNVR+4, TEXT+3, TEXT+4, VITL+3, VITL+4
SERV PARAMS+1~*, PARAMS+3, PARAMS+5
TYPE ADD~, ADD+2, ADD+4
U EN+16, FORMAT+5, ADD+5
VA FORMAT+1~
VA("PID" FORMAT+5
VADM FORMAT+1~
VADM(1 FORMAT+5
VADM(3 FORMAT+5
VADM(4 FORMAT+5
VAERR FORMAT+1~
X EN+14~, EN+20*, EN+21, EN+23, EN+24, EN+25, PARAMS+1~, PARAMS+3*, PARAMS+5*, ADD+1~
, ADD+3*, ADD+4, ADD+5
Y PARAMS+1~, PARAMS+4, PARAMS+6
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All