STANDARD DATA DICTIONARY #26.19 -- PRF HL7 QUERY LOG FILE 3/24/25 PAGE 1 STORED IN ^DGPF(26.19, *** NO DATA STORED YET *** SITE: WWW.BMIRWIN.COM UCI: VISTA,VISTA (VERSION 5.3) DATA NAME GLOBAL DATA ELEMENT TITLE LOCATION TYPE ----------------------------------------------------------------------------------------------------------------------------------- This file contains a list of all Query (QRY~R02) HL7 transmissions that have been generated at the site by the Patient Record Flags software module. Entries in this file are created/edited automatically by the Patient Record Flags HL7 interface. Records in this file should not be added or edited except through the use of the Patient Record Flag software that is part of Registration. Doing so would likely cause Patient Record Flag database corruption. CROSS REFERENCED BY: MESSAGE CONTROL ID(B) INDEXED BY: EVENT (C) 26.19,.01 MESSAGE CONTROL ID 0;1 FREE TEXT (Required) INPUT TRANSFORM: K:$L(X)>20!($L(X)<1)!'(X'?1P.E) X LAST EDITED: MAR 14, 2005 HELP-PROMPT: Answer must be 1-20 characters in length. DESCRIPTION: Unique ID generated by the VistA HL7 package. CROSS-REFERENCE: 26.19^B 1)= S ^DGPF(26.19,"B",$E(X,1,30),DA)="" 2)= K ^DGPF(26.19,"B",$E(X,1,30),DA) 26.19,.02 EVENT 0;2 POINTER TO PRF HL7 EVENT FILE (#26.21) (Required) LAST EDITED: APR 25, 2005 HELP-PROMPT: Enter the event that triggered the check for existing PRF assignments. DESCRIPTION: This field contains the event that triggered the query for existing PRF assignments. FIELD INDEX: C (#691) REGULAR IR LOOKUP & SORTING Short Descr: Event index Set Logic: S ^DGPF(26.19,"C",X,DA)="" Kill Logic: K ^DGPF(26.19,"C",X,DA) Whole Kill: K ^DGPF(26.19,"C") X(1): EVENT (26.19,.02) (Subscr 1) (forwards) 26.19,.03 TRANSMISSION DATE/TIME 0;3 DATE (Required) INPUT TRANSFORM: S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X LAST EDITED: APR 25, 2005 HELP-PROMPT: Enter the date/time that the query is transmitted. DESCRIPTION: This field contains the date and time that the HL7 query message was transmitted. 26.19,.04 STATUS 0;4 SET (Required) 'T' FOR TRANSMITTED; 'AN' FOR ACCEPTED W/NO RESULTS; 'A' FOR ACCEPTED W/RESULTS; 'RJ' FOR REJECTED; 'RT' FOR RETRANSMITTED; LAST EDITED: MAR 29, 2005 HELP-PROMPT: Enter the current query transmission status. DESCRIPTION: This field contains the current transmission status of the PRF query. 26.19,.05 SITE TRANSMITTED TO 0;5 POINTER TO INSTITUTION FILE (#4) (Required) LAST EDITED: MAR 14, 2005 HELP-PROMPT: Enter the destination site for the PRF query. DESCRIPTION: This field contains the site that is being queried for existing PRF assignments. 26.19,.06 ACK RECEIVED DATE/TIME 0;6 DATE INPUT TRANSFORM: S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X LAST EDITED: MAR 14, 2005 HELP-PROMPT: Enter the date/time that the acknowledgment to the query was received. DESCRIPTION: This field contains the date and time that the query acknowledgment was received by site originating the query. 26.19,.07 ERROR CODES ERR;0 Multiple #26.1907 DESCRIPTION: When the receiving site of a PRF Query (QRY~R02) HL7 message encounters one or more errors while processing the message, one or more error codes are returned in the Response to Query (ORF~R04) HL7 message. This multiple field contains the returned error codes. 26.1907,.01 ERROR CODE 0;1 FREE TEXT (Multiply asked) INPUT TRANSFORM: K:$L(X)>30!($L(X)<2) X LAST EDITED: MAR 29, 2005 HELP-PROMPT: Answer must be 2-30 characters in length. DESCRIPTION: This field contains a sinlge error code value returned by the receiving site of a PRF Query (QRY~R02) HL7 message. CROSS-REFERENCE: 26.1907^B 1)= S ^DGPF(26.19,DA(1),"ERR","B",$E(X,1,30),DA)="" 2)= K ^DGPF(26.19,DA(1),"ERR","B",$E(X,1,30),DA) FILES POINTED TO FIELDS INSTITUTION (#4) SITE TRANSMITTED TO (#.05) PRF HL7 EVENT (#26.21) EVENT (#.02) INPUT TEMPLATE(S): PRINT TEMPLATE(S): SORT TEMPLATE(S): FORM(S)/BLOCK(S):