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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: ORMPS

Package: Order Entry Results Reporting

Routine: ORMPS


Information

ORMPS ; SLC/MKB/TC - Process Pharmacy ORM msgs ;10/16/14 07:34

Source Information

Source file <ORMPS.m>

Call Graph

Call Graph

Call Graph Total: 16

Package Total Call Graph
Order Entry Results Reporting 13 REPLCD^ORCACT1  ($$ACTION,EN,RESPONSE)^ORCSAVE  (DATES,DELETE,RELEASE,SIGN,SIGSTS,STATUS,VERIFY)^ORCSAVE2  CANCEL^ORCSEND  SETALL^ORDD100  BACKDOOR^ORDEA  XTMP^ORMEVNT  QT^ORMPS1  
($$CHANGED,$$FINISHED,RO)^ORMPS2  ($$ZSC,PARENT,UPD)^ORMPS3  PRINTS^ORWD1  BDOSTR^ORWDBA3  ($$ACTV,$$CREATE)^ORX1  
Kernel 1 $$NOW^XLFDT  
Registration 1 $$MVT^DGPMOBS  
VA FileMan 1 ^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: 2

Package Total Caller Graph
Order Entry Results Reporting 2 ORMPS1  ORMPS2  

Entry Points

Name Comments DBIA/ICR reference
EN ; -- entry point
ZV ; -- Verified
ZP ; -- Purged
ZR ; -- Purged as requested [ack]
ZU ; -- Unable to purge [ack]
XR ; -- Changed as requested [ack]
OK ; -- Order accepted, PS order # assigned [ack]
ZC ; -- convert orders
ZC1 ; continue
SN ; -- New backdoor order, return OE# via NA msg
SN1 ; save order
SN2
SNQ
XX ; -- Changed (new order not necessary)
RO ; -- Replacement order (finished)
SC ; -- Status changed (verified, expired, suspended, renewed, reinstate)
STATUS(X) ; -- HL7 order status
DE ; -- Data Errors
UA ; -- Unable to accept [ack]
UX ; -- Unable to change [ack]
UC ; -- Unable to cancel [ack]
UD ; -- Unable to discontinue [ack]
UH ; -- Unable to hold [ack]
UR ; -- Unable to release hold [ack]
OC ; -- Cancelled (before pharmacist's verification)
CR ; -- Cancelled [ack]
OD ; -- Discontinued (cancelled after pharmacist's verification)
DR ; -- Discontinued [ack]
EXPDT ; -- save exp date when dc'd
OH ; -- Held
HR ; -- Held [ack]
RL ; -- Released hold
OE ; -- Released hold
OR ; -- Released / [ack]
UPDATE(ORSTS,ORACT) ; -- continue
RXO() ; -- RXO segment
RXE() ; -- RXE segment
RXR() ; -- RXR segment
RXC() ; -- [First] RXC segment
ZRX() ; -- ZRX segment

External References

Name Field # of Occurrence
$$MVT^DGPMOBS OD+2
^DIE SC+8
REPLCD^ORCACT1 ZV+5
$$ACTION^ORCSAVE UPDATE+4
EN^ORCSAVE SN1+1
RESPONSE^ORCSAVE ZC1+4
DATES^ORCSAVE2 ZC1+6, SN2SC+17, OR+2, UPDATE+2
DELETE^ORCSAVE2 ZR+1
RELEASE^ORCSAVE2 SN2+2, UPDATE+6
SIGN^ORCSAVE2 SN2+5
SIGSTS^ORCSAVE2 SN2+5, UPDATE+7
STATUS^ORCSAVE2 ZP+2, XR+1, OK+2, ZC1+6, SN2+1, SC+18, UX+4, CR+2, DR+2, HR+1
OR+1, UPDATE+1
VERIFY^ORCSAVE2 ZV+8
CANCEL^ORCSEND UPDATE+11
SETALL^ORDD100 SC+19, SC+24
BACKDOOR^ORDEA SN2+11
XTMP^ORMEVNT OD+2
QT^ORMPS1 EN+4
$$CHANGED^ORMPS2 XX+2, SC+4
$$FINISHED^ORMPS2 SN+1
RO^ORMPS2 SN+1, RO+1, SC+4
$$ZSC^ORMPS3 SN1+9
PARENT^ORMPS3 SN1+8
UPD^ORMPS3 SC+25
PRINTS^ORWD1 SN2+9, UPDATE+8
BDOSTR^ORWDBA3 SN1+2
$$ACTV^ORX1 UPDATE+10
$$CREATE^ORX1 UPDATE+3
$$NOW^XLFDT EN+5, ZU+1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^OR(100 - [#100] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^OR(100 - [#100] EN+2, ZV+3, ZV+4, ZP+1, ZP+2!, ZU+1*, XR+1, OK+1*, ZC1+1, ZC1+3*
ZC1+5*, SN1+4, SN1+5*, SN1+6*, SN1+7*, SN1+9*, SN2+7*, SN2+10*, XX+1, SC+1
SC+9, SC+11*, SC+20*, SC+22, SC+23*, SC+24!, UX+2*, UX+3*, UR+2*, UR+3*
OC+3*, OC+4*, OC+5*, CR+2*, OD+3*, OD+4*, DR+2*, EXPDT+1, EXPDT+2, OE+1
OE+2, UPDATE+9*, UPDATE+10*
^ORD(100.02 - [#100.02] UX+2, OC+3, OD+3
^ORD(100.98 - [#100.98] SC+5, SC+6
^TMP("ORWORD" ZC+5!, ZC1+4!, SN+7!, SNQ!
^VA(200 - [#200] ZC+2, ZC+3, SN+3, SN+4

Label References

Name Line Occurrences
$$RXC ZC+5, SN+7
$$RXE EN+4
$$RXO ZC+5, SN+7
$$STATUS EN+4
$$ZRX EN+4
@( EN+9, ZC+6, SN+8
EXPDT SC+12, OC+6, CR+1, OD+5, DR+1
SC XX+2
SN1 ZC1+2
SNQ SN1+1
UA OC+1
UPDATE SC+15, OC+6, OD+5, OH+1, OE+3

Naked Globals

Name Field # of Occurrence
^( SC+23
^(0 ZC1+5*, SN1+6
^(2 SC+22*, OE+2*
^(3 ZP+2, SN1+5*, SC+1, UX+3, OC+4
^(6 EXPDT+2*

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DA SC+6~, SC+8*
>> DGPMDA OD+2
>> DGPMT OD+2
DIE SC+6~, SC+8*
DONE SC+1~, SC+3, SC+4*
DR SC+6~, SC+8*
DUZ EN+5
EVNT ZC+1~, SN+2~, SN1+6*, SN1+7
I SC+23*, RXO+1~*, RXO+2, RXE+1~*, RXE+3*, RXR+1~*, RXR+2*, RXC+1~*, RXC+2*, ZRX+1~*
, ZRX+2*
OR0 SC+1~*, SC+5, SC+9, SC+10, SC+19
OR3 SC+1~*, SC+2, SC+3, SC+9, SC+13, SC+16, SC+19, SC+21, SC+22
ORACT UPDATE~, UPDATE+3, UPDATE+4, UPDATE+10, UPDATE+11
>> ORC ZV+2, RXO+1, RXE+1, ZRX+1
>> ORCAT ZC+6, SN+8, SN1+8, SN1+9
ORDA ZV+1~, ZV+3*, ZV+4, ZV+7*, ZV+8, UR+1~*, UR+2, UR+3, OE+1~*, OE+2
, UPDATE+1~, UPDATE+4*, UPDATE+5, UPDATE+6, UPDATE+7, UPDATE+8, UPDATE+9
>> ORDCNTRL EN+2, EN+9, ZC1+2*, SN2+6
ORDG ZC+1~, SN+2~, SC+6~*, SC+8
ORDIALOG ZC+1~, ZC1+5, SN+2~, SN2+11
>> ORDSTS EN+4
>> ORDUZ ZC+2, SN+3, SN2+2
>> OREASON EN+7*, EN+8*, UX+2, UR+3, OC+3, OD+3, UPDATE+4
>> ORERR EN+2*, ZC+2*, ZC+3*, ZC+4*, ZC1+1, SN+3*, SN+4*, SN+6*, SN+8, SN1+1*
, UPDATE+5*
ORES ZV+1~
ORES( ZV+3*, ZV+6
ORI ZV+1~, ZV+6*, ZV+7, ZV+8
ORIFN EN+2, ZV+3, ZV+4, ZP+1, ZP+2, ZR+1, ZU+1, XR+1, OK+1, OK+2
ZC1+1, ZC1+2!, ZC1+3, ZC1+4*, ZC1+5, ZC1+6, SN+7!, SN1+1, SN1+5, SN1+6
SN1+7, SN1+9, SN2SN2+1, SN2+2, SN2+5, SN2+7, SN2+8, SN2+10, SN2+11
XX+1, SC+1, SC+8, SC+9, SC+10, SC+11, SC+17, SC+18, SC+19, SC+20
SC+22, SC+23, SC+24, UX+2, UX+3, UX+4, UR+1, UR+2, UR+3, OC+3
OC+4, OC+5, CR+2, OD+3, OD+4, DR+2, EXPDT+1, EXPDT+2, HR+1, OE+1
OE+2, OR+1, OR+2, UPDATE+1, UPDATE+2, UPDATE+4, UPDATE+6, UPDATE+7, UPDATE+8, UPDATE+9
, UPDATE+10, UPDATE+11
ORIG XR+1~*, ZC+1~, SN+2~, SN1+3*, SN1+4, SN1+5, SN1+6, SN2+5, UX+3~*, OC+4~*
>> ORL SN2+8, SN2+9, UPDATE+8
>> ORLOG EN+6*, ZV+8, SN1+8, SN2+2
>> ORMSG RXO+1, RXO+2, RXE+3, RXR+2, RXC+2, ZRX+2
ORNATR EN+7*, EN+8, SN2+2, SN2+7, SN2+8, RO+1*, SC+4*, SC+14~*, UX+1*, UX+2
OC+1, OC+2*, OC+3, OD+1*, OD+2, OD+3, UPDATE+3, UPDATE+6, UPDATE+10
ORNOW EN+3~, EN+5*, ZC1+3, SC+22, UX+2, OC+3, OC+5, OD+3, OD+4, EXPDT+2
OE+2, UPDATE+4, UPDATE+6
>> ORNP ZC+3, SN+4, SN2+11, UPDATE+4
ORP ZC+1~, SN+2~, SN2+9, UPDATE+1~, UPDATE+8
ORP(1 SN2+8*, SN2+9, UPDATE+8*
ORPKG ZC+1~, SN+2~
ORSIG ZC+1~, SN+2~, SN2+4*, SN2+5
>> ORSTOP ZC1+3, ZC1+6, SN2SC+11, SC+17, SC+19, OC+5*, OD+4*, OR+2, UPDATE+2
>> ORSTRT ZC1+6, SN1+8*, SN2SC+9*, SC+10*, SC+17, OR+2, UPDATE+2
ORSTS EN+3~, EN+4*, OK+2, ZC1+6, SN2+1, SC+2, SC+3, SC+11, SC+12, SC+13
SC+15, SC+16, SC+18, SC+19, SC+21, OC+2*, OC+6, OD+1*, OD+5, OH+1*
OE+3*, OR+1*, UPDATE~, UPDATE+1
>> ORTYPE OC+1
ORUSR ZV+1~, ZV+2*, ZV+8
ORVER ZV+1~, ZV+2*
ORWHO EN+3~, EN+5*, SC+22, OC+1*, OC+3, OD+2*, OD+3, OE+2, UPDATE+4, UPDATE+6
>> PKGIFN OK+1, ZC1+5, SN2+10, SC+20, OC+5, CR+2, OD+4, DR+2
RXC ZC+1~, ZC+5*, ZC+6, SN+2~, SN+7*, SN+8
RXE EN+3~, EN+4*, ZC+4, SN+6, RXR+1, RXC+1
RXO ZC+1~, ZC+5*, SN+2~, SN+7*
SEG RXE+1~, RXE+3*, RXR+1~, RXR+2*, RXC+1~, RXC+2*, ZRX+1~, ZRX+2*
STOP EXPDT+1~*, EXPDT+2
TYPE ZC+1~, SN+2~, SN1+3*, SN1+4*, SN1+5, SN1+7, SN1+8
U EN+7, ZV+3, ZV+4, ZP+2, ZU+1, XR+1, ZC1+3, ZC1+5, SN1+5, SN1+6
SN1+7, SN2+7, XX+1, SC+2, SC+3, SC+5, SC+9, SC+10, SC+11, SC+13
SC+16, SC+19, SC+21, SC+22, SC+23, UX+2, UX+3, UR+2, OC+3, OC+4
OD+3, EXPDT+1, EXPDT+2, OE+1, OE+2, UPDATE+9, UPDATE+10, RXO+2, RXE+3, RXR+2
, ZRX+2
X STATUS~, STATUS+1, RXO+1~*, RXO+2*, RXO+3, RXE+1~*, RXE+3*, RXE+4, RXR+1~*, RXR+2*
, RXR+3, RXC+1~*, RXC+2*, RXC+3, ZRX+1~*, ZRX+2*, ZRX+3
Y STATUS+1~*, STATUS+2
Z RXE+1~, RXE+3*
ZRX EN+3~, EN+4*, EN+5, EN+7, SN1+3, SC+5, SC+10
ZSC SN+2~, SN1+9*, SC+1~

Marked Items

Name Field # of Occurrence
$T(@ORDCNTRL EN+1
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All