STANDARD DATA DICTIONARY #52.11 -- PATIENT NOTIFICATION (Rx READY) FILE                                           3/24/25    PAGE 1
STORED IN ^PS(52.11,  *** 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 information to be used for the Prescription Ready display and also data to be used to collect work load and waiting 
time information.  Ideally, as the pharmacy receives the Rx from the patient, the information will be entered into this file.  



   APPLICATION GROUP(S): PSO
IDENTIFIED BY: TICKET # (#1)[R], SSAN (#9), HIERARCY (#10), MULTIRX (#11)

CROSS
REFERENCED BY: DISPLAY GROUP(AD), TIME READY (HHMM)(ANAM), PICKED UP(ANAMK), TIME READY (HHMM)(ATIC), PATIENT(B), NAME(BA), 
               HIERARCY(BI), TICKET #(C)



52.11,.01     PATIENT                0;1 POINTER TO PATIENT FILE (#2) (Required)

              Patient Name   
              LAST EDITED:      MAY 17, 1995 
              DESCRIPTION:
                                The patient's name whose prescription is to be displayed.  

              TECHNICAL DESCR:  This field points to the patient file, and only allows entry of patients whose names already exist
                                in the patient file.  

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

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


52.11,1       TICKET #               0;2 NUMBER (Required)

              Ticket Number   
              INPUT TRANSFORM:  K:+X'=X!(X>99999)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      SEP 09, 1994 
              HELP-PROMPT:      Type a Number between 1 and 99999, 0 Decimal Digits 
              DESCRIPTION:      If the pharmacy is using receipt type tickets to identify patients whose prescriptions are ready,
                                this field holds the ticket number.  Otherwise, it is blank.  

              TECHNICAL DESCR:
                                Ticket Number 

              CROSS-REFERENCE:  52.11^C 
                                1)= S ^PS(52.11,"C",$E(X,1,30),DA)=""
                                2)= K ^PS(52.11,"C",$E(X,1,30),DA)
                                Cross references by ticket number 



52.11,2       DISPLAY GROUP          0;3 POINTER TO GROUP DISPLAY FILE (#59.3) (Required)

              VIDEO DISPLAY GROUP   
              LAST EDITED:      APR 07, 1993 
              DESCRIPTION:      The group of terminals which will display the information that prescriptions for this patient are
                                ready 

              TECHNICAL DESCR:
                                This is a pointer to file 59.3 which contains the information relevant to the display groups.  

              CROSS-REFERENCE:  52.11^AD 
                                1)= S ^PS(52.11,"AD",$E(X,1,30),DA)=""
                                2)= K ^PS(52.11,"AD",$E(X,1,30),DA)
                                3)= Do not delete.
                                This xref is used to determine if the display group has an entry.  



52.11,3       DIVISION               0;4 POINTER TO OUTPATIENT SITE FILE (#59) (Required)

              PHARMACY DIVISION   
              LAST EDITED:      FEB 01, 1993 
              DESCRIPTION:      This field, pointing to file 59, allows accumulation of statistical data based on Divisional
                                prescription input.  

              TECHNICAL DESCR:
                                Pointer to file 59. 


52.11,4       LOGIN DATE             0;5 DATE

              DATE RX ENTERED INTO BINGO SYSTEM.   
              INPUT TRANSFORM:  K X
              LAST EDITED:      MAY 28, 1996 
              DESCRIPTION:
                                File Manager date and time at which prescriptions were entered 

              TECHNICAL DESCR:
                                Automatic entry to create a chronological record of Prescription entry.  

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


52.11,5       TIME IN                0;6 NUMBER

              INPUT TRANSFORM:  K X
              LAST EDITED:      FEB 01, 1993 
              HELP-PROMPT:      Type a Number between 0 and 86400, 0 Decimal Digits 
              DESCRIPTION:
                                Second piece of $H at the time the prescription is entered 

              TECHNICAL DESCR:
                                Automatically "stuffed" by ^PSOBINGO program.  Used for statistical shredout 

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


52.11,6       TIME READY (HHMM)      0;7 NUMBER

              Time Ready (HHMM)   
              INPUT TRANSFORM:  K:+X'=X!(X>86400)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      JAN 18, 2006 
              HELP-PROMPT:      Type a Number between 1 and 86400, 0 Decimal Digits 
              DESCRIPTION:
                                Second piece of $H at the time the Rx is ready.  

              TECHNICAL DESCR:
                                This field is "stuffed" by routine PSOBINGO when Rx is ready.  

              CROSS-REFERENCE:  52.11^ANAM^MUMPS 
                                1)= S ^PS(52.11,"ANAM",+$P(^PS(52.11,DA,0),"^",3),$P(^(1),"^",3)_$P(^(1),"^",4)_" "_$P(^DPT(+$P(^PS
                                (52.11,DA,0),"^"),0),"^"),DA)=""

                                2)= K ^PS(52.11,"ANAM",+$P(^PS(52.11,DA,0),"^",3),$P(^(1),"^",3)_$P(^(1),"^",4)_" "_$P(^DPT(+$P(^PS
                                (52.11,DA,0),"^"),0),"^"),DA)
                                This xref lists the display group, patient name, then internal entry number.  It sets the global
                                ^PS(52.11,"ANAM",Display Group,Hierarcy_MulitRx_" "_ Patient Name,DA)="".  


              CROSS-REFERENCE:  52.11^ATIC^MUMPS 
                                1)= D ATICSET^PSOBINGO
                                2)= D ATICKIL^PSOBINGO
                                This Xref lists the display group, ticket #, then internal entry number.  It sets the global
                                ^PS(52.11,"ATIC",Display Group,Ticket,DA)="".  



52.11,7       PICKED UP              0;8 SET

                                '0' FOR NOT PICKED UP; 
                                '1' FOR PICKED UP; 
              LAST EDITED:      MAR 03, 1997 
              DESCRIPTION:
                                This field is a set of codes that logs whether or not the order has been picked up.  

              CROSS-REFERENCE:  52.11^ANAMK^MUMPS 
                                1)= S ^PS(52.11,"ANAMK",DA,+$P(^PS(52.11,DA,0),"^",3),$P(^PS(52.11,DA,0),"^"))=""
                                2)= K ^PS(52.11,"ANAMK",DA,+$P(^PS(52.11,DA,0),"^",3),$P(^PS(52.11,DA,0),"^"))
                                This cross reference, when present, indicate that the order has been picked up. It is the internal
                                entry number followed by the division, and the patient IEN. It sets the global 
                                ^PS(52.11,"ANAMK",DA,Display Group,Patient)="".  



52.11,8       NAME                   1;1 FREE TEXT

              INPUT TRANSFORM:  K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>40!($L(X)<3) X
              LAST EDITED:      MAY 28, 1996 
              HELP-PROMPT:      Answer must be 3-40 characters in length. 
              DESCRIPTION:
                                This is the name of the patient.  

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

              CROSS-REFERENCE:  52.11^BA^MUMPS 
                                1)= S ^PS(52.11,"BA",$E(X,1,30),DA,$P(^DPT($P(^PS(52.11,DA,0),U),0),U,9))=""
                                2)= K ^PS(52.11,"BA",$E(X,1,30),DA,$P(^DPT($P(^PS(52.11,DA,0),U),0),U,9))
                                The "BA" Xref is to be used to ID and label duplicate name entries.  It sets the global
                                ^PS(52.11,"BA",Name,DA,SSN)="".  



52.11,9       SSAN                   1;2 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>999999999)!(X<111111111)!(X?.E1"."1N.N) X
              LAST EDITED:      FEB 25, 1993 
              HELP-PROMPT:      Type a Number between 111111111 and 999999999, 0 Decimal Digits 
              DESCRIPTION:
                                This is the SSN of the patient.  


52.11,10      HIERARCY               1;3 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>100)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      MAR 01, 1993 
              HELP-PROMPT:      Type a Number between 1 and 100, 0 Decimal Digits 
              DESCRIPTION:
                                This field is engaged if there are more than one patients with the same name entered in the system 

              TECHNICAL DESCR:  This field will be "" or 1 for the first patient with the common name and is not "stuffed" until
                                the second occurence.  

              CROSS-REFERENCE:  52.11^BI^MUMPS 
                                1)= S ^PS(52.11,"BI",$P(^PS(52.11,DA,0),U),$P(^PS(52.11,DA,1),U,3),DA)=""
                                2)= K ^PS(52.11,"BI",$P(^PS(52.11,DA,0),U),$P(^PS(52.11,DA,1),U,3),DA)
                                This is to track those patients with the same first name. It sets the global
                                ^PS(52.11,"BI",Patient,Display Group,DA)="".  



52.11,11      MULTIRX                1;4 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>1!($L(X)<1) X
              LAST EDITED:      FEB 25, 1993 
              HELP-PROMPT:      Answer must be 1 character in length. 
              DESCRIPTION:      Contains the total separate Rx orders the patient has requested, ie; An order at 10AM and a
                                separate one at 12PM.  To distinguish statistically they must be computed separately.  

              TECHNICAL DESCR:  This number reflects the number of orders the patient has submitted. 0 or 1 is the first order
                                because 1 will not be present unless there are >1 orders.  


52.11,12      PRESCRIPTION(S)        2;0 POINTER Multiple #52.1112 (Add New Entry without Asking)

              DESCRIPTION:
                                This multiple holds the prescription information.  


52.1112,.01     PRESCRIPTION(S)        0;1 POINTER TO PRESCRIPTION FILE (#52) (Required)

                LAST EDITED:      JUL 22, 1997 
                DESCRIPTION:
                                  This field holds the prescription number(s).  

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


52.1112,1       FILL TYPE              0;2 SET

                                  'F' FOR REGULAR FILL; 
                                  'P' FOR PARTIAL FILL; 
                LAST EDITED:      JUL 22, 1997 
                DESCRIPTION:
                                  This field specifies regular or partial fill for the Rx.  


52.1112,2       FILL NUMBER            0;3 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>99)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      JUL 22, 1997 
                HELP-PROMPT:      Type a Number between 0 and 99, 0 Decimal Digits 
                DESCRIPTION:
                                  This field specifies which field number is associated with the Rx.  


52.1112,3       WAIT TIME              0;4 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>86400)!(X<1)!(X?.E1"."1N.N) X
                LAST EDITED:      JUL 22, 1997 
                HELP-PROMPT:      Type a Number between 1 and 86400, 0 Decimal Digits 
                DESCRIPTION:
                                  This field contains the total wait time in minutes for the Rx.  




52.11,13      SUSPENSE DIVISION      0;9 SET

                                '0' FOR Non-Suspense entry; 
                                '1' FOR Suspense entry; 
              LAST EDITED:      AUG 06, 1996 
              DESCRIPTION:      This Set of Codes field serves as a flag where '0' means a Non-Suspense entry and '1' means
                                Suspense entry.  

              TECHNICAL DESCR:
                                Set of Codes: Non-Suspense Entry=0; Suspense Entry=1 



      FILES POINTED TO                      FIELDS

GROUP DISPLAY (#59.3)             DISPLAY GROUP (#2)

OUTPATIENT SITE (#59)             DIVISION (#3)

PATIENT (#2)                      PATIENT (#.01)

PRESCRIPTION (#52)                PRESCRIPTION(S):PRESCRIPTION(S) (#.01)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):
PSO BBWAIT PRINT              JUL 21, 1997@16:39  USER #0                                              BINGO BOARD WAIT TIME REPORT

SORT TEMPLATE(S):
PSO BBWAIT SORT               MAY 20, 1997@16:32  USER #0    
SORT BY: DISPLAY GROUP;"DISPLAY: "// (DISPLAY GROUP not null)
  WITHIN DISPLAY GROUP, SORT BY: TIME IN// (TIME IN not null)
    WITHIN TIME IN, SORT BY: NAME// (NAME not null)
      WITHIN NAME, SORT BY: PRESCRIPTION(S)//
      PRESCRIPTION(S) SUB-FIELD: PRESCRIPTION(S)// (PRESCRIPTION(S) not null)
     Sorted by Display Group, Time In, Name, and Prescription.


FORM(S)/BLOCK(S):