STANDARD DATA DICTIONARY #395.5 -- HINQ SUSPENSE FILE                                                             6/27/25    PAGE 1
STORED IN ^DVB(395.5,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                         (VERSION 4)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------


IDENTIFIED BY: 
      "WRITE": W ?33 S:$D(^DVB(395.7,Y,0)) DVBJ=$P(^(0),U,3) W:$P(^DVB(395.5,Y,0),U,5)="Y"&$D(DVBJ) "UPDATED ","(",$E(DVBJ,4,5),"-"
               ,$E(DVBJ,6,7),"-",1700+$E(DVBJ,1,3),")" K DVBJ W:$P(^DVB(395.5,Y,0),U,5)'="Y" "NOT  UPDATED" W !,?17

CROSS
REFERENCED BY: STATUS(AC), STATUS(AD), NAME(B), TIME OF STATUS CHANGE(C), REQUESTOR(D)



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

              INPUT TRANSFORM:  S DINUM=X
              LAST EDITED:      OCT 10, 1989 
              DESCRIPTION:      This field points to the main patient file (#2) to give the name of the patient who this HINQ
                                request is for.  

              SOURCE OF DATA:   MEDICAL ADMINISTRATION SERVICE
              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER

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


395.5,2       RECIPIENT              0;2 POINTER TO MAIL GROUP FILE (#3.8)

              NAME OF MAIL GROUP   
              DESCRIPTION:      This field points to the Mail Group file (#3.8) to give the name of the mail group who will receive
                                the HINQ mail message associated with this request.  

              SOURCE OF DATA:   ADT COORDINATOR OR SITE MANAGER

395.5,3       TIME OF STATUS CHANGE  0;3 DATE

              DATE/TIME OF LAST STATUS UPDATE   
              INPUT TRANSFORM:  S %DT="ET" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      OCT 05, 1988 
              DESCRIPTION:      This field is filled in by the system with the date and time that the suspense file status of this
                                entry was last updated.  

              SOURCE OF DATA:   SYSTEM GENERATED
              CROSS-REFERENCE:  395.5^C^MUMPS 
                                1)= S ^DVB(395.5,"C",$E(9999999-X,1,30),DA)=""
                                2)= K ^DVB(395.5,"C",$E(9999999-X,1,30),DA)


395.5,4       STATUS                 0;4 SET

              SUSPENSE FILE STATUS   
                                'A' FOR ABBREVIATED; 
                                'P' FOR PENDING; 
                                'E' FOR ERROR; 
                                'N' FOR NEW MAIL; 
                                'V' FOR IDCU ERROR; 
              LAST EDITED:      FEB 04, 1992 
              DESCRIPTION:      This field contains the suspense file status of this entry.  Five statuses are available:  'P' for
                                PENDING, 'A' for ABBREVIATED 'E' for ERROR, 'V' for IDCU error, and 'N' for NEW MAIL.  Suspense
                                file statuses are updated by the system automatically when there has been a change which effects
                                the status.  

              SOURCE OF DATA:   SYSTEM GENERATED
              CROSS-REFERENCE:  395.5^AD^MUMPS 
                                1)= S:X="P" ^DVB(395.5,"AD",X,DA)=""
                                2)= K:X="P" ^DVB(395.5,"AD","P",DA)

              CROSS-REFERENCE:  395.5^AC^MUMPS 
                                1)= S:X="N" ^DVB(395.5,"AC",X,DA)=""
                                2)= K ^DVB(395.5,"AC","N",DA)


395.5,5       UPDATED?               0;5 SET

              MESSAGE OUT INFORMATION   
                                'Y' FOR YES; 
                                'N' FOR NO; 
                                'I' FOR IGNORED; 
              LAST EDITED:      MAY 17, 1990 
              DESCRIPTION:      This field is to keep track of if the HINQ data for a patient has been uploaded to the patient file
                                or not.  It will restrict the display and action of the ALL portion of the UPLOAD option, 

              SOURCE OF DATA:   SYSTEM GENERATED

395.5,6       ALERT SET              0;6 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      JUN 15, 1993 
              DESCRIPTION:      This field is set when an alert is generated to avoid multiple alerts on the same patient on the
                                same day.  


395.5,7       Message-ID             0;7 POINTER TO MESSAGE FILE (#3.9)

              MESSAGE ID NUMBER   
              DESCRIPTION:      This field points to the Message file (#3.9) to give the ID number associated with this mail
                                message.  

              SOURCE OF DATA:   SYSTEM GENERATED

395.5,8       MESSAGE IN TIME        0;8 DATE

              DATE/TIME RESPONSE RECEIVED   
              INPUT TRANSFORM:  S %DT="ET" D ^%DT S X=Y K:Y<1 X
              DESCRIPTION:      This field is filled in by the system with the date and time a HINQ response to this HINQ inquiry
                                request is received. 

              SOURCE OF DATA:   SYSTEM GENERATED

395.5,9       MEDICAL CENTER DIVISION 0;9 POINTER TO MEDICAL CENTER DIVISION FILE (#40.8)

              LAST EDITED:      JAN 26, 1989 
              HELP-PROMPT:      Enter a Medical Center Division 
              DESCRIPTION:
                                This field is used to aid in HINQ response identification at multi-divisional sites.  


395.5,10      REQUESTOR              1;0 POINTER Multiple #395.51 (Add New Entry without Asking)

              DESCRIPTION:      This multiple field stores information about all requests that are associated with this entry in
                                the suspense file.  


395.51,.01      REQUESTOR              0;1 POINTER TO NEW PERSON FILE (#200)

                INPUT TRANSFORM:  S DINUM=X
                LAST EDITED:      JAN 24, 1992 
                DESCRIPTION:      This field points to the New Person file (#200).  It is automatically filled in by the system
                                  with the name(s) of the user(s) who requested a HINQ inquiry for this patient.  

                SOURCE OF DATA:   SYSTEM GENERATED
                NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER

                CROSS-REFERENCE:  395.5^D 
                                  1)= S ^DVB(395.5,"D",$E(X,1,30),DA(1),DA)=""
                                  2)= K ^DVB(395.5,"D",$E(X,1,30),DA(1),DA)


395.51,2        TIME OF REQUEST        0;2 DATE

                DATE/TIME REQUEST ENTERED IN SUSPENSE FILE   
                INPUT TRANSFORM:  S %DT="ET" D ^%DT S X=Y K:Y<1 X
                DESCRIPTION:      This field is automatically filled in by the system with the date and time this HINQ request was
                                  entered into the suspense file 




395.5,11      DATA STRING OUT        HQ;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>245!($L(X)<1) X
              LAST EDITED:      JUL 06, 1988 
              HELP-PROMPT:      ANSWER MUST BE 1-245 CHARACTERS IN LENGTH 

395.5,12      DATA STRING IN         RS;0 Multiple #395.512 (Add New Entry without Asking)


395.512,.01     DATA STRING IN         0;1 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>245!($L(X)<1) X
                LAST EDITED:      MAR 22, 1990 
                HELP-PROMPT:      Answer must be 1-245 characters in length. 
                                  UNEDITABLE




      FILES POINTED TO                      FIELDS

MAIL GROUP (#3.8)                 RECIPIENT (#2)

MEDICAL CENTER DIVISION (#40.8)   MEDICAL CENTER DIVISION (#9)

MESSAGE (#3.9)                    Message-ID (#7)

NEW PERSON (#200)                 REQUESTOR:REQUESTOR (#.01)

PATIENT (#2)                      NAME (#.01)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):
DVBHINQPURGE                  NOV 07, 1985        USER #0    
SORT BY: ]TIME OF LAST HINQ REQUEST//    (User is asked range)


FORM(S)/BLOCK(S):