PSOSPML7 ;BIRM/MFR - Resend a Group of Selected Prescriptions ;10/10/12
Source file <PSOSPML7.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 | 3 | PSO SPMP MANUAL EXPORT/RX FIX PSO SPMP1 MANUAL BATCH EXPORT PSOSPMU1 |
Kernel | 1 | ^ORD(101 |
Name | Comments | DBIA/ICR reference |
---|---|---|
ASK | ; MANUAL BATCH EXPORT
|
|
BEGDT | ;
; - Ask for Start DATE ; Note: The legislation allowing VA to report was published on 02/11/2013 |
|
ENDDT | ;
; - Ask for End DATE |
|
NOCRITERIA | ;
; No criteria was selected. All RXs will be sent within the given date range. |
|
PATSEL | ;
; - Selection of PATIENTS |
|
PRESCSEL | ;
; - Selection of PRESCRIBERS |
|
DIVSEL | ; - Division selection (one, multiple or ALL)
|
|
DRGSEL | ;
; Prompt for drug |
|
RXSEL | ;
; - Selection of prescriptions - Prescription prompt |
|
RXSEL1 | ;
|
|
FILTER(LIST,RXIEN,FILL) | ; Filter Rx Fills based on User Entered Filter Criteria
; Input: FILTER - List of Filter(s) to be screened |
|
RXPRV(RXIEN,FILL) | ; Returns the Rx Fill Provider IEN
; Input: (r) RXIEN - Rx IEN (#52) ; (o) FILL - Refill # (Default: most recent - except Partial) ; Note: "P1", "P2"... represent partial fills ; Output: RXPRV - Rx Fill Provider IEN |
|
LSTRFL(RX) | ; - Returns the latest fill for the Rx
; Input: (r) RX - Rx IEN (#52) |
|
HLP | ; Help Text for the VIEW PRESCRIPTION prompt
|
|
LKP(INPUT) | ; - Performs Lookup on the PRESCRIPTION file
|
|
RXLKP(RXNUM) | ; - Peforms Lookup on the PRESCRIPTION file
|
|
CSRX(RXIEN) | ; Controlled Substance Rx?
; Input: RXIEN - PRESCRIPTION file (#52) pointer |
|
RTSEL | ;
; - Selection of record type |
|
CSDRUG(IEN) | ;Controlled Substance drug?
; Input: DRGIEN - DRUG file (#50) pointer |
|
PATLK | ;Entry point - Prompts for Patient, Prescription Number or Barcode
; ; Input - DIC(0) & DIC("A") [Optional] ; Used by DIR if defined by the calling routine. |
Name | Field # of Occurrence |
---|---|
^%DT | BEGDT+5, ENDDT+3 |
^DIC | ASK+9, PRESCSEL+8, DIVSEL+6, DRGSEL+7 |
IX^DIC | LKP+4, RXLKP+3 |
$$GET1^DIQ | ASK+8, FILTER+15, FILTER+18, RXPRV+8, RXPRV+9, RXPRV+10 |
^DIR | ENDDT+19, RXSEL1+3, RTSEL+12, PATLK+11 |
$$RXNUM^PSOBPSU2 | RXSEL1+11 |
$$RXRLDT^PSOBPSUT | RXSEL1+16 |
$$RXSITE^PSOBPSUT | FILTER+21 |
EXPORT^PSOSPML1 | ENDDT+30 |
$$CHKST^PSOSPML8 | FILTER+23 |
PAUSE^PSOSPMU1 | BEGDT+8, ENDDT+4, RXSEL1+15, RXSEL1+17, RXSEL1+19 |
$$RXFILL^PSOSPMU2 | RXSEL1+12 |
$$SCREEN^PSOSPMUT | RXSEL1+13 |
FULL^VALM1 | ASK+2 |
$$FMADD^XLFDT | BEGDT+3 |
$$FMTE^XLFDT | BEGDT+4, ENDDT+2 |
$$NOW^XLFDT | DIVSEL+3 |
$$UP^XLFSTR | RXSEL1+7 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^VA(200 - [#200] | Classic Fileman Calls |
^DIC(5 - [#5] | Classic Fileman Calls, GET1^DIQ |
^PSRX - [#52] | Classic Fileman Calls, GET1^DIQ |
52.1 | GET1^DIQ |
52.2 | GET1^DIQ |
^PS(59 - [#59] | Classic Fileman Calls |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^PS(58.41 - [#58.41] | ASK+8 |
^PS(58.42 - [#58.42] | RXSEL1+18, FILTER+13, FILTER+16, FILTER+19, FILTER+22, FILTER+23 |
^PSDRUG - [#50] | CSRX+5, CSDRUG+5 |
^PSRX - [#52] | LSTRFL+4, CSRX+4 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
%DT | ASK+3~, BEGDT+4*, ENDDT+2!* |
%DT("A" | BEGDT+4*, ENDDT+2* |
%DT("B" | ENDDT+2* |
%DT(0 | BEGDT+4*, ENDDT+2* |
ARRAY | ASK+4~, ENDDT+22!, ENDDT+30, NOCRITERIA+2*, PATSEL+7!, PATSEL+8*, PRESCSEL+9!, PRESCSEL+14*, DIVSEL+7!, DIVSEL+12* , DRGSEL+8!, DRGSEL+13*, RXSEL+5*, RXSEL1+4! |
ARRAY( | PATSEL+6*, PRESCSEL+12*, DIVSEL+10*, DRGSEL+11*, RXSEL1+20* |
ARRAY(0 | ENDDT+25, PATSEL+8, PRESCSEL+10, PRESCSEL+14, DIVSEL+8, DIVSEL+12, DRGSEL+9, DRGSEL+13, RXSEL+5, RXSEL1+1 , RXSEL1+5, PATLK+13 |
BEGINDT | ASK+3~, BEGDT+9*, ENDDT+2, ENDDT+30 |
D | LKP+2*, RXLKP+1~, RXLKP+2* |
DEA | CSRX+3~, CSRX+5*, CSRX+6, CSDRUG+3~, CSDRUG+5*, CSDRUG+6 |
DIC | ASK+3~, ASK+7*, PATSEL+2~, PRESCSEL+2~, PRESCSEL+3*, DIVSEL+1~, DIVSEL+5*, DRGSEL+2~, DRGSEL+3*, LKP+1~ , LKP+2*, RXLKP+1~, RXLKP+2* |
DIC("A" | ASK+7*, PATSEL+4*, PATSEL+6*, PRESCSEL+5*, PRESCSEL+13*, DIVSEL+5*, DIVSEL+11*, DRGSEL+5*, DRGSEL+12*, PATLK+8 , PATLK+9 |
DIC("B" | ASK+8* |
DIC("S" | ASK+7*, PRESCSEL+6*, DIVSEL+4*, DRGSEL+4*, LKP+3* |
DIC("W" | PRESCSEL+4* |
DIC(0 | ASK+9*, PATSEL+4*, PRESCSEL+3*, DIVSEL+5*, DRGSEL+3*, LKP+2*, RXLKP+2* |
DIR | ASK+3~, ENDDT+9!, ENDDT+19!, PATSEL+3~, RXSEL+2~, RTSEL+4!, RTSEL+12! |
DIR("?" | RXSEL1+2*, RTSEL+10*, RTSEL+11*, PATLK+10* |
DIR("??" | RXSEL1+2*, PATLK+10* |
DIR("A" | ENDDT+9*, RXSEL1+1*, RTSEL+4*, PATLK+9* |
DIR("B" | RTSEL+12* |
DIR("L" | ENDDT+11*, ENDDT+12*, ENDDT+13*, ENDDT+14*, ENDDT+15*, ENDDT+16*, ENDDT+17*, ENDDT+18*, RTSEL+5*, RTSEL+6* , RTSEL+8*, RTSEL+9* |
DIR(0 | ENDDT+10*, RXSEL1+2*, RTSEL+7*, PATLK+8* |
DIROUT | PATSEL+3~, PRESCSEL+2~, PRESCSEL+9, DIVSEL+1~, DIVSEL+7, DRGSEL+2~, DRGSEL+8, RXSEL+2~, RXSEL1+4, PATLK+12 |
DIRUT | ASK+3~, ENDDT+19!, PRESCSEL+2~, PRESCSEL+9, DIVSEL+7, DRGSEL+2~, DRGSEL+8, RTSEL+12! |
DRGIEN | CSRX+3~, CSRX+4*, CSRX+5 |
DT | BEGDT+3, BEGDT+8, ENDDT+4, DIVSEL+3~* |
DTOUT | ASK+3~, BEGDT+7, ENDDT+3, PATSEL+3~, PRESCSEL+2~, PRESCSEL+9, DIVSEL+1~, DIVSEL+7, DRGSEL+2~, DRGSEL+8 , RXSEL+2~, RXSEL1+4, PATLK+12 |
DUOUT | ASK+3~, ENDDT+19!, PATSEL+3~, PRESCSEL+2~, PRESCSEL+9, DIVSEL+1~, DIVSEL+7, DRGSEL+2~, DRGSEL+8, RXSEL+2~ , RXSEL1+4, RTSEL+12!, PATLK+12 |
ENDDT | ASK+3~, ENDDT+5*, ENDDT+30 |
FILL | FILTER~, FILTER+10, FILTER+12, FILTER+13, FILTER+16, FILTER+19, FILTER+21, FILTER+22, FILTER+23, RXPRV~ , RXPRV+7*, RXPRV+8, RXPRV+9 |
FILLNUM | RXSEL+2~, RXSEL1+12*, RXSEL1+13, RXSEL1+16, RXSEL1+18, RXSEL1+20 |
FILTER | ASK+4~, ENDDT+7*, ENDDT+20*, ENDDT+23 |
I | PATSEL+2~, PRESCSEL+2~, LSTRFL+3~, LSTRFL+4* |
IEN | CSDRUG~, CSDRUG+4, CSDRUG+5 |
INPUT | LKP~, LKP+2 |
LIST | FILTER~, FILTER+9, FILTER+10, FILTER+11, FILTER+14, FILTER+17, FILTER+20, FILTER+23 |
LIST( | FILTER+10, FILTER+12, FILTER+15, FILTER+18, FILTER+21 |
LIST("STATE" | FILTER+23 |
LSTRFL | LSTRFL+3~, LSTRFL+4*, LSTRFL+5 |
PAGE | PATLK+7! |
PSOERROR | ASK+3~ |
PSOPTLK | PATSEL+6!, PATSEL+7, PATLK+7!, PATLK+14* |
QUIT | ASK+4~, ENDDT+7*, ENDDT+8, ENDDT+19*, ENDDT+27, PATSEL+7*, PRESCSEL+8, PRESCSEL+9*, PRESCSEL+11*, DIVSEL+6 , DIVSEL+7*, DIVSEL+9*, DRGSEL+7, DRGSEL+8*, DRGSEL+10*, RXSEL+4, RXSEL1+4*, RXSEL1+6*, RXSEL1+7*, RXSEL1+9* , RXSEL1+10*, RXSEL1+11*, RXSEL1+12*, RTSEL+2*, RTSEL+3, RTSEL+12* |
RECTYPE | ASK+4~, ENDDT+30, RTSEL+2*, RTSEL+13* |
RX | LSTRFL~, LSTRFL+4 |
RXIEN | RXSEL1+8*, RXSEL1+11*, RXSEL1+12, RXSEL1+13, RXSEL1+16, RXSEL1+18, RXSEL1+20, FILTER~, FILTER+10, FILTER+12 , FILTER+13, FILTER+15, FILTER+16, FILTER+18, FILTER+19, FILTER+21, FILTER+22, FILTER+23, RXPRV~, RXPRV+6 , RXPRV+7, RXPRV+8, RXPRV+9, RXPRV+10, CSRX~, CSRX+4 |
RXNUM | RXLKP~, RXLKP+2 |
RXPRV | RXPRV+5~, RXPRV+8*, RXPRV+9*, RXPRV+10*, RXPRV+11 |
RXRES | FILTER+7~, FILTER+8*, FILTER+9, FILTER+10*, FILTER+11, FILTER+12*, FILTER+13*, FILTER+14, FILTER+15*, FILTER+16* , FILTER+17, FILTER+18*, FILTER+19*, FILTER+20, FILTER+21*, FILTER+22*, FILTER+24 |
SCREEN | RXSEL+2~, RXSEL1+13*, RXSEL1+14, RXSEL1+15 |
STATE | ASK+4~, ASK+10*, ENDDT+30 |
TAG | ASK+4~, ENDDT+23*, ENDDT+24, ENDDT+25 |
U | CSRX+4, CSRX+5, CSDRUG+5 |
>> VALMBCK | ASK+2* |
X | ASK+3~, ASK+9, BEGDT+6, PATSEL+2~, PRESCSEL+2~, DIVSEL+1~, RXSEL+2~, RXSEL1+5, RXSEL1+6, RXSEL1+7* , RXSEL1+8, RXSEL1+9, RXSEL1+10, RXSEL1+11, LKP+1~, LKP+2*, RXLKP+1~, RXLKP+2* |
XDT | BEGDT+3~*, BEGDT+4, ENDDT+2 |
XX | DIVSEL+1~ |
Y | ASK+9, ASK+10, BEGDT+7, BEGDT+8, BEGDT+9, ENDDT+3, ENDDT+4, ENDDT+5, ENDDT+20, PATSEL+2~ , PATSEL+6*, PRESCSEL+2~, PRESCSEL+10, PRESCSEL+11, PRESCSEL+12, DIVSEL+1~, DIVSEL+8, DIVSEL+9, DIVSEL+10, DRGSEL+2~ , DRGSEL+9, DRGSEL+10, DRGSEL+11, RXSEL+2~, LKP+1~, LKP+5, RXLKP+1~, RXLKP+4, RTSEL+13, PATLK+12* , PATLK+13, PATLK+14 |