STANDARD DATA DICTIONARY #120.86 -- ADVERSE REACTION ASSESSMENT FILE                                              3/24/25    PAGE 1
STORED IN ^GMR(120.86,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                      (VERSION 4.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file is a listing of all the patients who have been asked about allergies/adverse reactions. It contains a pointer to File 2
(PATIENT), a flag to indicate if the patient has or does not have an Allergy/Adverse Reaction, the person making the assessment and
the date/time of the assessment.  


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

CROSS
REFERENCED BY: NAME(B)

INDEXED BY:    NAME & REACTION ASSESSMENT & ASSESSING USER & ASSESSMENT DATE/TIME (AC), NAME & REACTION ASSESSMENT & ASSESSING USER
               & ASSESSMENT DATE/TIME (AHDR)




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

              INPUT TRANSFORM:  S DINUM=X
              LAST EDITED:      DEC 13, 1995 
              DESCRIPTION:
                                This is the patient who has been asked about allergies/adverse reactions.  

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

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

              RECORD INDEXES:   AC (#1031), AHDR (#489)

120.86,1      REACTION ASSESSMENT    0;2 SET

              Patient Has Known Reaction   
                                '1' FOR Yes; 
                                '0' FOR No; 
              LAST EDITED:      MAR 15, 1996 
              DESCRIPTION:
                                This field indicates if the patient has a reaction on file or not.  

              RECORD INDEXES:   AC (#1031), AHDR (#489)

120.86,2      ASSESSING USER         0;3 POINTER TO NEW PERSON FILE (#200)

              LAST EDITED:      DEC 08, 1995 
              DESCRIPTION:
                                This field contains the name of the user who made the last reaction assessment for this patient.  

              RECORD INDEXES:   AC (#1031), AHDR (#489)

120.86,3      ASSESSMENT DATE/TIME   0;4 DATE

              INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      DEC 08, 1995 
              DESCRIPTION:
                                This field contains the date/time of the last reaction assessment for this patient.  

              RECORD INDEXES:   AC (#1031), AHDR (#489)


      FILES POINTED TO                      FIELDS

NEW PERSON (#200)                 ASSESSING USER (#2)

PATIENT (#2)                      NAME (#.01)


File #120.86

  Record Indexes:

  AC (#1031)    RECORD    MUMPS    IR    ACTION
      Short Descr:  Notify packages when an entry is acted upon.
      Description:  This cross-reference will notify subscribing packages via protocol GMRA ASSESSMENT CHANGE when an entry in this
                    file is added, modified or removed.  
        Set Logic:  D ASSESS^GMRAVPR(.X1,.X2,.DA,"SET")
       Kill Logic:  D ASSESS^GMRAVPR(.X1,.X2,.DA,"KILL")
             X(1):  NAME  (120.86,.01)  (forwards)
             X(2):  REACTION ASSESSMENT  (120.86,1)  (forwards)
             X(3):  ASSESSING USER  (120.86,2)  (forwards)
             X(4):  ASSESSMENT DATE/TIME  (120.86,3)  (forwards)

  AHDR (#489)    RECORD    MUMPS    R    ACTION
      Short Descr:  Sends updates to the patient's assessment to the HDR
      Description:  Whenever a patient's assessment level changes, that updated information is sent to the HDR in real time.  
        Set Logic:  Q:$D(DIU(0))  D SETAA^GMRAHDR
       Kill Logic:  Q:$D(DIU(0))  D KILLAA^GMRAHDR
       Whole Kill:  Q
             X(1):  NAME  (120.86,.01)  (forwards)
             X(2):  REACTION ASSESSMENT  (120.86,1)  (forwards)
             X(3):  ASSESSING USER  (120.86,2)  (forwards)
             X(4):  ASSESSMENT DATE/TIME  (120.86,3)  (forwards)


INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):