STANDARD DATA DICTIONARY #748.3 -- SURVEY RESPONSE DATA FILE                                                      3/24/25    PAGE 1
STORED IN ^QA(748.3,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                        (VERSION 2.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
Holds the responses given to survey questions by the survey participants.  



CROSS
REFERENCED BY: PARTICIPANT(AC), SURVEY(B)



748.3,.01     SURVEY                 0;1 POINTER TO SURVEY FILE (#748) (Required)

              LAST EDITED:      NOV 01, 1994 
              HELP-PROMPT:      The name of the survey to which these answers belong. 
              DESCRIPTION:      This field is a pointer to the SURVEY file, 748.  It links the answers in this file to a specific
                                survey.  

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


748.3,1       QUESTION NUMBER        1;0 Multiple #748.31

              LAST EDITED:      OCT 30, 1994 
              DESCRIPTION:
                                This field is the internal file number (IFN) of a specific question in file 748.25.  


748.31,.01      QUESTION NUMBER        0;1 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>99999)!(X<1)!(X?.E1"."1N.N) X
                LAST EDITED:      OCT 30, 1994 
                HELP-PROMPT:      Type a Number between 1 and 99999, 0 Decimal Digits 
                CROSS-REFERENCE:  748.31^B 
                                  1)= S ^QA(748.3,DA(1),1,"B",$E(X,1,30),DA)=""
                                  2)= K ^QA(748.3,DA(1),1,"B",$E(X,1,30),DA)


748.31,1        ANSWER                 0;2 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>3!($L(X)<1) X
                LAST EDITED:      OCT 31, 1994 
                HELP-PROMPT:      Answer is free text and must be 1-3 characters in length. 
                DESCRIPTION:      This is the actual text of the participant's answer.  This does not include word processing
                                  answers, which are stored separately.  


748.31,2        RESPONSE               1;0   WORD-PROCESSING #748.312


                  LAST EDITED:      OCT 31, 1994 





748.3,2       PARTICIPANT            0;2 FREE TEXT

              INPUT TRANSFORM:  K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>30!($L(X)<1) X I $D(X) D HASH^XUSHSHP
              OUTPUT TRANSFORM: S Y(0)=Y,Y=""
              LAST EDITED:      NOV 01, 1994 
              HELP-PROMPT:      This is the hashed user DUZ. [1-30 characters] 
              DESCRIPTION:      This is the hashed version of the participant DUZ.  It is hashed via ^XUSHSHP and all user-viewable
                                outputs of this field are converted to  for confidentiality.  
                                 
                                This field is used to determine if a user has already participated in a survey.  No pointer to file
                                200 is used since the DUZ is hashed.  

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

              CROSS-REFERENCE:  748.3^AC^MUMPS 
                                1)= S QAPSURV=$P(^QA(748.3,DA,0),U,1),^QA(748.3,"AC",$E(X,1,30),QAPSURV,DA)="" K QAPSURV
                                2)= S QAPSURV=$P(^QA(748.3,DA,0),U,1) K ^QA(748.3,"AC",$E(X,1,30),QAPSURV,DA),QAPSURV
                                Checks for duplicate participation in a survey.  



748.3,3       SURVEY COMPLETION STATUS 0;3 SET

                                'c' FOR COMPLETED; 
                                's' FOR SUSPENDED; 
                                'i' FOR IN PROGRESS; 
              LAST EDITED:      NOV 01, 1994 
              HELP-PROMPT:      The status of the user participation in the survey. 
              DESCRIPTION:      This is the status of a survey at any given moment.  It may be: 
                                 
                                       c = completed  - the participant is finished totally 
                                 
                                       s = suspended  - the participant has stopped taking 
                                                        the survey for a while and will resume 
                                                        at a later time 
                                 
                                       i = in progress - a person is actually participating 
                                                         at the moment 


748.3,4       LAST QUESTION ANSWERED 0;4 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>99999)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      NOV 01, 1994 
              HELP-PROMPT:      The last question answered by the participant before suspension of the survey. 
              DESCRIPTION:      This field is a memo field used as to inform a participant which question was the last one he
                                answered.  


748.3,5       LAST QUESTION NUMBER   0;5 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>99999)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      MAR 07, 1995 
              HELP-PROMPT:      Type a Number between 1 and 99999, 0 Decimal Digits 
              DESCRIPTION:      This field is used by the programming to know with which question to resume after a survey has been
                                suspended by a participant.  


748.3,6       DEMOGRAPHIC QUESTION   2;0 Multiple #748.36 (Add New Entry without Asking)


748.36,.01      DEMOGRAPHIC QUESTION   0;1 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>80)!(X<1)!(X?.E1"."1N.N) X
                LAST EDITED:      MAR 07, 1995 
                HELP-PROMPT:      This is the internal file number of the question and is system maintained.  DO NOT ALTER via 
                                  FileMan !! 
                DESCRIPTION:
                                  This is the internal file number (IFN) of the demographic question.  

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


748.36,1        RESPONSE DATA          0;2 FREE TEXT

                INPUT TRANSFORM:  K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>45!($L(X)<1) X
                LAST EDITED:      NOV 13, 1994 
                HELP-PROMPT:      The free text answer must be 1-45 characters in length. 
                DESCRIPTION:      This is the actual response data for each demographic question item.  This data is not a pointer
                                  but rather the actual "translated" data.  It is stored in this form for speed and consistency and
                                  not having to do many file hits when producing reports.  





      FILES POINTED TO                      FIELDS

SURVEY (#748)                     SURVEY (#.01)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):