STANDARD DATA DICTIONARY #705 -- EDR EVENT FILE                                                                   3/24/25    PAGE 1
STORED IN ^EDR(705,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                         (VERSION 1.5)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file is a temporary repository for the Event Driven reporting events that will be sent to the central system.  The events are 
captured as they occur and stored in this file for later transmission.  Once transmitted, the events are deleted from this file.  


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

CROSS
REFERENCED BY: DATE(ABDC1), PATIENT(ABDC2), EVENT NUMBER(ABDC3), TRANSACTION TYPE NUMBER(ABDC4), DATE(B)



705,.01       DATE                   0;1 DATE (Required)

              INPUT TRANSFORM:  S %DT="EX" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      MAR 18, 1993 
              HELP-PROMPT:      The date of the event. 
              DESCRIPTION:
                                The date of the event.  

              CROSS-REFERENCE:  705^B 
                                1)= S ^EDR(705,"B",$E(X,1,30),DA)=""
                                2)= K ^EDR(705,"B",$E(X,1,30),DA)
                                Regular 'B' cross reference.  


              CROSS-REFERENCE:  705^ABDC1^MUMPS 
                                1)= S EDR=$G(^EDR(705,DA,0)) S:$P(EDR,"^",2)&($P(EDR,"^",3))&($P(EDR,"^",4)) ^EDR(705,"ABDC",X,$P(E
                                DR,"^",2),$P(EDR,"^",3),$P(EDR,"^",4),DA)="" K EDR

                                2)= S EDR=$G(^EDR(705,DA,0)) K:$P(EDR,"^",2)&($P(EDR,"^",3))&($P(EDR,"^",4)) ^EDR(705,"ABDC",X,$P(E
                                DR,"^",2),$P(EDR,"^",3),$P(EDR,"^",4),DA) K EDR
                                This cross reference is used to look up all events for a specific date and patient.  It sets the
                                'ABDC' cross reference in conjunction with similar cross references on fields 2, 3 and 4.  



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

              LAST EDITED:      MAR 18, 1993 
              HELP-PROMPT:      The patient associated with the event. 
              DESCRIPTION:
                                The patient associated with the event.  

              CROSS-REFERENCE:  705^ABDC2^MUMPS 
                                1)= S EDR=$G(^EDR(705,DA,0)) S:$P(EDR,"^")&($P(EDR,"^",3))&($P(EDR,"^",4)) ^EDR(705,"ABDC",$P(EDR,"
                                ^"),X,$P(EDR,"^",3),$P(EDR,"^",4),DA)="" K EDR

                                2)= S EDR=$G(^EDR(705,DA,0)) K:$P(EDR,"^")&($P(EDR,"^",3))&($P(EDR,"^",4)) ^EDR(705,"ABDC",$P(EDR,"
                                ^"),X,$P(EDR,"^",3),$P(EDR,"^",4),DA) K EDR
                                This cross reference is used to look up all events for a specific date and patient.  It sets the
                                'ABDC' cross reference in conjunction with similar cross references on fields .01, 3 and 4.  



705,3         EVENT NUMBER           0;3 NUMBER (Required)

              INPUT TRANSFORM:  K:+X'=X!(X>999999999)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      MAR 18, 1993 
              HELP-PROMPT:      The event number associated with the event.  Type a Number between 1 and 999999999, 0 Decimal 
                                Digits 
              DESCRIPTION:
                                The event number associated with the event.  

              CROSS-REFERENCE:  705^ABDC3^MUMPS 
                                1)= S EDR=$G(^EDR(705,DA,0)) S:$P(EDR,"^")&($P(EDR,"^",2))&($P(EDR,"^",4)) ^EDR(705,"ABDC",$P(EDR,"
                                ^"),$P(EDR,"^",2),X,$P(EDR,"^",4),DA)="" K EDR

                                2)= S EDR=$G(^EDR(705,DA,0)) K:$P(EDR,"^")&($P(EDR,"^",2))&($P(EDR,"^",4)) ^EDR(705,"ABDC",$P(EDR,"
                                ^"),$P(EDR,"^",2),X,$P(EDR,"^",4),DA) K EDR
                                This cross reference is used to look up all events for a specific date and patient.  It sets the
                                'ABDC' cross reference in conjunction with similar cross references on fields .01, 2 and 4.  



705,4         TRANSACTION TYPE NUMBER 0;4 NUMBER (Required)

              INPUT TRANSFORM:  K:+X'=X!(X>13)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      MAR 18, 1993 
              HELP-PROMPT:      The transaction number associated with the event.  Type a Number between 1 and 13, 0 Decimal Digits 
              DESCRIPTION:
                                The transaction number associated with the event.  

              CROSS-REFERENCE:  705^ABDC4^MUMPS 
                                1)= S EDR=$G(^EDR(705,DA,0)) S:$P(EDR,"^")&($P(EDR,"^",2))&($P(EDR,"^",3)) ^EDR(705,"ABDC",$P(EDR,"
                                ^"),$P(EDR,"^",2),$P(EDR,"^",3),X,DA)="" K EDR

                                2)= S EDR=$G(^EDR(705,DA,0)) K:$P(EDR,"^")&($P(EDR,"^",2))&($P(EDR,"^",3)) ^EDR(705,"ABDC",$P(EDR,"
                                ^"),$P(EDR,"^",2),$P(EDR,"^",3),X,DA) K EDR
                                This cross reference is used to look up all events for a specific date and patient.  It sets the
                                'ABDC' cross reference in conjunction with similar cross references on fields .01, 2 and 3.  



705,5         TRANSMISSION NUMBER    0;5 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>999999999)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      MAR 25, 1993 
              HELP-PROMPT:      A number indicating the HL7 transmission that contained this event.  Type a Number between 1 and 
                                999999999, 0 Decimal Digits 
              DESCRIPTION:
                                A number indicating the HL7 transmission that contained this event.  


705,100       EVENT INFORMATION      100;E1,245 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>245!($L(X)<1) X
              LAST EDITED:      MAR 18, 1993 
              HELP-PROMPT:      A string of information associated with the event.  Answer must be 1-245 characters in length. 
              DESCRIPTION:      A string of information associated with the event.  This is the information that will be processed
                                and transmitted to the central system.  



      FILES POINTED TO                      FIELDS

PATIENT (#2)                      PATIENT (#2)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):