ORWDPS33 ;SLC/KCM - Pharmacy Calls for GUI Dialog ;Aug 05, 2022@12:24:43
Source file <ORWDPS33.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Name | Comments | DBIA/ICR reference |
---|---|---|
COMPLOC(ORY,ORID,LOC) | ;
|
|
DOSES(LST,OI) | ; return doses for an orderable item - TEST ONLY
|
|
DRUGMSG(VAL,IEN) | ||
FORMALT(ORLST,IEN,PSTYPE) | ; return a list of formulary alternatives
|
|
GETADDFR(ORY,OIIEN) | ;
|
|
ISVALIV(RESULT,ORID,ACTION) | ;
|
|
IVQOVAL(ARRAY,ROUTE) | ;
|
|
IVDOSFRM(LST,ORDERIDS,ALLIV) | ;
|
|
IVIND(LST,ORDERIDS) | ;*405-IND
|
|
ISSPLY(VAL,IEN) | ; return true if orderable item is a supply
|
|
IVAMT(VAL,OI,ORWTYP) | ||
MEDISIV(VAL,IEN) | ||
SCSTS(VAL,ORVP,ORDRUG) | ||
XSCSTS | ||
VALQTY(OK,X) | ||
VALRATE(VAL,X) | ||
VALSCH(OK,X,PSTYPE) | ||
CLZDS(VAL,PAT,DRG,DSUP,OI) | ; return the days supply for a given cloz patient
; PAT=Patient DFN, DRG=Drug IEN, DSUP=Days Supply to validate, OI=Orderable Item IEN ; VAL=DISPENCE FREQUENCY of the patient in file 603.01 |
Name | Field # of Occurrence |
---|---|
$$RXST^IBARXEU | SCSTS+3 |
$$PTR^ORCD | ISVALIV+32 |
$$ADDFRQCV^ORMBLDP1 | GETADDFR+5 |
INDICAT2^ORWDPS2 | IVIND+6 |
$$TRIM^ORWDPS32 | VALRATE+2 |
$$UPPER^ORWDPS32 | VALRATE+1 |
$$VALINF^ORWDXM3 | ISVALIV+26 |
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 |
DSUP^PSOSIGDS | CLZDS+7 |
NDF^PSS50 | DOSES+5 |
$$IV^PSSDSAPA | GETADDFR+4 |
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 |
ORWDPS33 GETADDFR | GETADDFR |
ORWDPS33 IVIND | IVIND |
ORWDPS33 CLZDS | CLZDS |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^OR(100 - [#100] | COMPLOC+2, ISVALIV+6, ISVALIV+8, ISVALIV+9, ISVALIV+10, ISVALIV+11, ISVALIV+13, ISVALIV+20, ISVALIV+22, ISVALIV+24 , ISVALIV+25, ISVALIV+34, ISVALIV+35, ISVALIV+38 |
^ORD(101.41 - [#101.41] | ISVALIV+3, ISVALIV+4, SCSTS+1 |
^ORD(101.43 - [#101.43] | DOSES+2, FORMALT+3, FORMALT+4, GETADDFR+3, IVDOSFRM+4, IVIND+4, ISSPLY+2, IVAMT+2, MEDISIV+2 |
^TMP("PSJMR" | IVDOSFRM+14! |
^TMP($J | DOSES+4!, DOSES+6, DOSES+10! |
Name | Line Occurrences |
---|---|
$$IVQOVAL | ISVALIV+15 |
IVDOSFRM | IVQOVAL+3 |
XSCSTS | SCSTS+2, SCSTS+3 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ACTION | ISVALIV~, ISVALIV+2, ISVALIV+30 |
ADDCNT | ISVALIV+31~, ISVALIV+33*, ISVALIV+36*, ISVALIV+39 |
ADDFCNT | ISVALIV+31~, ISVALIV+33*, ISVALIV+38*, ISVALIV+39 |
ADDIEN | ISVALIV+31~, ISVALIV+32*, ISVALIV+35 |
ALLIV | IVDOSFRM~, IVDOSFRM+9 |
AMT | IVAMT+1~, IVAMT+9* |
AMT( | IVAMT+5*, IVAMT+7!, IVAMT+9 |
AMT(0 | IVAMT+8* |
ARRAY | ISVALIV+1~, ISVALIV+15, IVQOVAL~, IVQOVAL+3 |
ARRAY( | ISVALIV+10* |
CLIVD | ISVALIV+1~, ISVALIV+4*, ISVALIV+5, ISVALIV+6 |
CNT | ISVALIV+1~, ISVALIV+7*, ISVALIV+10*, IVQOVAL+1~, IVQOVAL+4*, IVQOVAL+5, IVDOSFRM+1~, IVDOSFRM+2*, IVDOSFRM+5*, IVDOSFRM+6 , IVDOSFRM+7, IVDOSFRM+8, IVDOSFRM+10*, IVDOSFRM+11, IVIND+1~, IVIND+8*, IVIND+9, IVIND+12* |
CNT1 | IVDOSFRM+1~, IVDOSFRM+2*, IVDOSFRM+11* |
DRG | CLZDS~, CLZDS+4, CLZDS+6 |
DSUP | CLZDS~, CLZDS+4, CLZDS+10 |
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+19~, ISVALIV+25*, ISVALIV+26 |
INFUSEID | ISVALIV+19~, ISVALIV+24*, ISVALIV+25 |
IVD | ISVALIV+1~, ISVALIV+3*, ISVALIV+5, ISVALIV+6 |
IVTYPE | ISVALIV+19~, ISVALIV+22*, ISVALIV+26, ISVALIV+30 |
IVTYPEID | ISVALIV+19~, ISVALIV+20*, ISVALIV+22 |
LOC | COMPLOC~, COMPLOC+2 |
LST | DOSES~, IVDOSFRM~, IVIND~ |
LST( | DOSES+13*, IVDOSFRM+11*, IVIND+12* |
LST1 | IVIND+1~, IVIND+5!, IVIND+6, IVIND+7 |
LST1( | IVIND+8, IVIND+9 |
LST2 | IVIND+1~, IVIND+11 |
LST2( | IVIND+10*, IVIND+12 |
LSTA | DOSES+1~ |
LSTA( | DOSES+8*, DOSES+9*, DOSES+11, DOSES+12 |
MSG | CLZDS+5~, CLZDS+11*, CLZDS+12, CLZDS+13, CLZDS+14 |
NDF | DOSES+1~, DOSES+6*, DOSES+7 |
NUM | ISVALIV+1~ |
OI | DOSES~, DOSES+2, FORMALT+2~, FORMALT+3*, FORMALT+4, IVDOSFRM+1~, IVDOSFRM+2*, IVDOSFRM+3*, IVDOSFRM+4, IVIND+1~ , IVIND+2*, IVIND+3*, IVIND+4, IVIND+12*, IVAMT~, IVAMT+2, CLZDS~, CLZDS+4, CLZDS+6 |
OIIEN | GETADDFR~, GETADDFR+3 |
OK | VALQTY~, VALQTY+4*, VALSCH~, VALSCH+1*, VALSCH+7* |
ORARRAY | IVDOSFRM+1~, IVDOSFRM+9 |
ORARRAY( | IVDOSFRM+6*, IVDOSFRM+10, IVDOSFRM+11 |
ORARRAY(0 | IVDOSFRM+8* |
ORDERID | ISVALIV+1~, ISVALIV+7*, ISVALIV+8*, ISVALIV+9, ISVALIV+10 |
ORDERIDS | IVDOSFRM~, IVIND~ |
ORDERIDS( | IVDOSFRM+3, IVDOSFRM+4, IVIND+3, IVIND+4 |
ORDFR | CLZDS+5~, CLZDS+8*, CLZDS+9, CLZDS+10, CLZDS+12, CLZDS+13, CLZDS+14 |
ORDRUG | SCSTS~, SCSTS+2 |
ORI | DOSES+1~, DOSES+3*, DOSES+11*, DOSES+12, DOSES+13 |
ORID | COMPLOC~, COMPLOC+2, ISVALIV~, ISVALIV+6, ISVALIV+8, ISVALIV+9, ISVALIV+10, ISVALIV+11, ISVALIV+13, ISVALIV+20 , ISVALIV+22, ISVALIV+24, ISVALIV+25, ISVALIV+34, ISVALIV+35, ISVALIV+38 |
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 |
ORWX | CLZDS+5~, CLZDS+7 |
ORWX("DAYS SU | PPLY" , CLZDS+8 |
ORWX("DRUG" | CLZDS+6* |
ORWX("OI" | CLZDS+6* |
ORWX("PATIENT" | CLZDS+6* |
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*, GETADDFR~, GETADDFR+2*, GETADDFR+5* |
OUTPUT | ISVALIV+1~, ISVALIV+15* |
PAT | CLZDS~, CLZDS+4, CLZDS+6 |
POI | IVDOSFRM+1~, IVDOSFRM+4*, IVDOSFRM+6, IVIND+1~, IVIND+4*, IVIND+6 |
PSOI | GETADDFR+1~, GETADDFR+3*, GETADDFR+4, 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+12*, ISVALIV+14*, ISVALIV+17*, ISVALIV+18, ISVALIV+21*, ISVALIV+23*, ISVALIV+28*, ISVALIV+39*, IVQOVAL+1~ , IVQOVAL+2*, IVQOVAL+4, IVQOVAL+5*, IVQOVAL+6 |
ROUTE | ISVALIV+1~, ISVALIV+13*, ISVALIV+15, IVQOVAL~, IVQOVAL+5 |
ROUTEID | ISVALIV+1~, ISVALIV+7*, ISVALIV+11*, ISVALIV+13 |
SUB | ISVALIV+31~, ISVALIV+33*, ISVALIV+34*, ISVALIV+35, ISVALIV+37*, ISVALIV+38* |
TEMP | GETADDFR+1~, GETADDFR+4*, GETADDFR+5 |
TEXT | IVIND+1~, IVIND+9*, IVIND+10 |
TYPE | ISVALIV+1~, ISVALIV+2*, ISVALIV+12, ISVALIV+14, ISVALIV+17, ISVALIV+21, ISVALIV+23, ISVALIV+28 |
U | COMPLOC+2, DOSES+6, DOSES+8, DOSES+9, DRUGMSG+2, FORMALT+3, FORMALT+4, GETADDFR+3, ISVALIV+6, ISVALIV+35 , IVQOVAL+5, IVDOSFRM+4, IVIND+4, ISSPLY+2, IVAMT+2, IVAMT+9, IVAMT+11, MEDISIV+2, VALRATE+3 |
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*, CLZDS~ , CLZDS+3*, CLZDS+10*, CLZDS+12*, CLZDS+13*, CLZDS+14* |
VAPN | DOSES+1~, DOSES+6*, DOSES+7 |
X | DOSES+1~, DOSES+7*, DOSES+8, DOSES+9, DRUGMSG+1~*, DRUGMSG+2, VALQTY~, VALQTY+3!, VALQTY+4, 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 |