DGPPDRX ;SLC/RM - PRESUMPTIVE PSYCHOSIS DETAIL REPORT RELEASED PRESCRIPTION ; January 14, 2021@1:00 pm
Source file <DGPPDRX.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 |
---|---|---|
Registration | 2 | DGPPDRPT DGPPOHUT |
Name | Comments | DBIA/ICR reference |
---|---|---|
PPRX(DGDFN,DGSORT) | ; RR RX Released Prescription
|
|
RX1 | ;continuation of RX line tag from above
|
|
RXBSTAT(PPIBRX) | ;Rx B Cross Reference in ^TMP($J,"DGPPDRX52"
|
|
SORTORRX | ;Sort Original RX
|
|
IBSTAT | ;Extract the IB Status in File #350 and File #399
|
|
SORTRFRX | ;Sort Refill RX
|
|
SETRF | ;set Refill RX
|
|
RXNOSTAT | ;Extract those RX's that has not been charge
|
|
RXNOSTA1 | ;
|
|
RXNOSTA2 | ;
|
|
PRINTRX | ;display all Released Prescription for this PP patient
|
|
PRINTRX1 | ;
|
|
PRINTRX3 | ;
|
|
PRINTRX2 | ;
|
|
RXCOL | ;display Rx column name
|
|
RXHDR(FLAG) | ;Released Prescription Header
|
|
SITE(FLAG) | ;site where Rx's released
|
|
CHKDATE(DATE,DGSORT) | ;check if dates fall within the Begin and End dates
|
Name | Field # of Occurrence |
---|---|
$$CHKDATE^DGOTHFS2 | SORTRFRX+16, RXNOSTA1+3, RXNOSTA2+11 |
CPTIER^DGPPDRP1 | SORTORRX+6, SETRF+2 |
DTRANGE^DGPPDRP1 | RXHDR+4 |
LINE^DGPPDRP1 | PRINTRX+1, PRINTRX+2, PRINTRX+8, PRINTRX+17, PRINTRX+48, RXHDR+9 |
PAUSE^DGPPDRP1 | PPRX+1, PRINTRX+17 |
PTHDR^DGPPDRP1 | PRINTRX+1, PRINTRX+17 |
PARTIAL^DGPPOHUT | RX1+12, RX1+39, RXNOSTAT+11 |
$$DOLLAR^DGPPRRPT | PRINTRX2+2 |
$$GET1^DIQ | RX1+26 |
RX^PSO52API | PPRX+7, RX1+33 |
PSS^PSO59 | SITE+4 |
$$FMADD^XLFDT | PPRX+7, RX1+33 |
$$FMTE^XLFDT | PRINTRX+7, PRINTRX+29, PRINTRX+47, PRINTRX1+4, PRINTRX3+2 |
$$STA^XUAF4 | RX1+26 |
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 |
|
Function Call: WRITE |
|
FileNo | Call Tags |
---|---|
^DG(40.8 - [#40.8] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^TMP($J | PPRX+7!, PPRX+11, PPRX+12, PPRX+13, PPRX+16, PPRX+18, PPRX+19, PPRX+26!, PPRX+29!, RX1+3 , RX1+5, RX1+18, RX1+21*, RX1+22*, RX1+25, RX1+29*, RX1+30*, RX1+33!, RX1+34*!, RX1+35 , RXBSTAT+3, RXBSTAT+4, RXBSTAT+5, SORTORRX+2, SORTORRX+3, SORTORRX+4, SORTORRX+7, SORTORRX+8, SORTORRX+10, SORTORRX+13* , SORTORRX+14*, SORTORRX+15*, IBSTAT+2, IBSTAT+4, IBSTAT+5, IBSTAT+6, SORTRFRX+3, SORTRFRX+9, SORTRFRX+10, SETRF+1 , SETRF+3, SETRF+5, SETRF+6, SETRF+9*, SETRF+10*, SETRF+11*, RXNOSTAT+4, RXNOSTAT+5, RXNOSTAT+7, RXNOSTAT+10 , RXNOSTA1+1, RXNOSTA1+2, RXNOSTA2+2, RXNOSTA2+5, RXNOSTA2+8, RXNOSTA2+9, PRINTRX+6, PRINTRX+12, PRINTRX+13, PRINTRX+14 , PRINTRX+15, PRINTRX+16, PRINTRX+19, PRINTRX+20, PRINTRX+22, PRINTRX+27, PRINTRX+29, PRINTRX+33, PRINTRX1+2, PRINTRX1+3 , PRINTRX1+4, PRINTRX3+1, PRINTRX2+1, PRINTRX2+2, PRINTRX2+4, RXHDR+5, SITE+1!, SITE+2, SITE+3, SITE+5 , SITE+6! |
Name | Line Occurrences |
---|---|
$$CHKDATE | PPRX+14, SORTORRX+5 |
$$RXBSTAT | RX1+4, RX1+31 |
IBSTAT | RX1+20, RX1+28, SORTORRX+12, SETRF+8 |
PRINTRX | PPRX+28 |
PRINTRX1 | PRINTRX+23, PRINTRX+25, PRINTRX+28 |
PRINTRX2 | PRINTRX+23, PRINTRX+25, PRINTRX+28, PRINTRX+31 |
PRINTRX3 | PRINTRX+30, PRINTRX1+5 |
RX1 | PPRX+23 |
RXCOL | PRINTRX+2, PRINTRX+17 |
RXHDR | PRINTRX+2, PRINTRX+17 |
RXNOSTA1 | RXNOSTAT+8 |
RXNOSTA2 | RXNOSTAT+9 |
RXNOSTAT | PPRX+27 |
SETRF | SORTRFRX+17, RXNOSTA2+12 |
SITE | SORTORRX+9, SETRF+4 |
SORTORRX | RX1+8, RX1+11, RX1+37, RXNOSTA1+5 |
SORTRFRX | RX1+9, RX1+13, RX1+38 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ACCTYP | PPRX+2~, PPRX+15, PPRX+16*, PPRX+17, PPRX+18*, PPRX+22, IBSTAT+7 |
BILLNO | IBSTAT+1~, IBSTAT+2*, IBSTAT+3*, IBSTAT+7 |
CHRGAMNT | IBSTAT+1~, IBSTAT+6*, IBSTAT+7, PRINTRX+4~, PRINTRX2+2*, PRINTRX2+3 |
CNTR | PPRX+2~, PPRX+9*, RX1+21*, RX1+22*, RX1+29*, RX1+30*, SORTORRX+13*, SORTORRX+14*, SETRF+9*, SETRF+10* |
DATA1 | RX1+1~, RX1+17!, RX1+19*, RX1+21, RX1+22, RX1+24!, RX1+27*, RX1+29, RX1+30, SORTORRX+1~ , SORTORRX+11*, SORTORRX+13, SORTORRX+14, SORTRFRX+1~, SETRF+7*, SETRF+9, SETRF+10, RXNOSTAT+1~, RXNOSTA2+6! |
DATA2 | RX1+1~, RX1+17!, RX1+21, RX1+22, RX1+24!, RX1+29, RX1+30, SORTORRX+1~, SORTORRX+13, SORTORRX+14 , IBSTAT+7*, SORTRFRX+1~, SETRF+9, SETRF+10, RXNOSTAT+1~, RXNOSTA2+6! |
DATE | CHKDATE~, CHKDATE+1 |
DFN | PPRX+3*, PPRX+11, PPRX+13, PPRX+16, PPRX+18, PPRX+19, RX1+3, RX1+5, RX1+18, RX1+21 , RX1+22, RX1+25, RX1+29, RX1+30, RX1+35, SORTORRX+2, SORTORRX+3, SORTORRX+4, SORTORRX+7, SORTORRX+8 , SORTORRX+10, SORTORRX+13, SORTORRX+14, IBSTAT+2, IBSTAT+4, IBSTAT+5, IBSTAT+6, SORTRFRX+3, SORTRFRX+9, SORTRFRX+10 , SETRF+1, SETRF+3, SETRF+5, SETRF+6, SETRF+9, SETRF+10, RXNOSTAT+10, RXNOSTA1+1, RXNOSTA1+2, RXNOSTA2+2 , RXNOSTA2+8, RXNOSTA2+9, PRINTRX+4~, PRINTRX+15*, PRINTRX+16, PRINTRX+19, PRINTRX+20, PRINTRX+22, PRINTRX+27, PRINTRX+29 , PRINTRX+33, PRINTRX1+2, PRINTRX1+3, PRINTRX1+4, PRINTRX3+1, PRINTRX2+1, PRINTRX2+2, PRINTRX2+4, SITE+2, SITE+3 |
DGCPTIER | SORTORRX+1~, SORTORRX+11, SETRF+7 |
DGCPYTIER | PRINTRX+4~ |
DGDAYSUP | SORTORRX+1~, SORTORRX+8*, SORTORRX+11 |
DGDFN | PPRX~, PPRX+3, PPRX+7, RX1+33 |
DGDSRF | SORTRFRX+1~, SETRF+3*, SETRF+7, RXNOSTA2+6! |
DGFILLDT | SORTORRX+1~, SORTORRX+4*, SORTORRX+11 |
DGFLDTRF | SORTRFRX+1~, SETRF+5*, SETRF+7, RXNOSTA2+6! |
DGNARX | PRINTRX+4~, PRINTRX+5*, PRINTRX+32*, PRINTRX+46, PRINTRX+47 |
DGNUMOFREF | SORTORRX+1~, SORTORRX+7*, SORTORRX+11, SORTRFRX+1~, SETRF+1*, SETRF+7 |
DGOLDRXNUM | PRINTRX+4~, PRINTRX+5*, PRINTRX+28, PRINTRX+35*, PRINTRX1+3 |
DGPPFLGPRTL | RX1+1~, RX1+2*, RX1+12*, RX1+36*, RX1+39*, RXNOSTAT+1~, RXNOSTAT+3*, RXNOSTAT+11* |
DGPPRTRNSTCK | PPRX+2~, PPRX+4*, SORTORRX+3*, SORTRFRX+10*, RXHDR+6, RXHDR+7, RXHDR+8 |
DGPPRXPRTLFL | PPRX+2~, PPRX+4*, RXHDR+6, RXHDR+7, RXHDR+8 |
DGPRTLTOT | RX1+1~, RX1+2*, RX1+3*, RX1+12, RX1+39, RXNOSTAT+1~, RXNOSTAT+3*, RXNOSTAT+6!, RXNOSTAT+10*, RXNOSTAT+11 |
>> DGQ | PPRX+1, PPRX+10, PPRX+12, PPRX+13, PPRX+24, PPRX+25, PPRX+26, PPRX+31, RXNOSTAT+4, RXNOSTAT+5 , PRINTRX+12, PRINTRX+13, PRINTRX+14, PRINTRX+15, PRINTRX+16, PRINTRX+17, PRINTRX+36, PRINTRX+37, PRINTRX+38, PRINTRX+39 , PRINTRX+42 |
DGRELDATE | SORTORRX+1~, SORTORRX+2*, SORTORRX+3*, SORTORRX+5, SORTORRX+11, RXNOSTAT+1~, RXNOSTA1+1*, RXNOSTA1+2*, RXNOSTA1+3, RXNOSTA1+4 |
DGRFRELDT | SORTRFRX+1~, SORTRFRX+9*, SORTRFRX+10*, SORTRFRX+13*, SORTRFRX+16, SETRF+7, SETRF+9, SETRF+10, RXNOSTAT+1~, RXNOSTA2+6! , RXNOSTA2+8*, RXNOSTA2+9*, RXNOSTA2+10, RXNOSTA2+11 |
DGRXCNT | PRINTRX+4~, PRINTRX+16*, PRINTRX+19, PRINTRX+20, PRINTRX+21, PRINTRX+22, PRINTRX+27, PRINTRX+29, PRINTRX+33, PRINTRX1+2 , PRINTRX1+3, PRINTRX1+4, PRINTRX3+1, PRINTRX2+1, PRINTRX2+2, PRINTRX2+4 |
DGRXDIV | SORTORRX+1~, SORTORRX+11, SORTORRX+13, SORTORRX+14, SORTRFRX+1~, SETRF+7, SETRF+9, SETRF+10, RXNOSTA2+6!, SITE+1! , SITE+2*, SITE+3*, SITE+4, SITE+5* |
DGRXIEN | RX1+1~, RX1+6*, RX1+36*, RXBSTAT+1~, RXBSTAT+4*, SORTORRX+2, SORTORRX+3, SORTORRX+4, SORTORRX+7, SORTORRX+8 , SORTORRX+10, SORTORRX+15, SORTRFRX+3, SORTRFRX+9, SORTRFRX+10, SETRF+1, SETRF+3, SETRF+5, SETRF+6, SETRF+11 , RXNOSTAT+1~, RXNOSTAT+5*, RXNOSTAT+7, RXNOSTAT+10, RXNOSTA1+1, RXNOSTA1+2, RXNOSTA2+2, RXNOSTA2+5, RXNOSTA2+8, RXNOSTA2+9 , SITE+2, SITE+3 |
DGRXNUM | RX1+1~, RX1+5*, RX1+35*, RXBSTAT+1~, RXBSTAT+3*, RXBSTAT+4, RXBSTAT+5, SORTORRX+11, SORTORRX+13, SORTORRX+14 , SORTORRX+15, SETRF+7, SETRF+9, SETRF+10, SETRF+11, RXNOSTAT+1~, RXNOSTAT+4*, RXNOSTAT+5, RXNOSTAT+7, RXNOSTA2+5 , PRINTRX+4~, PRINTRX+12*, PRINTRX+13, PRINTRX+14, PRINTRX+15, PRINTRX+16, PRINTRX+19, PRINTRX+20, PRINTRX+22, PRINTRX+27 , PRINTRX+29, PRINTRX+33, PRINTRX1+2, PRINTRX1+3, PRINTRX1+4, PRINTRX3+1, PRINTRX2+1, PRINTRX2+2, PRINTRX2+4 |
DGRXTOTCNT | PRINTRX+4~, PRINTRX+43*, PRINTRX+44 |
DGSORT | PPRX~, PPRX+14, SORTORRX+5, SORTRFRX+16, RXNOSTA1+3, RXNOSTA2+11, CHKDATE~ |
DGSORT("DGBEG" | PPRX+7, RX1+33, PRINTRX+7, PRINTRX+47, CHKDATE+1 |
DGSORT("DGEND" | PPRX+7, RX1+33, PRINTRX+7, PRINTRX+47, CHKDATE+1 |
DGSORT("SORTRXBY" | PPRX+5*, RX1+21, RX1+29, SORTORRX+13, SETRF+9 |
DGTOTALRX | PRINTRX+4~, PRINTRX+5*, PRINTRX+9*, PRINTRX+10, PRINTRX+45*, PRINTRX+46*, PRINTRX+47, PRINTRX+49, PRINTRX+50, PRINTRX+51! |
DGTOTALRX( | PRINTRX+33*, PRINTRX+43 |
DGTOTRF | SORTRFRX+3*, SORTRFRX+5, RXNOSTAT+1~, RXNOSTA2+2*, RXNOSTA2+3, RXNOSTA2+4 |
FILENO | PPRX+2~, PPRX+10*, PPRX+11, PPRX+12, PPRX+13, PPRX+15, PPRX+16, PPRX+17, PPRX+18, PPRX+19 , RX1+7, RX1+10, RX1+16, RX1+18, RX1+23, RX1+25, IBSTAT+2, IBSTAT+3, IBSTAT+4, IBSTAT+5 , IBSTAT+6, IBSTAT+7, SORTRFRX+7, SORTRFRX+11, RXNOSTAT+1~ |
FLAG | RXHDR~, RXHDR+2, SITE~, SITE+2 |
FND | RXBSTAT+1~, RXBSTAT+2*, RXBSTAT+3, RXBSTAT+5*, RXBSTAT+6 |
IB350DIV | RX1+1~, RX1+17!, RX1+18*, RX1+19, RX1+21, RX1+22 |
IB362FLNUM | RX1+1~, RX1+2*, RX1+26*, RX1+27 |
IB399DIV | RX1+1~, RX1+24!, RX1+25*, RX1+26*, RX1+27, RX1+29, RX1+30 |
IOSL | PRINTRX+17 |
JJ | SORTRFRX+1~, SORTRFRX+8*, SORTRFRX+9, SORTRFRX+10, SORTRFRX+12*, SORTRFRX+17, SETRF+3, SETRF+5, SETRF+7, SETRF+11 , RXNOSTAT+1~, RXNOSTAT+3*, RXNOSTA2+4*, RXNOSTA2+5, RXNOSTA2+8, RXNOSTA2+9, SITE+3 |
ORGRXSTAT | RXNOSTAT+1~, RXNOSTAT+6!, RXNOSTAT+7*, RXNOSTAT+8 |
PPDIV | PRINTRX+4~, PRINTRX+14*, PRINTRX+15, PRINTRX+16, PRINTRX+19, PRINTRX+20, PRINTRX+22, PRINTRX+27, PRINTRX+29, PRINTRX+33 , PRINTRX1+2, PRINTRX1+3, PRINTRX1+4, PRINTRX3+1, PRINTRX2+1, PRINTRX2+2, PRINTRX2+4 |
PPDOS | PRINTRX+4~, PRINTRX+13*, PRINTRX+14, PRINTRX+15, PRINTRX+16, PRINTRX+19, PRINTRX+20, PRINTRX+22, PRINTRX+27, PRINTRX+29 , PRINTRX+33, PRINTRX1+2, PRINTRX1+3, PRINTRX1+4, PRINTRX3+1, PRINTRX2+1, PRINTRX2+2, PRINTRX2+4 |
PPIBDT | PPRX+2~, PPRX+12*, PPRX+13, PPRX+14, PPRX+16, PPRX+18, PPRX+19, RX1+18, RX1+21, RX1+22 , RX1+25, RX1+27, RX1+29, RX1+30, SORTORRX+13, SORTORRX+14, IBSTAT+2, IBSTAT+4, IBSTAT+5, IBSTAT+6 , SORTRFRX+13, RXNOSTAT+1~, RXNOSTA1+4*, RXNOSTA2+10* |
PPIBREC | PPRX+2~, PPRX+13*, PPRX+16, PPRX+18, PPRX+19, RX1+18, RX1+25, IBSTAT+2, IBSTAT+4, IBSTAT+5 , IBSTAT+6 |
PPIBRX | PPRX+2~, PPRX+20*, PPRX+21*, PPRX+22*, RX1+3, RX1+4, RX1+5, RX1+6, RX1+14, RX1+29 , RX1+30, RX1+31, RX1+33, RX1+35, RX1+36, RXBSTAT~, RXBSTAT+5, SORTORRX+12, SORTORRX+13, SORTORRX+14 , SETRF+8, SETRF+9, SETRF+10, RXNOSTAT+2! |
PRNTDRX | PRINTRX+4~, PRINTRX+51! |
PRNTDRX( | PRINTRX+23, PRINTRX+24, PRINTRX+25, PRINTRX+26, PRINTRX+28, PRINTRX+32, PRINTRX+34* |
PTSTATUS | RX1+1~, RX1+2*, RX1+15*, RX1+21, RX1+22, RX1+29, RX1+30, SORTORRX+1~, SORTORRX+10*, SORTORRX+13 , SORTORRX+14, SORTRFRX+1~, SETRF+6*, SETRF+9, SETRF+10 |
QUIT | RX1+1~ |
RATETYP | RX1+1~, RX1+2*, IBSTAT+4*, IBSTAT+7 |
RESULT | PPRX+2~, PPRX+19*, PPRX+20, PPRX+21, PPRX+22, RX1+8, RX1+9, RX1+11, RX1+12, RX1+13 , RX1+19, RX1+26, RX1+27, RX1+37, RX1+38, SORTRFRX+8, SORTRFRX+12 |
RXIBBILNO | PRINTRX+4~, PRINTRX+20*, PRINTRX+21*, PRINTRX+25, PRINTRX+32, PRINTRX+34 |
RXIBSTAT | IBSTAT+1~, IBSTAT+5*, IBSTAT+7 |
RXNUMBER | PRINTRX+4~, PRINTRX+19*, PRINTRX+23, PRINTRX+24, PRINTRX+25, PRINTRX+26, PRINTRX+28, PRINTRX+32, PRINTRX+34, PRINTRX+35 , PRINTRX1+3, PRINTRX3+4* |
RXRELDATE | PRINTRX+4~, PRINTRX+22*, PRINTRX+23, PRINTRX+24, PRINTRX+25, PRINTRX+26, PRINTRX+28, PRINTRX+32, PRINTRX+34 |
TITLE | RXHDR+1~, RXHDR+2*, RXHDR+3 |
TMPRXRLDTE | PRINTRX1+1~, PRINTRX3+1*, PRINTRX3+2, PRINTRX3+3, PRINTRX3+4 |
U | PPRX+11, PPRX+16, PPRX+17, PPRX+18, PPRX+19, RX1+3, RX1+18, RX1+19, RX1+21, RX1+22 , RX1+25, RX1+27, RX1+29, RX1+30, SORTORRX+2, SORTORRX+3, SORTORRX+4, SORTORRX+7, SORTORRX+8, SORTORRX+10 , SORTORRX+11, SORTORRX+13, SORTORRX+14, SORTORRX+15, IBSTAT+2, IBSTAT+4, IBSTAT+5, IBSTAT+6, IBSTAT+7, SORTRFRX+3 , SORTRFRX+9, SORTRFRX+10, SETRF+1, SETRF+3, SETRF+5, SETRF+6, SETRF+7, SETRF+9, SETRF+10, RXNOSTAT+7 , RXNOSTAT+10, RXNOSTA1+1, RXNOSTA1+2, RXNOSTA2+2, RXNOSTA2+8, RXNOSTA2+9, PRINTRX+19, PRINTRX+20, PRINTRX+22, PRINTRX+27 , PRINTRX+29, PRINTRX+33, PRINTRX1+2, PRINTRX1+3, PRINTRX1+4, PRINTRX3+1, PRINTRX2+1, PRINTRX2+2, PRINTRX2+4, SITE+2 , SITE+3 |