Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls
Print Page as PDF
Routine: ORCDFH1

Package: Order Entry Results Reporting

Routine: ORCDFH1


Information

ORCDFH1 ;SLC/MKB,DKM - Utility functions for FH dialogs cont ; 8/31/17 10:37am

Source Information

Source file <ORCDFH1.m>

Entry Points

Name Comments DBIA/ICR reference
RECENT ; -- get 5 most recent diet orders
PTR(X) ; -- Return ptr to Order Dialog file #101.41 for prompt X
EXP ; -- Expand old order into instances
VALID() ; -- Returns 1 or 0, if selected diet modification is valid
PREV ; -- Ck if previous diet being reordered
CNV ; -- Convert meal abbreviation to time in X [Input Xform]
; Expects X,PROMPT [also called from Entry Action, DO^ORWDXM2]
LKUP ; -- special lookup routine for diet modifications
LKQ
MORE(XX,YY) ; -- Returns 1 or 0, if more matches exist
OK() ; -- Verify multiple diet mod selection
INACTIVE() ;Check for inactive/duplicate diets in single or multiple modifications ;**95

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: $C(7),!,OI_" may not be ordered with other diets!"
  • Line Location: VALID+19
Function Call: WRITE
  • Prompt: $C(7),"This diet has already been selected!"
  • Line Location: VALID+20
Function Call: WRITE
  • Prompt: $C(7),!,"This diet is not orderable with those already selected!",!
  • Line Location: VALID+27
Function Call: WRITE
  • Prompt: !,"The ",$P(^ORD(101.43,ORDIALOG(PROMPT,I),0),U)," diet is INACTIVE."
  • Line Location: INACTIVE+4
Function Call: WRITE
  • Prompt: !,"The ",$P(^ORD(101.43,ORDIALOG(PROMPT,(I+ORI)),0),U)," diet has already been selected."
  • Line Location: INACTIVE+5
Info |  Source |  Entry Points |  Interaction Calls