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

Package: Order Entry Results Reporting

Routine: ORCDPS


Information

ORCDPS ;SLC/MKB - Pharmacy dialog utilities ;Oct 19, 2022@13:32:56

Source Information

Source file <ORCDPS.m>

Entry Points

Name Comments DBIA/ICR reference
CHANGED(TYPE) ; -- Kill dependent values when OI changes
ASKSC() ; -- Return 1 or 0, if SC prompt should be asked
INSTR(OI) ; -- Get allowable instructions and routes
CHOICES(TYPE) ; -- Get list of allowable dispense drugs
NF(DRUG) ; -- Get alternatives for non-formulary drugs
; [Called from P-S Action for Dose]
NF1
DISPDRUG() ; -- Get Dispense Drug from dose selection(s) [from EXDOSE^ORCDPS2]
; Expects PROMPT, ORDIALOG(), ORDOSE()
ID() ; -- Return ID string for dose instance INST
RESETID ; -- Reset ORDIALOG(DOSE) nodes for new ORDRUG
; From EXDOSE^ORCDPS2: Expects PROMPT, DRUG
PTR(X) ; -- Return ptr to prompt OR GTX X

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: CHOICES+7
Function Call: WRITE
  • Prompt: !!,"*** The dispense drug for this dose is not in the formulary! ***"
  • Line Location: NF+11
Function Call: WRITE
  • Prompt: !," Please consult with your pharmacy before ordering this dose."
  • Line Location: NF+13
Function Call: WRITE
  • Prompt: !," Formulary alternative orderable items:"
  • Line Location: NF1+5
Info |  Source |  Entry Points |  Interaction Calls