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

Package: Care Management

Routine: ORRCOR


Information

ORRCOR ;SLC/MKB - OR data for CM ; 25 Jul 2003 9:31 AM

Source Information

Source file <ORRCOR.m>

Call Graph

Call Graph Total: 10

Package Total Call Graph
Order Entry Results Reporting 7 (CKALERT,REPLCD)^ORCACT1  COMP^ORCSAVE2  EN^ORCSEND  EN^ORQ1  TEXT^ORQ12  DETAIL^ORQ2  ($$LOCK1,UNLK1)^ORX2  
Kernel 3 ($$FMTE,$$FMTHL7,$$HL7TFM,$$NOW)^XLFDT  ($$LOW,$$UP)^XLFSTR  $$NAME^XUSER  

Caller Graph

Caller Graph Total: 3

Package Total Caller Graph
Care Management 3 ORRCDPT1  ORRCEVT  ORRCSIG  

Entry Points

Name Comments DBIA/ICR reference
VERIFY(ORY,ORUSR,ORDER) ; -- Mark ORDERs as verified by ORUSR
TXT1() ; -- Return [first line of] order text from ORRCTX()
DETAIL(ORY,ORDER) ; -- Return details of ORDERs
; where ORDER(#) = ID
; in @ORY@(#) = Item=ID^Text^OrderDate in HL7 format^Status
; = Order=line of order text
; = Text=line of report text
; RPC = ORRC ORDERS BY ID [and from DETAIL^ORRCSIG]
TXT(IFN) ; -- Return [first line of] order IFN's text
PTUNS(ORY,ORUSR) ; -- Return list of patients with unsigned orders by ORUSR
; in @ORY@(PAT) = #unsigned orders
; @ORY@(PAT,"ORU:ien;act")=""
; [from ORRCDPT]
STS(IFN) ; --Return name of order IFN's status
LISTUNS(ORY,ORUSR,ORPAT,ORDET) ; -- Return unsigned orders by ORUSR for ORPAT
; in @ORY@(#) = Item=ID^Text^OrderDate in HL7 format
; = Order=line of order text, and also if ORDET
; = Text=line of report text
; [from LIST^ORRCSIG]
COMP(ORY,ORUSR,ORDER) ; -- Mark ORDERs as completed by ORUSR
ORD ; -- Add details of ORIFN to @ORY@(ORN)
LIST(ORY,ORPAT,ORTYPE,ORUSR,ORDET,ORBEG,OREND) ; -- Return orders for ORPAT where
; ORTYPE = ORN: Active Nursing Orders (2)
; ORV: Orders Unverified by Nursing (9)
; ORU: Unsigned Orders by ORUSR (11)
; in @ORY@(#) = Item=ID^Text^OrderDate in HL7 format^Status
; = Order=line of order text, & if ORDET
; = Text=line of report text
; where ID = ORTYPE_":"_order#;action#
; RPC = ORRC ORDERS BY PATIENT
IDS(ORY,ORPAT,ORTYPE,ORBEG,OREND) ; -- Return order IDs for ORPAT where
; ORTYPE = ORN: Active Nursing Orders (2)
; ORV: Orders Unverified by Nursing (9)
; in @ORY@(PAT) = #orders
; @ORY@(PAT,ID)= ! if completed (for ORN), else null
; [from ORRCDPT1]

External References

Name Field # of Occurrence
CKALERT^ORCACT1 VERIFY+24
REPLCD^ORCACT1 VERIFY+16
COMP^ORCSAVE2 COMP+9
EN^ORCSEND VERIFY+19
EN^ORQ1 IDS+14, IDS+24, LIST+17
TEXT^ORQ12 LISTUNS+12, LIST+23, DETAIL+12, TXT+1
DETAIL^ORQ2 ORD+3
$$LOCK1^ORX2 VERIFY+14, COMP+8
UNLK1^ORX2 VERIFY+19, COMP+9
$$FMTE^XLFDT VERIFY+12
$$FMTHL7^XLFDT LISTUNS+13, LIST+24, DETAIL+13
$$HL7TFM^XLFDT LIST+16
$$NOW^XLFDT COMP+5
$$LOW^XLFSTR STS+3
$$UP^XLFSTR VERIFY+11
$$NAME^XUSER VERIFY+11

Used in RPC

RPC Name Call Tags
ORRC ORDERS BY PATIENT LIST
ORRC ORDERS BY ID DETAIL
ORRC ORDERS VERIFY VERIFY
ORRC ORDERS COMPLETE COMP

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(42 - [#42] IDS+9, LIST+13
^DIC(9.4 - [#9.4] IDS+12
^DPT - [#2] IDS+9, LIST+12, VERIFY+23
^OR(100 - [#100] PTUNS+8, IDS+16, IDS+27, LISTUNS+8, LISTUNS+9, LISTUNS+10, LISTUNS+11, LIST+19, LIST+20, DETAIL+10
, DETAIL+11, STS+2, ORD+2, VERIFY+8, VERIFY+9, VERIFY+18, COMP+10
^ORD(100.01 - [#100.01] STS+3
^ORD(100.98 - [#100.98] IDS+11, IDS+23, LIST+15
^TMP("ORR" IDS+15, IDS+20!, IDS+25, IDS+26, IDS+31!, LIST+18
^TMP($J PTUNS+5, IDS+7, LISTUNS+6, LIST+10, DETAIL+7

Label References

Name Line Occurrences
$$STS LISTUNS+13, LIST+24, DETAIL+13
$$TXT1 LISTUNS+13, LIST+24, DETAIL+13
ORD LISTUNS+15, LIST+26, DETAIL+15

Naked Globals

Name Field # of Occurrence
^( IDS+15, LIST+18
^(0 IDS+16, IDS+27
^(8 LIST+20

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ACT PTUNS+4~, PTUNS+7*, PTUNS+8, PTUNS+9
>> CNT IDS+14*, IDS+19*, IDS+20, IDS+30*, IDS+31
I LISTUNS+5~, LISTUNS+14*, LIST+9~, LIST+25*, DETAIL+6~, DETAIL+14*
IDX PTUNS+4~, PTUNS+5*, PTUNS+6*, PTUNS+7
IFN PTUNS+4~, PTUNS+7*, PTUNS+8, PTUNS+9, TXT~, TXT+1, STS~, STS+2
NUM PTUNS+4~
OR0 LIST+9~, LIST+20*, LIST+22
ORA0 LIST+9~, LIST+20*, LIST+21, LIST+22, VERIFY+4~, VERIFY+9*, VERIFY+10
ORACT LISTUNS+5~, LISTUNS+10*, LISTUNS+11, LIST+9~, LIST+19*, LIST+20, DETAIL+6~, DETAIL+9*, DETAIL+10*, DETAIL+11
, VERIFY+4~, VERIFY+7*, VERIFY+8*, VERIFY+9
ORBEG IDS~, IDS+14, IDS+24, LIST~, LIST+16*, LIST+17
ORDER DETAIL~, VERIFY~, COMP~
ORDER( DETAIL+8, VERIFY+6, VERIFY+7, COMP+6, COMP+7
ORDET LISTUNS~, LISTUNS+15, LIST~, LIST+26
ORDG IDS+6~, IDS+11*, IDS+14, IDS+23*, IDS+24, LIST+9~, LIST+15*, LIST+17
ORDT LISTUNS+5~, LISTUNS+8*, LISTUNS+9, LISTUNS+10, LISTUNS+13, LIST+9~, LIST+22*, LIST+24, DETAIL+6~, DETAIL+11*
, DETAIL+13
OREND IDS~, IDS+14, IDS+24, LIST~, LIST+16*, LIST+17
ORERR VERIFY+4~, VERIFY+19, VERIFY+21
ORES VERIFY+4~
ORES( VERIFY+15*, VERIFY+17, VERIFY+20
ORES("B" VERIFY+15*, VERIFY+20
ORES(0 VERIFY+17
ORFLG IDS+6~, IDS+10*, IDS+14, IDS+24, LIST+9~, LIST+14*, LIST+17, LIST+21
ORI IDS+6~, IDS+14*, IDS+15*, IDS+25*, IDS+26, LIST+9~, LIST+17*, LIST+18*, DETAIL+6~, DETAIL+8*
, ORD+1~, ORD+4*, VERIFY+4~, VERIFY+6*, VERIFY+7, VERIFY+13, VERIFY+14, VERIFY+15, VERIFY+20*, VERIFY+21
, COMP+4~, COMP+6*, COMP+7, COMP+8, COMP+10
ORID IDS+6~, IDS+10*, IDS+19, IDS+30, LISTUNS+5~, LISTUNS+11*, LISTUNS+12, LISTUNS+13, LIST+9~, LIST+14*
, LIST+24, DETAIL+6~, DETAIL+8*, DETAIL+9, DETAIL+13, VERIFY+4~, VERIFY+7*, VERIFY+13, VERIFY+14, VERIFY+15
, VERIFY+20*, VERIFY+21, COMP+4~, COMP+7*, COMP+8, COMP+10
ORIFN IDS+6~, IDS+15*, IDS+16, IDS+19, IDS+26*, IDS+27, IDS+30, LISTUNS+5~, LISTUNS+9*, LISTUNS+10
, LISTUNS+11, LISTUNS+13, LIST+9~, LIST+18*, LIST+19, LIST+20, LIST+23, LIST+24, DETAIL+6~, DETAIL+9*
, DETAIL+10, DETAIL+11, DETAIL+12, DETAIL+13, ORD+1, ORD+2, ORD+3, VERIFY+4~, VERIFY+7*, VERIFY+8*
, VERIFY+9, VERIFY+14, VERIFY+15, VERIFY+17*, VERIFY+18, VERIFY+19, VERIFY+20, COMP+4~, COMP+7*, COMP+8
, COMP+9, COMP+10
ORIGVIEW LIST+9~, LIST+12*
ORLIST IDS+6~, IDS+15, IDS+20, IDS+25, IDS+26, IDS+31, LIST+9~, LIST+18
ORLK VERIFY+4~, VERIFY+14*, COMP+4~, COMP+8*
ORN IDS+6~, LISTUNS+5~, LISTUNS+7*, LISTUNS+13*, LISTUNS+14*, LIST+9~, LIST+17*, LIST+24*, LIST+25*, DETAIL+6~
, DETAIL+7*, DETAIL+13*, DETAIL+14*, ORD+4*
ORNOW COMP+4~, COMP+5*, COMP+9
ORPAT IDS~, IDS+8*, IDS+9, IDS+14, IDS+19, IDS+20, IDS+24, IDS+30, IDS+31, LISTUNS~
, LISTUNS+7*, LISTUNS+8, LISTUNS+9, LISTUNS+10, LIST~, LIST+11*, LIST+12, LIST+17
ORPKG IDS+6~, IDS+12*, IDS+18, IDS+28, IDS+29
ORRCTX LISTUNS+5~, LISTUNS+12, LIST+9~, LIST+23, DETAIL+6~, DETAIL+12, TXT+1~
ORRCTX( LISTUNS+14, LIST+25, DETAIL+14
ORRCTX(1 TXT+2, TXT1+2
ORRCZ ORD+1~, ORD+3*, ORD+4, ORD+5
ORTYPE IDS~, IDS+8*, IDS+10, IDS+11, IDS+18, IDS+22, IDS+28, LIST~, LIST+11*, LIST+14
, LIST+15
ORUSR PTUNS~, PTUNS+8, LISTUNS~, LISTUNS+7*, LISTUNS+11, LIST~, LIST+11*, LIST+21, VERIFY~, VERIFY+4
, COMP~, COMP+4, COMP+9
ORVER VERIFY+4~, VERIFY+5*
ORVP ORD+1~, ORD+2*, VERIFY+4~, VERIFY+18*, VERIFY+22*, VERIFY+23
ORVP( VERIFY+18*, VERIFY+22
ORWARD IDS+6~, IDS+9*, LIST+9~, LIST+12*, LIST+13*, VERIFY+4~, VERIFY+23*
ORY PTUNS~, PTUNS+5*, IDS~, IDS+7*, IDS+19, IDS+20, IDS+30, IDS+31, LISTUNS~, LISTUNS+6*
, LISTUNS+13, LISTUNS+14, LIST~, LIST+10*, LIST+24, LIST+25, DETAIL~, DETAIL+7*, DETAIL+13, DETAIL+14
, ORD+4, VERIFY~, VERIFY+5!, COMP~, COMP+5!
ORY( PTUNS+9*, VERIFY+13*, VERIFY+14*, VERIFY+21*, COMP+8*, COMP+10*
PAT PTUNS+4~, PTUNS+7*, PTUNS+9
PKG IDS+6~, IDS+16*, IDS+18, IDS+27*, IDS+28, IDS+29
STS IDS+6~, IDS+16*, IDS+18, IDS+27*, IDS+28, STS+1~, STS+2*, STS+3
U PTUNS+8, IDS+16, IDS+18, IDS+27, IDS+28, LISTUNS+11, LISTUNS+13, LIST+19, LIST+21, LIST+22
, LIST+24, DETAIL+10, DETAIL+13, STS+2, STS+3, ORD+2, VERIFY+8, VERIFY+9, VERIFY+10, VERIFY+14
, VERIFY+18, VERIFY+21, COMP+8, COMP+10
WHEN VERIFY+10~*, VERIFY+12
WHO VERIFY+10~*, VERIFY+11
X PTUNS+4~, PTUNS+9*, IDS+6~, IDS+16*, IDS+18*, IDS+19, IDS+27*, IDS+28*, IDS+30, STS+1~
, STS+3*, VERIFY+10~*, VERIFY+11*, VERIFY+12*, VERIFY+13
Y TXT+1~, TXT+2*, TXT+3, TXT1+1~, TXT1+2*, TXT1+3, STS+1~, STS+3*, STS+4
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All