STANDARD DATA DICTIONARY #58.72 -- PADE OUTBOUND MESSAGES FILE                                                    6/27/25    PAGE 1
STORED IN ^PS(58.72,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                        (VERSION 5.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file holds a log of all outbound HL7 Pharmacy Automated Dispensing Equipment (PADE) messages. Records in this file older than
30 days will be purged as part of the nightly Inpatient background job (PSGBRJ).  


              DD ACCESS: 
              RD ACCESS: 
              WR ACCESS: 
             DEL ACCESS: 
           LAYGO ACCESS: 
           AUDIT ACCESS: 
IDENTIFIED BY: PATIENT (#1), EVENT TYPE (#4)

CROSS
REFERENCED BY: MESSAGE DATE/TIME(B), PATIENT(C)

    LAST MODIFIED: OCT 6,2016@13:01:38

58.72,.01     MESSAGE DATE/TIME      0;1 DATE (Required)

              INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:X<1 X
              LAST EDITED:      JAN 28, 2016 
              HELP-PROMPT:      Enter the Date/Time the message was sent to PADE. 
              DESCRIPTION:
                                This is the Date/Time the message was sent to PADE.  

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


58.72,1       PATIENT                0;2 POINTER TO PATIENT FILE (#2)

              LAST EDITED:      FEB 04, 2016 
              HELP-PROMPT:      Enter the patient the message belongs to. 
              DESCRIPTION:
                                This is the patient the message belongs to.  

              CROSS-REFERENCE:  58.72^C 
                                1)= S ^PS(58.72,"C",$E(X,1,30),DA)=""
                                2)= K ^PS(58.72,"C",$E(X,1,30),DA)
                                This x-ref allows lookup by patient.  



58.72,2       ORDER NUMBER           0;3 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>20!($L(X)<1) X
              LAST EDITED:      FEB 01, 2016 
              HELP-PROMPT:      Enter the order number from the Pharmacy Patient file, 1-20 characters. 
              DESCRIPTION:
                                This is the order number from the Pharmacy Patient file.  


58.72,3       HL7 MESSAGE ID         0;4 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>1000000000)!(X<1)!(X?.E1"."1.N) X
              LAST EDITED:      FEB 01, 2016 
              HELP-PROMPT:      Enter the HL7 Message ID, a number between 1 and 1000000000. 
              DESCRIPTION:
                                This is the HL7 message ID.  


58.72,4       EVENT TYPE             0;5 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>3!($L(X)<1) X
              LAST EDITED:      FEB 01, 2016 
              HELP-PROMPT:      Enter 1-3 characters in length of the HL7 Message type. 
              DESCRIPTION:
                                This is the HL7 Message type.  


58.72,5       DIVISION               0;6 POINTER TO MEDICAL CENTER DIVISION FILE (#40.8)

              LAST EDITED:      JAN 28, 2016 
              HELP-PROMPT:      Enter the division the message belongs to. 
              DESCRIPTION:
                                This is the division the message belongs to.  


58.72,6       PIVOT NUMBER           0;7 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>1000000000)!(X<1)!(X?.E1"."1.N) X
              LAST EDITED:      FEB 01, 2016 
              HELP-PROMPT:      Enter the pivot number assigned to this visit, a number between 1 and 1000000000. 
              DESCRIPTION:      This is the pivot number that was generated during patient admission or when the patient checked in
                                to a clinic.  


58.72,7       WARD                   0;8 POINTER TO WARD LOCATION FILE (#42)

              LAST EDITED:      FEB 01, 2016 
              HELP-PROMPT:      Enter the ward the patient is admitted to.  
              DESCRIPTION:
                                This is the ward the patient is admitted to.  


58.72,8       CLINIC/OR              0;9 POINTER TO HOSPITAL LOCATION FILE (#44)

              LAST EDITED:      FEB 01, 2016 
              HELP-PROMPT:      Enter the Clinic/OR for the appointment/surgery. 
              DESCRIPTION:
                                This is the Clinic/OR the patient had the appointment/surgery.  


58.72,9       VISIT NUMBER           0;10 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>15!($L(X)<1) X
              LAST EDITED:      FEB 01, 2016 
              HELP-PROMPT:      Enter the visit number assigned to this visit, 1-15 characters. 
              DESCRIPTION:
                                This is the visit number assigned to this visit.  


58.72,10      PADE SYSTEM            0;11 POINTER TO PADE SYSTEM SETUP FILE (#58.7)

              LAST EDITED:      FEB 02, 2016 
              HELP-PROMPT:      Enter the PADE System the message was sent to. 
              DESCRIPTION:
                                This is the PADE System the message was sent to.  


58.72,11      WARD SEND AREA         0;12 POINTER TO PADE SEND AREA FILE (#58.71)

              LAST EDITED:      JAN 28, 2016 
              HELP-PROMPT:      Enter the Inpatient ward send area. 
              DESCRIPTION:
                                This is the Inpatient ward send area.  


58.72,12      CLINIC/OR SEND AREA    0;13 POINTER TO PADE SEND AREA FILE (#58.71)

              LAST EDITED:      FEB 01, 2016 
              HELP-PROMPT:      Enter the Clinic/OR room send area. 
              DESCRIPTION:
                                This is the clinic/operating room send area.  


58.72,13      COMMENTS               0;14 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
              LAST EDITED:      JAN 28, 2016 
              HELP-PROMPT:      Enter 1-50 characters in length of the error description. 
              DESCRIPTION:
                                This is the error description returned by the HL7 message builder during a failed transmission.  


58.72,14      DRUG                   0;15 POINTER TO DRUG FILE (#50)

              LAST EDITED:      FEB 01, 2016 
              HELP-PROMPT:      Enter the Drug for this order message. 
              DESCRIPTION:
                                This is the Drug for this order message.  


58.72,15      ORDER ACTION           0;16 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>3!($L(X)<1) X
              LAST EDITED:      FEB 01, 2016 
              HELP-PROMPT:      Enter the order action that triggered this order message, 1-3 characters. 
              DESCRIPTION:
                                This is the order action that triggered this order message.  


58.72,16      APPOINTMENT DATE/TIME  0;17 DATE

              INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:X<1 X
              LAST EDITED:      FEB 04, 2016 
              HELP-PROMPT:      Enter the appointment date/time. 
              DESCRIPTION:      This is the appointment date/time for an SIU messages. For RDE messages this is the appointment
                                date/time for a clinic order.  


58.72,17      772 POINTER            0;18 POINTER TO HL7 MESSAGE TEXT FILE (#772)

              LAST EDITED:      FEB 03, 2016 
              HELP-PROMPT:      Enter the HL7 Message Text file (#772). 
              DESCRIPTION:
                                This is the pointer to the HL7 Message Text file (#772).  



      FILES POINTED TO                      FIELDS

DRUG (#50)                        DRUG (#14)

HL7 MESSAGE TEXT (#772)           772 POINTER (#17)

HOSPITAL LOCATION (#44)           CLINIC/OR (#8)

MEDICAL CENTER DIVISION (#40.8)   DIVISION (#5)

PADE SEND AREA (#58.71)           WARD SEND AREA (#11)
                                  CLINIC/OR SEND AREA (#12)

PADE SYSTEM SETUP (#58.7)         PADE SYSTEM (#10)

PATIENT (#2)                      PATIENT (#1)

WARD LOCATION (#42)               WARD (#7)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):