target variable	mapping	type	caption or calculation	Note
interviewstarttime	Id10011	get start time	Start time of interview	
interviewdate	paste(get_day(Id10012), get_month(Id10012), get_year(Id10012), sep='.')	get today	Date of interview	
Generalmodule-gen_1_1	""""""	add note prompt	"This instrument was developed by the Population Health Metrics Research Consortium.

Swipe to begin the General Information Module."	
Generalmodule-gen_1_2	""""""	add note prompt	Instructions to interviewer: Introduce yourself and explain the purpose of your visit. Ask to speak to the mother or to another adult who was the deceased's main caretaker during the illness that led to death. If this is not possible, arrange a time to revisit the household when the caretaker will be home. 	
Generalmodule-gen_1_3	""""""	add note prompt	My name is [your name]. I am your interviewer with (Organization Name). I have been informed that a death has occurred in your household. I am very sorry to hear that a member of your household has passed away. Please accept my sympathies. For the purpose of improving health care, we are collecting information on all recent deaths in this area. I would like to talk to the mother or main caretaker of the deceased and ask some questions about the events and any symptoms that the deceased had during her/his illness before death.	
Generalmodule-sid	"paste(""StudyIDNo"",rec_id,sep="""")"	add text prompt	What is the study ID number?	
Generalmodule-general2-gen_2_4	"g_or_d(""Id10055"")"	add text prompt	Address of/directions to household	
Generalmodule-general3-gen_3_b	""""""	add note prompt	INTERVIEWER: Read the consent form to the respondent.  Ask the respondent if he or she has any questions. Once any questions are answered, ask the respondent if he or she is willing to take part in the study.	
Generalmodule-general3-gen_3_1a	""""""	add video prompt	Record video of respondent acknowledging consent.	
Generalmodule-general3-gen_3_1	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10013')	add select one prompt using yesnoonly	Did respondent give consent?	
Generalmodule-general3-qconsentCheck-gen_3_2	""""""	add note prompt	Thank the respondent for his/her time and end the interview.	
gen_5_a	""""""	add note prompt	Questions on the Deceased Section	
general5-gen_5_0	paste(Id10017,Id10018)	add text prompt	What was the name of the deceased?	
general5-birthDate-gen_5_1a	exp_def(get_year(Id10021),999)	add integer prompt	What year was the deceased born?	
general5-birthDate-gen_5_1b	exp_def(get_month(Id10021),99)	add integer prompt	What month was the deceased born?	
general5-birthDate-gen_5_1c	exp_def(get_day(Id10021),99)	add integer prompt	What day of the month was the deceased born?	
general5-birthDate-birthday	"paste(t_gen_5_1a, t_gen_5_1b, t_gen_5_1c,sep=""-"")"	calculate	concat(${gen_5_1a},'-', ${gen_5_1b},'-', ${gen_5_1c})	
general5-birthDate-wrongbirthday	""""""	add note prompt	Sorry, the birthday provided is past today's date.  Please go back and check the date.	
general5-gen_5_2	map_code(c('male','female'),c(1,2),'Id10019')	add select one prompt using sex	What was the sex of the deceased?	
general5-deathDate-gen_5_3a	exp_def(get_year(Id10023),999)	add integer prompt	What year did the deceased die?	
general5-deathDate-gen_5_3b	exp_def(get_month(Id10023),99)	add integer prompt	What month did the deceased die?	
general5-deathDate-gen_5_3c	exp_def(get_day(Id10023),99)	add integer prompt	What day of the month did the deceased die?	
general5-lastknownAge-gen_5_4	range_to_code(c(-1,31,365,999999),c(4,2,1),9,'ageInDays')	add select one prompt using yearMonthDayNoAnswer	What was the last known age of the deceased?	
general5-lastknownAge-gen_5_4a	ifelse (t_gen_5_4=='1', ageInYears,'')	add integer prompt	Years - if one year or older	
general5-lastknownAge-gen_5_4b	ifelse (t_gen_5_4=='2', ageInMonths,'')	add integer prompt	Months - if less than one year	
general5-lastknownAge-gen_5_4c	ifelse (t_gen_5_4=='4', ageInDays, '')	add integer prompt	Days - if less than one month	
general5-lastknownAge-yearsfill	ifelse (t_gen_5_4=='1',  as.integer(ageInYears), 0)	calculate		
general5-lastknownAge-monthsfill	ifelse (t_gen_5_4=='2', as.integer(ageInMonths), 0)	calculate		
general5-lastknownAge-daysfill	ifelse (t_gen_5_4=='4', as.integer(ageInDays), 0)	calculate		
general5-lastknownAge-ageminutes	(t_yearsfill*8765.81 + t_monthsfill*730.484 + t_daysfill*24)*60	calculate		
general5-lastknownAge-agehours	t_yearsfill*8765.81 + t_monthsfill*730.484 + t_daysfill*24	calculate		
general5-lastknownAge-agedays	t_yearsfill*365 + t_monthsfill*28 + t_daysfill	calculate		
general5-lastknownAge-ageweeks	t_yearsfill*52 + t_monthsfill*4 + t_daysfill*0.142857	calculate		
general5-lastknownAge-agemonths	t_yearsfill*12 + t_monthsfill*1 + t_daysfill*0.0328549	calculate		
general5-lastknownAge-ageyears	t_yearsfill*1 + t_monthsfill*0.083333 + t_daysfill*0.00273791	calculate		
general5-lastknownAge-gen_5_4d	map_code(c('neonate','child','adult'),c(1,2,3),'age_group')	add select one prompt using agegroup	What age group does the deceased's last known age fall into?	
general5-lastknownAge-qageCheck-gen_5_4e	""""""	add note prompt	No age has been provided or age group selected.  Please go back and select an age group or thank the respondent for his/her time and end the interview.	
general5-lastknownAge-UKagehoursN	ifelse (t_gen_5_4d=='1', 672, '')	calculate		
general5-lastknownAge-UKagedaysN	ifelse (t_gen_5_4d=='1', 28, '')	calculate		
general5-lastknownAge-UKageweeksN	ifelse (t_gen_5_4d=='1',4,'')	calculate		
general5-lastknownAge-UKagemonthsN	ifelse (t_gen_5_4d=='1', 1, '')	calculate		
general5-lastknownAge-UKageyearsN	ifelse (t_gen_5_4d=='1', 0.0766615, '')	calculate		
general5-lastknownAge-UKagehoursC	ifelse (t_gen_5_4d=='2', 105190, '')	calculate		
general5-lastknownAge-UKagedaysC	ifelse (t_gen_5_4d=='2', 4380, '')	calculate		
general5-lastknownAge-UKageweeksC	ifelse (t_gen_5_4d=='2', 624,'')	calculate		
general5-lastknownAge-UKagemonthsC	ifelse (t_gen_5_4d=='2', 144, '')	calculate		
general5-lastknownAge-UKageyearsC	ifelse (t_gen_5_4d=='2',12,'')	calculate		
general5-lastknownAge-UKageminutesA	ifelse (t_gen_5_4d=='3', 63108000,'')	calculate		
general5-lastknownAge-UKagehoursA	ifelse (t_gen_5_4d=='3', 1051800, '')	calculate		
general5-lastknownAge-UKagedaysA	ifelse (t_gen_5_4d=='3', 43800, '')	calculate		
general5-lastknownAge-UKagemonthsA	ifelse (t_gen_5_4d=='3',1440,'')	calculate		
general5-lastknownAge-UKageyearsA	ifelse (t_gen_5_4d=='3',120,'')	calculate		
general5-gen_5_5	map_code(c('hospital','other_health_facility','home','on_route_to_hospital_or_facility','other','DK','Ref'),c(1,2,4,3,5,9,8),'Id10058')	add select one prompt using birthPlace	Where did the deceased die?	
general5-gen_5_2b	""""""	add text prompt	Where did the deceased die? [other, specified]	
general5-adult	ifelse ((4380 <= t_agedays) || (t_gen_5_4d == '3'), '1', '0')	add calculate prompt	Indicator for adult decedent	
general5-child	ifelse(((29 <t_agedays) && (t_agedays < 4380)) || (t_gen_5_4d=='2'), '1', '0')	add calculate prompt	Indicator for child decedent	
general5-neonate	ifelse((t_gen_5_4== '2' && t_gen_5_4b<= 1) || (t_gen_5_4== '4' && t_gen_5_4c<=28) || t_gen_5_4d=='1',  '1','0')	add calculate prompt	Indicator for neonate decedent	
gen_6_a	""""""	add note prompt	Questions on the Notification of Death Section	
general6-gen_6_1	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10462')	add select one prompt using yesno	Has this death been registered?	
general6-registerGen-gen_6_2a	""""""	add note prompt	Record the date of registration	
general6-registerGen-gen_6_2b	get_year(Id10071)	add integer prompt	Year	
general6-registerGen-gen_6_2c	get_month(Id10071)	add integer prompt	Month	
general6-registerGen-gen_6_2d	get_day(Id10071)	add integer prompt	Day of the month	
general6-gen_6_3	Id10070	add integer prompt	Record the registration number:	
general6-gen_6_4	""""""	add select one prompt using yesno	Has this death been notified?	
general6-gen_6_5	""""""	add integer prompt	Record the notification number:	
general6-gen_6_6	""""""	add select one prompt using NationalID	Did the decedent have a National ID number?	
general6-gen_6_7	Id10073	add integer prompt	Record the National ID number:	
general6-gen_6_8	""""""	add select one prompt using yesno	Does one of the parents have a National ID number?	
general6-gen_6_9	""""""	add select one prompt using motherfather	Which parent will we record?	
general6-gen_6_10	""""""	add integer prompt	Record the parents National ID number:	
adult5-adult_5_1	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10077')	add select one prompt using yesno	Did ${gen_5_0} suffer from any injury or accident that led to his/her death?	
adult5-adult_5_2	yes_to_code(c('Id10079','Id10083','Id10085','Id10084','Id10086','Id10089','Id10091','Id10082','Id10087','Id10095','Id10096','Id10097','Id10091','Id10092','Id10093','Id10094'),c(1,2,3,4,5,6,7,11,11,11,11,11,11,11,11,11),'9')	add select multiple prompt using accident	What kind of injury or accident did ${gen_5_0} suffer from?  (Read through the list in sequence and MARK ALL THAT APPLY)	
adult5-adult_5_2a	""""""	add text prompt	Decedent suffered other injury, specified	
adult5-adult_5_3	map_code(c('yes','no','','dk','ref'),c(1,0,0,9,8),'Id10099')	add select one prompt using yesno	Was the injury or accident self-inflicted?	Map empty answers to 0 (=no), as this means Id10098 (is this an accident) was answered with yes
adult5-adult_5_4	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10100')	add select one prompt using yesno	Was the injury or accident intentionally inflicted by someone else?	Map empty answers to 0 (=no), as this means Id10098 (is this an accident) was answered with yes
child7-child_4_47	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10077')	add select one prompt using yesno	Did ${gen_5_0} suffer from any injury or accident that led to his/her death?	
child7-child_4_48	yes_to_code(c('Id10079','Id10083','Id10085','Id10084','Id10086','Id10089','Id10091','Id10082','Id10087','Id10095','Id10096','Id10097','Id10091','Id10092','Id10093','Id10094'),c(1,2,3,4,5,6,7,11,11,11,11,11,11,11,11,11),'9')	add select multiple prompt using accidentchild	What kind of injury or accident did ${gen_5_0} suffer from?  (Read through the list in sequence and MARK ALL THAT APPLY)	
child7-child_4_48a	""""""	add text prompt	Decedent suffered other injury, specified	
child7-child_4_49	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10100')	add select one prompt using yesno	Was the injury or accident intentionally inflicted by someone else?	
adultModule-adult_1_a	""""""	add note prompt	History of Chronic Conditions of the Deceased Section	
adultModule-adult1-adult_1_1	""""""	add note prompt	Was ${gen_5_0} ever told by a health professional that he or she ever suffered from one of the following?	
adultModule-adult1-adult_1_1a	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10135')	add select one prompt using yesno	Asthma	
adultModule-adult1-adult_1_1c	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10137')	add select one prompt using yesno	Cancer	
adultModule-adult1-adult_1_1m	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10138')	add select one prompt using yesno	COPD (Chronic Obstructive Pulmonary Disease)	
adultModule-adult1-adult_1_1g	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10134')	add select one prompt using yesno	Diabetes	
adultModule-adult1-adult_1_1h	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10136')	add select one prompt using yesno	Epilepsy	
adultModule-adult1-adult_1_1i	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10133')	add select one prompt using yesno	Heart Disease	
adultModule-adult1-adult_1_1d	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10125')	add select one prompt using yesno	Tuberculosis	
adultModule-adult1-adult_1_1l	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10141')	add select one prompt using yesno	Stroke	
adultModule-adult1-adult_1_1n	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10127')	add select one prompt using yesno	AIDS	
adultModule-adult_2_a	""""""	add note prompt	Symptom Checklist Section	
adultModule-adult2-adult_2_2	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10147')	add select one prompt using yesno	Did ${gen_5_0} have a fever?	
adultModule-adult2-adult_2_4	map_code(c('mild','moderate','severe'),c(1,2,3),'Id10150')	add select one prompt using severity	How severe was the fever?	
adultModule-adult2-adult_2_5	map_code(c('continuous','on_and_off','nightly','DK','Ref'),c(1,2,3,9,8),'Id10151')	add select one prompt using pattern	What was the pattern of fever?	
adultModule-adult2-adult_2_7	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10233')	add select one prompt using yesno	Did ${gen_5_0} have a rash?	
adultModule-adult2-adult_2_9	map_code(c('face','trunk','extremities','everywhere'),c(1,2,3,4),'Id10235')	add select multiple prompt using rashlocation	Where was the rash located?	
adultModule-adult2-adult_2_9a	""""""	add text prompt	Where was the rash located? [other location, specified]	
adultModule-adult2-adult_2_10	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10228')	add select one prompt using yesno	Did ${gen_5_0} have sores?	
adultModule-adult2-adult_2_11	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10229')	add select one prompt using yesno	Did the sores have clear fluid or pus?	
adultModule-adult2-adult_2_13	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10230')	add select one prompt using yesno	Did ${gen_5_0} have an ulcer (pit) on the foot?	
adultModule-adult2-adult_2_14	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10231')	add select one prompt using yesno	Did the ulcer ooze pus?	
adultModule-adult2-adult_2_15	ifelse(t_adult_2_14==1,4,'')	add select one prompt using dayNoAnswer	For how many days did the ulcer ooze pus?	
adultModule-adult2-adult_2_15a	"g_or_d(""Id10232"")"	add integer prompt	For how many days did the ulcer ooze pus? [specify units]	
adultModule-adult2-adult_2_21	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10265')	add select one prompt using yesno	Did ${gen_5_0} have yellow discoloration of the eyes?	
adultModule-adult2-adult_2_22	ifelse (t_adult_2_21==1,4,'')	add select one prompt using monthDayNoAnswer	For how long did ${gen_5_0} have the yellow discoloration?	
adultModule-adult2-adult_2_22a	"g_or_d(""Id10266"")"	add integer prompt	Number of days	
adultModule-adult2-adult_2_22b	""""""	add integer prompt	Number of months	
adultModule-adult2-adult_2_25	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10247')	add select one prompt using yesno	Did ${gen_5_0} have puffiness of the face?	
adultModule-adult2-adult_2_26	ifelse (t_adult_2_25==1,4,'')	add select one prompt using monthDayNoAnswer	For how long did ${gen_5_0} have puffiness of the face?	
adultModule-adult2-adult_2_26a	"g_or_d(""Id10248"")"	add integer prompt	Number of days	
adultModule-adult2-adult_2_26b	""""""	add integer prompt	Number of months	
adultModule-adult2-adult_2_27	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10252')	add select one prompt using yesno	Did ${gen_5_0} have general puffiness all over his/her body?	
adultModule-adult2-adult_2_29	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10255')	add select one prompt using yesno	Did ${gen_5_0} have a lump in the neck?	
adultModule-adult2-adult_2_30	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10256')	add select one prompt using yesno	Did ${gen_5_0} have a lump in the armpit?	
adultModule-adult2-adult_2_31	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10257')	add select one prompt using yesno	Did ${gen_5_0} have a lump in the groin?	
adultModule-adult2-adult_2_32	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10153')	add select one prompt using yesno	Did ${gen_5_0} have a cough?	
adultModule-adult2-adult_2_34	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10155')	add select one prompt using yesno	Did the cough produce sputum?	
adultModule-adult2-adult_2_35	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10157')	add select one prompt using yesno	Did ${gen_5_0} cough blood?	
adultModule-adult2-adult_2_36	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10159')	add select one prompt using yesno	Did ${gen_5_0} have difficulty breathing?	
adultModule-adult2-adult_2_43	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10174')	add select one prompt using yesno	Did ${gen_5_0} experience pain in the chest in the month preceding death?	
adultModule-adult2-adult_2_44	"ifelse(as.integer(g_or_d(""Id10176"",0))>= 2 || as.integer(g_or_d(""Id10179"",0))*60 + as.integer(g_or_d(""Id10178"",0)) > 24*60, 3, ifelse(as.integer(g_or_d(""Id10179"",0))*60 + as.integer(g_or_d(""Id10178"",0)) >= 30 && as.integer(g_or_d(""Id10179"",0))*60 + as.integer(g_or_d(""Id10178"",0)) <= 24*60, 2, ifelse(as.integer(g_or_d(""Id10179"",0))*60 + as.integer(g_or_d(""Id10178"",0)) > 0 && as.integer(g_or_d(""Id10179"",0))*60 + as.integer(g_or_d(""Id10178"",0)) < 30,1,"""")))"	add select one prompt using duration	How long did the pain last?	
adultModule-adult2-adult_2_47	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10181')	add select one prompt using yesno	Did ${gen_5_0} have more frequent loose or liquid stools than usual?	
adultModule-adult2-adult_2_50	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10186')	add select one prompt using yesno	Was there blood in the stool?	
adultModule-adult2-adult_2_51	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10187')	add select one prompt using yesno	Was there blood in the stool up until death?	
adultModule-adult2-adult_2_52	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10224')	add select one prompt using yesno	Did ${gen_5_0} stop urinating?	
adultModule-adult2-adult_2_53	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10189')	add select one prompt using yesno	Did ${gen_5_0} vomit in the week preceding the death?	
adultModule-adult2-adult_2_55	"ifelse(Id10189 == ""yes"", map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10191'),"""")"	add select one prompt using yesno	Was there blood in the vomit?	
adultModule-adult2-adult_2_56	"ifelse(Id10189 == ""yes"",map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10192'),"""")"	add select one prompt using yesno	Was the vomit black?	
adultModule-adult2-adult_2_57	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10261')	add select one prompt using yesno	Did ${gen_5_0} have difficulty swallowing?	
adultModule-adult2-adult_2_58	ifelse(t_adult_2_57==1,4,'')	add select one prompt using monthDayNoAnswer	For how long before death did ${gen_5_0} have difficulty swallowing?	
adultModule-adult2-adult_2_58a	"g_or_d(""Id10262"")"	add integer prompt	Number of days	
adultModule-adult2-adult_2_58b	""""""	add integer prompt	Number of months	
adultModule-adult2-adult_2_59	map_code(c('solids','liquids','both'),c(1,2,3),'Id10263')	add select one prompt using swallowing	Was the difficulty with swallowing with solids, liquids, or both?	
adultModule-adult2-adult_2_60	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10264')	add select one prompt using yesno	Did ${gen_5_0} have pain upon swallowing?	
adultModule-adult2-adult_2_61	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10194')	add select one prompt using yesno	Did ${gen_5_0} have belly pain?	
adultModule-adult2-adult_2_62	"ifelse(t_adult_2_61==1,5,"""")"	add select one prompt using monthDayHourNoAnswer	For how long before death did ${gen_5_0} have belly pain?	
adultModule-adult2-adult_2_62a	"as.integer(g_or_d(""Id10198"", 0))*30.4*24 + as.integer(g_or_d(""Id10197b"",0))*7*24 + as.integer(g_or_d(""Id10197"",0))*24 + as.integer(g_or_d(""Id10196"",0))"	add integer prompt	Number of hours	
adultModule-adult2-adult_2_62b	""""""	add integer prompt	Number of days	
adultModule-adult2-adult_2_62c	""""""	add integer prompt	Number of months	
adultModule-adult2-adult_2_63	map_code(c('upper_abdomen','lower_abdomen'),c(1,2),'Id10199')	add select one prompt using bellypainlocation	Was the pain in the upper or lower belly?	
adultModule-adult2-adult_2_64	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10200')	add select one prompt using yesno	Did ${gen_5_0} have a more than usual protruding belly?	
adultModule-adult2-adult_2_65	ifelse (t_adult_2_64==1,4,'')	add select one prompt using monthDayNoAnswer	For how long before death did ${gen_5_0} have a protruding belly?	
adultModule-adult2-adult_2_65a	"as.integer(g_or_d(""Id10201"",0)) + as.integer(g_or_d(""Id10202"",0))*30.4"	add integer prompt	Number of days	
adultModule-adult2-adult_2_65b	""""""	add integer prompt	Number of months	
adultModule-adult2-adult_2_66	map_code(c('rapidly','slowly'),c(1,2),'Id10203')	add select one prompt using developmentspeed	How rapidly did ${gen_5_0} develop the protruding belly?	
adultModule-adult2-adult_2_67	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10204')	add select one prompt using yesno	Did ${gen_5_0} have any mass in the belly?	
adultModule-adult2-adult_2_68	ifelse(t_adult_2_67==1,4,'')	add select one prompt using monthDayNoAnswer	For how long before death did ${gen_5_0} have a mass in the belly [Specify units]	
adultModule-adult2-adult_2_68a	"as.integer(g_or_d(""Id10205"",0))+as.integer(g_or_d(""Id10206"",0))*30.4"	add integer prompt	Number of days	
adultModule-adult2-adult_2_68b	""""""	add integer prompt	Number of months	
adultModule-adult2-adult_2_72	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10208')	add select one prompt using yesno	Did ${gen_5_0} have a stiff neck?	
adultModule-adult2-adult_2_73	ifelse(t_adult_2_72==1,4,'')	add select one prompt using monthDayNoAnswer	For how long before death did ${gen_5_0} have stiff neck? 	
adultModule-adult2-adult_2_73a	"g_or_d(""Id10209"")"	add integer prompt	Number of days	
adultModule-adult2-adult_2_73b	""""""	add integer prompt	Number of months	
adultModule-adult2-adult_2_74	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10214')	add select one prompt using yesno	Did ${gen_5_0} experience a period of loss of consciousness?	
adultModule-adult2-adult_2_75	map_code(c('yes','no','dk','ref'),c(1,2,9,8),'Id10217')	add select one prompt using startspeed	Did the period of loss of consciousness start suddenly or slowly?	
adultModule-adult2-adult_2_77	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10218')	add select one prompt using yesno	Did it continue until death?	
adultModule-adult2-adult_2_82	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10219')	add select one prompt using yesno	Did ${gen_5_0} have convulsions?	
adultModule-adult2-adult_2_83	ifelse(t_adult_2_82==1,6,'')	add select one prompt using minuteHourNoAnswer	For how long before death did the convulsions last?	
adultModule-adult2-adult_2_83a	ifelse(Id10220=='yes',Id10221,'')	add integer prompt	Number of minutes	
adultModule-adult2-adult_2_83b	""""""	add integer prompt	Number of hours	
adultModule-adult2-adult_2_84	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10222')	add select one prompt using yesno	Did the person become unconscious immediately after the convulsions?	
adultModule-adult2-adult_2_85	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10258')	add select one prompt using yesno	Was ${gen_5_0} in any way paralyzed?	
adultModule-adult2-adult_2_87	map_code(c('right_side','left_side','lower_part_of_body','upper_part_of_body','one_leg_only','one_arm_only','whole_body','other'),c(1,2,3,4,5,6,7,11),'Id10260')	add select multiple prompt using paralysislocation	Which were the limbs or body parts paralyzed? (Read through the list in sequence and MARK ALL THAT APPLY)	
adultModule-adult2-adult_2_87a	""""""	add text prompt	Paralyzed other (specify)	
adultModule-adult_3_a	""""""	add note prompt	Questions for Women Section	
adultModule-adult3-adult_3_1	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10294')	add select one prompt using yesno	Did ${gen_5_0} have any swelling or lump in the breast?	
adultModule-adult3-adult_3_2	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10295')	add select one prompt using yesno	Did ${gen_5_0} have any ulcers (pits) in the breast?	
adultModule-adult3-adult_3_3a	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10296')	add select one prompt using yesno	Did ${gen_5_0} ever have a period or menstrate?	
adultModule-adult3-adult_3_3	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10299')	add select one prompt using yesno	Had ${gen_5_0}'s periods stopped naturally because of menopause?	
adultModule-adult3-adult_3_4	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10300')	add select one prompt using yesno	Did ${gen_5_0} have vaginal bleeding after cessation of menstruation? (post menopausal)	
adultModule-adult3-adult_3_5	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10297')	add select one prompt using yesno	Did ${gen_5_0} have vaginal bleeding other than her period? (intermenstrual)	
adultModule-adult3-adult_3_6	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10301')	add select one prompt using yesno	Was there excessive vaginal bleeding in the week prior to death?	
adultModule-adult3-adult_3_7	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10302')	add select one prompt using yesno	At the time of death was her period overdue?	
adultModule-adult3-qperiodoverdueatdeath-adult_3_8	ifelse(t_adult_3_7==1,3,'')	add select one prompt using weekNoAnswer	For how many weeks was her period overdue?	
adultModule-adult3-qperiodoverdueatdeath-adult_3_8a	"g_or_d(""Id10303"")"	add integer prompt	Number of weeks	
adultModule-adult3-adult_3_9	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10304')	add select one prompt using yesno	Did ${gen_5_0} have a sharp pain in the belly shortly before death?	
adultModule-adult3-adult_3_10	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10305')	add select one prompt using yesno	Was ${gen_5_0} pregnant at the time of death?	
adultModule-adult3-qpregnant-adult_3_11	"ifelse(t_adult_3_10==1,2,"""")"	add select one prompt using monthNoAnswer	For how many months was she pregnant?	
adultModule-adult3-qpregnant-adult_3_11a	"g_or_d(""Id10309"",99)"	add integer prompt	Number of months	
adultModule-adult3-adult_3_12	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10335')	add select one prompt using yesno	Did ${gen_5_0} die during an abortion?	
adultModule-adult3-adult_3_13	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10325')	add select one prompt using yesno	Did bleeding occur while she was pregnant?	
adultModule-adult3-adult_3_14	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10328')	add select one prompt using yesno	Did she have excessive bleeding during labor or delivery?	
adultModule-adult3-adult_3_15	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10312')	add select one prompt using yesno	Did she die during labor or delivery?	
adultModule-adult3-qdeathlabordelivery-adult_3_16	ifelse (t_adult_3_15==1,5,'')	add select one prompt using hourNoAnswer	For how many hours was she in labor?	
adultModule-adult3-qdeathlabordelivery-adult_3_16a	Id10332	add integer prompt	Number of hours	
adultModule-adult3-adult_3_17	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10336')	add select one prompt using yesno	Did she die within 6 weeks after having an abortion?	
adultModule-adult3-adult_3_18	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10315')	add select one prompt using yesno	Did she die within 6 weeks of childbirth?	
adultModule-adult3-adult_3_19	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10329')	add select one prompt using yesno	Did she have excessive bleeding after delivery or abortion?	
adultModule-adult4-adult_4_1	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10412')	add select one prompt using yesno	Did ${gen_5_0} use tobacco?	
adultModule-adult4-adult_4_2	map_code(c('cigarettes','pipe','chewing_tobacco','local_form_of_tobacco','other'),c(1,2,3,4,11),'Id10414')	add select multiple prompt using tobaccokinds	What kind of tobacco did ${gen_5_0} use?	
adultModule-adult4-adult_4_2a	""""""	add text prompt	Type of tobacco used: other, specify	
adultModule-adult4-adult_4_4	ifelse (t_adult_4_2a==1,1,'')	add select one prompt using cigarettesNoAnswer	How many cigarettes did ${gen_5_0} smoke daily?	
adultModule-adult4-adult_4_4a	"g_or_d(""Id10415"")"	add integer prompt	Cigarettes	
adult_6_a	""""""	add note prompt	Health Records Section	
adult6-adult_6_1	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10432')	add select one prompt using yesno	Was care sought outside the home while ${gen_5_0} had this illness?	
adult6-adult_6_2	map_code(c('traditional_healer','homeopath','religious_leader','government_hospital','government_health_center_or_clinic','private_hospital','community_based_practitionerinsystem','trained_birth_attendant','private_physician','pharmacy','relative_friend','dk','ref'),c(1,2,3,4,5,6,7,8,9,10,12,99,88),'Id10433')	add select multiple prompt using provider	Where or from whom did you seek care? (Check all that apply)	
adult6-adult_6_3	Id10434	add text prompt	Record the name and address of any hospital, health center or clinic where care was sought: 	
adult6-adult_6_3a	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10435')	add select one prompt using yesno	Did a health care worker tell you the cause of death?	
adult6-adult_6_3b	Id10436	add text prompt	What did the health care worker say?	
adult6-adult_6_4	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10437')	add select one prompt using yesno	Do you have any health records that belonged to the deceased? 	
adult6-adult_6_5	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10438')	add select one prompt using yesno	Can I see the health records? 	
adult6-qhealthrecordsAdult-adult_6_6	map_to_multi(c('Id10439', 'Id10440', 'Id10441'),c(1,2,3))	add select multiple prompt using dates	Are the dates known for the two most recent visits and the last note? (Mark all that apply)	
adult6-qhealthrecordsAdult-recent1Adult-adult_6_6a	""""""	add note prompt	Most recent visit	
adult6-qhealthrecordsAdult-recent1Adult-adult_6_6b	get_year(Id10439)	add integer prompt	Year	
adult6-qhealthrecordsAdult-recent1Adult-adult_6_6c	get_month(Id10439)	add integer prompt	Month	
adult6-qhealthrecordsAdult-recent1Adult-adult_6_6d	get_day(Id10439)	add integer prompt	Day of the month	
adult6-qhealthrecordsAdult-recent2Adult-adult_6_6e	""""""	add note prompt	Second most recent visit	
adult6-qhealthrecordsAdult-recent2Adult-adult_6_6f	get_year(Id10440)	add integer prompt	Year	
adult6-qhealthrecordsAdult-recent2Adult-adult_6_6g	get_month(Id10440)	add integer prompt	Month	
adult6-qhealthrecordsAdult-recent2Adult-adult_6_6h	get_day(Id10440)	add integer prompt	Day of the month	
adult6-qhealthrecordsAdult-lastNoteAdult-adult_6_7	""""""	add note prompt	Record the date of the last note	
adult6-qhealthrecordsAdult-lastNoteAdult-adult_6_7a	get_year(Id10441)	add integer prompt	Year	
adult6-qhealthrecordsAdult-lastNoteAdult-adult_6_7b	get_month(Id10441)	add integer prompt	Month	
adult6-qhealthrecordsAdult-lastNoteAdult-adult_6_7c	get_day(Id10441)	add integer prompt	Day of the month	
adult6-qhealthrecordsAdult-lastNoteAdult-adult_6_8	Id10444	add text prompt	Transcribe the note:	
adult6-adult_6_9	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10462')	add select one prompt using yesno	Was a death certificate issued?	
adult6-adult_6_10	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10463')	add select one prompt using yesnorefuse	Can I see the death certificate? 	
adult6-qDeathCertsAdult-adult_6_10b	map_to_multi(c('Id10464', 'Id10466', 'Id10468', 'Id10470','Id10472'),c(1,2,3,4,5))	add select multiple prompt using certs	Mark all Cause of Death information that is known	
adult6-qDeathCertsAdult-adult_6_11	Id10464	add text prompt	Record the immediate cause of death from the certificate.	
adult6-qDeathCertsAdult-adult_6_12	Id10466	add text prompt	Record the first underlying cause of death from the certificate.	
adult6-qDeathCertsAdult-adult_6_13	Id10468	add text prompt	Record the second underlying cause of death from the certificate.	
adult6-qDeathCertsAdult-adult_6_14	Id10470	add text prompt	Record the third underlying cause of death from the certificate.	
adult6-qDeathCertsAdult-adult_6_15	Id10472	add text prompt	Record the contributing cause(s) of death from the certificate.	
childModule-child_1_a	""""""	add note prompt	Background Section	
childModule-Child1-child_1_3	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10356')	add select one prompt using yesno	Is the mother still alive?	
childModule-Child1-child_1_4	map_code(c('during_delivery','after_delivery'),c(1,2),'Id10357')	add select one prompt using duringAfter	Did the mother die during or after the delivery?	
childModule-Child1-motherDieDuringAfterDeliveryGroup-child_1_5	ifelse (t_child_1_4==2,4,'')	add select one prompt using monthDayNoAnswer	How long after the delivery did the mother die?	
childModule-Child1-motherDieDuringAfterDeliveryGroup-child_1_5a	as.integer(Id10358)*30.4 + as.integer(Id10359)	add integer prompt	Days	
childModule-Child1-motherDieDuringAfterDeliveryGroup-child_1_5b	""""""	add integer prompt	Months	
childModule-Child1-child_1_6	map_code(c('hospital','other_health_facility','home','on_route_to_hospital_or_facility','other','DK','Ref'),c(1,2,4,3,5,9,8),'Id10360')	add select one prompt using birthPlace	Where was the deceased born?	
childModule-Child1-child_1_6a	""""""	add text prompt	Where was the deceased born? [other location, specified]	
childModule-Child1-birthWeightDetails-child_1_8	ifelse (t_neonate==1, 1, '')	add select one prompt using weightNoAnswer	What was the weight of the deceased at birth?	
childModule-Child1-birthWeightDetails-child_1_8a	ifelse(as.integer(Id10366)==8888,9999,Id10366)	add integer prompt	Grams	
childModule-Child1-birthWeightDetails-child_1_8b	""""""	add integer prompt	Kilograms	
childModule-Child1-child_1_7	ifelse(Id10364=='yes',1,ifelse(Id10363=='yes',2,ifelse(Id10365=='yes',4,3)))	add select one prompt using birthSize	At the time of the delivery what was the size of the deceased? (Read the question and slowly read the first 4 choices. Respondent should hear all four choices and then respond.)	
childModule-Child1-child_1_11	ifelse(Id10114=='yes',2,ifelse(Id10104 != 'no' || Id10109 != 'no' || Id10110 != 'no' || Id10114 == 'no',1,9))	add select one prompt using aliveDead	Was the baby born alive or dead?	
childModule-Child1-child_1_12	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10104')	add select one prompt using yesno	Did the baby ever cry? 	
childModule-Child1-child_1_13	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10109')	add select one prompt using yesno	Did the baby ever move?	
childModule-Child1-child_1_14	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10110')	add select one prompt using yesno	Did the baby ever breathe?	
childModule-Child1-child_1_15	ifelse(t_child_1_12=='0' && t_child_1_13=='0' && t_child_1_14=='0', '1', '0')	add calculate prompt	Decedent never cried, moved or breathed. (If all three previous responses are No then check Yes below. Otherwise, check No.)	
childModule-Child1-child_1_15b	""""""	add note prompt	Because the baby never cried, moved, or breathed, this was a stillbirth.	
childModule-Child1-child_1_15c	""""""	add note prompt	Because the baby was too old or because the baby either cried, moved, or breathed, this was not a stillbirth.	
childModule-Child1-stillbirth	ifelse(t_child_1_12=='0' && t_child_1_13=='0' && t_child_1_14=='0', '1','0')	add calculate prompt	Indicator for stillbirth decedent	
childModule-Child1-child_1_16	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10115')	add select one prompt using yesno	Were there any bruises or signs of injury on the baby's body at birth? 	
childModule-Child1-child_1_17	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10116')	add select one prompt using yesno	Was the baby's body (skin and tissue) pulpy? 	
childModule-Child1-child_1_18	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10370')	add select one prompt using yesno	Was any part of the baby physically abnormal at time of delivery? 	
childModule-Child1-child_1_19	yes_to_code(c('Id10373','Id10372','Id10371'),c(1,2,3),'')	add select multiple prompt using abnormalities	What were the abnormalities? (Mark all that apply)	
childModule-Child1-child_1_19a	""""""	add text prompt	What were the abnormalities? [other abnormality, specified]	
childModule-Child1-ageIllnessStartDetails-child_1_20	ifelse(t_child_1_15 =='0' && !is.na(Id10351),'4', ifelse(t_child_1_15 == 0 && !is.na(Id10352),'1','9'))	add select one prompt using yearMonthDayNoAnswer	How old was the baby/child when the fatal illness started?	
childModule-Child1-ageIllnessStartDetails-child_1_20a	"g_or_d(""Id10351"")"	add integer prompt	Days	
childModule-Child1-ageIllnessStartDetails-child_1_20b	""""""	add integer prompt	Months	
childModule-Child1-ageIllnessStartDetails-child_1_20c	"g_or_d(""Id10352"")"	add integer prompt	Years	
childModule-Child1-illnessDurationDetails-child_1_21	ifelse(t_child_1_15=='0', 4, '')	add select one prompt using monthDayNoAnswer	How long did the illness last? 	
childModule-Child1-illnessDurationDetails-child_1_21a	"as.integer(g_or_d(""Id10121"",0))*30.4 + as.integer(g_or_d(""Id10122"",0))*7 + as.integer(g_or_d(""Id10120"",0))"	add integer prompt	Days	
childModule-Child1-illnessDurationDetails-child_1_21b	""""""	add integer prompt	Months	
childModule-Child1-child_1_25	ifelse(t_child==1, 4, '')	add select one prompt using yearMonthDayNoAnswer	How old was the deceased at the time of death?	
childModule-Child1-child_1_25a	ifelse(t_child==1,t_agedays, '')	add integer prompt	Days	
childModule-Child1-child_1_25b	""""""	add integer prompt	Months	
childModule-Child1-child_1_25c	""""""	add integer prompt	Years	
childModule-Child1-child_1_26	ifelse (t_neonate==1,1,2)	add calculate prompt	Mark the baby's age at the time of death	
childModule-Child1-child_2_a	""""""	add note prompt	Maternal History Section	
childModule-Child1-Child2-child_2_1	yes_to_code(c('Id10399','Id10396','Id10401','Id10397','Id10403','Id10405','Id10404','Id10402','Id10395'),c(1,2,3,4,5,6,7,8,9),10)	add select multiple prompt using complications	Was the late part of the pregnancy (defined as the last 3 months), labor, or delivery complicated by any of the following problems?	
childModule-Child1-Child2-child_2_4	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10377')	add select one prompt using yesno	Was the baby moving in the last few days before the birth? 	
childModule-Child1-Child2-child_2_8	map_code(c('green_or_brown','clear','other','dk','ref'),c(1,2,3,9,8),'Id10385')	add select one prompt using waterColor	What was the color of the liquor when the water broke? 	
childModule-Child1-Child2-child_2_8a	""""""	add text prompt	What was the color of the liquor when the water broke? [other location, specified]	
childModule-Child1-Child2-child_2_10	ifelse (t_neonate==1,  5, '')	add select one prompt using hourNoAnswer	How much time did the labor and delivery take?	
childModule-Child1-Child2-child_2_10a	"ifelse(Id10382=="""",99,Id10382)"	add integer prompt	Hours	
childModule-Child1-Child2-child_2_15	map_code(c('Doctor','Midwife','Nurse','Relative','Self_mother','Traditional_birth_attendant','Other','DK','ref'),c(1,2,2,3,4,5,6,9,8),'Id10339')	add select one prompt using birthWho	Who delivered the baby?	
childModule-Child1-Child2-child_2_15a	""""""	add text prompt	Who delivered the baby? [other person, specified]	
childModule-Child1-Child2-child_2_17	yes_to_code(c('Id10342','Id10343','Id10344'),c(2,1,4),9)	add select one prompt using deliveryType	Was the delivery  ? 	
childModule-Child1-child_3_a	""""""	add note prompt	Neonatal Deaths Section	
childModule-Child1-Child3-child_3_2	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10370')	add select one prompt using yesno	Was any part of the baby physically abnormal at time of delivery?	
childModule-Child1-Child3-child_3_3	yes_to_code(c('Id10373','Id10372','Id10371'),c(1,2,3),'')	add select multiple prompt using abnormalities	What were the abnormalities?  (Mark all that apply)	
childModule-Child1-Child3-child_3_3a	""""""	add text prompt	What were the abnormalities? [other abnormality, specified]	
childModule-Child1-Child3-child_3_4	ifelse(Id10110=='no',0,map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10111'))	add select one prompt using yesno	Did the baby breathe immediately after birth?	
childModule-Child1-Child3-child_3_5	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10112')	add select one prompt using yesno	Did the baby have difficulty breathing?	
childModule-Child1-Child3-child_3_6	ifelse(Id10110=='no',0,map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10113'))	add select one prompt using yesno	Was anything done to try to help the baby breathe at birth? 	
childModule-Child1-Child3-child_3_7	ifelse(Id10104=='no',0,map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10105'))	add select one prompt using yesno	Did the baby cry immediately after birth? 	
childModule-Child1-Child3-child_3_8	range_to_code(c(-1,5,30,998,999),c(1,2,3,4),9,'Id10106')	add select one prompt using afterBirthCry	How long after birth did the baby first cry?  (MARK ONE)	
childModule-Child1-Child3-child_3_9	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10107')	add select one prompt using yesno	Did the baby stop being able to cry? 	
childModule-Child1-Child3-child_3_11	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10271')	add select one prompt using yesno	Was the baby able to suckle in a normal way during the first day of life?	
childModule-Child1-Child3-child_3_12	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10272')	add select one prompt using yesno	Did the baby ever suckle in a normal way? 	
childModule-Child1-Child3-child_3_17	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10159')	add select one prompt using yesno	During the illness that led to death, did the baby have difficult breathing? 	
childModule-Child1-Child3-child_3_19	ifelse(t_child_3_17, 4, '')	add select one prompt using dayNoAnswer	For how many days did the difficult breathing last?	
childModule-Child1-Child3-child_3_19a	"g_or_d(""Id10161"")"	add integer prompt	Days	
childModule-Child1-Child3-child_3_20	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10166')	add select one prompt using yesno	During the illness that led to death, did the baby have fast breathing? 	
childModule-Child1-Child3-child_3_22	ifelse (t_child_3_20, 4, '')	add select one prompt using dayNoAnswer	For how many days did the fast breathing last? 	
childModule-Child1-Child3-child_3_22a	"g_or_d(""Id10167"")"	add integer prompt	Days	
childModule-Child1-Child3-child_3_23	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10172')	add select one prompt using yesno	During the illness that led to death, did the baby have indrawing of the chest? (Show Photo)	
childModule-Child1-Child3-child_3_29	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10284')	add select one prompt using yesno	During the illness that led to death, did the baby become cold to touch?	
childModule-Child1-Child3-child_3_30	ifelse(t_child_3_29,4,'')	add select one prompt using dayNoAnswer	At what age did the baby start feeling cold to touch? 	
childModule-Child1-Child3-child_3_30a	"g_or_d(""Id10285"")"	add integer prompt	Days	
childModule-Child1-Child3-child_3_32	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10286')	add select one prompt using yesno	During the illness that led to death, did the baby become lethargic, after a period of normal activity?	
childModule-Child1-Child3-child_3_33	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10281')	add select one prompt using yesno	During the illness that led to death, did the baby become unresponsive or unconscious? 	
childModule-Child1-Child3-child_3_35	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10287')	add select one prompt using yesno	During the illness that led to death, did the baby have pus drainage from the umbilical cord stump? 	
childModule-Child1-Child3-child_3_40	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10240')	add select one prompt using yesno	During the illness that led to death, did the baby have an area(s) of skin with redness and swelling?	
childModule-Child1-Child3-child_3_47	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10289')	add select one prompt using yesno	During the illness that led to death, did he/she have yellow skin?	
childModule-Child1-Child3-child_3_49	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10290')	add select one prompt using yesno	Did the infant appear to be healthy and then just die suddenly? 	
childModule-Child1-child_4_a	""""""	add note prompt	Child Deaths Section	
childModule-Child1-Child4-child_4_1	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10147')	add select one prompt using yesno	During the illness that led to death, did he/she have a fever? 	
childModule-Child1-Child4-child_4_2	range_to_code(c(-1,0,9999),c(1,2),9,'Id10148')	add select one prompt using feverDuration	How many days did the fever last?	
childModule-Child1-Child4-child_4_2a	"g_or_d(""Id10148"")"	add integer prompt	Number of days (specify)	
childModule-Child1-Child4-child_4_3	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10149')	add select one prompt using yesno	Did the fever continue until death?	
childModule-Child1-Child4-child_4_4	map_code(c('mild','moderate','severe'),c(1,2,3),'Id10150')	add select one prompt using severity	How severe was the fever?	
childModule-Child1-Child4-child_4_6	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10181')	add select one prompt using yesno	During the illness that led to death, did ${gen_5_0} have more frequent loose or liquid stools than usual? 	
childModule-Child1-Child4-child_4_7	ifelse(t_child_4_6,1,'')	add select one prompt using stools	How many stools did ${gen_5_0} have on the day that loose liquid stools were most frequent?	
childModule-Child1-Child4-child_4_7a	"g_or_d(""Id10183"")"	add integer prompt	Stools	
childModule-Child1-Child4-child_4_9	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10185')	add select one prompt using yesno	Did the frequent loose or liquid stools continue until death?	
childModule-Child1-Child4-child_4_12	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10153')	add select one prompt using yesno	During the illness that led to death, did the child have a cough?	
childModule-Child1-Child4-child_4_13	ifelse (t_child_4_12, 4, '')	add select one prompt using dayNoAnswer	For how many days did the cough last?	
childModule-Child1-Child4-child_4_13a	"g_or_d(""Id10154"")"	add integer prompt	Days	
childModule-Child1-Child4-child_4_14	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10156')	add select one prompt using yesno	Was the cough very severe? 	
childModule-Child1-Child4-child_4_16	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10159')	add select one prompt using yesno	During the illness that led to death, did ${gen_5_0} have difficult breathing?	
childModule-Child1-Child4-child_4_17	ifelse (t_child_4_16,4,'')	add select one prompt using dayNoAnswer	For how many days did the difficult breathing last? 	
childModule-Child1-Child4-child_4_17a	"g_or_d(""Id10161"")"	add integer prompt	Days	
childModule-Child1-Child4-child_4_18	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10166')	add select one prompt using yesno	During the illness that led to death, did ${gen_5_0} have fast breathing? 	
childModule-Child1-Child4-child_4_19	ifelse (t_child_4_18,4, '')	add select one prompt using breathingNoAnswer	For how many days did the fast breathing last?	
childModule-Child1-Child4-child_4_19a	"g_or_d(""Id10167"")"	add integer prompt	Days	
childModule-Child1-Child4-breathingdetails-child_4_20	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10172')	add select one prompt using yesno	During the illness that led to death, did he/she have indrawing of the chest? 	
childModule-Child1-Child4-breathingdetails-child_4_23	"ifelse (multi_select_contains(""grunting"",Id10173), '1', '0')"	add select one prompt using yesno	Grunting	
childModule-Child1-Child4-child_4_25	ifelse(Id10219=='no',0,map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10220'))	add select one prompt using yesno	Did ${gen_5_0} experience any generalized convulsions or fits during the illness that led to death? 	
childModule-Child1-Child4-child_4_26	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10214')	add select one prompt using yesno	Was ${gen_5_0} unconscious during the illness that led to death?	
childModule-Child1-Child4-child_4_27	range_to_code(c(-1,5,23,9999),c(1,2,3),9,'Id10216')	add select one prompt using unconstart	How long before death did unconsciousness start?	
childModule-Child1-Child4-child_4_28	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10208')	add select one prompt using yesno	Did ${gen_5_0} have a stiff neck during the illness that led to death? (show photo)	
childModule-Child1-Child4-child_4_29	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10278')	add select one prompt using yesno	Did ${gen_5_0} have a bulging fontanelle during the illness that led to death? (show photo)	
childModule-Child1-Child4-child_4_30	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10233')	add select one prompt using yesno	During the month before he/she died, did ${gen_5_0} have a skin rash? 	
childModule-Child1-Child4-child_4_33	ifelse (t_child_4_30,4,'')	add select one prompt using dayNoAnswer	How many days did the rash last?	
childModule-Child1-Child4-child_4_33a	"g_or_d(""Id10234"")"	add integer prompt	Days	
childModule-Child1-Child4-child_4_38	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10238')	add select one prompt using yesno	During the illness that led to death, did ${gen_5_0}'s skin flake off in patches?	
childModule-Child1-Child4-child_4_39	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10267')	add select one prompt using yesno	Did ${gen_5_0}'s hair change in color to a reddish or yellowish color?	
childModule-Child1-Child4-child_4_40	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10200')	add select one prompt using yesno	Did ${gen_5_0} have a protruding belly?	
childModule-Child1-Child4-child_4_41	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10268')	add select one prompt using yesno	During the illness that led to death, did ${gen_5_0} suffer from 'lack of blood' or 'pallor'?	
childModule-Child1-Child4-child_4_42	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10256')	add select one prompt using yesno	During the illness that led to death, did ${gen_5_0} have swelling in the armpits?	
childModule-Child1-Child4-child_4_44	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10241')	add select one prompt using yesno	During the illness that led to death, did ${gen_5_0} bleed from anywhere?	
childModule-Child1-Child4-child_4_46	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10239')	add select one prompt using yesno	During the illness that led to death, did ${gen_5_0} have areas of the skin that turned black? 	
child_5_a	""""""	add note prompt	Health Records Section	
Child5-child_5_0a	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10435')	add select one prompt using yesno	Did a health care worker tell you the cause of death?	
Child5-child_5_0b	Id10436	add text prompt	What did the health care worker say?	
Child5-child_5_1	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10432')	add select one prompt using yesno	Was care sought outside the home while ${gen_5_0} had this illness?	
Child5-child_5_2	map_code(c('traditional_healer','homeopath','religious_leader','government_hospital','government_health_center_or_clinic','private_hospital','community_based_practitionerinsystem','trained_birth_attendant','private_physician','pharmacy','relative_friend','dk','ref'),c(1,2,3,4,5,6,7,8,9,10,12,99,88),'Id10433')	add select multiple prompt using provider	Where or from whom did you seek care? (Check all that apply)	
Child5-child_5_3	Id10434	add text prompt	Record the name and address of any hospital, health center or clinic where care was sought:	
Child5-child_5_4	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10437')	add select one prompt using yesno	Do you have any health records that belonged to the deceased? 	
Child5-child_5_5	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10438')	add select one prompt using yesno	Can I see the health records? 	
Child5-child_5_6	ifelse(Id10439=='','',1)	add select multiple prompt using dates	Are the dates known for the two most recent visits and the last note? (Mark all that apply)	
Child5-recent1Child-child_5_6a	""""""	add note prompt	Record the date of the most recent visit	
Child5-recent1Child-child_5_6b	get_year(Id10439)	add integer prompt	Year	
Child5-recent1Child-child_5_6c	get_month(Id10439)	add integer prompt	Month	
Child5-recent1Child-child_5_6d	get_day(Id10439)	add integer prompt	Day of the month	
Child5-child_5_6e	"ifelse (t_child_5_6==""1"", 2, 9)"	add select one prompt using weightNoAnswer	Record the weight on the most recent visit	
Child5-child_5_6f	""""""	add integer prompt	Grams	
Child5-child_5_6g	"g_or_d(""Id10442"")"	add integer prompt	Kilograms	
Child5-recent2Child-child_5_7a	""""""	add note prompt	Record the date of the second most recent visit	
Child5-recent2Child-child_5_7b	get_year(Id10440)	add integer prompt	Year	
Child5-recent2Child-child_5_7c	get_month(Id10440)	add integer prompt	Month	
Child5-recent2Child-child_5_7d	get_day(Id10440)	add integer prompt	Day of the month	
Child5-child_5_7e	"ifelse (t_child_5_6==""1"", 2, 9)"	add select one prompt using weightNoAnswer	Record the weight on the second most recent visit	
Child5-child_5_7f	""""""	add integer prompt	Grams	
Child5-child_5_7g	"g_or_d(""Id10443"")"	add integer prompt	Kilograms	
Child5-lastNoteChild-child_5_8	""""""	add note prompt	Record the date of the last note	
Child5-lastNoteChild-child_5_8a	get_year(Id10441)	add integer prompt	Year	
Child5-lastNoteChild-child_5_8b	get_month(Id10441)	add integer prompt	Month	
Child5-lastNoteChild-child_5_8c	get_day(Id10441)	add integer prompt	Day of the month	
Child5-child_5_9	Id10444	add text prompt	Transcribe the note:	
Child5-qDeathCertsChild-child_5_10	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10462')	add select one prompt using yesno	Was a death certificate issued?	
Child5-qDeathCertsChild-child_5_11	map_code(c('yes','no','ref'),c(1,0,8),'Id10463')	add select one prompt using yesnorefuse	Can I see the death certificate? 	
Child5-qDeathCertsChild-child_5_11b	map_to_multi(c('Id10464', 'Id10466', 'Id10468', 'Id10470','Id10472'),c(1,2,3,4,5))	add select multiple prompt using certs	Mark all Cause of Death information that is known	
Child5-qDeathCertsChild-child_5_12	Id10464	add text prompt	Record the immediate cause of death from the certificate.	
Child5-qDeathCertsChild-child_5_13	Id10466	add text prompt	Record the first underlying cause of death from the certificate.	
Child5-qDeathCertsChild-child_5_14	Id10468	add text prompt	Record the second underlying cause of death from the certificate.	
Child5-qDeathCertsChild-child_5_15	Id10470	add text prompt	Record the third underlying cause of death from the certificate.	
Child5-qDeathCertsChild-child_5_16	Id10472	add text prompt	Record the contributing cause(s) of death from the certificate.	
Child5-HIVtest-child_5_17	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10445')	add select one prompt using yesno	Has the deceased's (biological) mother ever been tested for HIV? 	
Child5-HIVtest-child_5_18	9	add select one prompt using yesno	Was the HIV test ever positive? 	
Child5-HIVtest-child_5_19	map_code(c('yes','no','dk','ref'),c(1,0,9,8),'Id10446')	add select one prompt using yesno	Has the deceased's (biological) mother ever been told she had AIDS by a health worker? 	
adult7-adult_7_a	""""""	add note prompt	"Instructions to the interviewer: Say to the respondent: ""Thank you for the patient responses to this exhaustive set of questions. Could you please summarize, or tell us in your own words, any additional information about the illness and/or death of your loved one?"""	
adult7-adult_7_b	""""""	add note prompt	"To the interviewer: Listen to what the respondent tells you in his/her own words. Do not prompt except for asking whether there was anything else after the respondent finishes. If the respondent mentions any of the following words, mark ""mentioned"".  Tell the respondent to stop and start again if they mention a word of interest, so you have time to mark it down."	
adult7-table_list_adult-generated_table_list_label_565	""""""			
adult7-table_list_adult-reserved_name_for_field_list_labels_566	""""""			
adult7-table_list_adult-adult_7_1	"ifelse (multi_select_contains(""Chronic_kidney_disease"",Id10477), '1', '')"	add select multiple prompt using mentioned	Chronic Kidney Disease	
adult7-table_list_adult-adult_7_2	"ifelse (multi_select_contains(""Dialysis"",Id10477), '1','')"	add select multiple prompt using mentioned	Dialysis	
adult7-table_list_adult-adult_7_3	"ifelse (multi_select_contains(""Fever"",Id10477), '1', '')"	add select multiple prompt using mentioned	Fever	
adult7-table_list_adult-adult_7_4	"ifelse (multi_select_contains(""Heart_attack"",Id10477), '1','')"	add select multiple prompt using mentioned	Heart Attack (AMI)	
adult7-table_list_adult-adult_7_5	"ifelse (multi_select_contains(""Heart_problem"",Id10477), '1', '')"	add select multiple prompt using mentioned	Heart Problems	
adult7-table_list_adult-adult_7_6	"ifelse (multi_select_contains(""Jaundice"",Id10477), '1', '')"	add select multiple prompt using mentioned	Jaundice	
adult7-table_list_adult-adult_7_7	"ifelse (multi_select_contains(""Liver_failure"",Id10477), '1', '')"	add select multiple prompt using mentioned	Liver Failure	
adult7-table_list_adult-adult_7_8	"ifelse (multi_select_contains(""Malaria"",Id10477), '1', '')"	add select multiple prompt using mentioned	Malaria	
adult7-table_list_adult-adult_7_9	"ifelse (multi_select_contains(""Pneumonia"",Id10477),'1', '')"	add select multiple prompt using mentioned	Pneumonia	
adult7-table_list_adult-adult_7_10	"ifelse (multi_select_contains(""Renal_kidney_failure"",Id10477), '1', '')"	add select multiple prompt using mentioned	Renal (Kidney) Failure	
adult7-table_list_adult-adult_7_11	"ifelse (multi_select_contains(""Suicide"",Id10477), '1', '')"	add select multiple prompt using mentioned	Suicide	
adult7-adult_7_99	"ifelse (multi_select_contains(""None"",Id10477), '1', '')"	add select one prompt using mentioned_confirm	Confirm that no words of interest were used during the open response.	
child6-child_6_a	""""""	add note prompt	"Instructions to the interviewer: Say to the respondent: ""Thank you for the patient responses to this exhaustive set of questions. Could you please summarize, or tell us in your own words, any additional information about the illness and/or death of your loved one?"""	
child6-child_6_b	""""""	add note prompt	"To the interviewer: Listen to what the respondent tells you in his/her own words. Do not prompt except for asking whether there was anything else after the respondent finishes. If the respondent mentions any of the following words, mark ""mentioned"".  Tell the respondent to stop and start again if they mention a word of interest, so you have time to mark it down."	
child6-table_list_child-generated_table_list_label_585	""""""			
child6-table_list_child-reserved_name_for_field_list_labels_586	""""""			
child6-table_list_child-child_6_1	"ifelse (multi_select_contains(""abdomen"",Id10478), '1', '')"	add select multiple prompt using mentioned	Abdomen	
child6-table_list_child-child_6_2	"ifelse (multi_select_contains(""cancer"",Id10478),'1', '')"	add select multiple prompt using mentioned	Cancer	
child6-table_list_child-child_6_3	"ifelse (multi_select_contains(""dehydration"",Id10478), '1', '')"	add select multiple prompt using mentioned	Dehydration	
child6-table_list_child-child_6_4	"ifelse (multi_select_contains(""dengue"",Id10478),'1','')"	add select multiple prompt using mentioned	Dengue fever	
child6-table_list_child-child_6_5	"ifelse (multi_select_contains(""diarrhea"",Id10478), '1', '')"	add select multiple prompt using mentioned	Diarrhea	
child6-table_list_child-child_6_6	"ifelse (multi_select_contains(""fever"",Id10478), '1','')"	add select multiple prompt using mentioned	Fever	
child6-table_list_child-child_6_7	"ifelse (multi_select_contains(""heart_problem"",Id10478),'1','')"	add select multiple prompt using mentioned	Heart Problems	
child6-table_list_child-child_6_8	"ifelse (multi_select_contains(""jaundice"",Id10478),'1','')"	add select multiple prompt using mentioned	Jaundice (yellow skin or eyes)	
child6-table_list_child-child_6_9	"ifelse (multi_select_contains(""pneumonia"",Id10478),'1', '')"	add select multiple prompt using mentioned	Pneumonia	
child6-table_list_child-child_6_10	"ifelse (multi_select_contains(""rash"",Id10478), '1','')"	add select multiple prompt using mentioned	Rash	
child6-child_6_99	"ifelse (multi_select_contains(""None"",Id10478), '1', '')"	add select one prompt using mentioned_confirm	Confirm that no words of interest were used during the open response.	
neonate6-neonate_6_a	""""""	add note prompt	"Instructions to the interviewer: Say to the respondent: ""Thank you for the patient responses to this exhaustive set of questions. Could you please summarize, or tell us in your own words, any additional information about the illness and/or death of your loved one?"""	
neonate6-neonate_6_b	""""""	add note prompt	"To the interviewer: Listen to what the respondent tells you in his/her own words. Do not prompt except for asking whether there was anything else after the respondent finishes. If the respondent mentions any of the following words, mark ""mentioned"".  Tell the respondent to stop and start again if they mention a word of interest, so you have time to mark it down."	
neonate6-table_list_neonate-generated_table_list_label_606	""""""			
neonate6-table_list_neonate-reserved_name_for_field_list_labels_607	""""""			
neonate6-table_list_neonate-neonate_6_1	"ifelse (multi_select_contains(""asphyxia"",Id10479), '1', '')"	add select multiple prompt using mentioned	Asphyxia (lack of oxygen)	
neonate6-table_list_neonate-neonate_6_2	"ifelse (multi_select_contains(""incubator"",Id10479), '1', '')"	add select multiple prompt using mentioned	Incubator	
neonate6-table_list_neonate-neonate_6_3	"ifelse (multi_select_contains(""lung_problem"",Id10479), '1', '')"	add select multiple prompt using mentioned	Lung Problems	
neonate6-table_list_neonate-neonate_6_4	"ifelse (multi_select_contains(""pneumonia"",Id10479), '1', '')"	add select multiple prompt using mentioned	Pneumonia	
neonate6-table_list_neonate-neonate_6_5	"ifelse (multi_select_contains(""preterm_delivery"",Id10479), '1', '')"	add select multiple prompt using mentioned	Preterm Delivery	
neonate6-table_list_neonate-neonate_6_6	"ifelse (multi_select_contains(""respiratory_distress"",Id10479), '1', '')"	add select multiple prompt using mentioned	Respiratory Distress	
neonate6-neonate_6_99	"ifelse (multi_select_contains(""None"",Id10479), '1', '')"	add select one prompt using mentioned_confirm	Confirm that no words of interest were used during the open response.	
interviewendtime	Id10481	get end time	End time of the Interview	
meta-instanceID	instanceID			
KEY	KEY			
