STANDARD DATA DICTIONARY #100.95 -- QUICK ORDER AUDIT FILE                                                        3/24/25    PAGE 1
STORED IN ^OR(100.95,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                       (VERSION 3.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file is used to capture the pharmacy Antimicrobial usage orders.  


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

CROSS
REFERENCED BY: DATE TIME(B)

    LAST MODIFIED: DEC 3,2018@18:14:18

100.95,.001   NUMBER                     NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>99999999999)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      DEC 16, 2016 
              HELP-PROMPT:      Type a number between 0 and 99999999999, 0 decimal digits. 
              DESCRIPTION:
                                This is the Quick Order reference number.  


100.95,.01    DATE TIME              0;1 DATE (Required) (audited)

              DATE TIME   
              INPUT TRANSFORM:  S %DT="ETR" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      DEC 20, 2017 
              HELP-PROMPT:      Enter the Date and Time the quick order was selected 
              DESCRIPTION:
                                This is the Date/Time the Quick Order was selected.  

              AUDIT:            YES, ALWAYS
              CROSS-REFERENCE:  100.95^B 
                                1)= S ^OR(100.95,"B",$E(X,1,30),DA)=""
                                2)= K ^OR(100.95,"B",$E(X,1,30),DA)


100.95,1      USER                   0;2 POINTER TO NEW PERSON FILE (#200) (Required)

              LAST EDITED:      JAN 31, 2017 
              HELP-PROMPT:      Enter the person who selected the Quick Order. 
              DESCRIPTION:
                                This is the person who selected the Quick Order.  

              TECHNICAL DESCR:
                                The internal value is the DUZ of the person who selected the Quick Order.  


100.95,2      PATIENT                0;3 POINTER TO PATIENT FILE (#2) (Required)

              LAST EDITED:      JAN 31, 2017 
              HELP-PROMPT:      Enter the patient for whom the Quick Order was made. 
              DESCRIPTION:
                                This is the patient for whom the order was made.  


100.95,2.1    LAST4                  0;9 FREE TEXT

              LAST FOUR   
              INPUT TRANSFORM:  K:$L(X)>4!($L(X)<4) X
              MAXIMUM LENGTH:   4
              LAST EDITED:      DEC 25, 2017 
              HELP-PROMPT:      Answer must be 4 characters in length. 
              DESCRIPTION:
                                This the last four of the patients ssn and is used to help identify the individual patient.  


100.95,3      QUICK ORDER            0;4 POINTER TO ORDER DIALOG FILE (#101.41) (audited)

              QUICK ORDER DIALOG ENTRY   
              LAST EDITED:      FEB 01, 2017 
              HELP-PROMPT:      Select a Quick Order 
              DESCRIPTION:
                                This is the QUICK ORDER name.  

              TECHNICAL DESCR:
                                This is the QUICK ORDER Dialog entry from the ORDER DIALOG FILE #101.41.  

              AUDIT:            YES, ALWAYS

100.95,4      PROVIDER               0;5 POINTER TO NEW PERSON FILE (#200) (Required) (audited)

              REQUESTING PROVIDER   
              LAST EDITED:      JAN 31, 2017 
              HELP-PROMPT:      Enter the Provider who requested the order be placed. 
              DESCRIPTION:
                                This is the Provider who requested the order be placed.  

              AUDIT:            YES, ALWAYS

100.95,5      TYPE                   0;6 SET (audited)

              PRIMARY OR ALTERNATIVE DRUG   
                                'P' FOR PRIMARY DRUG; 
                                'A' FOR ALTERNATIVE DRUG; 
              LAST EDITED:      JAN 26, 2017 
              HELP-PROMPT:      Designate the order as containing the primary or alternate drug. 
              DESCRIPTION:      There are two selections available for Quick Orders, Primary or Alternate.  The primary is the
                                clinically preferred drug. The Alternate is any drug that is considered to be an alternate to the
                                primary drug. 

              AUDIT:            YES, ALWAYS

100.95,6      LOCATION               0;7 POINTER TO HOSPITAL LOCATION FILE (#44) (audited)

              THE ORDERING LOCATION   
              LAST EDITED:      DEC 15, 2017 
              HELP-PROMPT:      Enter This is the Hospital location where the order was created. 
              DESCRIPTION:
                                This is the Hospital location where the order was created.  

              AUDIT:            YES, ALWAYS

100.95,7      ORDER                  0;8 POINTER TO ORDER FILE (#100) (audited)

              ORDER ENTRY FILE NUMBER   
              LAST EDITED:      JAN 31, 2017 
              HELP-PROMPT:      Enter the order number associated with the Quick Order. 
              DESCRIPTION:
                                This is the order number associated with the Quick Order.  

              TECHNICAL DESCR:  This number is set from Routine ORQOAUIB , and is the order number from file #100 associated with
                                the Quick Order.  

              AUDIT:            YES, ALWAYS

100.95,99     DRUG                    ;  COMPUTED

              MUMPS CODE:       S X=$$DRUG^ORQOAUIC(D0)
              ALGORITHM:        S X=$$DRUG^ORQOAUIC(D0)
              LAST EDITED:      DEC 26, 2017 
              DESCRIPTION:
                                This is the DRUG associated with the QUICK ORDER.  


100.95,100    PATIENT DFN             ;  COMPUTED

              PATIENT IEN FROM FILE 2   
              MUMPS CODE:       S Y(100.95,100,1)=$S($D(^OR(100.95,D0,0)):^(0),1:"") S X=$P(Y(100.95,100,1),U,3),X=X
              ALGORITHM:        INTERNAL(PATIENT)
              LAST EDITED:      DEC 17, 2016 
              DESCRIPTION:
                                This is the patient ien from file the patient file 



      FILES POINTED TO                      FIELDS

HOSPITAL LOCATION (#44)           LOCATION (#6)

NEW PERSON (#200)                 USER (#1)
                                  PROVIDER (#4)

ORDER (#100)                      ORDER (#7)

ORDER DIALOG (#101.41)            QUICK ORDER (#3)

PATIENT (#2)                      PATIENT (#2)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):
OR QUICK ORDER AUDIT REPORT   SEP 12, 2018@13:21  USER #0    
                                                             QUICK ORDER AUDIT PRINT: An order # appears if the order is processed.

SORT TEMPLATE(S):
OR QUICK ORDER AUDIT REPORT   DEC 20, 2017@18:17  USER #0    
SORT BY: DATE TIME//    (User is asked range)
      
     This is the sort template that gives the prompts to select the date time 
     period to use for the Quick Order Audit Report


FORM(S)/BLOCK(S):