ORWDPS33 ; SLC/KCM - Pharmacy Calls for GUI Dialog ;06-Jun-2013 09:19;PLS
Source file <ORWDPS33.m>
Package | Total | Call Graph |
---|---|---|
Inpatient Medications | 3 | ORINF^PSIVSP ENVOL^PSJORUT2 ($$ENDCM,ENDD,ENRFA)^PSJORUTL |
Pharmacy Data Management | 3 | NDF^PSS50 EN^PSSGSGUI START1^PSSJORDF |
Order Entry Results Reporting | 2 | ($$TRIM,$$UPPER)^ORWDPS32 $$VALINF^ORWDXM3 |
Integrated Billing | 1 | $$RXST^IBARXEU |
National Drug File | 1 | $$DFSU^PSNAPIS |
Outpatient Pharmacy | 1 | ($$SC,SC)^PSOCP |
Package | Total | Caller Graph |
---|---|---|
Order Entry Results Reporting | 4 | ORCDPSIV ORWDXA ORWDXM3 ORWNSS |
Name | Comments | DBIA/ICR reference |
---|---|---|
ISSPLY(VAL,IEN) | ; return true if orderable item is a supply
|
|
MEDISIV(VAL,IEN) | ; return true if orderable item is IV medication
|
|
XSCSTS | ||
VALSCH(OK,X,PSTYPE) | ; validate a schedule, return 1 if valid, 0 if not
|
|
IVAMT(VAL,OI,ORWTYP) | ; return UNITS^AMOUNT |^AMOUNT^AMOUNT...| for IV soln
|
|
DRUGMSG(VAL,IEN) | ; return any message associated with a dispense drug
|
|
DOSES(LST,OI) | ; return doses for an orderable item - TEST ONLY
|
|
VALRATE(VAL,X) | ; return "1" (true) if IV rate text is valid
|
|
COMPLOC(ORY,ORID,LOC) | ;
|
|
FORMALT(ORLST,IEN,PSTYPE) | ; return a list of formulary alternatives
|
|
VALQTY(OK,X) | ; validate a quantity, return 1 if valid, 0 if not
; to be compatible with LM, make sure X is integer from 1 to 240 ; this is based on the input transform from 52,7 |
|
IVDOSFRM(LST,ORDERIDS,DEFAULT,ALLIV) | ;
|
|
ISVALIV(RESULT,ORID,ACTION) | ;
|
|
IVQOVAL(ARRAY,ROUTE) | ;
|
|
SCSTS(VAL,ORVP,ORDRUG) | ; return service connected eligibility for patient
|
Name | Field # of Occurrence |
---|---|
$$RXST^IBARXEU | SCSTS+3 |
$$TRIM^ORWDPS32 | VALRATE+2 |
$$UPPER^ORWDPS32 | VALRATE+1 |
$$VALINF^ORWDXM3 | ISVALIV+24 |
ORINF^PSIVSP | VALRATE+3 |
ENVOL^PSJORUT2 | IVAMT+3 |
$$ENDCM^PSJORUTL | DRUGMSG+1 |
ENDD^PSJORUTL | DOSES+2 |
ENRFA^PSJORUTL | FORMALT+1 |
$$DFSU^PSNAPIS | DOSES+7 |
$$SC^PSOCP | SCSTS+2 |
SC^PSOCP | SCSTS+2 |
NDF^PSS50 | DOSES+5 |
EN^PSSGSGUI | VALSCH+1, VALSCH+2, VALSCH+3, VALSCH+6 |
START1^PSSJORDF | IVDOSFRM+9 |
RPC Name | Call Tags |
---|---|
ORWDPS32 DRUGMSG | DRUGMSG |
ORWDPS32 MEDISIV | MEDISIV |
ORWDPS32 FORMALT | FORMALT |
ORWDPS32 SCSTS | SCSTS |
ORWDPS32 IVAMT | IVAMT |
ORWDPS32 VALRATE | VALRATE |
ORWDPS32 ISSPLY | ISSPLY |
ORWDPS32 VALSCH | VALSCH |
ORWDPS32 VALQTY | VALQTY |
ORWDPS32 DOSES | DOSES |
ORWDPS33 COMPLOC | COMPLOC |
ORWDPS33 IVDOSFRM | IVDOSFRM |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^OR(100 - [#100] | COMPLOC+2, ISVALIV+4, ISVALIV+6, ISVALIV+7, ISVALIV+8, ISVALIV+9, ISVALIV+11, ISVALIV+18, ISVALIV+20, ISVALIV+22 , ISVALIV+23 |
^ORD(101.41 - [#101.41] | ISVALIV+3, SCSTS+1 |
^ORD(101.43 - [#101.43] | DOSES+2, FORMALT+3, FORMALT+4, IVDOSFRM+4, ISSPLY+2, IVAMT+2, MEDISIV+2 |
^TMP("PSJMR" | IVDOSFRM+14! |
^TMP($J | DOSES+4!, DOSES+6, DOSES+10! |
Name | Line Occurrences |
---|---|
$$IVQOVAL | ISVALIV+13 |
IVDOSFRM | IVQOVAL+3 |
XSCSTS | SCSTS+2, SCSTS+3 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ACTION | ISVALIV~, ISVALIV+2 |
ALLIV | IVDOSFRM~, IVDOSFRM+9 |
AMT | IVAMT+1~, IVAMT+9* |
AMT( | IVAMT+5*, IVAMT+7!, IVAMT+9 |
AMT(0 | IVAMT+8* |
ARRAY | ISVALIV+1~, ISVALIV+13, IVQOVAL~, IVQOVAL+3, IVDOSFRM+1~, IVDOSFRM+9 |
ARRAY( | ISVALIV+8*, IVDOSFRM+6*, IVDOSFRM+10, IVDOSFRM+11 |
ARRAY(0 | IVDOSFRM+8* |
CNT | ISVALIV+1~, ISVALIV+5*, ISVALIV+8*, IVQOVAL+1~, IVQOVAL+4*, IVQOVAL+5, IVDOSFRM+1~, IVDOSFRM+2*, IVDOSFRM+5*, IVDOSFRM+6 , IVDOSFRM+7, IVDOSFRM+8, IVDOSFRM+10*, IVDOSFRM+11 |
CNT1 | IVDOSFRM+1~, IVDOSFRM+2*, IVDOSFRM+11* |
DEFAULT | IVDOSFRM~ |
I | FORMALT+2*, FORMALT+3, FORMALT+4, IVAMT+1~, IVAMT+5*, IVAMT+6, IVAMT+7, IVAMT+8, IVAMT+11* |
ID | ISVALIV+1~ |
IEN | DRUGMSG~, DRUGMSG+1, FORMALT~, FORMALT+1, ISSPLY~, ISSPLY+2, MEDISIV~, MEDISIV+2 |
ILST | DOSES+1~, DOSES+11*, DOSES+13* |
INFUSE | ISVALIV+17~, ISVALIV+23*, ISVALIV+24 |
INFUSEID | ISVALIV+17~, ISVALIV+22*, ISVALIV+23 |
IVD | ISVALIV+1~, ISVALIV+3*, ISVALIV+4 |
IVTYPE | ISVALIV+17~, ISVALIV+20*, ISVALIV+24 |
IVTYPEID | ISVALIV+17~, ISVALIV+18*, ISVALIV+20 |
LOC | COMPLOC~, COMPLOC+2 |
LST | DOSES~, IVDOSFRM~ |
LST( | DOSES+13*, IVDOSFRM+11* |
>> LSTA( | DOSES+8*, DOSES+9*, DOSES+11, DOSES+12 |
LTSA | DOSES+1~ |
NDF | DOSES+1~, DOSES+6*, DOSES+7 |
NUM | ISVALIV+1~ |
OI | DOSES~, DOSES+2, FORMALT+3*, FORMALT+4, IVDOSFRM+1~, IVDOSFRM+2*, IVDOSFRM+3*, IVDOSFRM+4, IVAMT~, IVAMT+2 |
OK | VALQTY~, VALQTY+8*, VALSCH~, VALSCH+1*, VALSCH+7* |
ORDERID | ISVALIV+1~, ISVALIV+5*, ISVALIV+6*, ISVALIV+7, ISVALIV+8 |
ORDERIDS | IVDOSFRM~ |
ORDERIDS( | IVDOSFRM+3, IVDOSFRM+4 |
ORDRUG | SCSTS~, SCSTS+2 |
ORI | DOSES+1~, DOSES+3*, DOSES+11*, DOSES+12, DOSES+13 |
ORID | COMPLOC~, COMPLOC+2, ISVALIV~, ISVALIV+4, ISVALIV+6, ISVALIV+7, ISVALIV+8, ISVALIV+9, ISVALIV+11, ISVALIV+18 , ISVALIV+20, ISVALIV+22, ISVALIV+23 |
ORJ | DOSES+1~, DOSES+12*, DOSES+13 |
ORLST | FORMALT~, FORMALT+1 |
ORLST( | FORMALT+2, FORMALT+3, FORMALT+4* |
ORTMP | DOSES+1~, DOSES+2 |
ORTMP( | DOSES+3 |
ORVP | SCSTS~, SCSTS+2, SCSTS+3 |
ORWDRG | DOSES+1~, DOSES+3*, DOSES+5, DOSES+6 |
ORWP94 | SCSTS+1~*, SCSTS+3 |
ORWTYP | IVAMT~, IVAMT+2, IVAMT+4, IVAMT+10 |
ORWY | IVAMT+1~, IVAMT+3 |
ORWY( | IVAMT+5, IVAMT+6, IVAMT+7, IVAMT+8, IVAMT+11 |
ORWY(0 | IVAMT+11 |
ORX | VALSCH+3~*, VALSCH+4 |
ORY | COMPLOC~, COMPLOC+1*, COMPLOC+2* |
OUTPUT | ISVALIV+1~, ISVALIV+13* |
POI | IVDOSFRM+1~, IVDOSFRM+4*, IVDOSFRM+6 |
PSOI | IVAMT+1~, IVAMT+2*, IVAMT+3 |
PSTYPE | DOSES+1~*, DOSES+2, FORMALT~, FORMALT+1, VALSCH~, VALSCH+3 |
RARR | IVQOVAL+1~, IVQOVAL+3 |
RARR( | IVQOVAL+4, IVQOVAL+5 |
RESULT | ISVALIV~, ISVALIV+10*, ISVALIV+12*, ISVALIV+15*, ISVALIV+16, ISVALIV+19*, ISVALIV+21*, ISVALIV+26*, IVQOVAL+1~, IVQOVAL+2* , IVQOVAL+4, IVQOVAL+5*, IVQOVAL+6 |
ROUTE | ISVALIV+1~, ISVALIV+11*, ISVALIV+13, IVQOVAL~, IVQOVAL+5 |
ROUTEID | ISVALIV+1~, ISVALIV+5*, ISVALIV+9*, ISVALIV+11 |
TYPE | ISVALIV+1~, ISVALIV+2*, ISVALIV+10, ISVALIV+12, ISVALIV+15, ISVALIV+19, ISVALIV+21, ISVALIV+26 |
U | COMPLOC+2, DOSES+6, DOSES+8, DOSES+9, DRUGMSG+2, FORMALT+3, FORMALT+4, ISVALIV+4, IVQOVAL+5, IVDOSFRM+4 , ISSPLY+2, IVAMT+2, IVAMT+9, IVAMT+11, MEDISIV+2 |
VAL | DRUGMSG~, DRUGMSG+2*, ISSPLY~, ISSPLY+1*, ISSPLY+2*, IVAMT~, IVAMT+2*, IVAMT+9*, IVAMT+11*, IVAMT+12* , MEDISIV~, MEDISIV+1*, MEDISIV+2*, SCSTS~, SCSTS+2*, SCSTS+3*, SCSTS+4*, VALRATE~, VALRATE+3* |
VAPN | DOSES+1~, DOSES+6*, DOSES+7 |
X | DOSES+1~, DOSES+7*, DOSES+8, DOSES+9, DRUGMSG+1~*, DRUGMSG+2, VALQTY~, VALQTY+7!, VALQTY+8, VALRATE~ , VALRATE+1*, VALRATE+2*, VALRATE+3, VALSCH~, VALSCH+3, VALSCH+4!*, VALSCH+7 |
Name | Field # of Occurrence |
---|---|
$T(EN^PSSGSGUI | VALSCH+1, VALSCH+2 |
$T(SC^PSOCP | SCSTS+2 |