Section Specifications for RHM
Round 69
RESIDENCE HISTORY MISSING DATA
Created on 5/9/2014 6:14:03 PM
Box Instructions
GO TO RHMISS1 - RHMISSNG.
Question Text
THE FOLLOWING ITEMS ARE MISSING FROM RH. CONFIRM THAT RESPONDENT CAN ANSWER AT LEAST ONE OF THESE ITEMS.
PRESS "1" TO CONTINUE.
Field 1: RHMISSNG
Field 1 Routing
Value  | 
			Label  | 
			Route  | 
		
1  | 
			CONTINUE  | 
			BOX RHM2  | 
		
Other Programming Instructions
Report Display
Report
display instructions:
If RH7 - RHALIVE = DK or RF and RHM2 -
RHMALIVE = DK, RF, EMPTY or NULL, then display "IS (SP)
ALIVE?".
If (RH8 - RHDODMM = DK or RF or RHDODDD = DK,or RF
or RH8 - RHDODYY = DK or RF) and (RHM3 - RHMDODMM = DK, RF, EMPTY or
NULL or RHM3 - RHMDODDD = DK, RF, EMPTY or NULL or RHM3 - RHMDODYY =
DK, RF, EMPTY or NULL), then display "WHAT IS (SP's) DATE OF
DEATH?".
If (any current round stay where STAYEMM = DK or
RF or any stay where STAYEDD = DK or RF or any stay where STAYEYY =
DK or RF) and (RHM6 - STAYEMM = DK, RF, EMPTY or NULL or RHM6 -
STAYEDD = DK, RF, EMPTY or NULL or RHM6 - STAYEYY = DK, RF, EMPTY or
NULL and RHM6B - STAYNITE = DK, RF, EMPTY or NULL), then display
"WHAT ARE THE DATES FOR PLACE (SP) WAS IN (CURRENT 
YEAR)?".
Report display:
[IS (SP) ALIVE?]
[WHAT
IS (SP's) DATE OF DEATH?]
[WHAT ARE THE DATES FOR PLACE (SP) WAS
IN (CURRENT YEAR)?
Box Instructions
If (RH7 - RHALIVE = DK OR RF) AND (RHM2 - RHMALIVE = DK, RF, EMPTY OR NULL), GO TO RHM2 - RHMALIVE.
ELSE GO TO BOX RHM3.
Question Text
Is (SP) alive?
ENTER "95" IF RESPONDENT NEVER WILL KNOW.
Field 1: RHMALIVE
Field 1 Routing
Value  | 
			Label  | 
			Route  | 
		
0  | 
			NO  | 
			RHM3 - RHMDODMM  | 
		
1  | 
			YES  | 
			BOX RHM3  | 
		
95  | 
			NEVER WILL KNOW  | 
			BOX RHM3  | 
		
				  | 
			Don't Know  | 
			BOX RHM3  | 
		
				  | 
			Refused  | 
			BOX RHM3  | 
		
Other Programming Instructions
Background Variable Assignments
Variable Name  | 
			Assignment Instructions  | 
		
RHMDODMM  | 
			If RHM2-RHMALIVE = 95/NeverWillKnow, then RHM3-RHMDODMM = 95/NeverWillKnow  | 
		
RHMDODDD  | 
			If RHM2-RHMALIVE = 95/NeverWIllKnow, then RHM3-RHMDODDD = 95/NeverWillKnow  | 
		
RHMDODYY  | 
			If RHM2-RHMALIVE = 95/NeverWillKnow, then RHM3-RHMDODYY = 95/NeverWillKnow  | 
		
Box Instructions
If (RHM2-ALIVE = 0 or RH7-RHALIVE = 0) AND ((RH8 - RHDODMM = DK OR RF OR RH8 - RHDODDD = DK OR RF OR RH8 - RHDODYY = DK OR RF OR RHM2 - RHMALIVE = 0/No) AND (RHM3 - RHMDODMM = DK, RF, EMPTY OR NULL OR RHM3 - RHMDODDD = DK, RF, EMPTY OR NULL OR RHM3 - RHMDODYY = DK, RF, EMPTY OR NULL)), GO TO RHM3 - RHMDODMM.
ELSE GO TO BOX RHM6A.
Question Text
On what date did (SP) die?
ENTER "95" IN MONTH , DAY, AND YEAR IF RESPONDENT NEVER WILL KNOW DATE.
Field 1: RHMDODMM
MONTH
[IF
RESPONDENT ANSWERS "DK", PROBE: "Do you know what
month (SP) died?"
Field 1 Routing
Value  | 
			Label  | 
			Route  | 
		
1  | 
			[Continuous answer.]  | 
			RHM3 - RHMDODDD  | 
		
				  | 
			Don't Know  | 
			RHM3 - RHMDODDD  | 
		
				  | 
			Refused  | 
			RHM3 - RHMDODDD  | 
		
Field 2: RHMDODDD
DAY
Field 2 Routing
Value  | 
			Label  | 
			Route  | 
		
1  | 
			[Continuous answer.]  | 
			RHM3 - RHMDODYY  | 
		
				  | 
			Don't Know  | 
			RHM3 - RHMDODYY  | 
		
				  | 
			Refused  | 
			RHM3 - RHMDODYY  | 
		
Field 3: RHMDODYY
YEAR
Field 3 Routing
Value  | 
			Label  | 
			Route  | 
		
1  | 
			[Continuous answer.]  | 
			BOX RHM6A  | 
		
				  | 
			Don't Know  | 
			BOX RHM6A  | 
		
				  | 
			Refused  | 
			BOX RHM6A  | 
		
Box Instructions
IF THERE IS A CURRENT ROUND STAY WITH A MISSING END DATE AND (RHM6B - STAYNITE = DK, RF, EMPTY OR NULL), GO TO RHM6 - STAYEMM.
ELSE GO TO RHMEND - RHMENDC.
Other Programming Instructions
Background Variable Assignments
If there is a current round STAY with a missing end date, generate a MD STAY ARRAY for this case to collect the missing end date(s).
Question Text
When did (SP) leave (CURRENT PLACE)?
Field 1: STAYEMM
MONTH
Field 1 Routing
Value  | 
			Label  | 
			Route  | 
		
1  | 
			[Continuous answer.]  | 
			RHM6 - STAYEDD  | 
		
				  | 
			Don't Know  | 
			RHM6 - STAYEDD  | 
		
				  | 
			Refused  | 
			RHM6 - STAYEDD  | 
		
Field 2: STAYEDD
DAY
Field 2 Routing
Value  | 
			Label  | 
			Route  | 
		
1  | 
			[Continuous answer.]  | 
			RHM6 - STAYEYY  | 
		
				  | 
			Don't Know  | 
			RHM6 - STAYEYY  | 
		
				  | 
			Refused  | 
			RHM6 - STAYEYY  | 
		
Field 3: STAYEYY
YEAR
Field 3 Routing
Value  | 
			Label  | 
			Route  | 
		
1  | 
			[Continuous answer.]  | 
			BOX RHM6B  | 
		
				  | 
			Don't Know  | 
			BOX RHM6B  | 
		
				  | 
			Refused  | 
			BOX RHM6B  | 
		
Other Programming Instructions
Report Display
Display
report above question text.
Display all stays with
MDSTAY.XSTPLAC <> 000 that were reported for this SP in
chronological order by start date of the stay.
Report header:
STAY TIMELINE
Report layout:
Column 1, header="Place
Name", display PLAC.PLACNAME of
PLAC where PLAC.PLACNUM =
MDSTAY.XSTPLAC.
Column 2, header="Start Date",
display
MDSTAY.STAYSMM+MDSTAY.STAYSDD+MDSTAY.STAYSYY in month,
day
year format.
Column 3, header="End Date",
display
MDSTAY.STAYEMM+MDSTAY.STAYEDD+MDSTAY.STAYEYY in month,
day
year format.
Column 4, header="Stay Type",
display MDSTAY.STAYCLAS.
Box Instructions
IF ANY PART OF RHM6 DATE = DK OR RF AND RHM6B - STAYNITE = DK, RF, EMPTY OR NULL, GO TO RHM6B - STAYNITE.
ELSE GO TO RHMSTCNT - STAYCNTC.
Question Text
About how many nights did (he/she) spend there?
ENTER "995" IF RESPONDENT NEVER WILL KNOW.
Field 1: STAYNITE
# OF NIGHTS
Field 1 Routing
Value  | 
			Label  | 
			Route  | 
		
1  | 
			[Continuous answer.]  | 
			RHMSTCNT - STAYCNTC  | 
		
				  | 
			Don't Know  | 
			RHMSTCNT - STAYCNTC  | 
		
				  | 
			Refused  | 
			RHMSTCNT - STAYCNTC  | 
		
Other Programming Instructions
Background Variable Assignments
MINEND:
If
RHM6B-STAYNITE <> DK,RF & STAYEMM <> DK, RF &
STAYEYY <> DK,RF.
If STAYEDD <> DK,RF then MINEND =
STAYEYY + STAYEMM +STAYEDD.
Else if STAYEMM <>
RHM6BSTARTMM then MINEND = STAYEYY + STAYEMM + ‘01’.
Else
if STAYEMM = RHM6BSTARTMM and day from MINSTART = last day of the
month for RHM6BSTARTMM then MINEND = STAYEYY + STAYEMM + last day of
the month for STAYEMM.
Else MINEND = MINSTART + 1
day.
MAXEND:
If RHM6B-STAYNITE <> DK,RF &
STAYEMM <> DK, RF & STAYEYY <> DK,RF.
If STAYEDD
<> DK,RF then MAXEND = STAYEYY + STAYEMM + STAYEDD.
Else
if RHM6BSTARTYY = RH8-RHDODYY and RHM6BSTARTMM = RH8-RHDODMM, then
MAXSTART = PERS.DOD.
Else If RHM6BSTARTYY = current year and
RHM6BSTARTMM = RH8-RHDODMM, then MAXSTART = RHREFEND.
Else
MAXEND = STAYEYY + STAYEMM + last day of the month for STAYEMM.
Variable Name  | 
			Assignment Instructions  | 
		
MAXALLOW  | 
			If RHM6B-STAYNITE <> DK,RF and MAXSTART <> EMPTY and MAXEND <> EMPTY then MAXALLOW = MAXEND – MAXSTART  | 
		
MINALLOW  | 
			If RHM6B-STAYNITE <> DK, RF and MINSTART <> EMPTY and MINEND <> EMPTY then MINALLOW = MINEND - MINSTART.  | 
		
STAYEYY  | 
			
				If RHM6B-STAYNITE
				<> DK, RF, then STAYEYY = Year portion of date calculated
				as RHSTARTDATE +  | 
		
STAYEMM  | 
			If RHM6B-STAYNITE <> DK, RF, then STAYEMM = Month portion of date calculated as RHSTARTDATE + RHM6B-STAYNITE days.  | 
		
STAYEDD  | 
			
				If RHM6B-STAYNITE
				<> DK, RF, then STAYEDD =  | 
		
RHM6BSTARTMM  | 
			
				If STAYRNDC =
				current round, then RHM6BSTARTMM = STAYSMM.  | 
		
RHM6BSTARTDD  | 
			
				If STAYRNDC =
				current round, then RHM6BSTARTDD = STAYSDD.  | 
		
RHM6BSTARTYY  | 
			
				If STAYRNDC =
				current round, then RHM6BSTARTYY = STAYSYY.  | 
		
MINSTART  | 
			
				If RHM6B-STAYNITE
				<> DK,RF and RHM6B-STARTMM <> DK,RF &
				RHM6BSTARTYY <> DK,RF:  | 
		
MAXSTART  | 
			
				If RHM6B-STAYNITE
				<> DK, RF and RHM6BSTARTMM <> DK, RF and RHM6BSTARTYY
				<> DK,RF:  | 
		
RHM6BSTARTDATE  | 
			RHM6BSTARTDATE = RHM6BSTARTYY + RHM6BSTARTMM + RHM6BSTARTDD.  | 
		
Question Text
PRESS "1" TO CONTINUE.
Field 1: STAYCNTC
Field 1 Routing
Value  | 
			Label  | 
			Route  | 
		
1  | 
			CONTINUE  | 
			BOX RHM7  | 
		
Box Instructions
IF THERE IS ANOTHER CURRENT ROUND STAY WITH A MISSING END DATE, GO TO RHM6 - STAYEMM.
ELSE GO RHMEND - RHMENDC.
Variable Name  | 
			Assignment Instructions  | 
		
STAYSMM  | 
			STAYSMM of STAY with STAYORD = current STAY (STAYORD + 1) = STAYEMM of current STAY.  | 
		
STAYSDD  | 
			STAYSDD of STAY with STAYORD = current STAY (STAYORD + 1) = STAYEDD of current STAY.  | 
		
STAYSYY  | 
			STAYSYY of STAY with STAYORD = current STAY (STAYORD + 1) = STAYEYY of current STAY  | 
		
Question Text
YOU
HAVE COMPLETED THE MISSING RESIDENCE HISTORY ITEMS FOR THIS SP. 
THANK RESPONDENT AND PRESS "1" TO RETURN TO THE
NAVIGATION SCREEN.
Field 1: RHMENDC
Field 1 Routing
Value  | 
			Label  | 
			Route  | 
		
1  | 
			CONTINUE  | 
			BOX RHMEND  | 
		
Other Programming Instructions
Background Variable Assignments
RHMDDISP:
If
(RH7 - RHALIVE = DK or RF AND RHM2 - RHMALIVE = DK, RF, EMPTY, or
NULL) or ((RH8 - RHDODMM = DK or RF or RH8 - RHDODDD = DK or RF or
RH8 - RHDODYY = DK or RF) and (RHM3 - RHMDODMM = DK, RF, EMPTY or
NULL or RHM3 - RHMDODDD = DK, RF, EMPTY or NULL or RHM3 - RHMDODYY =
DK , RF, EMPTY or NULL)) or (There is a MD STAY ARRAY and any current
round STAY.STAYEMM, STAYEDD, STAYEYY = DK, RF and RHM6B - STAYNITE =
DK, RF, EMPTY or NULL) then RHMDDISP = 94/MissingData.
Else
RHMDDISP = 96/Complete.
Box Instructions
GO TO NAVIGATOR
Other Programming Instructions
Design Notes
Any
DK or RF responses to the following variables should be set to EMPTY
upon return to the Navigator:
RHM2 - RHMALIVE
RHM3 -
RHMDODMM
RHM3 - RHMDODDD
RHM3 - RHMDODYY
RHM6B -
STAYNITE where STAYACCS = current round
	
	
| File Type | application/vnd.openxmlformats-officedocument.wordprocessingml.document | 
| Author | Ryan Hubbard | 
| File Modified | 0000-00-00 | 
| File Created | 2021-01-21 |