STANDARD DATA DICTIONARY #27.12 -- ENROLLMENT QUERY LOG FILE 6/27/25 PAGE 1
STORED IN ^DGEN(27.12, *** NO DATA STORED YET *** SITE: WWW.BMIRWIN.COM UCI: VISTA,VISTA (VERSION 5.3)
DATA NAME GLOBAL DATA
ELEMENT TITLE LOCATION TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file is used to log queries for enrollment/eligibility that have been sent to HEC.
IDENTIFIED BY: DT/TM SENT (#.02)[R], STATUS (#.03)[R]
CROSS
REFERENCED BY: DT/TM SENT(ADS1), STATUS(ADS2), PATIENT(ADT1), DT/TM SENT(ADT2), PATIENT(B), MESSAGE ID(C)
27.12,.01 PATIENT 0;1 POINTER TO PATIENT FILE (#2) (Required)
LAST EDITED: OCT 29, 1997
HELP-PROMPT: Who was the query sent for?
DESCRIPTION:
The patient for whom the query was sent.
CROSS-REFERENCE: 27.12^B
1)= S ^DGEN(27.12,"B",$E(X,1,30),DA)=""
2)= K ^DGEN(27.12,"B",$E(X,1,30),DA)
CROSS-REFERENCE: 27.12^ADT1^MUMPS
1)= D SETADT1^DGENQRY(DA,X)
2)= D KILLADT1^DGENQRY(DA,X)
3)= DO NOT DELETE
Used to find all the queries for a particular patient sorted in the order of dt/tm sent.
The format is: ^DGEN(27.12,"ADT",,,)=""
This cross-reference also involves the DT/TM SENT field (.02) as the ADT2 cross-reference.
27.12,.02 DT/TM SENT 0;2 DATE (Required)
INPUT TRANSFORM: S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
LAST EDITED: OCT 29, 1997
HELP-PROMPT: When was the query sent?
DESCRIPTION:
This field contains the date/time the query was transmitted to HEC.
CROSS-REFERENCE: 27.12^ADT2^MUMPS
1)= D SETADT2^DGENQRY(DA,X)
2)= D KILLADT2^DGENQRY(DA,X)
3)= DO NOT DELETE
Used to find all the queries for a particular patient sorted in the order of dt/tm sent.
The format is: ^DGEN(27.12,"ADT",,,)=""
This cross-reference also involves the PATIENT field (.01) as the ADT1 cross-reference.
CROSS-REFERENCE: 27.12^ADS1^MUMPS
1)= D SETADS2^DGENQRY(DA,X)
2)= D KILLADS2^DGENQRY(DA,X)
3)= DO NOT DELETE
This cross-reference is used to track queries that have been sent but no reply has been received.
The format is:
^DGEN(27.12,"ADS",,DA)=""
The cross-reference shows only outstanding queries that still require a reply and is used by a
nightly background job to retransmit outstanding queries. When a query is retransmitted the DT/TM
SENT field is updated.
The cross-reference also appears on the STATUS field (.03) as ADS2.
27.12,.03 STATUS 0;3 SET (Required)
'0' FOR TRANSMITTED;
'1' FOR CLOSED;
'2' FOR RE-TRANSMITTED;
'3' FOR RECEIVED/UPLOADED;
'4' FOR RECEIVED/NO UPLOAD;
LAST EDITED: MAR 02, 1998
HELP-PROMPT: What is the status of the query?
DESCRIPTION: This field will indicate the status of the query. When a query needs to be re-sent due to
non-response, the status of the original query will be changed to RE-TRANSMITTED. If a response is
no longer required, its status can be changed to CLOSED to prevent it from being re-sent.
CROSS-REFERENCE: 27.12^ADS2^MUMPS
1)= D SETADS1^DGENQRY(DA,X)
2)= D KILLADS1^DGENQRY(DA,X)
3)= DO NOT DELETE
This cross-reference is used to track queries that have been sent but no reply has been received.
The format is:
^DGEN(27.12,"ADS",,DA)=""
The cross-reference shows only outstanding queries that still require a reply and is used by a
nightly background job to retransmit outstanding queries. When a query is retransmitted the DT/TM
SENT field is updated.
The cross-reference also appears on the DT/TM SENT field (.02) as ADS1.
27.12,.05 MESSAGE ID 0;5 FREE TEXT (Required)
INPUT TRANSFORM: K:$L(X)>18!($L(X)<1) X
LAST EDITED: OCT 27, 1997
HELP-PROMPT: Answer must be 1-18 characters in length.
DESCRIPTION:
This field contains the unique identifier assigned to query by the HL7 package.
CROSS-REFERENCE: 27.12^C
1)= S ^DGEN(27.12,"C",$E(X,1,30),DA)=""
2)= K ^DGEN(27.12,"C",$E(X,1,30),DA)
3)= DO NOT DELETE
27.12,.06 DT/TM RESPONSE 0;6 DATE
INPUT TRANSFORM: S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
LAST EDITED: OCT 28, 1997
HELP-PROMPT: When was the query reply received?
DESCRIPTION:
Used to document when the query reply was received.
27.12,.07 RESPONSE MESSAGE ID 0;7 FREE TEXT
INPUT TRANSFORM: K:$L(X)>18!($L(X)<1) X
LAST EDITED: MAY 05, 1998
HELP-PROMPT: Answer must be 1-18 characters in length.
DESCRIPTION:
The HL7 message id contained in the query response.
27.12,.08 NOTIFY 0;8 POINTER TO NEW PERSON FILE (#200)
LAST EDITED: OCT 27, 1997
HELP-PROMPT: Who should receive notification when a reply is received?
DESCRIPTION: If the user requests to be notified when a query response is recieved, this field should be
completed with the person to notify.
27.12,.09 FIRST DT/TM 0;9 DATE (Required)
INPUT TRANSFORM: S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
LAST EDITED: OCT 27, 1997
HELP-PROMPT: When was the query first sent?
DESCRIPTION: This field indicates when the query was first sent. It will be different from the DT/TM SENT field
only in the event of a retransmission.
27.12,1 ERROR MESSAGE 10;1 FREE TEXT
INPUT TRANSFORM: K:$L(X)>245!($L(X)<1) X
LAST EDITED: DEC 10, 1997
HELP-PROMPT: If a query reply is received, but the eligibility/enrollment upload is unsuccessful, enter the
reason.
DESCRIPTION: If the query reply is received, but the eligibility/enrollment upload is unsuccessful, this field
should show the reason.
FILES POINTED TO FIELDS
NEW PERSON (#200) NOTIFY (#.08)
PATIENT (#2) PATIENT (#.01)
INPUT TEMPLATE(S):
PRINT TEMPLATE(S):
SORT TEMPLATE(S):
FORM(S)/BLOCK(S):