PSORREF0 ;AITC/BWF Remote RX refill API ;7/15/16 1:57am
Source file <PSORREF0.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 |
Package | Total | Caller Graph |
---|---|---|
Outpatient Pharmacy | 1 | PSORREF |
Name | Comments | DBIA/ICR reference |
---|---|---|
PROCESS(PSORMSG) | ;
|
|
PROCESSX | ;D:$G(PSOREF("OLD FILL DATE"))]"" SUSDATEK^PSOUTIL(.PSOREF)
|
|
DSPLY | ;
|
|
DSPLYX | ||
CHECK | ;
|
|
CHECKX | ||
CKQ | ;
|
|
CHKDIV | ||
CHKDIVX | ||
NUMBER | ||
DATES | ||
EDATE | ||
DATESX | ||
DIR | ;
|
|
EN(PSOREF) | ||
LOOK | ;this entry is used to try and find current med order
|
|
STATUS(PSOREA,PSOSTAT,PSORMSG) | ;
|
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
FileNo | Call Tags |
---|---|
^PSRX - [#52] | FIELD^DID |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DD(52 | CHECK+17 |
^PS(52.5 - [#52.5] | CHECK+14 |
^PSDRUG - [#50] | CHECK+2, CHECK+23, LOOK+1 |
^PSRX - [#52] | PROCESS+1, DSPLY+1, DSPLY+2, NUMBER+1, LOOK+1 |
Name | Line Occurrences |
---|---|
CHECK | PROCESS+5 |
CHECKX | CHECK+13, CHECK+14, CHECK+16, CHECK+19, CHECK+20, CHECK+25, CKQ+1 |
CHKDIV | CHECK+19 |
CKQ | CHECK+2, CHECK+4 |
DATES | CHECK+28 |
DATESX | EDATE+1, EDATE+4 |
DSPLY | PROCESS+4 |
EDATE | DATES+1 |
LOOK | CHECK+11 |
NUMBER | CHECK+20 |
PROCESS | EN+1 |
PROCESSX | PROCESS+4, PROCESS+5 |
STATUS | CHECK+8 |
Name | Field # of Occurrence |
---|---|
^("I" | CHECK+2 |
^("SIG" | PROCESS+1 |
^("STA" | PROCESS+1 |
^(2 | PROCESS+1 |
^(3 | PROCESS+1 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
BSIG | DSPLY+1!, DSPLY+4! |
BSIG( | DSPLY+1*, DSPLY+3 |
BSIG(1 | DSPLY+3 |
DRUG | EN+1!, LOOK+1*, LOOK+2, LOOK+3! |
DSMSG | STATUS+1~, STATUS+2*, STATUS+3*, STATUS+4*, STATUS+5*, STATUS+6*, STATUS+7*, STATUS+8*, STATUS+9*, STATUS+10* , STATUS+18*, STATUS+21 |
DT | CHECK+2, DATES+2 |
FSIG | DSPLY+1!, DSPLY+2! |
FSIG( | DSPLY+1 |
PSOA | STATUS+1~, STATUS+13*, STATUS+17*, STATUS+18, STATUS+19! |
PSOB | STATUS+1~, STATUS+15*, STATUS+16, STATUS+17, STATUS+19! |
>> PSOBBC("DONE" | LOOK+2* |
>> PSOBBC("QFLG" | DATES+1 |
PSODAY | CHECK+22~, CHECK+24*, CHECK+25 |
PSODEA | CHECK+22~, CHECK+23*, CHECK+25 |
PSODF | PROCESS+1!, PROCESS+5, CHECK+10, CHECK+11, EN+1!, LOOK+2* |
>> PSODFN | CHECK+4 |
PSODRG | CHECK+22~, CHECK+23* |
>> PSOERR | CHECK+7 |
>> PSOPAR | CHECK+2, DATES+1 |
PSOREA | CHECK+7*, CHECK+8!, STATUS~, STATUS+3, STATUS+4, STATUS+5, STATUS+6, STATUS+7, STATUS+8, STATUS+9 , STATUS+10, STATUS+11 |
PSOREF | PROCESS+5, DATES, EN~ |
PSOREF("# OF | REFILLS" , NUMBER*, NUMBER+1*, NUMBER+2 |
PSOREF("DAYS | SUPPLY" , PROCESS+2* |
PSOREF("DFLG" | PROCESS+4*, PROCESS+5, CHECK+6, CHECK+7*, CHECK+12*, CHECK+13, CHECK+14*, CHECK+18*, CHECK+19, CHECK+20* , CHECK+27*, CKQ+1*, DATES+1, DATES+8*, EDATE+3*, EDATE+6*, EDATE+18* |
PSOREF("FILL | DATE" , DATES+2*, DATES+5, DATES+6, DATES+7, EDATE+1, EDATE+2, EDATE+4, EDATE+15 |
PSOREF("IRXN" | PROCESS+1, PROCESS+3, DSPLY+1, DSPLY+2, CHECK+6, CHECK+14, CHECK+25, NUMBER+1, LOOK+1, LOOK+2* |
PSOREF("LAST | REFILL DATE" , EDATE*, EDATE+1, EDATE+4, EDATE+5 |
PSOREF("NUMBER" | CHECK+20, NUMBER+2* |
PSOREF("PSODFN" | PROCESS+1*, CHECK+4 |
PSOREF("RX0" | PROCESS+1*, PROCESS+2, CHECK+2, CHECK+3, CHECK+4, CHECK+7, CHECK+20, CHECK+23, CHECK+24 |
PSOREF("RX2" | PROCESS+1*, DATES |
PSOREF("RX3" | PROCESS+1*, EDATE, EDATE+15, EDATE+18 |
PSOREF("RXSTATUS" | CHECK+15*, CHECK+16, CHECK+17 |
PSOREF("SIG" | PROCESS+1* |
PSOREF("STA" | PROCESS+1*, CHECK+7, CHECK+15 |
PSOREF("STOP | DATE" , DATES*, DATES+5, DATES+7, DATES+8 |
PSORMSG | PROCESS~, CHECK+8, STATUS~ |
PSORMSG(1 | CHECK+3*, CHECK+4*, CHECK+7*, CHECK+10*, CHECK+14*, CHECK+18*, CHECK+20*, CHECK+26*, DATES+6*, EDATE+2* , EDATE+5*, EDATE+18*, STATUS+2, STATUS+21* |
PSORMSG(2 | DATES+7* |
PSORMSG(3 | DATES+8* |
>> PSOSD | CHECK+6, LOOK+2 |
>> PSOSD( | CHECK+6, LOOK+2 |
PSOSTAT | CHECK+7*, CHECK+8!, STATUS~, STATUS+12*, STATUS+13 |
PSOX | CHECK+5*, CHECK+6*, CHECK+13!, CHECK+17*, NUMBER!, NUMBER+1*, LOOK+1*, LOOK+2* |
PSOY | CHECK+5*, CHECK+6*, CHECK+7, CHECK+10, CHECK+13!, CHECK+17*, CHECK+18, NUMBER!, LOOK+1*, LOOK+2* |
PSREV | DSPLY+1*, DSPLY+2!, DSPLY+3*, DSPLY+4! |
STA | CHECK+1~, CHECK+5*, CHECK+6*, LOOK+1*, LOOK+2* |
TARGET | STATUS+1~ |
TARGET("POINTER" | STATUS+15 |
U | CHECK+23, CHECK+24 |
Y | EDATE+18*! |
>> ZD( | PROCESS+3! |