STANDARD DATA DICTIONARY #59.12 -- OUTPATIENT PHARMACY MANAGEMENT DATA FILE                                       3/24/25    PAGE 1
STORED IN ^PS(59.12,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                        (VERSION 7.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file contains the data for the Outpatient Pharmacy Management Reports.  It contains data compiled from the PRESCRIPTION File
^PS(52, FEE BASIS PHARMACY INVOICE File ^FBAA(162.1, and Inpatient IV STATS ^PS(50.8 files.  


              DD ACCESS: @
              WR ACCESS: @
             DEL ACCESS: @
           LAYGO ACCESS: @

   APPLICATION GROUP(S): PSO

CROSS
REFERENCED BY: DATE(B)



59.12,.01     DATE                   0;1 DATE (Required)

              INPUT TRANSFORM:  S %DT="E" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      DEC 16, 1992 
              HELP-PROMPT:      Enter the date for which the prescription data applies. 
              DESCRIPTION:
                                Date for which the prescription data applies.  

              CROSS-REFERENCE:  59.12^B 
                                1)= S ^PS(59.12,"B",$E(X,1,30),DA)=""
                                2)= K ^PS(59.12,"B",$E(X,1,30),DA)


59.12,1       FILL COUNTS            1;0 Multiple #59.121 (Add New Entry without Asking)

              DESCRIPTION:      This sub-file contains data on the division, patient category, equivalent fills, methadone, total
                                prescriptions, medication requests, and investigational drugs.  


59.121,.01      DIVISION               0;1 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>6!($L(X)<1) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the division number of data. 
                DESCRIPTION:
                                  This field contains the site division number.  

                CROSS-REFERENCE:  59.121^B 
                                  1)= S ^PS(59.12,DA(1),1,"B",$E(X,1,30),DA)=""
                                  2)= K ^PS(59.12,DA(1),1,"B",$E(X,1,30),DA)


59.121,1        CATEGORY A             0;2 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the number of prescriptions filled for Category A patients. 
                DESCRIPTION:
                                  This field contains the number of prescriptions filled for Category A patients.  


59.121,2        CATEGORY C             0;3 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the number of prescriptions filled for Category C prescriptions. 
                DESCRIPTION:
                                  This field contains the number of prescriptions filled for Category C patients.  


59.121,3        OTHER                  0;4 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the number of prescriptions filled for patients that are neither Category A nor Category C. 
                DESCRIPTION:      This field contains the number of prescriptions filled for patients that are not in Category A or
                                  Category C.  


59.121,4        TOTAL CATEGORY PRESCRIPTIONS 0;5 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the total Category A, Category C, and Other prescriptions filled. 
                DESCRIPTION:      This field contains the total number of prescriptions filled for patients who are in Category A,
                                  Category C, and not in Category A or Category C.  


59.121,5        30 DAYS OR LESS        0;6 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the number of prescriptions filled for a 30-day or less fill. 
                DESCRIPTION:
                                  This field contains the number of prescriptions filled for a 30 day or less period.  


59.121,6        60 DAYS                0;7 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the number of prescriptions filled for a 31-60 day fill. 
                DESCRIPTION:
                                  This field contains the number of prescriptions filled for a 31-60 day period.  


59.121,7        90 DAYS                0;8 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the number of prescriptions filled for a 61-90 day fill. 
                DESCRIPTION:
                                  This field contains the number of prescriptions filled for a 61-90 day period.  


59.121,8        OVER 90 DAYS           0;9 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the number of prescriptions filled for an over 90 day fill. 
                DESCRIPTION:
                                  This field contains the number of prescriptions filled for a 91+ days period.  


59.121,9        EQUIVALENT FILLS       0;10 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the number of fills in terms of 30-day quantities, excluding methadone. 
                DESCRIPTION:      This field contains the number of fills in terms of a 30 day supply, excluding methadone.  1-30=1 
                                  31-60=2  61-90=3  91-120=4  120-159=5  160-180=6 


59.121,10       METHADONE              0;11 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the number of doses filled as part of a methadone maintenance program. 
                DESCRIPTION:
                                  This field contains the number of prescriptions filled as part of the methadone program.  


59.121,11       TOTAL PRESCRIPTIONS    0;12 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the total number of prescriptions filled including methadone. 
                DESCRIPTION:      This field contains the total number of prescriptions filled by adding the Total Category field
                                  plus the Methadone field.  


59.121,12       TOTAL EQUIVALENT FILLS 0;13 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the number of equivalent fills in terms of 30-day quantities, including methadone. 
                DESCRIPTION:      This field contains the total number of fills in terms of 30 days. This is achieved by adding the
                                  Equivalent Fills field and the Methadone fields.  


59.121,13       MEDICATION REQUESTS    0;14 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the number of mailout and window requests. 
                DESCRIPTION:      This field contains the number of patients that requested prescriptions be filled.  This includes
                                  mail and window requests.  


59.121,14       PRESCRIPTIONS PER REQUEST 0;15 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999999)!(X<0)!(X?.E1"."2N.N) X
                LAST EDITED:      APR 03, 1993 
                HELP-PROMPT:      Type a Number between 0 and 999999, 1 Decimal Digit 
                DESCRIPTION:
                                  This field contains the number of average number of prescriptions requested by a patient.  


59.121,15       EQUIVALENTS PER REQUEST 0;16 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the equivalent fills, excluding methadone, per medication request. 
                DESCRIPTION:      This field contains the average number of equivalent fills requested by a patient, excluding
                                  methadone.  


59.121,16       INVESTIGATIONAL PRESCRIPTIONS 0;17 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the number of investigational prescriptions filled. 
                DESCRIPTION:
                                  This field contains the number of prescriptions filled for investigational drugs.  




59.12,2       TYPE OF FILL           2;0 Multiple #59.122 (Add New Entry without Asking)

              LAST EDITED:      MAR 17, 1993 
              DESCRIPTION:      This sub-file contains the number of prescriptions filled by the fee basis and staff providers,
                                dispensed at the window, sent by mail, and filled by participating pharmacies.  


59.122,.01      DIVISION               0;1 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>6!($L(X)<1) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the division number of the data. 
                DESCRIPTION:
                                  This field contains the site division number.  

                CROSS-REFERENCE:  59.122^B 
                                  1)= S ^PS(59.12,DA(1),2,"B",$E(X,1,30),DA)=""
                                  2)= K ^PS(59.12,DA(1),2,"B",$E(X,1,30),DA)


59.122,2        FEE BASIS              0;3 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the number of new and refill prescriptions written by fee basis or other non-staff 
                                  physicians. 
                DESCRIPTION:
                                  This field contains the number of prescriptions filled by fee basis and non-staff providers.  


59.122,3        STAFF                  0;4 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the number of new and refill prescriptions written by staff physicians, including 
                                  methadone. 
                DESCRIPTION:
                                  This field contains the number of prescriptions filled by staff providers.  


59.122,4        TOTAL FEE BASIS AND STAFF 0;5 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the total number of prescriptions written by fee basis, non-staff, and staff providers. 
                DESCRIPTION:      This field contains the total number of prescriptions filled by fee basis, staff, and non-staff
                                  providers.  


59.122,5        NEW PRESCRIPTIONS      0;6 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the number of new prescriptions filled, including methadone. 
                DESCRIPTION:
                                  This field contains the number of new prescriptions filled.  


59.122,6        REFILL PRESCRIPTIONS   0;7 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the number of prescriptions refilled, including methadone. 
                DESCRIPTION:
                                  This field contains the number prescriptions refilled.  


59.122,7        TOTAL NEW AND REFILL   0;8 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the total number of new and refilled prescriptions filled. 
                DESCRIPTION:
                                  This field contains the total number of new and refill prescriptions filled.  


59.122,8        WINDOW                 0;9 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the number of new and refilled prescriptions dispensed at the window, including methadone. 
                DESCRIPTION:
                                  This field contains the number of prescriptions filled to be dispensed at the window.  


59.122,9        MAILOUT                0;10 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the number of new and refilled prescriptions forwarded to patient by mail. 
                DESCRIPTION:
                                  This field contains the number of prescriptions filled to be mailed to the patient.  


59.122,10       TOTAL WINDOW AND MAILOUT 0;11 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the total number of window and mailout prescriptions filled. 
                DESCRIPTION:      This field contains the total number of prescriptions filled to be dispensed at the window or
                                  mailed to the patient.  


59.122,12       PARTICIPATING PHARMACIES 0;13 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      DEC 23, 1992 
                HELP-PROMPT:      Enter the number of prescriptions for which invoices have been received, approved, and forwarded 
                                  to Fiscal Service from participating pharmacies. 
                DESCRIPTION:
                                  This field contains the number of prescriptions filled by participating pharmacies.  


59.122,13       PERCENT FEE BASIS FILLED BY VA 0;14 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>100)!(X<0)!(X?.E1"."2N.N) X
                LAST EDITED:      DEC 23, 1992 
                HELP-PROMPT:      Enter the percentage of fee basis prescriptions filled by VA pharmacies. 
                DESCRIPTION:      This field contains the percent of fee basis prescriptions filled by the Veterans Administration
                                  outpatient pharmacy.  




59.12,3       COST                   3;0 Multiple #59.123 (Add New Entry without Asking)

              DESCRIPTION:      This sub-file contains the average cost of prescriptions filled by staff and fee providers, the
                                average cost of prescriptions filled, the average cost of equivalent fills, average cost of
                                methadone program prescriptions, the total cost of prescriptions filled, total cost of methadone
                                program prescriptions, total cost of prescriptions filled by participating pharmacies, and the
                                average cost of prescriptions filled by participating pharmacies.  


59.123,.01      DIVISION               0;1 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>6!($L(X)<1) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the division number of data. 
                DESCRIPTION:
                                  This field contains the site division number.  

                CROSS-REFERENCE:  59.123^B 
                                  1)= S ^PS(59.12,DA(1),3,"B",$E(X,1,30),DA)=""
                                  2)= K ^PS(59.12,DA(1),3,"B",$E(X,1,30),DA)


59.123,1        AVG STAFF PRESCRIPTION COST 0;2 NUMBER

                INPUT TRANSFORM:  S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>999999)!(X<0) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the average cost of medications and medical supplies filled by staff physicians. 
                DESCRIPTION:
                                  This field contains the average cost of the prescriptions filled by staff providers.  


59.123,2        AVG FEE PRESCRIPTION COST 0;3 NUMBER

                INPUT TRANSFORM:  S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>999999)!(X<0) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the average cost of medications and medical supplies filled by fee basis providers. 
                DESCRIPTION:
                                  This field contains the average cost of prescriptions filled by fee basis providers.  


59.123,3        AVG PRESCRIPTION COSTS 0;4 NUMBER

                INPUT TRANSFORM:  S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>999999)!(X<0) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the average cost of items filled to Category A, Category C, and Other patients, excluding 
                                  methadone. 
                DESCRIPTION:
                                  This field contains the average cost of prescriptions filled.  


59.123,4        AVG COST PER EQUIVALENT FILLS 0;5 NUMBER

                INPUT TRANSFORM:  S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>999999)!(X<0) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the average cost of equivalent fills, excluding methadone. 
                DESCRIPTION:
                                  This field contains the average cost of prescriptions filled per equivalent fill.  


59.123,5        AVG COST PER METHADONE DOSE 0;6 NUMBER

                INPUT TRANSFORM:  S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>999999)!(X<0) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the average cost of methadone doses. 
                DESCRIPTION:
                                  This field contains the average cost of methadone doses filled.  


59.123,6        TOTAL COST OF PRESCRIPTIONS 0;7 NUMBER

                INPUT TRANSFORM:  S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>999999)!(X<0) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the total cost of prescriptions filled, including methadone. 
                DESCRIPTION:
                                  This field contains the total cost of prescriptions filled.  


59.123,7        TOTAL COST OF METHADONE DOSES 0;8 NUMBER

                INPUT TRANSFORM:  S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>999999)!(X<0) X
                LAST EDITED:      DEC 18, 1992 
                HELP-PROMPT:      Enter the total cost of methadone doses filled. 
                DESCRIPTION:
                                  This field contains the total cost of methadone doses filled.  


59.123,8        PARTICIPATING PHARMACIES COST 0;9 NUMBER

                INPUT TRANSFORM:  S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>99999999)!(X<0) X
                LAST EDITED:      DEC 23, 1992 
                HELP-PROMPT:      Enter the total cost of prescriptions filled by participating pharmacies. 
                DESCRIPTION:
                                  This field contains the total cost of prescriptions filled by participating pharmacies.  


59.123,9        AVG PARTICIPATING PHARMACY RX 0;10 NUMBER

                INPUT TRANSFORM:  S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>999999)!(X<0) X
                LAST EDITED:      DEC 23, 1992 
                HELP-PROMPT:      Enter the average cost of prescriptions filled by participating pharmacies. 
                DESCRIPTION:
                                  This field contains the average cost of prescriptions filled by participating pharmacies.  





INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):