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 |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: ORMFH

Package: Order Entry Results Reporting

Routine: ORMFH


Information

ORMFH ;SLC/MKB - Process Dietetics ORM msgs ;5/5/05 13:18

Source Information

Source file <ORMFH.m>

Call Graph

Call Graph

Call Graph Total: 12

Package Total Call Graph
Order Entry Results Reporting 10 GETDLG1^ORCD  EN2^ORCDFH  ($$ACTION,EN)^ORCSAVE  (DATES,DELETE,RELEASE,SIGSTS,STATUS)^ORCSAVE2  CANCEL^ORCSEND  SETALL^ORDD100  $$ORDITEM^ORM  (OPM,XX)^ORMFH1  
PRINTS^ORWD1  ($$ACTV,$$CREATE)^ORX1  
Dietetics 1 EN1^FHWOR8  
Kernel 1 ($$HL7TFM,$$NOW)^XLFDT  

Entry Points

Name Comments DBIA/ICR reference
EN ; -- entry point for FH messages
ZP ; -- Purged
ZR ; -- Purged as requested [ack]
ZU ; -- Unable to purge [ack]
OK ; -- Order accepted, FH order # assigned [ack]
XX ; -- Edited backdoor order (OP recurring meals only)
SN ; -- New backdoor order: return NA msg w/ORIFN
DIET ; Diet order
SN1 ; continue ... save order, post message
TRAY ; Early/Late tray
IP ; Isolation/Precautions
TF ; Tubefeeding
UNITS(X) ; -- Returns name of unit X
NPO ; NPO <uses FHW1 dialog - FHW4 now a quick order>
ADDL ; Additional order
DATES ; -- pull dates out of ORQT
SC ; -- Status Change
SR ; -- Status Update [ack]
OC ; -- Cancelled <E/L Trays only> / [ack]
CR ; -- Cancelled as requested [ack]
OD ; -- Discontinued <Tubefeedings only>
DR ; -- Discontinued as requested [ack]
UA ; -- Unable to Accept [ack]
UC ; -- Unable to Cancel [ack]
UD ; -- Unable to Discontinue [ack]
UPDATE(ORSTS,ORACT) ; -- continue processing
PTR(NAME) ; -- Returns ien of prompt NAME in Order Dialog file #101.41

External References

Name Field # of Occurrence
EN1^FHWOR8 SN+7
GETDLG1^ORCD DIET+2, TRAY+2, IP+3, TF+2, NPO+1, ADDL+1
EN2^ORCDFH TRAY+2
$$ACTION^ORCSAVE UPDATE+4
EN^ORCSAVE SN1+2
DATES^ORCSAVE2 SN1+4, SR+2, UPDATE+1
DELETE^ORCSAVE2 ZR+1
RELEASE^ORCSAVE2 SN1+3, UPDATE+6
SIGSTS^ORCSAVE2 SN1+3, UPDATE+7
STATUS^ORCSAVE2 ZP+2, OK+4, SN1+5, SR+4, CR+1, DR+1, UA+3, UPDATE+2
CANCEL^ORCSEND UPDATE+11
SETALL^ORDD100 SR+11
$$ORDITEM^ORM DIET+7, DIET+11, TF+10
OPM^ORMFH1 SN+15
XX^ORMFH1 XX+1
PRINTS^ORWD1 SN1+6, UPDATE+8
$$ACTV^ORX1 UPDATE+10
$$CREATE^ORX1 UPDATE+3
$$HL7TFM^XLFDT DATES+2
$$NOW^XLFDT EN+3, ZU+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^OR(100 - [#100] EN+2, ZP+1, ZP+2!, ZU+1*, OK+1*, OK+3, SN1+4, SN1+7*, SR+1, SR+5
SR+7*, SR+9*, SR+10*!, OC+2, OC+3*, OD+1*, UA+2*, UD+2*, UD+3*, UPDATE+9*
, UPDATE+10*
^ORD(100.02 - [#100.02] SR+7, OC+3, OD+1, UA+2
^ORD(101.41 - [#101.41] DIET+1, TRAY+2, IP+3, TF+2, NPO+1, ADDL+1, PTR+1
^ORD(101.43 - [#101.43] TRAY+8, IP+5, NPO+2
^VA(200 - [#200] SN+4

Label References

Name Line Occurrences
$$PTR DIET+3, DIET+4, DIET+5, DIET+9, TRAY+3, TRAY+4, TRAY+7, TRAY+8, TRAY+9, TRAY+10
TRAY+11, IP+4, IP+5, TF+3, TF+4, NPO+2, NPO+3, NPO+4, NPO+5, ADDL+2
DATES+1
$$UNITS TF+13
@( EN+5
ADDL SN+14
DATES TF+17, ADDL+3
IP SN+10
NPO SN+16
OD OC+2
SN1 SN+10, SN+11, SN+13, SN+14, SN+15, SN+16
TF SN+13
TRAY SN+11
UA OC+1
UPDATE OC+4, OD+2

Naked Globals

Name Field # of Occurrence
^(0 SR+9, OC+2
^(3 ZP+2
^(6 SR+9!

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CMMT TF+1~, TF+4*, TF+16
DA UD+1~*, UD+2, UD+3, UPDATE+1~, UPDATE+4*, UPDATE+5, UPDATE+6, UPDATE+7, UPDATE+8, UPDATE+9
DAYS TRAY+5~*, TRAY+6*, TRAY+7
>> DGPMT EN+4, SN+4
DUR TF+1~, TF+12*, TF+14
DUZ EN+3
I SN+1~, DIET+9*, DIET+13*, TRAY+6*, TF+1~, TF+6*, TF+15*, TF+16, DATES+1~, DATES+2*
DATES+3
INSTR TF+1~, TF+4*, TF+15
IP IP+1~*, IP+2, IP+4
NAME PTR~, PTR+1
OBR SN+1~, SN+10*, IP+1
ODS SN+1~, SN+8*, SN+9*, SN+10, SN+11, SN+12, SN+13, SN+14, SN+16, DIET+5
DIET+7, DIET+10*, DIET+11, TF+6*, TF+7, TF+8, TF+11, TF+16, NPO+5, ADDL+2
ODT SN+1~, SN+11*, TRAY+8, TRAY+9, TRAY+11
OI SN+1~, DIET+9*, DIET+13, TRAY+8*, TRAY+10, TF+1~, TF+3*, TF+15
ORACT UPDATE~, UPDATE+4, UPDATE+10, UPDATE+11
>> ORC SN+8
>> ORCAT SN+9, SN+15, TF+17, ADDL+3
>> ORDCNTRL EN+2, EN+5
ORDG SN+1~
ORDIALOG SN+1~, DIET+1*, DIET+2, TRAY+2*, IP+3*, TF+2*, NPO+1*, ADDL+1*
ORDIALOG( DIET+3*, DIET+4*, DIET+5*, DIET+9*, DIET+13*, TRAY+3*, TRAY+4*, TRAY+7*, TRAY+8*, TRAY+9*
TRAY+10*, TRAY+11*, IP+4*, IP+5*, TF+15*, TF+16*, NPO+2*, NPO+3*, NPO+4*, NPO+5*
ADDL+2*, DATES+2*, DATES+3
>> ORDSTS SR+3, SR+5
>> ORDUZ EN+3*, EN+4*, SN+4, SN1+3, SR+6*, SR+7, OC+3, OD+1, UPDATE+4, UPDATE+6
>> OREASON EN+4*, SR+6*, SR+7, OC+3, OD+1, UA+2, UD+3, UPDATE+4
>> OREJECT UD+2
>> ORERR EN+2*, SN+4*, SN+5*, SN+8*, SN+12*, DIET+8*, DIET+10, DIET+12*, SN1+1, SN1+2*
TRAY+1*, IP+2*, TF+10*, TF+11*, UPDATE+5*
>> ORIFN EN+2, ZP+1, ZP+2, ZR+1, ZU+1, OK+1, OK+3, OK+4, SN1+2, SN1+3
SN1+4, SN1+5, SN1+6, SN1+7, SR+1, SR+2, SR+4, SR+5, SR+7, SR+9
SR+10, SR+11, OC+2, OC+3, CR+1, OD+1, DR+1, UA+2, UA+3, UD+1
UD+2, UD+3, UPDATE+1, UPDATE+2, UPDATE+4, UPDATE+6, UPDATE+7, UPDATE+8, UPDATE+9, UPDATE+10
, UPDATE+11
>> ORL SN+7, SN1+6, UPDATE+8
>> ORLOG EN+3*, OK+3, DIET+2, SN1+3, NPO+3, SR+7, OC+2, OC+3, OD+1, UA+2
, UPDATE+4, UPDATE+6
>> ORMSG SN+8, SN+9, DIET+10, DIET+11, TF+6, TF+11, TF+12
>> ORNATR EN+4*, SN+9*, SN1+3, SR+6*, SR+7, OC+3, OD+1, UA+1*, UA+2, UPDATE+3
, UPDATE+6, UPDATE+10
ORNEW SN+1~
>> ORNP EN+3*, UPDATE+4
OROLD SR+1~*, SR+8
ORP SN+1~, SN1+6, UPDATE+1~, UPDATE+8
ORP(1 SN1+6*, UPDATE+8*
ORPARAM SN+1~, SN+7
>> ORQT TRAY+5, TF+17, ADDL+3, DATES+2
>> ORSTOP DIET+4, SN1+4, TRAY+1, TRAY+4, NPO+4, DATES+3*, SR+2, SR+10, UPDATE+1
>> ORSTRT SN+5, DIET+2, DIET+3, SN1+4, TRAY+3, NPO+3, DATES+3*, SR+2, UPDATE+1
ORSTS OK+1~, OK+2*, OK+3*, OK+4, SN+1~, SN+9*, DIET+2*, SN1+5, NPO+3*, SR+1~
SR+3*, SR+4, SR+8, UPDATE~, UPDATE+2
ORTIME SN+1~
ORTIME( TRAY+10
ORTRAIL SN+1~, DIET+1*
>> ORTYPE OC+1
ORX UPDATE+1~, UPDATE+3*
P DATES+1~*, DATES+2, DATES+3
>> PKGIFN OK+1, OK+2, SN1+7, SR+6
QT TF+1~, TF+12*, TF+13
QTY TF+1~, TF+13*, TF+14*, TF+15
SCH TRAY+5~*, TRAY+6
SEG SN+1~, DIET+10*
STR TF+1~, TF+3*, TF+15
U ZP+2, ZU+1, OK+3, SN+9, SN+10, SN+11, SN+12, SN1+4, TRAY+5, TRAY+9
TRAY+10, IP+1, TF+6, TF+7, TF+8, TF+9, TF+12, TF+13, DATES+2, SR+1
SR+7, SR+9, SR+10, OC+2, OC+3, OD+1, UA+2, UD+2, UPDATE+9, UPDATE+10
X SN+1~, DIET+5*, DIET+7*, DIET+8, DIET+9, DIET+11*, DIET+12, DIET+13, TRAY+6*, TRAY+9*
TRAY+10, TF+1~, TF+8*, TF+9*, TF+10, UNITS~, UNITS+1*, UNITS+2, DATES+1~, DATES+2*
SR+9~*, SR+10
X4 TF+1~, TF+8*, TF+9*, TF+15
XI TF+1~, TF+10*, TF+15
Y UNITS+1~, UNITS+2*, UNITS+3
ZQT TF+1~, TF+11*, TF+12

Marked Items

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