ORBCMA32 ; SLC/JLI - Pharmacy Calls for GUI Dialog 02/11/2008
Source file <ORBCMA32.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| NXT() | ; -- returns next available index in return data array
 | 
|
| DLGSLCT(LST,PSTYPE) | ; return default lists for dialog
 ; PSTYPE: pharmacy type (U=unit dose, F=IV fluids, O=outpatient)  | 
|
| SHORT | ; from DLGSLCT, get short list of med quick orders
 | 
|
| SCHED | ; from DLGSLCT, get all pharmacy administration schedules
 | 
|
| SCHEDA | ; (similar to SCHED, but also returns administration times)
 | 
|
| PRIOR | ; from DLGSLCT, get list of allowed priorities
 | 
|
| PICKUP | ; from DLGSLCT, get prescription routing
 | 
|
| DEFPICK() | ||
| XPICK | ||
| SCLIST | ; from DLGSLCT, get options for service connected
 | 
|
| OISLCT(LST,OI,PSTYPE,ORVP) | ; return for defaults for pharmacy orderable item
 | 
|
| DISPDRUG(LST,OI) | ; list dispense drugs for an orderable item
 | 
|
| DISPDRG | ; from OISLCT, get dispense drugs for this pharmacy orderable item
 | 
|
| INSTRCT | ; from OISLCT, get list of potential instructions (based on drug form)
 | 
|
| MIXED(X) | ||
| ROUTE | ; from OISLCT, get list of routes for the drug form
 ; ** NEED BOTH ABBREVIATION & NAME IN LIST BOX  | 
|
| MESSAGE | ; message
 | 
|
| ALLROUTE(LST) | ; returns a list of all available med routes
 | 
|
| VALROUTE(REC,X) | ||
| AUTH(VAL,PRV) | ; For inpatient meds, check restrictions
 | 
|
| DRUGMSG(VAL,IEN) | ||
| MEDISIV(VAL,IEN) | ||
| ISSPLY(VAL,IEN) | ; return true if orderable item is a supply
 | 
|
| IVAMT(VAL,OI,ORWTYP) | ||
| VALRATE(VAL,X) | ||
| UPPER(X) | ; return uppercase
 | 
|
| TRIM(X) | ; trim leading and trailing spaces
 | 
|
| SCSTS(VAL,ORVP,ORDRUG) | ||
| XSCSTS | ||
| FORMALT(ORLST,IEN,PSTYPE) | ; return a list of formulary alternatives
 | 
|
| VALSCH(OK,X,PSTYPE) | ||
| VALQTY(OK,X) | ||
| DOSES(LST,OI) | ; return doses for an orderable item  -  TEST ONLY
 | 
| RPC Name | Call Tags | 
|---|---|
| ORBCMA32 DLGSLCT | DLGSLCT | 
| ORBCMA32 AUTH | AUTH | 
| ORBCMA32 DRUGMSG | DRUGMSG | 
| ORBCMA32 FORMALT | FORMALT | 
| ORBCMA32 VALROUTE | VALROUTE | 
| ORBCMA32 ISSPLY | ISSPLY | 
| ORBCMA32 IVAMT | IVAMT | 
| ORBCMA32 VALRATE | VALRATE | 
| ORBCMA32 VALSCH | VALSCH |