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

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file holds the set of parameters which modify the operation of the outpatient pharmacy package to suit the needs of your site. 
The address information appears on the labels.  Most of the other fields hold parameters which enable or disable a particular
feature of the package.  
 
These parameters are loaded into a local variable when entering the package.  Any changes made to these parameters will not be
effective until the users exit from the package and re-enters it.  


IDENTIFIED BY: SITE NUMBER (#.06)[R], INACTIVE DATE (#2004)

POINTED TO BY: AUTOFINISH RX SITE field (#22900) of the HOSPITAL LOCATION File (#44) 
               OUTPATIENT SITE field (#.01) of the NDC BY OUTPATIENT SITE sub-field (#50.032) of the DRUG File (#50) 
               SITE/DIVISION field (#10) of the DUE ANSWER SHEET File (#50.0731) 
               DIVISION field (#.01) of the OPAI sub-field (#50.0906) of the DRUG File (#50) 
               DIVISION/SITE field (#.01) of the DIVISION/SITE sub-field (#50.735) of the DUE QUESTIONNAIRE File (#50.073) 
               DIVISION field (#.01) of the DIVISION DATA sub-field (#50.9006) of the DRUG COST File (#50.9) 
               DIVISION field (#20) of the PRESCRIPTION File (#52) 
               DIVISION field (#12) of the RETURN TO STOCK LOG sub-field (#52.07) of the PRESCRIPTION File (#52) 
               DIVISION field (#8) of the REFILL sub-field (#52.1) of the PRESCRIPTION File (#52) 
               DIVISION field (#3) of the PATIENT NOTIFICATION (Rx READY) File (#52.11) 
               DIVISION field (#.09) of the PARTIAL DATE sub-field (#52.2) of the PRESCRIPTION File (#52) 
               DIVISION field (#1) of the PHARMACY TELEPHONE REFILLS File (#52.444) 
               DIVISION field (#.06) of the RX SUSPENSE File (#52.5) 
               DIVISION field (#15) of the PHARMACY EXTERNAL INTERFACE File (#52.51) 
               DIVISION field (#.01) of the EPHARMACY MEDICATION PROFILE PREFERENCES File (#52.85) 
               DIVISION field (#.01) of the EPHARMACY SITE PARAMETERS File (#52.86) 
               DIVISION field (#4) of the PSO AUDIT LOG File (#52.87) 
               ZERO REPORT DEFAULT DIVISION field (#22) of the SPMP STATE PARAMETERS File (#58.41) 
               OUTPATIENT SITE field (#.01) of the ZERO REPORT SITES sub-field (#58.42201) of the SPMP EXPORT BATCH File (#58.42) 
               OUTPATIENT SITE field (#20) of the DRUG ACCOUNTABILITY STATS File (#58.8) 
               OUTPATIENT SITE(S) field (#.01) of the OUTPATIENT SITE(S) sub-field (#58.836) of the DRUG ACCOUNTABILITY STATS File 
                   (#58.8) 
               DIVISION field (#.01) of the DIVISION sub-field (#59.11) of the OUTPATIENT AMIS DATA File (#59.1) 
               DIVISION field (#.01) of the DIVISION sub-field (#59.2001) of the WAITING TIME File (#59.2) 
               SITE # field (#14) of the GROUP DISPLAY File (#59.3) 
               DEFAULT OUTPATIENT SITE field (#40) of the PHARMACY SYSTEM File (#59.7) 
               REFILL/RENEW DIVISION field (#40.13) of the PHARMACY SYSTEM File (#59.7) 
               OUTPATIENT SITE field (#.03) of the PBM AR/WS AOU MAPPINGS sub-field (#59.79001) of the PHARMACY SYSTEM File (#59.7) 
               OUTPATIENT SITE field (#.03) of the PBM CS NAOU MAPPINGS sub-field (#59.79002) of the PHARMACY SYSTEM File (#59.7) 
               OUTPATIENT SITE field (#.03) of the PBM DA PHARM LOC MAPPINGS sub-field (#59.79003) of the PHARMACY SYSTEM File 
                   (#59.7) 
               DIVISION field (#2) of the CMOP TRANSMISSION File (#550.2) 
               DIVISION field (#9) of the PRESCRIPTION EXTRACT File (#727.81) 
               OUTPATIENT SITE field (#.01) of the OUTPATIENT SITE sub-field (#9002313.5601) of the BPS PHARMACIES File 
                   (#9002313.56) 
               PHARMACY DIVISION field (#11) of the BPS LOG OF TRANSACTIONS File (#9002313.57) 
               PHARMACY DIVISION field (#11) of the BPS TRANSACTION File (#9002313.59) 
               OUTPATIENT SITE field (#1.02) of the BPS REQUESTS File (#9002313.77) 
               DIVISION field (#.16) of the APSP INTERVENTION File (#9009032.4) 
               

CROSS
REFERENCED BY: NAME(B), SITE NUMBER(C), RELATED INSTITUTION(D)

    LAST MODIFIED: JAN 17,2023@16:29:14

59,.01        NAME                   0;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<3)!'(X'?1P.E) X
              HELP-PROMPT:      ANSWER MUST BE 3-20 CHARACTERS IN LENGTH 
              DESCRIPTION:
                                This field contains the name of the site.  

              DELETE TEST:      1,0)= I 1 D EN^DDIOL("Site cannot be deleted, it must be inactivated!","","$C(7),!?5")

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


59,.02        MAILING FRANK STREET ADDRESS 0;2 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<1) X
              HELP-PROMPT:      ANSWER MUST BE 1-30 CHARACTERS IN LENGTH 
              DESCRIPTION:
                                This field is used for the address of the Outpatient Site.  

              TECHNICAL DESCR:
                                free text 

              GROUP:            PSO

59,.03        AREA CODE              0;3 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>999)!(X<100)!(X?.E1"."1N.N) X
              HELP-PROMPT:      Type a Number between 100 and 999, 0 Decimal Digits 
              DESCRIPTION:
                                This field is used for the area code of the outpatient site.  

              TECHNICAL DESCR:
                                numeric 


59,.04        PHONE NUMBER           0;4 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>12!($L(X)<3) X
              LAST EDITED:      NOV 09, 1992 
              HELP-PROMPT:      Answer must be 3-12 characters in length. 
              DESCRIPTION:
                                This field is used for the telephone number of the outpatient site.  

              TECHNICAL DESCR:
                                free text 

              GROUP:            PSO

59,.05        MAILING FRANK ZIP+4 CODE 0;5 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<5) X I $D(X) D ZIPIN^PSOUTLA
              OUTPUT TRANSFORM: D ZIPOUT^PSOUTLA
              LAST EDITED:      JAN 25, 1994 
              HELP-PROMPT:      Answer with either 5 digit or 9 digit zip code. 
              DESCRIPTION:      This field is used for the zip code of the outpatient site.  This field will allow zip+4 format
                                (excluding the "-").  

              TECHNICAL DESCR:
                                free text 

              GROUP:            PSO
              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER


59,.06        SITE NUMBER            0;6 FREE TEXT (Required)

              INPUT TRANSFORM:  K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>8!($L(X)<3)!'(X?3N.AN) X
              LAST EDITED:      AUG 27, 2001 
              HELP-PROMPT:      ANSWER MUST BE 3-8 CHARACTERS IN LENGTH AND THE LEADING 3 CHARACTERS SHOULD BE NUMERIC 
              DESCRIPTION:
                                This field is used to show the site/station number.  

              TECHNICAL DESCR:
                                free text 

              GROUP:            PSO
              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER

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


59,.07        MAILING FRANK CITY     0;7 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<2) X
              HELP-PROMPT:      ANSWER MUST BE 2-30 CHARACTERS IN LENGTH 
              DESCRIPTION:
                                This field is used for the city in which the outpatient site is located.  

              TECHNICAL DESCR:
                                free text 

              GROUP:            PSO

59,.08        MAILING FRANK STATE    0;8 POINTER TO STATE FILE (#5)

              HELP-PROMPT:      Enter name of state where outpatient site is located. 
              DESCRIPTION:
                                This field is used to show the state in which the outpatient site resides.  

              TECHNICAL DESCR:
                                pointer 

              GROUP:            PSO

59,.081       MAILING COMMENTS       9;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>29!($L(X)<1) X
              LAST EDITED:      MAY 12, 2004 
              HELP-PROMPT:      Answer must be 1-29 characters in length 
              DESCRIPTION:      This field will be printed on the laser labels mailing address label. It can contain anything the
                                site deems appropriate (i.e. whether mailing is "Forwarding service requested" or "Address service
                                requested", etc.) 


59,.09        HOLD FUNCTION?         1;23 SET

              HOLD   
                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      MAR 23, 1993 
              HELP-PROMPT:      Enter 'Y' if the 'Hold' feature will be used at the facility. 
              DESCRIPTION:      This site parameter is used to determine if the 'Hold' function will be used at the medical
                                facility.  

              TECHNICAL DESCR:
                                Set of Codes (required).  

              GROUP:            PSO

59,.091       SUSPENSE FUNCTION?     1;24 SET

              SUSPENSE   
                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      MAR 23, 1993 
              HELP-PROMPT:      Enter if the 'Suspense' feature will be used at the facility. 
              DESCRIPTION:      This site parameter will be used to determine if the 'Suspense' feature will be used at the medical
                                facility.  

              TECHNICAL DESCR:
                                Set of Codes (required).  

              GROUP:            PSO

59,.1         CANCEL DRUG IN SAME CLASS 1;10 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      MAR 23, 1993 
              HELP-PROMPT:      Enter yes if you wish prescriptions for drugs in the same class to be cancelled. 
              DESCRIPTION:      Prescriptions with duplicate classes can only be discontinued if this site parameter is set to
                                'Yes' and if the Rx has not been put on hold through CPRS.  

              TECHNICAL DESCR:
                                set of codes 


59,.111       REFILL INACTIVE DRUG RXS 1;11 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      JUL 10, 2007 
              HELP-PROMPT:      Enter yes to allow refilling a prescription for a drug which is inactive. 
              DESCRIPTION:
                                This will be used to determine if inactive drugs will be used to refill active prescriptions.  

              TECHNICAL DESCR:
                                set of codes 


59,.112       ASK METHOD OF PICKUP   1;12 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      MAR 23, 1993 
              HELP-PROMPT:      Enter yes to put special pickup instructions on window prescriptions. 
              DESCRIPTION:
                                This field will be used to determine if method of pickup will be asked for window prescriptions.  

              TECHNICAL DESCR:
                                set of codes 


59,.113       PASS MEDS ON PROFILE   1;13 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      MAR 23, 1993 
              HELP-PROMPT:      Enter yes if pass meds should appear on the profile printed with new prescriptions 
              DESCRIPTION:      This field is used to determine if pass medication within specified date range will be listed on
                                profiles.  

              TECHNICAL DESCR:
                                set of codes 

              GROUP:            PSO

59,.114       PROFILE `SORT BY' DEFAULT 1;14 SET

                                '0' FOR DATE; 
                                '1' FOR CLASS; 
                                '2' FOR MEDICATION; 
              LAST EDITED:      MAR 23, 1993 
              HELP-PROMPT:      Enter the default method of sorting medication profile. 
              DESCRIPTION:
                                This field will be used to determine the sort order of medications on profiles.  

              TECHNICAL DESCR:
                                set of codes 

              GROUP:            PS

59,.115       COPIES ON NEW          1;15 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      MAR 23, 1993 
              HELP-PROMPT:      Enter yes to ask the number of copies of each label to be print. 
              DESCRIPTION:
                                This field will be used to determine the number copies for labels to print.  

              TECHNICAL DESCR:
                                set of codes 

              GROUP:            PSO

59,.116       DRUG CHECK FOR CLERK   1;16 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      MAR 23, 1993 
              HELP-PROMPT:      Enter yes if clerks should see the duplicate drug warning during order entry. 
              DESCRIPTION:
                                This field is used to determine if the duplicate drug warnings should be shown for non-pharmacist.  

              TECHNICAL DESCR:
                                set of codes 

              GROUP:            PSO

59,.117       FEE BASIS SUPPORT      1;17 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      MAR 23, 1993 
              HELP-PROMPT:      Enter yes if your pharmacy processes prescriptions for Fee basis providers. 
              DESCRIPTION:
                                This field is used to determine if fee basis prescriptions are processed.  

              TECHNICAL DESCR:
                                set of codes 


59,.118       MULTI RX REQUEST FORM  1;18 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      MAR 23, 1993 
              HELP-PROMPT:      Enter yes to print the multi RX request form. 
              DESCRIPTION:      This field is used to determine if the multiple prescription request forms are printed with
                                medication labels.  

              TECHNICAL DESCR:
                                set of codes 

              GROUP:            PSO

59,.119       BARCODES ON REQUEST FORMS 1;19 SET

                                '0' FOR REFILL REQUEST ONLY; 
                                '1' FOR MULTI RX REQUEST ONLY; 
                                '2' FOR BOTH; 
              LAST EDITED:      MAR 23, 1993 
              HELP-PROMPT:      Select whether you want barcodes on the single refill request, the multi-RX request form or both 
              DESCRIPTION:      This field is used to determine if barcodes are printed on profiles, labels, and multi request
                                forms.  

              TECHNICAL DESCR:
                                set of codes 

              GROUP:            PSO

59,.1191      BARCODES ON ACTION PROFILES 1;1 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      OCT 07, 1993 
              HELP-PROMPT:      Enter 'Yes' if barcodes are to print with action profiles.  Printer must be setup for barcodes. 
              DESCRIPTION:      This field is used to indicate if barcodes are to print with the action profiles.  Barcodes on
                                action profiles are a new feature for version 6.0 of outpatient.  The printer used must be setup or
                                have barcode capabilities for the barcodes to print.  Contact IRM to help determine which printer
                                have barcode capabilities.  

              TECHNICAL DESCR:
                                set of codes.  


59,.12        VERIFICATION           1;2 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      MAR 23, 1993 
              HELP-PROMPT:      Answer yes if prescriptions entered by a technician must be verified by a pharmacist. 
              DESCRIPTION:      This field is used to determine if prescriptions entered by a non-pharmacist are placed in a
                                non-verified status.  

              TECHNICAL DESCR:
                                set of codes 

              GROUP:            PSO

59,.121       DISPLAY GROUP          1;20 POINTER TO GROUP DISPLAY FILE (#59.3)

              LAST EDITED:      JUN 16, 1989 
              HELP-PROMPT:      Choose the display group which will be used to display the prescription ready messages. 
              DESCRIPTION:      This field is used to determine which bingo board display screen will be shown on the waiting room
                                monitor.  

              TECHNICAL DESCR:
                                pointer 

              GROUP:            PSO

59,.122       SCREEN PROFILES        1;21 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      MAR 23, 1993 
              HELP-PROMPT:      Enter yes to see a profile on the screen during new & refill entry 
              DESCRIPTION:
                                This field is used to determine if profiles are displayed when refilling and renewing medications.  

              TECHNICAL DESCR:
                                set of codes 

              GROUP:            PSO

59,.123       EDIT PATIENT DATA      1;22 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      MAR 23, 1993 
              HELP-PROMPT:      Enter yes to edit patient data during order entry. 
              DESCRIPTION:
                                This field is used to determine if editing of patient data will be allowed.  

              TECHNICAL DESCR:
                                set of codes 

              GROUP:            PS

59,.13        EDIT DRUG              1;3 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      MAR 23, 1993 
              HELP-PROMPT:      Enter yes to allow changing the drug while editing a prescription. 
              DESCRIPTION:
                                This field will be used to determine if drugs can be changed during the prescription edit option.  

              TECHNICAL DESCR:
                                set of codes 

              GROUP:            PSO

59,.14        RENEWING RX'S ALLOWED  1;4 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      MAR 23, 1993 
              HELP-PROMPT:      Enter yes to allow prescriptions to be renewed. 
              DESCRIPTION:
                                This field will be used to determine if renewing of medications will be allowed.  

              TECHNICAL DESCR:
                                set of codes 

              GROUP:            PSO

59,.15        PASS MEDS CANCEL       1;5 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      MAR 23, 1993 
              HELP-PROMPT:      Answer yes if pass meds should cancel active prescriptions. 
              DESCRIPTION:
                                This field is used to determine if pass medications are to be cancelled.  

              TECHNICAL DESCR:
                                set of codes 

              GROUP:            PSO

59,.16        AUTO SUSPEND           1;6 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      MAR 23, 1993 
              HELP-PROMPT:      Enter yes to automatically suspend a prescription to the proper fill date. 
              DESCRIPTION:      This field is used to determine if medication that is refilled or renewed before the next possible
                                fill date is to be placed in suspense automatically.  

              TECHNICAL DESCR:
                                set of codes 

              GROUP:            PSO

59,.17        SHALL COMPUTER ASSIGN RX #S 1;7 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      MAR 23, 1993 
              HELP-PROMPT:      Enter yes to have prescription numbers automatically generated by the computer. 
              DESCRIPTION:
                                This field is used to determine if the computer will auto generate prescription numbers.  

              TECHNICAL DESCR:
                                set of codes 


59,.18        PROFILE WITH NEW PRESCRIPTIONS 1;8 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      MAR 23, 1993 
              HELP-PROMPT:      Enter yes to have a profile printed with labels for new prescriptions. 
              DESCRIPTION:
                                This field is used to determine if medication profiles are printed when new medication is ordered.  

              TECHNICAL DESCR:
                                set of codes 

              GROUP:            PSO

59,.2         SLAVED LABEL PRINTING  1;26 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      JUN 03, 1992 
              HELP-PROMPT:      Enter '1' for Yes if slaved printing of Rx labels will be allowed. 
              DESCRIPTION:      This field will be used to allow printing of RX labels without being able to queue to a printer. 
                                This parameter is primarily for slaved printing of RX labels.  If 'yes' is the answer the prompt
                                for action to be taken on the label will include the '/PRINT' action.  

              TECHNICAL DESCR:
                                set of codes 

              GROUP:            PSO

59,.51        METHADONE PROGRAM      5;1 SET

                                '0' FOR NO; 
                                '1' FOR YES; 
              LAST EDITED:      JUN 02, 1989 
              HELP-PROMPT:      Enter 'Yes' if your site has a Methadone Program. 
              DESCRIPTION:      This field will be used to determine if the site has a methadone program and if a particular drug
                                should be prompted for.  

              TECHNICAL DESCR:
                                set of codes 

              GROUP:            PSO

59,.52        METHADONE DRUG         5;2 POINTER TO DRUG FILE (#50)

              INPUT TRANSFORM:  S DIC("S")="I $P(^(0),""^"")[""METHADONE""" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
              LAST EDITED:      MAY 12, 1992 
              HELP-PROMPT:      Enter the name of the particular form of Methadone given in the Methadone program. 
              DESCRIPTION:
                                This field will be used to show what drug is being used if the site has a methadone program.  

              TECHNICAL DESCR:
                                pointer 

              SCREEN:           S DIC("S")="I $P(^(0),""^"")[""METHADONE"""
              EXPLANATION:      Drug name must contain METHADONE
              GROUP:            PSO

59,1          *SITE DEA NUMBER       SAND;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>9!($L(X)<9)!'(X?2U7N) X
              LAST EDITED:      AUG 09, 1996 
              HELP-PROMPT:      Answer must be 9 characters in length.  Two alpha characters followed by 7 digits. 
              DESCRIPTION:      THIS FIELD IS NO LONGER USED!  CLOZAPINE DATA ROLLUP HAS BEEN TAKEN OVER BY THE MENTAL HEALTH
                                PACKAGE.  
                                 
                                This field will be used to indicate the Drug Enforcement Agency ID number for this site.  

              TECHNICAL DESCR:
                                free text.  


59,2          *SITE (NATIONAL NAME)  SAND;2 POINTER  ***** TO AN UNDEFINED FILE (#736), STORED IN ^QIP(736) *******

              LAST EDITED:      AUG 09, 1996 
              HELP-PROMPT:      Enter Site's National Name. 
              DESCRIPTION:      THIS FIELD IS NO LONGER USED!  CLOZAPINE DATA ROLLUP HAS BEEN TAKEN OVER BY THE MENTAL HEALTH
                                PACKAGE.  
                                 
                                This identifies the site by linking it to an entry in file 736.  

              TECHNICAL DESCR:
                                pointer 


59,3          DAYS TO PULL SUSP LOCAL NON-CS 1;27 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>15)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      AUG 09, 2022 
              EXECUTABLE HELP:  D HLPTXT3^PSOUTLA2

59,3.1        DAYS TO PULL SUSP CMOP CS 1;9 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>15)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      AUG 09, 2022 
              EXECUTABLE HELP:  D HLPTXT31^PSOUTLA2

59,3.2        RECENTLY DC'D/EXPIRED DAYS 1;33 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>45)!(X<7)!(X?.E1"."1N.N) X
              LAST EDITED:      MAY 10, 2007 
              HELP-PROMPT:      Type a Number between 7 and 45, 0 Decimal Digits 
              DESCRIPTION:      This field indicates the number of days a discontinued or expired med order appears in reverse
                                video on a patient's med profile.  


59,3.3        DAYS TO PULL SUSP LOCAL CS 1;34 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>15)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      AUG 09, 2022 
              EXECUTABLE HELP:  D HLPTXT33^PSOUTLA2

59,3.4        DAYS TO PULL SUSP CMOP NON-CS 1;35 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>15)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      AUG 09, 2022 
              EXECUTABLE HELP:  D HLPTXT34^PSOUTLA2

59,4          NEW LABEL STOCK        1;28 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      JUN 12, 1992 
              HELP-PROMPT:      If new medication label stock will be used enter '1' for Yes. 
              DESCRIPTION:
                                This field will be used to determine which medication label stock will be used.  

              TECHNICAL DESCR:
                                set.  not required.  

              GROUP:            PSO

59,4.2        PROC TEL REFILLS ALL DIVISIONS RF;3 SET (BOOLEAN Data Type)

              LAST EDITED:      NOV 12, 2021 
              HELP-PROMPT:      Enter the default response (YES/NO) to the Process telephone refills for all divisions? prompt. 
              DESCRIPTION:      The entry in this field is used as a sites default response to the "Process telephone refills for
                                all divisions?" prompt when running the PROCESS TELEPHONE REFILLS option. If this field is set to Y
                                the default prompt will be yes and N the default prompt will be NO.  


59,5          EXTERNAL INTERFACE     1;30 SET

                                '0' FOR INTERFACE TURNED OFF; 
                                '1' FOR SEND ALL ORDERS AND PRINT LABEL; 
                                '2' FOR SEND ALL ORDERS AND DON'T PRINT LABEL; 
                                '3' FOR SEND MARKED ORDERS AND DON'T PRINT; 
                                '4' FOR SEND MARKED ORDERS AND PRINT LABEL; 
              LAST EDITED:      MAR 04, 2004 
              DESCRIPTION:      This field allows sites to alter the characteristics of the external interface. The Set of Codes
                                field have the following values: 
                                 
                                0 - the external interface is off 1 - send all drugs to the external interface; print labels
                                locally 2 - send all drugs to the external interface; don't print labels locally 3 - send only
                                marked drugs to the external interface; don't print labels 
                                    locally 4 - send only marked drugs to external interface and print labels through 
                                    VistA.  

              TECHNICAL DESCR:  This is a Set of Codes field that gives the sites the ability to alter the characteristics of the
                                external interface. The values are: 
                                 
                                0 - the external interface is off 1 - send all orders to the external interface; print labels
                                locally 2 - send all orders to the external interface; don't print labels locally 3 - send only
                                marked orders to the external interface; don't print labels 
                                    locally 4 - send only marked drugs to external interface and print labels through 
                                    VistA.  


59,6          BLANK LABEL BETWEEN PATIENTS 1;31 SET

                                '0' FOR NO; 
                                '1' FOR YES; 
              LAST EDITED:      AUG 09, 1997 
              DESCRIPTION:
                                This field will determine if a blank label should print between patients on the label printers.  


59,7          VERIFYING PHARMACIST ON LABELS 1;32 SET

                                '1' FOR YES; 
              LAST EDITED:      SEP 16, 1998 
              HELP-PROMPT:      Enter Yes to print the Verifying Pharmacist number on Outpatient labels. 
              DESCRIPTION:      This site parameter will determine if the name of the verifying pharmacist or the name of the
                                person who made the order request will print on the Rx label.  If the parameter is set to Yes the
                                verifying pharmacist name will print.  

              TECHNICAL DESCR:
                                set of codes 


59,8          CPRS ORDERING INSTITUTION INI1;0 POINTER Multiple #59.08

              DESCRIPTION:      These are the Institutions of CPRS Pending orders that can be completed when signed in under this
                                Outpatient site.  

              TECHNICAL DESCR:
                                These are pointers to the Institution (#4) file.  


59.08,.01       CPRS ORDERING INSTITUTION 0;1 POINTER TO INSTITUTION FILE (#4) (Multiply asked)

                LAST EDITED:      AUG 26, 1998 
                HELP-PROMPT:      Enter the Institution for this Outpatient site for CPRS orders. 
                DESCRIPTION:      This field is used when completing orders from CPRS. If there is only one Institution entry, then
                                  when completing orders from CPRS under this Outpatient site, only those orders from that
                                  Institution will be shown.  If there is more than one entry, then the Instutition will be
                                  prompted for when completing orders from CPRS, and only those orders associated with that
                                  Institution selected will be shown.  

                TECHNICAL DESCR:
                                  This is a pointer to the Institution (#4) file.  

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


59.08,1         LOGICAL LINK           0;2 POINTER TO HL LOGICAL LINK FILE (#870)

                LAST EDITED:      SEP 19, 2001 
                HELP-PROMPT:      The link that will be used to exchange messages with an external application. 
                DESCRIPTION:      This is a pointer to the Logical Link file (#870).  This link is used to transmit messages to an
                                  external (client) application.  This field is not filled in when messages are exchanged between
                                  DHCP applications on the same system. This field will be used as the Logical Link for the 
                                  prescription if there is a Clinic associated with the prescription, and the Institution derived
                                  from that Clinic has an entry in this CPRS ORDERING INSTITUTION multiple with an associated
                                  Logical Link.  




59,10         DEFAULT ERX CLINIC     10;1 POINTER TO HOSPITAL LOCATION FILE (#44)

              LAST EDITED:      JUN 13, 2017 
              HELP-PROMPT:      Enter the default eRx clinic for this Outpatient Site. 
              DESCRIPTION:      This is the default eRx clinic, used to hold the eRx clinic that will be associated with an eRx
                                prescription.  


59,10.2       ERX DEFAULT LOOKBACK DAYS 10;2 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>365)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      MAY 24, 2018 
              HELP-PROMPT:      Enter the number of days in the past to look back when loading the holding queue and searching 
                                data. Type a number between 1 and 365, 0 decimal digits. 
              DESCRIPTION:      This field holds the number of days in the past the eRx software will search the eRx holding queue
                                on initial load, and when performing searches.  


59,100        RELATED INSTITUTION    INI;1 POINTER TO INSTITUTION FILE (#4) (Required)

              LAST EDITED:      JUN 16, 1989 
              DESCRIPTION:
                                Institution associated with the site.  

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


59,101        NPI INSTITUTION        INI;2 POINTER TO INSTITUTION FILE (#4)

              LAST EDITED:      MAR 09, 2007 
              HELP-PROMPT:      Enter 'Y' if your site will be using the multi-RX turn-around document. 
              DESCRIPTION:      The value in the field should point to the entry in the INSTITUTION file (#4) that contains the NPI
                                number for the dispensing pharmacy for this Outpatient Pharmacy division.  

              TECHNICAL DESCR:  This field points to the corresponding entry in the INSTITUTION file (#4) for this Outpatient Site
                                entry. This field was created for two reasons: 
                                 
                                1) Avoid the creation of a new field on this file to store the NPI (National   Provider
                                Identification) number and keep it at the institution level. The INSTITUTION file (#4) is being
                                updated along with the introduction of this new field to make sure that each entry in the
                                OUTPATIENT SITE (#59) file has an unique corresponding entry in that file.  
                                 
                                2) Eventually replace the RELATED INSTITUTION field (#100), which has been   used in different ways
                                by different VA Medical Centers. The NPI INSTITUTION (#101) will establish a consistent
                                relationship between the OUTPATIENT SITE (#59) and INSTITUTION (#4) files across the VA.  


59,105        AUTOMATED DISPENSE     DISP;1 SET

                                '0' FOR Less than V2.4; 
                                '2.4' FOR HL7 V.2.4; 
              LAST EDITED:      MAR 08, 2004 
              HELP-PROMPT:      Enter a zero if HL7 version is less than 2.4 and 2.4 if external interface is running HL7 V.2.4 
              DESCRIPTION:      This field will determine what version of the automated dispense machine this site is running.  If
                                the machine is older than HL7 V.2.4, enter letter O, if HL7 V.2.4 has been installed, enter 2.4.  


59,105.1      FILE RELEASE DATE/TIME DISP;2 SET

                                '1' FOR YES; 
              LAST EDITED:      FEB 18, 2004 
              DESCRIPTION:      This field is used to indicate if the release date/time is to be filed for the prescription
                                dispensed by an external interface.  


59,105.2      ENABLE MASTER FILE UPDATE DISP;3 SET

                                'N' FOR NO; 
                                'Y' FOR YES; 
              LAST EDITED:      APR 14, 2004 
              HELP-PROMPT:      Enter a Y if the automated dispense machines is ready to receive the Master File Update 
              DESCRIPTION:      This field will determine if the automated dispense machines are ready to receive HL7 V.2.4
                                messages.  


59,107        SCRIPTALK DEVICE       STALK;1 POINTER TO DEVICE FILE (#3.5)

              LAST EDITED:      JUN 13, 2003 
              HELP-PROMPT:      Enter ScripTalk Device. 
              DESCRIPTION:
                                This field contains a pointer to the ScripTalk printer device in the device file.  


59,107.1      SCRIPTALK AUTO-PRINT SETTINGS STALK;2 SET

                                'A' FOR AUTO PRINT; 
                                'M' FOR MANUAL PRINT; 
              LAST EDITED:      JUN 13, 2003 
              HELP-PROMPT:      Enter 'A' if ScripTalk label printing should be automatic, "M" if label will be queued manually. 
              DESCRIPTION:      Set this to 'A' to have a ScripTalk label automatically print for ScripTalk-enrolled patients
                                whenever their regular medication label prints. Set to 'M' if ScripTalk labels will be printed
                                manually.  


59,107.2      SCRIPTALK PRINTER TYPE STALK;3 SET

                                '2' FOR 2K LABEL; 
                                '10' FOR 10K LABEL; 
              LAST EDITED:      SEP 08, 2017 
              HELP-PROMPT:      Enter 2 if this ScripTalk printer is a 2K printer, enter 10 if this ScripTalk printer is a 10K 
                                printer. 
              DESCRIPTION:      This field is used to determine the amount of readable prescription data that is printed on the
                                ScripTalk labels that are read aloud by the ScripTalk Station Reader. Set this field according to
                                the type of ScripTalk printer, either 2K or 10K. This setting is used to determine when to stop
                                sending prescription data to the readable portion of the label and print a readable message to the
                                patient to seek help for this particular prescription label, since there was not enough space for
                                the prescription data. If this field is not set, the software will assume it is a 2K printer.  


59,107.3      VOID OTHER LABELS      STALK;4 SET

                                '0' FOR NO; 
                                '1' FOR YES; 
              LAST EDITED:      NOV 03, 2017 
              HELP-PROMPT:      Enter Yes to VOID non ScripTalk labels, No to not void. 
              DESCRIPTION:      This field allows the site to define, by division, whether or not they wish to void the print of
                                the drug name for the non-ScripTalk labels when the patient is enrolled in ScripTalk.  


59,109        LABEL/PROFILE MONITOR MAX 0;9 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>999999)!(X<1000)!(X?.E1"."1N.N) X
              LAST EDITED:      APR 06, 2004 
              HELP-PROMPT:      Type a Number between 1000 and 999999, 0 Decimal Digits 
              DESCRIPTION:      Maximum number of label/profiles to be stored in the Label/Profile Monitor list for each printer
                                device.  The default and minimum value for this number is 1000.  Each time the printer is used an
                                entry is made in the Label/Profile monitor and if the monitor holds more entries than specified by
                                this parameter, the oldest entry is deleted.  


59,134        FDA MED GUIDE PRINT SERVER URL FDAS;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>50!($L(X)<10) X
              LAST EDITED:      DEC 09, 2011 
              HELP-PROMPT:      Answer must be 10-50 characters in length. 
              DESCRIPTION:      This is the Uniform Resource Locator(URL) and Port Number for the Print Server running the Java
                                Application responsible for automatically printing of the Food and Drug Administration(FDA)
                                Medication Guides for the division (e.g., 'http://127.0.0.1:8092/'). 
                                 
                                If you do not want to use the FDA Medication Guide automatic printing functionality do not populate
                                this field.  


59,135        FDA MED GUIDE PRINTER  FDA;0 POINTER Multiple #59.0135

              DESCRIPTION:      This sub-file contains a list of printers used for printing FDA Medication Guides for this
                                division.  

              TECHNICAL DESCR:  The list of printers in this sub-file will be presented to the users when selecting a printer for
                                printing FDA Medication Guides for the division.  If the sub-file does not contain any records the
                                user will be presented with entries from the DEVICE file (#3.5) that have a WINDOWS NETWORK PRINTER
                                NAME field (#75) content.  


              INDEXED BY:       DEFAULT PRINTER (AFDA1)

59.0135,.01     FDA MED GUIDE PRINTER  0;1 POINTER TO DEVICE FILE (#3.5) (Multiply asked)

                INPUT TRANSFORM:  S DIC("S")="I $P($G(^%ZIS(1,+Y,""WIN"")),U)'=""""" D ^DIC K DIC S DIC=$G(DIE),X=+Y K:Y<0 X
                LAST EDITED:      NOV 14, 2011 
                HELP-PROMPT:      Enter the FDA Medication Guide printer for the division. 
                DESCRIPTION:
                                  This is the printer used to print FDA Medication Guides for the division.  

                TECHNICAL DESCR:  Only entries in the DEVICE file (#3.5) with a WINDOWS PRINTER NETWORK NAME (#75) field content
                                  can be selected.  

                SCREEN:           S DIC("S")="I $P($G(^%ZIS(1,+Y,""WIN"")),U)'="""""
                EXPLANATION:      Only devices with a Windows Network Printer Name are allowed.
                CROSS-REFERENCE:  59.0135^B 
                                  1)= S ^PS(59,DA(1),"FDA","B",$E(X,1,30),DA)=""
                                  2)= K ^PS(59,DA(1),"FDA","B",$E(X,1,30),DA)


59.0135,.02     DEFAULT PRINTER        0;2 SET

                                  '1' FOR YES; 
                LAST EDITED:      OCT 25, 2011 
                HELP-PROMPT:      Indicate whether the printer is the default FDA Medication Guide Printer for the division. 
                DESCRIPTION:      This field indicates whether the printer will be used as the default printer when printing FDA
                                  Medication Guide for the division.  

                TECHNICAL DESCR:  Only one entry in the sub-file can have this field set to '1' as there can only be one default
                                  printer.  

                FIELD INDEX:      AFDA1 (#850)    MUMPS    IR    ACTION
                    Short Descr:  Enforces only 1 default Med Guide Printer per Division.
                    Description:  This cross-reference ensures that only one printer can be set as the default printer for printing
                                  FDA Medication Guide per division. It sets this field to null for every other printer in the
                                  multiple.  
                      Set Logic:  N I F I=0:0 S I=$O(^PS(59,DA(1),"FDA",I)) Q:'I  S:I'=DA $P(^PS(59,DA(1),"FDA",I,0),"^",2)=""
                     Kill Logic:  Q
                           X(1):  DEFAULT PRINTER  (59.0135,.02)  (Len 1)  (forwards)




59,1000       NARCOTICS NUMBERED DIFFERENTLY 2;1 SET (Required)

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      JUN 16, 1989 
              DESCRIPTION:      This field is used to determine if narcotics will be numbered differently from other
                                medications/supplies.  

              TECHNICAL DESCR:
                                set of codes 


59,1001       NARCOTIC LOWER BOUND   3;1 NUMBER (Required)

              INPUT TRANSFORM:  K:+X'=X!(X>999999999)!(X<0)!(X?.E1"."1N.N) X
              HELP-PROMPT:      Type a Number between 0 and 999999999, 0 Decimal Digits 
              DESCRIPTION:      This field is used to determine what prescription numbers narcotics are to start with if narcotics
                                are numbered differently from other prescriptions/supplies.  

              TECHNICAL DESCR:
                                numeric 

              GROUP:            PSO

59,1002       NARCOTIC UPPER BOUND   3;2 NUMBER (Required)

              INPUT TRANSFORM:  K:+X'=X!(X>999999999)!(X<0)!(X?.E1"."1N.N) X
              HELP-PROMPT:      Type a Number between 0 and 999999999, 0 Decimal Digits 
              DESCRIPTION:      This field is used to determine the highest prescription number used for narcotics if this type of
                                medication is numbered differently from other medications/supplies.  

              TECHNICAL DESCR:
                                numeric 

              GROUP:            PSO

59,1002.1     LAST NARCOTIC NUMBER ISSUED 3;3 NUMBER (Required)

              INPUT TRANSFORM:  K:+X'=X!(X>999999999)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      MAY 11, 1992 
              HELP-PROMPT:      Type a Number between 0 and 999999999, 0 Decimal Digits 
              DESCRIPTION:
                                This field is used to indicate last number issued for narcotic medications.  


59,1003       IB SERVICE/SECTION     IB;1 POINTER TO SERVICE/SECTION FILE (#49) (Required)

              INPUT TRANSFORM:  I $D(X) S Y=X S PSOIBSER=$$SERV^IBARX1(+Y) D:PSOIBSER=0 IBSS^PSOUTL K:PSOIBSER=0 X K PSOIBSER
              LAST EDITED:      AUG 29, 1995 
              DESCRIPTION:      Select the appropriate entry in the Service/Section file (#49) that is to be used for the Pharmacy
                                Copayment/Integrated Billing procedures.  

              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER


59,1004       NARRATIVE FOR COPAY DOCUMENT 4;0   WORD-PROCESSING #59.01004

              LAST EDITED:      SEP 10, 1991 
              DESCRIPTION:      This field contains information from the site regarding the copayment procedures for the patient to
                                follow upon receipt of the copay document.  For example, information may include a telephone number
                                to call regarding billing inquiries, a payment mailing address, etc.  


                LAST EDITED:      SEP 10, 1991 
                HELP-PROMPT:      Enter information you wish to be printed on the COPAY document. 
                DESCRIPTION:      This field contains information from the site regarding the copayment procedures for the patient
                                  to follow upon receipt of the copay document.  For example, information may include a telephone
                                  number to call regarding billing inquiries, a payment mailing address, etc.  




59,1005       NARRATIVE REFILLABLE RX 6;0   WORD-PROCESSING #59.01005

              LAST EDITED:      OCT 13, 1992 
              TECHNICAL DESCR:
                                Word processing field.  


                LAST EDITED:      OCT 13, 1992 
                HELP-PROMPT:      Enter patient instructions for REFILLABLE Rx's. 
                DESCRIPTION:
                                  This narrative is used to inform the patient about refillable medications.  

                TECHNICAL DESCR:
                                  word-processing 




59,1006       NARRATIVE NON-REFILLABLE RX 7;0   WORD-PROCESSING #59.01006

              DESCRIPTION:      This field contains information from the site regarding procedures for the patient to obtain a new
                                prescription for his non-refillable medication. This field may contain address, phone number, etc
                                that will assist the patient.  


                LAST EDITED:      OCT 13, 1992 
                HELP-PROMPT:      Enter patient instructions for NON-REFILLABLE Rx's. 
                DESCRIPTION:
                                  This narrative is used to inform the patient of non-fillable medications.  

                TECHNICAL DESCR:
                                  word-processing.  




59,1007       CHARGE LOCATION        PFS;1 POINTER TO HOSPITAL LOCATION FILE (#44)

              LAST EDITED:      JUL 25, 2005 
              HELP-PROMPT:      Enter a valid location. 
              DESCRIPTION:      This field is a pointer to the Hospital Location File (#44).  Multi-division sites should populate
                                this field for each division. This data could be obtained from the Business Office of the Medical
                                Center.  

              TECHNICAL DESCR:  This field is a pointer to the Hospital Location File (#44). PFSS project requires this field to be
                                defined as all packages involved have a similar pointer defined except Outpatient Pharmacy. It is
                                needed for the HL7 messaging to an external billing system and to facilitate a standardized method
                                for VDEF to retrieve the Charge Location using a generic API.  

              DELETE TEST:      1,0)= I 1 D EN^DDIOL("Charge Location cannot be deleted!","","$C(7),!?5")


59,1008       NCPDP NUMBER           SAND;3 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>7!($L(X)<7)!'(X?7N) X
              LAST EDITED:      AUG 25, 2005 
              HELP-PROMPT:      Enter the 7-digit number for this site, padding with leading 0's if needed. 
              DESCRIPTION:      This field is the site-specific National Council for Prescription Drug Programs number (NCPDP),
                                formerly referred to as the National Association of Boards of Pharmacy Number (NABP).  

              TECHNICAL DESCR:  This field is the site-specific National Council for Prescription Drug Programs number (NCPDP),
                                formerly referred to as the National Association of Boards of Pharmacy Number (NABP).  


59,2001       PRESCRIPTION # LOWER BOUND 8;1 NUMBER (Required)

              INPUT TRANSFORM:  K:+X'=X!(X>999999999)!(X<0)!(X?.E1"."1N.N) X
              HELP-PROMPT:      Type a Number between 0 and 999999999, 0 Decimal Digits 
              DESCRIPTION:
                                This field is used to enter the lowest prescription number for this site.  

              TECHNICAL DESCR:
                                Numeric data type field. 

              EXECUTABLE HELP:  D 2001^PSOHELP1

59,2002       PRESCRIPTION # UPPER BOUND 8;2 NUMBER (Required)

              INPUT TRANSFORM:  K:+X'=X!(X>999999999)!(X<0)!(X?.E1"."1N.N) X
              HELP-PROMPT:      Type a Number between 0 and 999999999, 0 Decimal Digits 
              DESCRIPTION:
                                This field is used to enter the highest presciption number for this site.  

              TECHNICAL DESCR:
                                Numeric data type.  

              EXECUTABLE HELP:  D 2002^PSOHELP1

59,2003       LAST PRESCRIPTION # ISSUED 8;3 NUMBER (Required)

              INPUT TRANSFORM:  K:+X'=X!(X>999999999)!(X<0)!(X?.E1"."1N.N) X
              HELP-PROMPT:      Type a Number between 0 and 999999999, 0 Decimal Digits 
              DESCRIPTION:
                                This field is used to store the last RX number used.  

              TECHNICAL DESCR:
                                Numeric data type.  

              EXECUTABLE HELP:  D 2003^PSOHELP1

59,2004       INACTIVE DATE          I;1 DATE

              INPUT TRANSFORM:  S %DT="EX" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      NOV 09, 1999 
              HELP-PROMPT:      Enter the date that will inactivate the Outpatient Site. The Outpatient Site will no longer be 
                                selectable through Pharmacy options after the date entered. 
              DESCRIPTION:      This date will indicate that the Outpatient Site is no longer active, and cannot be selected
                                through the Outpatient Pharmacy options.  

              TECHNICAL DESCR:
                                This is a date field, not required, used to inactivate an Outpatient Site.  


59,2005       LOGICAL LINK           8;4 POINTER TO HL LOGICAL LINK FILE (#870)

              LAST EDITED:      SEP 20, 2001 
              HELP-PROMPT:      Top level link that will be used to exchange messages with an external application. 
              DESCRIPTION:      This is a pointer to the Logical Link file (#870).  This link is used to transmit messages to an
                                external (client) application.  This field is not filled in when messages are exchanged between
                                DHCP applications on the same system. This field will be used as the Logical Link for the 
                                prescription if there is no Clinic associated with the prescription, or if there is a Clinic
                                associated with the prescription, but the Institution derived from that Clinic does not have an
                                entry in the CPRS ORDERING INSTITUTION multiple with an associated Logical Link for that Outpatient 
                                Site entry.  


59,2006       DISPENSE DNS NAME      8;5 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
              LAST EDITED:      APR 28, 2004 
              HELP-PROMPT:      Answer must be 1-50 characters in length 
              DESCRIPTION:      THIS IS THE DNS COMPUTER NAME OF THE AUTOMATED DISPENSING MACHINE THAT IS USED FOR THIS OUTPATIENT
                                SITE DIVISION.  

              TECHNICAL DESCR:  YOUR IRM DEPARTMENT SHOULD HAVE THE INFORMATION OF THE DNS COMPUTER NAME OF THE AUTOMATED
                                DISPENSING MACHINE THAT IS ATTACHED TO THIS OUTPATIENT PHARMACY SITE DIVISION.  


59,2007       DISPENSE DNS PORT      8;6 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>65535)!(X<1)!(X?.E1"."1.N) X
              LAST EDITED:      FEB 13, 2006 
              HELP-PROMPT:      Type a number between 1 and 65535, 0 Decimal Digits 
              DESCRIPTION:      ENTER THE DNS PORT NUMBER ASSOCIATED WITH THE AUTOMATED DISPENSE MACHINE FOR THIS OUTPATIENT
                                PHARMACY SITE DIVISION.  

              TECHNICAL DESCR:  YOUR IRM DEPARTMENT SHOULD HAVE THE INFORMATION OF THE PORT NUMBER FOR THE AUTOMATED DISPENSE
                                MACHINE ATTACHED TO THIS OUTPATIENT PHARMACY SITE DIVISION.  


59,2008       DISPENSING SYSTEM PRINTER P;0 POINTER Multiple #59.02008

              LAST EDITED:      JUL 13, 2004 
              DESCRIPTION:      This field identifies the name of the dispensing system printer device.  When the user selects this
                                printer device and the external interface is in use, an HL7 message will be generated.  

              TECHNICAL DESCR:
                                multiple and pointer to the Device file (#3.5).  


59.02008,.01    DISPENSING SYSTEM PRINTER 0;1 POINTER TO DEVICE FILE (#3.5) (Multiply asked)

                INPUT TRANSFORM:  S DIC("S")="I $E($G(^%ZIS(2,+$G(^(""SUBTYPE"")),0)),1)=""P""" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
                LAST EDITED:      JUL 13, 2004 
                HELP-PROMPT:      This field identifies the name of the printer(s) that, when selected, and the interface is in 
                                  use, an HL7 message is generated to the dispensing system. 
                DESCRIPTION:      This field identifies the name of the printer(s) that, when selected, and the interface is in
                                  use, an HL7 message is generated to the dispensing system.  

                TECHNICAL DESCR:
                                  pointer to Device file (#3.5).  

                SCREEN:           S DIC("S")="I $E($G(^%ZIS(2,+$G(^(""SUBTYPE"")),0)),1)=""P"""
                EXPLANATION:      Only printers are selectable.
                CROSS-REFERENCE:  59.02008^B 
                                  1)= S ^PS(59,DA(1),"P","B",$E(X,1,30),DA)=""
                                  2)= K ^PS(59,DA(1),"P","B",$E(X,1,30),DA)


59.02008,1      OPAI                   OPAI;0 POINTER Multiple #59.20081 (Add New Entry without Asking)

                DESCRIPTION:
                                  This multiple contains automated dispensing devices for this printer.  

                IDENTIFIED BY:    
                         "W1":    W "   ",@("$P($P($C(59)_$S($D(^DD(59.20081,1,0)):$P(^(0),U,3),1:0)_$E("_DIC_"Y,0),0),$C(59)_$P(^(
                                  0),U,2)_"":"",2),$C(59),1)")

59.20081,.01      DNS NAME               0;1 POINTER TO PHARMACY AUTOMATED DISPENSING DEVICES FILE (#52.53) (Multiply asked)

                  LAST EDITED:      SEP 28, 2011 
                  HELP-PROMPT:      Enter the automated dispensing device associated with this printer. 
                  DESCRIPTION:
                                    This is the automated dispensing device associated with this printer.  

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


59.20081,1        CATEGORY               0;2 SET (Required)

                                    'MCS' FOR MAIL - CS; 
                                    'MNCS' FOR MAIL - NCS; 
                                    'MAIL' FOR MAIL; 
                                    'WCS' FOR WINDOW - CS; 
                                    'WNCS' FOR WINDOW - NCS; 
                                    'WIND' FOR WINDOW; 
                                    'CS' FOR CONTROLLED SUBSTANCE; 
                                    'NCS' FOR NONCONTROLLED SUBSTANCE; 
                                    'A' FOR ANY; 
                                    'S' FOR STORAGE; 
                  INPUT TRANSFORM:  K:$$CATVAL^PSOSITED(X) X
                  LAST EDITED:      JAN 30, 2012 
                  HELP-PROMPT:      Enter a category for this automated dispensing device. 
                  DESCRIPTION:
                                    This is the category for this automated dispensing device.  

                  NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER






59,2030       PROCESS AUTO REFILLS FOR INPAT RF;1 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      JUN 25, 2007 
              HELP-PROMPT:      Respond YES to have Rx refills, for an inpatient, processed by the scheduled Refill Automation job. 
              DESCRIPTION:      This flag should be set to Yes, only if the site wants the scheduled AUTO REFILL [PSO AUTO REFILL]
                                option to process refills for patients who are currently an inpatient. The AUTO REFILL job defaults
                                to NO unless the site has this flagged as YES.  


59,2035       PROCESS AUTO REFILLS FOR CNH RF;2 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      JUN 25, 2007 
              HELP-PROMPT:      Respond YES to have Rx refills, for Contract Nursing Home (CNH) patient, processed by the scheduled 
                                Refill Automation job. 
              DESCRIPTION:      This flag should be set to Yes, only if the site wants the scheduled AUTO REFILL [PSO AUTO REFILL]
                                option to process refills for CNH patients.  The AUTO REFILL job defaults to NO unless the site has
                                this flagged as YES.  


59,3001       ONEVA PHARMACY FLAG    9;2 SET

                                '1' FOR ON; 
                                '0' FOR OFF; 
              LAST EDITED:      MAY 30, 2016 
              HELP-PROMPT:      Select '1' to turn on the OneVA Pharmacy remote prescription logic. Select '0' to turn it off. 
              DESCRIPTION:      This flag controls the functionality of the OneVA Pharmacy remote prescription logic. If the flag
                                is turned on, this facility will be able to query prescriptions from other facilities, and will
                                accept incoming refill and partial fills from other VA medical facilities. If the flag is turned
                                'off', no queries will be made, and external refill/partial fill requests will be declined.  



      FILES POINTED TO                      FIELDS

DEVICE (#3.5)                     SCRIPTALK DEVICE (#107)
                                  FDA MED GUIDE PRINTER:FDA MED GUIDE PRINTER (#.01)
                                  DISPENSING SYSTEM PRINTER:DISPENSING SYSTEM PRINTER (#.01)

DRUG (#50)                        METHADONE DRUG (#.52)

GROUP DISPLAY (#59.3)             DISPLAY GROUP (#.121)

HL LOGICAL LINK (#870)            LOGICAL LINK (#2005)
                                  CPRS ORDERING INSTITUTION:LOGICAL LINK (#1)

HOSPITAL LOCATION (#44)           DEFAULT ERX CLINIC (#10)
                                  CHARGE LOCATION (#1007)

INSTITUTION (#4)                  RELATED INSTITUTION (#100)
                                  NPI INSTITUTION (#101)
                                  CPRS ORDERING INSTITUTION:CPRS ORDERING INSTITUTION (#.01)

PHARMACY AUTOMATED DISPENSING  
                   (#52.53)       OPAI:DNS NAME (#.01)

SERVICE/SECTION (#49)             IB SERVICE/SECTION (#1003)

STATE (#5)                        MAILING FRANK STATE (#.08)

}UNDEFINED FILE (#736)            *SITE (NATIONAL NAME) (#2)



INPUT TEMPLATE(S):
PSO SITE                      MAY 24, 2018@15:29  USER #0    

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):