ORCDPS ;SLC/MKB - Pharmacy dialog utilities ;Oct 19, 2022@13:32:56
Source file <ORCDPS.m>
| 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
 | 
| Name | Line Occurrences | 
|---|---|
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  |