ORCDFH ;SLC/MKB-Utility functions for FH dialogs ; 08 May 2002 2:12 PM
Source file <ORCDFH.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
EN | ; -- entry action
|
|
CKFUTURE | ; -- Ck for future diet orders
|
|
CONT() | ; -- Ok to continue?
|
|
EN2 | ; -- Reformat ORPARAM() into ORTIME(<tray>,<meal>,1-3)=ext^ext
|
|
FMTIME(X) | ; -- Returns FM format of time
|
|
EX | ; -- exit action
|
|
DIET(DFN) | ; -- Returns patient DFN's current diet order
|
|
VALID() | ; -- Returns 1 or 0, if selected diet modification is valid
|
|
CURRENT(DG) | ; -- Returns order number of currently active DG order
|
|
FUTURE(FLD) | ; -- Returns 1 or 0, if date from FLD is future
|
|
SCHEDOK(X) | ; -- Validates days of the week
|
|
MEALS | ; -- Sets meal times into ORDIALOG(PROMPT,"LIST")
|
|
NOTIMES(MEAL,TIME) | ; -- If no tray times defined, write msg and reask
|
|
NTQ | ||
CKTIME | ; -- Validate meal time
|
|
DELIVERY | ; -- Set available delivery/service types by location
|
|
CANCEL(ORIFN) | ; -- Return 1 or 0, if future trays should be cancelled
|
|
RESUME(ORDER) | ; -- Returns 1 or 0, if tray service should be resumed
|
|
LATETRAY | ; -- Order a late tray with diet ORIFN? [from VALID^ORCSIGN]
|
|
LTRAY | ; -- enter here w/ORDATE,ORSTRT,ORNP [reinstated diet after dc'ing NPO]
|
|
LT1 | ||
ORDTRAY(M) | ; -- Want to order tray for meal M?
|
|
ASKSTOP() | ; -- Ck OI's for parameter
|
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|