STANDARD DATA DICTIONARY #58.7 -- PADE SYSTEM SETUP FILE                                                          3/24/25    PAGE 1
STORED IN ^PS(58.7,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                         (VERSION 5.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file defines the Pharmacy Automated Dispensing Equipment (PADE) system like Pyxis, Omnicell, AccuDose, etc., that will be used
by the VA Medical Centers to stock and to dispense drug/non-drug items in Inpatient Wards or Outpatient Clinics. Defining the
wards/clinics associated with a division, and mapping to a PADE cabinet (location/area), will allow VistA to communicate precisely
the outbound messages related to ADT, clinic visits, order details, drug formulary etc.  


              DD ACCESS: 
              RD ACCESS: 
              WR ACCESS: 
             DEL ACCESS: 
           LAYGO ACCESS: 
           AUDIT ACCESS: 

POINTED TO BY: PADE VENDOR field (#2) of the PADE INVENTORY SYSTEM File (#58.601) 
               PADE SYSTEM field (#10) of the PADE OUTBOUND MESSAGES File (#58.72) 
               

CROSS
REFERENCED BY: PADE SYSTEM(B)

INDEXED BY:    DIVISION (AD)


    LAST MODIFIED: JUN 27,2022@14:32:37

58.7,.01      PADE SYSTEM            0;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
              LAST EDITED:      AUG 24, 2015 
              HELP-PROMPT:      Answer must be 3-30 characters in length. 
              DESCRIPTION:      This is the name of the Pharmacy Automated Dispensing Equipment (PADE) system like Pyxis, OmniCell,
                                AccuDose etc., that supports single/multiple cabinets, located in Inpatient Wards and Outpatient 
                                Clinics to stock items (drug/non-drug) for dispensing.  

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

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

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


58.7,1        DNS NAME/IP ADDRESS    0;2 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>50!($L(X)<3) X
              LAST EDITED:      JUN 24, 2015 
              HELP-PROMPT:      Answer must be 3-50 characters in length. 
              DESCRIPTION:
                                This is the DNS name or the IP address of the PADE System.  


58.7,2        PORT                   0;3 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>65535)!(X<3)!(X?.E1"."1.N) X
              LAST EDITED:      JUN 24, 2015 
              HELP-PROMPT:      Type a number between 3 and 65535, 0 decimal digits. 
              DESCRIPTION:
                                This is the port number associated with the PADE System.  


58.7,2.5      SEND DRUG FILE MESSAGES 0;5 SET

                                'N' FOR NEW DRUGS; 
                                'U' FOR UPDATES; 
                                'B' FOR BOTH; 
                                'X' FOR NONE; 
              LAST EDITED:      FEB 26, 2016 
              HELP-PROMPT:      Select if users should be prompted to send HL7 messages to PADE during DRUG ENTER/EDIT option 
              DESCRIPTION:      This parameter will determine if the user will be prompted to send HL7 drug formulary messages to
                                PADE when using the DRUG ENTER/EDIT option.  When set to "N" (for New DRUGS), the user will be
                                prompted to send a message to PADE only when the DRUG ENTER/EDIT option is used to create  NEW
                                entries. If the parameter is set to "U" (for UPDATES) then the user will only be prompted to send 
                                messages when updating/changing current entries with the DRUG ENTER/EDIT OPTION. IF this parameter
                                is set to "B" (for BOTH), then the user will be prompted during both of these scenarios. If the
                                parameter is set to "X" (NONE) or left NULL/blank, then the user will never be prompted to send NEW
                                or UPDATES to PADE when using the DRUG ENTER/EDIT option.  
                                 
                                This parameter will also impact the functioning of the MASTER FILE update option, which can always
                                be used to send the formulary messages for one or all appropriate drugs to PADE. As defined above,
                                setting this parameter to "N" (NEW), "U" (UPDATE) or "B" (BOTH) will allow you to send the
                                formulary messages to PADE as new drugs. Setting to "X" or left NULL/blank, will not allow you to
                                send any formulary messages to PADE.  


58.7,3        INACTIVE DATE          0;4 DATE

              INPUT TRANSFORM:  S %DT="EX" D ^%DT S X=Y K:X<1 X
              LAST EDITED:      DEC 10, 2015 
              HELP-PROMPT:      Enter the date the PADE became inactive. 
              DESCRIPTION:
                                This is the PADE inactivation date.  


58.7,3.5      SEND CHECKIN/SURG HL7 FOR INPT 0;6 SET

                                'Y' FOR YES; 
                                'N' FOR NO; 
              LAST EDITED:      DEC 09, 2015 
              HELP-PROMPT:      Select if HL7 messages should be sent to PADE for admitted patients if they have clinical 
                                appointments, surgery cases or check-ins. 
              DESCRIPTION:      This parameter applies to ADMITTED patient only. Enter "YES" if HL7 scheduling messages should
                                still be sent when checking in clinic appointments (IP appointments) or surgical cases (via manual 
                                option/background task)or background job when the system finds that the patient is ADMITTED.  This
                                is vendor dependent and should only be set to "NO" when it is known that these messages could cause
                                the inpatient to be removed from their IP location on the vendor device.  


58.7,3.6      DAYS TO PULL AHEAD FOR BG JOB 1;1 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>30)!(X<0)!(X?.E1"."1.N) X
              LAST EDITED:      NOV 18, 2015 
              HELP-PROMPT:      Type a number between 0 and 30, 0 decimal digits. 
              DESCRIPTION:      Check-in for a clinic will generate HL7 messages to PADE in real time.  Clinics that do not have
                                check-in, there is a nightly job that can be scheduled to run on a daily basis that will generate
                                HL7 messages to PADE. If there is a need for you to send clinic appointments for future days as
                                well then populating this field will help to pull those appointments in your nightly job. We allow
                                a maximum of 30 days, but keep this to a minimum as it may impact your network traffic.  


58.7,3.7      RE-SEND ORDERS AT CHECK-IN 1;3 SET (BOOLEAN Data Type)

              LAST EDITED:      APR 27, 2022 
              HELP-PROMPT:      Enter "YES" if medication clinic orders should be resent when a patient checks into a clinic with 
                                the same SEND AREA as the send area for the orders. 
              DESCRIPTION:      This parameter allows clinic orders to be resent when a patient checks into a clinic appointment
                                (either directly or via PADE background job) sharing the same send area as the orders. This
                                parameter follows the same hierarchy to determine if clinic orders will be resent, as is used for 
                                the routine sending of PADE order messages. That hierarchy is (1) Clinic (2) PADE Clinic Group (3)
                                VistA Clinic Group (4) PADE Wildcard Clinic Name and the parameter is available at all of these
                                levels. If set to YES at this SYSTEM level, any setting of the parameter at these lower levels
                                (e.g., Clinic, PADE Clinic group, VistA Clinic Group, PADE Wildcard Clinic Name), being left BLANK
                                or set to YES, will send their associated Clinic orders messages on check-in. This parameter does
                                not need to be set to YES or NO for lower level YES or NO values to be honored.  


58.7,4        DIVISION               DIV;0 POINTER Multiple #58.74

              DESCRIPTION:      All Medical Center Divisions associated with this PADE have to be defined here. The wards and
                                clinics under these divisions if they are associated with this PADE then they need to be defined so
                                that the HL7 messages triggered by events like admission/discharge/transfer, clinic appointments,
                                surgery cases, check-ins, inpatient medication orders or drug formulary updates, will be sent to
                                PADE.  


58.74,.01       DIVISION               0;1 POINTER TO MEDICAL CENTER DIVISION FILE (#40.8) (Multiply asked)

                INPUT TRANSFORM:  S DINUM=X I $D(^XUSEC("PSJ PADE ADV",DUZ)),'$D(^PS(58.7,DA,"DIV",X,0)) K X
                LAST EDITED:      APR 25, 2016 
                HELP-PROMPT:      Enter the division you want to associate with the PADE system. 
                DESCRIPTION:      This is the MEDICAL CENTER DIVISION associated with the WARDS and CLINICS that are to be defined
                                  for this PADE system. You will only be able to define WARDS and Clinics that are associated with
                                  this DIVISION.  Users with the PSJ PADE ADV key may only edit existing divisions in the multiple
                                  and may not add new ones.  

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

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

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

                FIELD INDEX:      AD (#1390)    REGULAR    IR    SORTING ONLY    WHOLE FILE (#58.7)
                    Short Descr:  INDEX BY DIVISION AND PADE
                    Description:  If there are multiple PADE system associated with a Medical Center Division, then this cross
                                  reference will sort them under each division, which will be very helpful in generating HL7
                                  messages to multiple PADE system.  
                      Set Logic:  S ^PS(58.7,"AD",X,DA(1),DA)=""
                     Kill Logic:  K ^PS(58.7,"AD",X,DA(1),DA)
                     Whole Kill:  K ^PS(58.7,"AD")
                           X(1):  DIVISION  (58.74,.01)  (Subscr 1)  (forwards)


58.74,1         INACTIVE DATE          0;2 DATE

                INPUT TRANSFORM:  S %DT="EX" D ^%DT S X=Y K:X<1 X
                LAST EDITED:      DEC 09, 2015 
                HELP-PROMPT:      Enter the date you want to inactivate the Division from this PADE. 
                DESCRIPTION:
                                  This is the date on or after which the division will no longer communicate with the PADE system.  


58.74,2         SEND MESSAGES FOR ALL CLINICS? 0;3 SET

                                  'Y' FOR YES; 
                                  'N' FOR NO; 
                LAST EDITED:      FEB 26, 2016 
                HELP-PROMPT:      Select "YES" if all clinic medication order messages will be sent to PADE. This also includes SIU 
                                  messages. 
                DESCRIPTION:      Enter "YES" if all clinic medication order messages will be sent to PADE. This also includes SIU
                                  messages generated by clinic appointment activity/triggers.  
                                   
                                  Caution should be taken when choosing to send ALL clinic messages (orders and SIU) from a
                                  particular division due to the potentially large volume of messages sent. This is particularly
                                  true if you answer YES to this field and leave the DEFAULT CLINIC SEND AREA field Null/Blank. In
                                  that case, all clinic messages (orders and SIU) will be sent to PADE for all clinics in that
                                  division using the FULL clinic name instead of a DEFAULT CLINIC SEND AREA. This may create a
                                  distinct location on the vendor side for each unique clinic name passed. Be sure to work with
                                  your vendor to ensure their capabilities prior to setting this field to YES.  


58.74,2.1       INCLUDE ALL CLINICS IN BG JOB 0;9 SET

                                  'Y' FOR YES; 
                LAST EDITED:      DEC 09, 2015 
                HELP-PROMPT:      Select "YES" if the nightly background job should run for all clinics in this division and 
                                  generate SIU messages to PADE. 
                DESCRIPTION:      Enter "YES" if the nightly background job should run for all clinics in this division and
                                  generate appointment messages to PADE. If there are clinics where you do check-in then do not
                                  populate this field as check-in will generate appointment messages to PADE.  


58.74,3         DEFAULT CLINIC SEND AREA 0;4 POINTER TO PADE SEND AREA FILE (#58.71)

                LAST EDITED:      FEB 16, 2016 
                HELP-PROMPT:      Enter a default PADE location that will be used for all clinic messages. 
                DESCRIPTION:      This is the default PADE cabinet location for clinic messages that will be used if the individual
                                  clinics are not defined. If SEND MESSAGES FOR ALL CLINICS? field is set to NULL or "NO" then this
                                  field is not used and the PADE location must be defined individually for each clinic.  
                                   
                                  This area must be defined on the PADE vendor system and also defined in PADE SEND AREA file
                                  (#58.71) to ensure that the messages are routed to the intended location on the PADE vendor
                                  system.  

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


58.74,3.5       SEND SURGERY MESSAGES? 0;8 SET

                                  'Y' FOR YES; 
                                  'N' FOR NO; 
                LAST EDITED:      FEB 29, 2016 
                HELP-PROMPT:      Select "YES" to send Surgery messages for this division. 
                DESCRIPTION:      Entering "YES" in this field will send SIU messages for surgical cases scheduled in operating
                                  rooms defined within this division. This feature may not be needed if surgical cases for this
                                  division have associated clinic appointments into which patients are being checked into.  


58.74,3.7       SEND ORDER MESSAGES?   2;1 SET

                                  'Y' FOR YES; 
                                  'N' FOR NO; 
                LAST EDITED:      SEP 13, 2015 
                HELP-PROMPT:      Enter "YES" to generate pharmacy order messages to PADE 
                DESCRIPTION:      Entering YES in this field will allow pharmacy order messages from the inpatient medication
                                  package (including clinic orders) to be sent for wards and clinics defined in the PADE parameters
                                  for this division.  Note: You may also filter out IV package and non-CS orders in the other
                                  parameters of this option, however this field must be set to YES before those parameters are
                                  checked. Enter "NO" if this division's PADE cabinets are not capable or not configured to accept
                                  order massages.  


58.74,3.8       SEND CS ORDERS ONLY?   3;1 SET

                                  'Y' FOR YES; 
                                  'N' FOR NO; 
                LAST EDITED:      SEP 13, 2015 
                HELP-PROMPT:      Enter "YES" to only send orders for controlled substances to PADE 
                DESCRIPTION:      When this field is set to "YES", and the field "SEND ORDER MESSAGES?" is also set to "YES"; then
                                  only order messages for medications with a dispense drug having a DEA, SPECIAL HDLG field (#3) of
                                  the DRUG file (#50) containing 2,3,4 or 5 will transmit to PADE for the wards and clinics defined
                                  for this division. Use this field if you only use the PADE cabinets of this division to stock
                                  controlled substances.  


58.74,4         SEND INPT IV PACKAGE ORDERS? 0;5 SET

                                  'Y' FOR YES; 
                                  'N' FOR NO; 
                LAST EDITED:      DEC 09, 2015 
                HELP-PROMPT:      Select "YES" if all IV package orders associated with wards of this division will send messages 
                                  to PADE. 
                DESCRIPTION:      Enter "YES" if all IV package orders associated with wards of this division will send messages to
                                  PADE.  


58.74,4.5       SEND CLINIC IV PACKAGE ORDERS? 0;7 SET

                                  'Y' FOR YES; 
                                  'N' FOR NO; 
                LAST EDITED:      DEC 09, 2015 
                HELP-PROMPT:      Select "YES" if all IV package orders associated with clinics of this division will send messages 
                                  to PADE. 
                DESCRIPTION:      Enter "YES" if all IV package orders associated with clinics of this division will send messages
                                  to PADE.  


58.74,5         MAIL GROUP FOR NOTIFICATION 0;6 POINTER TO MAIL GROUP FILE (#3.8)

                LAST EDITED:      DEC 09, 2015 
                HELP-PROMPT:      Select the mail group for this division that will be used for system messages. 
                DESCRIPTION:
                                  Enter the mail group for this division that will be used for system messages.  


58.74,6         WARD GROUP             WG;0 POINTER Multiple #58.746

                DESCRIPTION:      This multiple groups all wards in a division so that the messages associated to these wards can
                                  be sent to a defined PADE cabinet.  


58.746,.01        WARD GROUP             0;1 POINTER TO WARD GROUP FILE (#57.5) (Multiply asked)

                  INPUT TRANSFORM:  S DIC("S")="I $$WGSEL^PSJPADE(Y)" D ^DIC K DIC S DIC=$G(DIE),X=+Y K:Y<0 X
                  LAST EDITED:      DEC 10, 2015 
                  HELP-PROMPT:      Enter the ward group associated with this PADE. 
                  DESCRIPTION:      You may use ward groups to associate all the wards within a "P" type ward group to this
                                    Division instead of defining them individually. If you also define a WARD individually, which
                                    is part of a ward group defined within this field, then the WARD SEND AREA in this multiple 
                                    will be ignored for that ward and the send location of the individually defined ward will be
                                    used to send messages. This allows you to define behavior for an entire ward group but create
                                    exceptions for specific wards that are part of that group.  

                  SCREEN:           S DIC("S")="I $$WGSEL^PSJPADE(Y)"
                  EXPLANATION:      Only PHARMACY ward groups are selectable.
                  CROSS-REFERENCE:  58.746^B 
                                    1)= S ^PS(58.7,DA(2),"DIV",DA(1),"WG","B",$E(X,1,30),DA)=""
                                    2)= K ^PS(58.7,DA(2),"DIV",DA(1),"WG","B",$E(X,1,30),DA)


58.746,1          WARD GROUP SEND AREA   0;2 POINTER TO PADE SEND AREA FILE (#58.71)

                  LAST EDITED:      AUG 19, 2015 
                  HELP-PROMPT:      Enter the PADE location associated with this ward group. 
                  DESCRIPTION:      All the messages associated to the wards under this ward group will be sent to the PADE
                                    location defined here.  




58.74,7         WARD                     WD;0 POINTER Multiple #58.747

                  DESCRIPTION:
                                    Enter all wards for this division that are associated with this PADE.  


58.747,.01        WARD                     0;1 POINTER TO WARD LOCATION FILE (#42) (Multiply asked)

                    INPUT TRANSFORM:S DIC("S")="N D0,X S D0=+Y D WIN^DGPMDDCF I 'X,$P(^DIC(42,D0,0),U,11)=$S($G(PSJDIV):PSJDIV,1:DA
                                )" D ^DIC K DIC S DIC=$G(DIE),X=+Y K:Y<0 X
                    LAST EDITED: AUG 25, 2015 
                    HELP-PROMPT:Enter the ward associated with this PADE. 
                    DESCRIPTION:This field allows you to select Wards that are associated with a PADE. When an order for an
                                inpatient is completed, or an ADT event for that Ward is triggered, messages will be sent to PADE.  

                    SCREEN:     S DIC("S")="N D0,X S D0=+Y D WIN^DGPMDDCF I 'X,$P(^DIC(42,D0,0),U,11)=$S($G(PSJDIV):PSJDIV,1:DA)"
                    EXPLANATION:Only active wards belonging to this division are selectable.
                    NOTES:      XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER

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


58.747,1          WARD SEND AREA     0;2 POINTER TO PADE SEND AREA FILE (#58.71)

                    LAST EDITED: AUG 19, 2015 
                    HELP-PROMPT:Enter the PADE location that will be used for this ward. 
                    DESCRIPTION:
                                This is the PADE cabinet location that will be used for this ward when sending messages.  




58.74,8         PADE CLINIC GROUP    PCG;0 Multiple #58.748

                    DESCRIPTION:This multiple groups selected clinics in a division so that the messages associated to these
                                clinics can be sent to a defined PADE cabinet.  


58.748,.01        PADE CLINIC GROUP    0;1 FREE TEXT (Multiply asked)

                      INPUT TRANSFORM:K:$L(X)>40!($L(X)<3) X
                      LAST EDITED: JUN 05, 2015 
                      HELP-PROMPT:Enter a free text clinic group name. Answer must be 3-40 characters in length. 
                      DESCRIPTION:This field allows you to create a custom grouping of clinics for PADE messages that will all
                                  transmit to the same PADE CLINIC GROUP SEND AREA. The benefit of adding clinics to this group,
                                  rather than individually, would be that the OP PADE CLINIC GROUP SEND AREA only has to be defined
                                  ONCE for the group vs. each time if the clinics were added individually.  It also makes the
                                  process easier for changing the PADE CLINIC GROUP SEND AREA for an entire group, vs. if they were
                                  defined individually.  

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


58.748,1          PADE CLINIC          1;0 POINTER Multiple #58.7481

                      DESCRIPTION:
                                  Select all the clinics that should belong to this group.  


58.7481,.01         PADE CLINIC          0;1 POINTER TO HOSPITAL LOCATION FILE (#44) (Multiply asked)

                        INPUT TRANSFORM:S DIC("S")="I $$CLCHK^PSJPADE(Y)" D ^DIC K DIC S DIC=$G(DIE),X=+Y K:Y<0 X
                        LAST EDITED: JUN 25, 2015 
                        HELP-PROMPT:Enter the clinics belonging to this clinic group. 
                        DESCRIPTION:These are the clinics belonging to this group. If you want to set up a clinic group just for
                                    PADE use only to send messages to a particular PADE location then you can do so here by
                                    defining all the clinics and putting them under one group.  
                                     
                                    If you intend to use the Clinic group already existing in VistA and there are no overlap of
                                    clinics within those clinic groups then you can do so by selecting the VISTA CLINIC GROUP
                                    multiple provided as part of the input template.  

                        SCREEN:     S DIC("S")="I $$CLCHK^PSJPADE(Y)"
                        EXPLANATION:Only Clinics belonging to the division are selectable from the Hospital Location file.
                        CROSS-REFERENCE:58.7481^B 
                                    1)= S ^PS(58.7,DA(3),"DIV",DA(2),"PCG",DA(1),1,"B",$E(X,1,30),DA)=""
                                    2)= K ^PS(58.7,DA(3),"DIV",DA(2),"PCG",DA(1),1,"B",$E(X,1,30),DA)

                        CROSS-REFERENCE:58.7481^C^MUMPS 
                                    1)= S ^PS(58.7,DA(3),"DIV",DA(2),"PCG","C",$E(X,1,30),DA(1),DA)=""
                                    2)= K ^PS(58.7,DA(3),"DIV",DA(2),"PCG","C",$E(X,1,30),DA(1),DA)




58.748,1.1        INCLUDE CLINICS IN BG JOB 2;1 SET

                                    'Y' FOR YES; 
                        LAST EDITED: DEC 09, 2015 
                        HELP-PROMPT:Select "YES" if the nightly background job should run for all clinics in this group. 
                        DESCRIPTION:Enter "YES" if the nightly background job should run for all clinics in this group and generate
                                    appointment messages to PADE. Do not populate this field if check-in is done in these clinics
                                    as check-in will generate appointment messages to PADE in real time.  


58.748,2          PADE CLINIC GROUP SEND AREA 0;2 POINTER TO PADE SEND AREA FILE (#58.71)

                        LAST EDITED: DEC 10, 2015 
                        HELP-PROMPT:Enter the PADE location that will be used for this clinic group. 
                        DESCRIPTION:This is the PADE cabinet location that will used to send messages associated with clinics under
                                    this group.  


58.748,3          RE-SEND ORDERS AT CHECK-IN 2;2 SET (BOOLEAN Data Type)

                        LAST EDITED: APR 28, 2022 
                        HELP-PROMPT:Enter "YES" if medication clinic orders should be resent when a patient checks into a clinic 
                                    with the same SEND AREA as the send area for the orders. 
                        DESCRIPTION:This parameter allows clinic orders to be resent when a patient checks into a clinic
                                    appointment (either directly or via PADE background job) sharing the same send area as the
                                    orders. This parameter follows the same hierarchy to determine if clinic orders will be resent,
                                    as is used for the routine sending of PADE order messages. That hierarchy is (1) Clinic (2)
                                    PADE Clinic Group (3) VistA Clinic Group (4) PADE Wildcard Clinic Name. If a send area is not
                                    defined, only orders for the clinic being checked into are sent. 




58.74,9         CLINIC                   CL;0 POINTER Multiple #58.749

                        DESCRIPTION:
                                    Enter all clinics for this division that are associated with this PADE.  


58.749,.01        CLINIC                   0;1 POINTER TO HOSPITAL LOCATION FILE (#44) (Multiply asked)

                          INPUT TRANSFORM:S DIC("S")="I $P(^(0),U,3)=""C"",$P(^(0),U,15)=$S($G(PSJDIV):PSJDIV,1:DA)" D ^DIC K DIC S
                                 DIC=$G(DIE),X=+Y K:Y<0 X
                          LAST EDITED: JAN 12, 2016 
                          HELP-PROMPT:Enter the clinic associated with this PADE. 
                          DESCRIPTION:
                                This field allows you to select Clinics that are associated with a PADE. When an order for a clinic
                                is completed, or an ADT event for that clinic is triggered, messages will be sent to PADE.  

                          SCREEN:S DIC("S")="I $P(^(0),U,3)=""C"",$P(^(0),U,15)=$S($G(PSJDIV):PSJDIV,1:DA)"
                          EXPLANATION:Only Clinics belonging to the division are selectable from the Hospital Location file.
                          NOTES:XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER

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


58.749,.2         INCLUDE CLINIC IN BG JOB 0;3 SET

                                'Y' FOR YES; 
                          LAST EDITED: DEC 10, 2015 
                          HELP-PROMPT:Select "YES" if the nightly background job should run for this clinic. 
                          DESCRIPTION:
                                Enter "YES" if the nightly background job should run for this clinic and generate appointment
                                messages to PADE. Do not populate this field if check-in is done in this clinic as check-in will
                                generate appointment messages to PADE in real time.  


58.749,1          CLINIC SEND AREA   0;2 POINTER TO PADE SEND AREA FILE (#58.71)

                          LAST EDITED: MAY 04, 2015 
                          HELP-PROMPT:Enter the PADE location that will be used for this clinic. 
                          DESCRIPTION:
                                This is the PADE cabinet location that will be used for this clinic when sending messages.  


58.749,2          RE-SEND ORDERS AT CHECK-IN 0;4 SET (BOOLEAN Data Type)

                          LAST EDITED: APR 28, 2022 
                          HELP-PROMPT:Enter "YES" if medication clinic orders should be resent when a patient checks into a clinic 
                                with the same SEND AREA as the send area for the orders. 
                          DESCRIPTION:
                                This parameter allows clinic orders to be resent when a patient checks into a clinic appointment
                                (either directly or via PADE background job) sharing the same send area as the orders. This
                                parameter follows the same hierarchy to determine if clinic orders will be resent, as is used for 
                                the routine sending of PADE order messages. That hierarchy is (1) Clinic (2) PADE Clinic Group (3)
                                VistA Clinic Group (4) PADE Wildcard Clinic Name. If a send area is not defined, only orders for
                                the clinic being checked into are sent. 




58.74,10        PADE BED GROUP       BG;0 Multiple #58.741

                          LAST EDITED: MAY 14, 2015 
                          DESCRIPTION:
                                This multiple groups selected beds in a ward so that the messages can be sent to a defined PADE
                                cabinet.  


58.741,.01        PADE BED GROUP NAME  0;1 FREE TEXT (Multiply asked)

                            INPUT TRANSFORM:K:$L(X)>40!($L(X)<3) X
                            LAST EDITED: DEC 09, 2015 
                            HELP-PROMPT:Answer must be 3-40 characters in length. 
                            DESCRIPTION:
                                  Enter a bed group name. This is an arbitrary name of your choosing that will be used to group
                                  beds for whom the messages for patients in those beds will be sent to a specific send location.
                                  You should only define this for wards that have multiples PADE cabinets (i.e. two "wings"); where
                                  the bed designations can indicate which PADE cabinet will support the patients in that groups of
                                  beds. If both cabinets will support all patients on the ward, then the ward only need be defined
                                  and not specific groups of beds.  

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


58.741,1          PADE BEDS            1;0 POINTER Multiple #58.7411

                            LAST EDITED: MAY 14, 2015 
                            DESCRIPTION:
                                  Select all room-beds that belongs to this bed group.  


58.7411,.01         PADE INDIVIDUAL BED  0;1 POINTER TO ROOM-BED FILE (#405.4) (Multiply asked)

                              INPUT TRANSFORM:I $D(X),$$BDCHK^PSJPADE(X) K X
                              LAST EDITED: DEC 09, 2015 
                              HELP-PROMPT:Enter the ROOM-BED that belongs to this bed group. Must be in the format ROOM-BED. 
                              DESCRIPTION:
                                    These are the room-beds belonging to this group. Grouping the beds is helpful if there are more
                                    than one PADE cabinet supporting a ward.  Defining the related send area with the accurate
                                    group of beds will help send HL7 messages to the PADE BED GROUP SEND AREA.  

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

                              CROSS-REFERENCE:58.7411^B 
                                    1)= S ^PS(58.7,DA(3),"DIV",DA(2),"BG",DA(1),1,"B",$E(X,1,30),DA)=""
                                    2)= K ^PS(58.7,DA(3),"DIV",DA(2),"BG",DA(1),1,"B",$E(X,1,30),DA)

                              CROSS-REFERENCE:58.7411^C^MUMPS 
                                    1)= S ^PS(58.7,DA(3),"DIV",DA(2),"BG","C",$E(X,1,30),DA(1),DA)=""
                                    2)= K ^PS(58.7,DA(3),"DIV",DA(2),"BG","C",$E(X,1,30),DA(1),DA)
                                    This cross reference will be helpful in finding out the right PADE associated with the Room-Bed
                                    for generating the HL7 messages.  





58.741,2          PADE BED GROUP SEND AREA 2;1 POINTER TO PADE SEND AREA FILE (#58.71)

                              LAST EDITED: MAY 14, 2015 
                              HELP-PROMPT:Enter the PADE location associated to this bed group. 
                              DESCRIPTION:
                                    This is the PADE cabinet location that will be used for this bed group when sending messages.  




58.74,11        VISTA CLINIC GROUP       VCG;0 POINTER Multiple #58.742

                              DESCRIPTION:
                                    This multiple groups the VistA clinic groups already setup in a division so that the messages
                                    associated to the clinics in these groups can be sent to a defined PADE cabinet.  


58.742,.01        VISTA CLINIC GROUP       0;1 POINTER TO CLINIC GROUP FILE (#57.8) (Multiply asked)

                                LAST EDITED: JAN 22, 2016 
                                HELP-PROMPT:Enter the clinic group associated with this PADE. 
                                DESCRIPTION:
                                      You may associate groups of clinics by their membership in a CLINIC GROUP (defined in
                                      pharmacy file 57.8). It is important to understand that this feature should only be used for
                                      sites that do NOT allow one clinic to be in more than one Clinic group (in file 57.8). In the 
                                      event that a clinic is defined in TWO clinic groups associated with this file; the message
                                      will be sent to the VISTA CLINIC GROUP SEND AREA associated with the first entered clinic
                                      group in this file. If this is unacceptable, then that clinic should be defined individually.  

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


58.742,.2         INCLUDE CLINICS IN BG JOB 0;3 SET

                                      'Y' FOR YES; 
                                LAST EDITED: DEC 10, 2015 
                                HELP-PROMPT:Select "YES" if the nightly background job should run for all clinics in this group. 
                                DESCRIPTION:
                                      Enter "YES" if the nightly background job should run for all clinics in this group and
                                      generate appointment messages to PADE. Do not populate this field if check-in is done in
                                      these clinics as check-in will generate appointment messages to PADE in real time.  


58.742,1          VISTA CLINIC GROUP SEND AREA 0;2 POINTER TO PADE SEND AREA FILE (#58.71)

                                LAST EDITED: JAN 06, 2016 
                                HELP-PROMPT:Enter the PADE location associated with this clinic group. 
                                DESCRIPTION:
                                      This is the PADE cabinet location that will be used for this clinic group when sending
                                      messages.  


58.742,2          RE-SEND ORDERS AT CHECK-IN 0;4 SET (BOOLEAN Data Type)

                                LAST EDITED: APR 28, 2022 
                                HELP-PROMPT:Enter "YES" if medication clinic orders should be resent when a patient checks into a 
                                      clinic with the same SEND AREA as the send area for the orders. 
                                DESCRIPTION:
                                      This parameter allows clinic orders to be resent when a patient checks into a clinic
                                      appointment (either directly or via PADE background job) sharing the same send area as the
                                      orders. This parameter follows the same hierarchy to determine if clinic orders will be
                                      resent, as is used for the routine sending of PADE order messages. That hierarchy is (1)
                                      Clinic (2) PADE Clinic Group (3) VistA Clinic Group (4) PADE Wildcard Clinic Name. If a send
                                      area is not defined, only orders for the clinic being checked into are sent. 




58.74,12        PADE WILDCARD CLINIC NAME  WCN;0 Multiple #58.7412

                                DESCRIPTION:
                                      This multiple groups clinics that follow a specific naming convention for grouping clinics in
                                      a division so that the messages associated to these clinics can be sent to a defined PADE
                                      cabinet.  


58.7412,.01       PADE WILDCARD CLINIC NAME  0;1 FREE TEXT (Multiply asked)

                                  INPUT TRANSFORM:K:$L(X)>30!($L(X)<3) X
                                  LAST EDITED: DEC 10, 2015 
                                  HELP-PROMPT:Answer must be 3-30 characters in length. 
                                  DESCRIPTION:
                                        This field allows you to define CLINICS for PADE who follow a specific naming convention.
                                        For example, if all of your surgery clinics in a division begin with AL-SURGERY xxxx, then
                                        you could define all of them by creating a wildcard called "AL-SURGERY". When an order for
                                        a clinic is completed, or a SIU event for that clinic is triggered, the software will check
                                        the clinic name against this pattern/wildcard to determine if the message should be sent to
                                        PADE.  

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


58.7412,.2        INCLUDE CLINICS IN BG JOB  0;3 SET

                                        'Y' FOR YES; 
                                  LAST EDITED: DEC 10, 2015 
                                  HELP-PROMPT:Select "YES" if the nightly background job should run for all clinics in this group. 
                                  DESCRIPTION:
                                        Enter "YES" if the nightly background should run for these clinics and generate appointment
                                        messages to PADE. If you do check-in then do not populate this field as check-in will also
                                        generate appointment messages to PADE.  


58.7412,1         PADE WILDCARD CLINIC SEND AREA 0;2 POINTER TO PADE SEND AREA FILE (#58.71)

                                  LAST EDITED: DEC 10, 2015 
                                  HELP-PROMPT:Enter the PADE location associated with these clinics. 
                                  DESCRIPTION:
                                        This is the PADE cabinet location that will be used to send messages associated with
                                        clinics with this naming convention.  


58.7412,2         RE-SEND ORDERS AT CHECK-IN 0;4 SET (BOOLEAN Data Type)

                                  LAST EDITED: APR 28, 2022 
                                  HELP-PROMPT:Enter "YES" if medication clinic orders should be resent when a patient checks into a 
                                        clinic with the same SEND AREA as the send area for the orders. 
                                  DESCRIPTION:
                                        This parameter allows clinic orders to be resent when a patient checks into a clinic
                                        appointment (either directly or via PADE background job) sharing the same send area as the
                                        orders. This parameter follows the same hierarchy to determine if clinic orders will be
                                        resent, as is used for the routine sending of PADE order messages. That hierarchy is (1)
                                        Clinic (2) PADE Clinic Group (3) VistA Clinic Group (4) PADE Wildcard Clinic Name. If a
                                        send area is not defined, only orders for the clinic being checked into are sent. 




58.74,13        OPERATING ROOM               OR;0 POINTER Multiple #58.7413

                                  DESCRIPTION:
                                        This multiple groups all operating rooms in a division so that the messages associated to
                                        these operating rooms can be sent to a defined PADE cabinet.  


58.7413,.01       OPERATING ROOM               0;1 POINTER TO HOSPITAL LOCATION FILE (#44) (Multiply asked)

                                    INPUT TRANSFORM:S DIC("S")="I $$ORSEL^PSJPADE()" D ^DIC K DIC S DIC=$G(DIE),X=+Y K:Y<0 X
                                    LAST EDITED: JAN 12, 2016 
                                    HELP-PROMPT:Select an operating room from this division. 
                                    DESCRIPTION:
                                          If you have the "Send Surgery Messages?" set to "YES" for this division, you must also
                                          define the operating rooms whose scheduled cases should generate surgery messages to
                                          PADE.  

                                    SCREEN:S DIC("S")="I $$ORSEL^PSJPADE()"
                                    EXPLANATION:Operating rooms belonging to this division are only selectable.
                                    CROSS-REFERENCE:58.7413^B 
                                          1)= S ^PS(58.7,DA(2),"DIV",DA(1),"OR","B",$E(X,1,30),DA)=""
                                          2)= K ^PS(58.7,DA(2),"DIV",DA(1),"OR","B",$E(X,1,30),DA)


58.7413,1         OPERATING ROOM SEND AREA     0;2 POINTER TO PADE SEND AREA FILE (#58.71)

                                    LAST EDITED: JAN 22, 2016 
                                    HELP-PROMPT:Choose a send location for surgical messages. 
                                    DESCRIPTION:
                                          Choose a send location for the surgery messages that will generate for surgical cases
                                          scheduled for this operating room. If you leave this field blank, the operating room name
                                          will be used as the location for the message.  




58.74,14        RE-SEND ORDERS AT CHECK-IN     0;10 SET (BOOLEAN Data Type)

                                    LAST EDITED: APR 28, 2022 
                                    HELP-PROMPT:Enter "YES" if medication clinic orders should be resent when a patient checks into 
                                          a clinic with the same SEND AREA as the send area for the orders. 
                                    DESCRIPTION:
                                          This parameter allows clinic orders to be resent when a patient checks into a clinic
                                          appointment (either directly or via PADE background job) sharing the same send area as
                                          the orders. This parameter follows the same hierarchy to determine if clinic orders will
                                          be resent, as is used for the routine sending of PADE order messages. That hierarchy is
                                          (1) Clinic (2) PADE Clinic Group (3) VistA Clinic Group (4) PADE Wildcard Clinic Name and
                                          the parameter is available at all of these levels. If set to YES at this DIVISION level,
                                          any setting of the parameter at these lower levels (e.g., Clinic, PADE Clinic group,
                                          VistA Clinic Group, PADE Wildcard Clinic Name), being left BLANK or set to YES, will send
                                          their associated Clinic orders messages on check-in. This parameter does not need to be 
                                          set to YES or NO for lower level YES or NO values to be honored.  





      FILES POINTED TO                      FIELDS

CLINIC GROUP (#57.8)              VISTA CLINIC GROUP:VISTA CLINIC GROUP (#.01)

HOSPITAL LOCATION (#44)           OPERATING ROOM:OPERATING ROOM (#.01)
                                  PADE CLINIC:PADE CLINIC (#.01)
                                  CLINIC:CLINIC (#.01)

MAIL GROUP (#3.8)                 DIVISION:MAIL GROUP FOR NOTIFICATION (#5)

MEDICAL CENTER DIVISION (#40.8)   DIVISION:DIVISION (#.01)

PADE SEND AREA (#58.71)           DIVISION:DEFAULT CLINIC SEND AREA (#3)
                                  PADE BED GROUP:PADE BED GROUP SEND AREA (#2)
                                  PADE WILDCARD CLINIC NAME:PADE WILDCARD CLINIC SEND AREA (#1)
                                  OPERATING ROOM:OPERATING ROOM SEND AREA (#1)
                                  VISTA CLINIC GROUP:VISTA CLINIC GROUP SEND AREA (#1)
                                  WARD GROUP:WARD GROUP SEND AREA (#1)
                                  WARD:WARD SEND AREA (#1)
                                  PADE CLINIC GROUP:PADE CLINIC GROUP SEND AREA (#2)
                                  CLINIC:CLINIC SEND AREA (#1)

ROOM-BED (#405.4)                 PADE BEDS:PADE INDIVIDUAL BED (#.01)

WARD GROUP (#57.5)                WARD GROUP:WARD GROUP (#.01)

WARD LOCATION (#42)               WARD:WARD (#.01)



INPUT TEMPLATE(S):
PSJ PADE SYSTEM               APR 12, 2022@13:02  USER #0    

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):