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

Package: Order Entry Results Reporting

Routine: ORMBLDFH


Information

ORMBLDFH ; SLC/MKB - Build outgoing Dietetics ORM msgs ;11/17/00 11:06

Source Information

Source file <ORMBLDFH.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
Order Entry Results Reporting 4 $$EXT^ORCD  EN2^ORCDFH  DATES^ORCSAVE2  ($$MSH,$$PID,$$PV1,$$USID)^ORMBLD  
Kernel 3 ($$DOW,$$FMTHL7,$$NOW)^XLFDT  $$UP^XLFSTR  MSG^XQOR  
Dietetics 1 EN1^FHWOR8  

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

Package Total Caller Graph
Order Entry Results Reporting 1 ORMBLD  

Entry Points

Name Comments DBIA/ICR reference
HL7DATE(DATE) ; -- FM -> HL7 format
PTR(NAME) ; -- Returns ptr value of prompt in Dialog file
DIET ; -- new Diet order (incl NPO)
NPO(Y) ; -- Returns 1 or 0, if diet ordered is NPO
OPM ; -- new Outpatient Meal
ADDN ; -- new Additional Diet order
DATES ; -- get Start date for order IFN, QT field in msg
TF ; -- new Tubefeeding order
TRAY ; -- new Early/Late Tray order
IP ; -- new Isolation/Precaution order
CANCEL(TIME,DFN,LOC,PROV) ; -- Cancel outpatient meal time(s) where
; TIME(n) = date.time

External References

Name Field # of Occurrence
EN1^FHWOR8 TRAY+3
$$EXT^ORCD OPM+14
EN2^ORCDFH TRAY+3
DATES^ORCSAVE2 DATES+3, IP+1
$$MSH^ORMBLD CANCEL+3
$$PID^ORMBLD CANCEL+4
$$PV1^ORMBLD CANCEL+5
$$USID^ORMBLD DIET+10, OPM+15, TF+6
$$DOW^XLFDT OPM+6
$$FMTHL7^XLFDT HL7DATE+1, CANCEL+2
$$NOW^XLFDT DATES+2, IP+1, CANCEL+2
$$UP^XLFSTR OPM+6, TRAY+11
MSG^XQOR CANCEL+7

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^FH(119.4 - [#119.4] IP+4
^OR(100 - [#100] DIET+3, DIET+11, DATES+1, TRAY+2
^ORD(101.41 - [#101.41] PTR+1
^ORD(101.43 - [#101.43] NPO+1, TRAY+5

Label References

Name Line Occurrences
$$HL7DATE DIET+7, OPM+9, DATES+4, TRAY+10, IP+2
$$NPO DIET+8, OPM+13
$$PTR DIET+4, DIET+5, DIET+6, OPM+3, OPM+10, OPM+11, OPM+12, OPM+14, ADDN+2, DATES+2
TF+2, TF+3, TF+4, TRAY+4, TRAY+5, TRAY+6, TRAY+7, TRAY+8, IP+3
DATES ADDN+1, TF+3
OPM DIET+1

Naked Globals

Name Field # of Occurrence
^(0 DIET+3, TRAY+2
^(3 DIET+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
BAGGED TRAY+1~, TRAY+7*, TRAY+11
DATE HL7DATE~, HL7DATE+1
DAYS OPM+1~, OPM+3*, OPM+8*, OPM+9, TRAY+1~, TRAY+8*, TRAY+9*, TRAY+10
DELVRY OPM+1~, OPM+14*, OPM+15
DFN CANCEL~, CANCEL+4, CANCEL+5
DT OPM+4
DUR TF+1~, TF+9*, TF+10*, TF+11
DUZ CANCEL+6
I NPO+1~*, NPO+2, OPM+1~, OPM+8*, OPM+14*, TF+1~, TF+5*, TF+6, TF+8, TRAY+1~
TRAY+9*, CANCEL+2~, CANCEL+6*
>> IFN DIET+3, DATES+1, DATES+3, TRAY+2, IP+1
INPT DATES+1~*, DATES+2
INST DIET+2~, DIET+9*, DIET+10
INT TF+1~, TF+9*, TF+11
IP IP+1~, IP+3*, IP+4
J DIET+2~, DIET+9*, DIET+10*, TF+1~, TF+5*, TF+7*, TF+11*, CANCEL+2~, CANCEL+5*, CANCEL+6*
LOC CANCEL~, CANCEL+5
MEAL OPM+1~, OPM+11*, OPM+13, OPM+15, TRAY+1~, TRAY+4*, TRAY+6, TRAY+11
NAME PTR~, PTR+1
NOW IP+1~*, IP+2
OI DIET+2~, DIET+6*, DIET+8, DIET+9, DIET+10, OPM+1~, OPM+10*, OPM+13, OPM+15, TF+1~
TF+2*, TF+5, TF+6, TRAY+1~, TRAY+5*, TRAY+6
>> OR0 DIET+1, OPM+2
OR3 DIET+2~, DIET+3*, DIET+11
>> ORDIALOG( DIET+4, DIET+5, DIET+9, DIET+10, NPO+1, NPO+2, OPM+3, OPM+11, OPM+12, OPM+14
OPM+15, ADDN+2, DATES+2, TF+4, TF+5, TF+6, TF+8, TRAY+4, TRAY+5, TRAY+6
TRAY+7, TRAY+8, IP+3
ORL TRAY+1~, TRAY+2*, TRAY+3
ORMSG CANCEL+2~, CANCEL+7
ORMSG( DIET+10*, TF+7*, TF+11*, CANCEL+6*
ORMSG(1 CANCEL+3*
ORMSG(2 CANCEL+4*
ORMSG(3 CANCEL+5*
ORMSG(4 DIET+7*, DIET+11*, OPM+9*, DATES+4*, TRAY+10*, IP+2*
ORMSG(5 DIET+8*, OPM+13*, OPM+15*, ADDN+3*, TRAY+11*, IP+4*
ORNOW CANCEL+2~*, CANCEL+6
ORPARAM TRAY+1~, TRAY+3
ORTIME TRAY+1~
ORTIME( TRAY+6
PROV CANCEL~, CANCEL+6
QT DIET+2~, DIET+7*, OPM+1~, OPM+9*, TF+1~, TF+3*, TF+8
QUAN TF+1~, TF+8*, TF+11
SCH OPM+1~, OPM+3*, OPM+4, OPM+5, OPM+7*, OPM+8, TRAY+1~, TRAY+8*, TRAY+9
START DIET+2~, DIET+3*, DIET+7, OPM+1~, OPM+2*, OPM+4, OPM+6, OPM+9, TRAY+1~, TRAY+2*
TRAY+10
STOP DIET+2~, DIET+3*, DIET+7, OPM+1~, OPM+2*, OPM+4, OPM+9, TRAY+1~, TRAY+2*, TRAY+10
STR TF+1~, TF+2*, TF+6
TEXT DIET+2~, DIET+5*, DIET+8, DIET+10, OPM+1~, OPM+12*, OPM+13, ADDN+1~, ADDN+2*, ADDN+3
TF+1~, TF+4*, TF+7
TF TF+1~, TF+6*, TF+7
TIME TRAY+1~, TRAY+6*, TRAY+11, CANCEL~
TIME( CANCEL+6
TYPE DIET+2~, DIET+4*, DIET+10, OPM+1~, OPM+2*, OPM+4*, OPM+13, OPM+15, TRAY+1~, TRAY+5*
TRAY+11
U DIET+1, DIET+3, DIET+7, DIET+11, OPM+2, OPM+9, DATES+1, TF+6, TF+11, TRAY+2
TRAY+5, TRAY+10, IP+4
X NPO+1~*, NPO+2, OPM+1~, OPM+6*, OPM+7, OPM+8*, DATES+1~, DATES+2*, DATES+3, DATES+4
TF+1~, TF+8*, TF+9, TRAY+1~, TRAY+9*, CANCEL+6*
Y NPO~, NPO+1, NPO+2
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All