ccls-ccls_engine 3.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (269) hide show
  1. data/README.rdoc +182 -0
  2. data/app/models/abstract.rb +181 -0
  3. data/app/models/abstract_search.rb +50 -0
  4. data/app/models/abstract_validations.rb +324 -0
  5. data/app/models/address.rb +70 -0
  6. data/app/models/address_type.rb +15 -0
  7. data/app/models/addressing.rb +147 -0
  8. data/app/models/aliquot.rb +44 -0
  9. data/app/models/aliquot_sample_format.rb +13 -0
  10. data/app/models/analysis.rb +14 -0
  11. data/app/models/bc_request.rb +20 -0
  12. data/app/models/candidate_control.rb +101 -0
  13. data/app/models/context.rb +23 -0
  14. data/app/models/context_data_source.rb +4 -0
  15. data/app/models/county.rb +16 -0
  16. data/app/models/data_source.rb +24 -0
  17. data/app/models/diagnosis.rb +23 -0
  18. data/app/models/document_type.rb +16 -0
  19. data/app/models/document_version.rb +27 -0
  20. data/app/models/enrollment.rb +78 -0
  21. data/app/models/enrollment_validations.rb +167 -0
  22. data/app/models/follow_up.rb +16 -0
  23. data/app/models/follow_up_type.rb +18 -0
  24. data/app/models/gift_card.rb +22 -0
  25. data/app/models/gift_card_search.rb +137 -0
  26. data/app/models/home_exposure_response.rb +24 -0
  27. data/app/models/homex_outcome.rb +75 -0
  28. data/app/models/hospital.rb +22 -0
  29. data/app/models/icf_master_id.rb +30 -0
  30. data/app/models/icf_master_tracker.rb +217 -0
  31. data/app/models/icf_master_tracker_change.rb +9 -0
  32. data/app/models/icf_master_tracker_update.rb +50 -0
  33. data/app/models/ineligible_reason.rb +26 -0
  34. data/app/models/instrument.rb +26 -0
  35. data/app/models/instrument_type.rb +17 -0
  36. data/app/models/instrument_version.rb +28 -0
  37. data/app/models/interview.rb +122 -0
  38. data/app/models/interview_method.rb +17 -0
  39. data/app/models/interview_outcome.rb +16 -0
  40. data/app/models/language.rb +28 -0
  41. data/app/models/live_birth_data_update.rb +142 -0
  42. data/app/models/operational_event.rb +99 -0
  43. data/app/models/operational_event_type.rb +31 -0
  44. data/app/models/organization.rb +28 -0
  45. data/app/models/patient.rb +63 -0
  46. data/app/models/patient_validations.rb +118 -0
  47. data/app/models/person.rb +28 -0
  48. data/app/models/phone_number.rb +105 -0
  49. data/app/models/phone_type.rb +15 -0
  50. data/app/models/project.rb +39 -0
  51. data/app/models/project_outcome.rb +19 -0
  52. data/app/models/race.rb +31 -0
  53. data/app/models/refusal_reason.rb +23 -0
  54. data/app/models/sample.rb +168 -0
  55. data/app/models/sample_kit.rb +14 -0
  56. data/app/models/sample_outcome.rb +16 -0
  57. data/app/models/sample_temperature.rb +14 -0
  58. data/app/models/sample_type.rb +37 -0
  59. data/app/models/search.rb +195 -0
  60. data/app/models/section.rb +18 -0
  61. data/app/models/state.rb +25 -0
  62. data/app/models/study_subject.rb +237 -0
  63. data/app/models/study_subject_abstracts.rb +47 -0
  64. data/app/models/study_subject_addresses.rb +34 -0
  65. data/app/models/study_subject_associations.rb +38 -0
  66. data/app/models/study_subject_duplicates.rb +111 -0
  67. data/app/models/study_subject_enrollments.rb +17 -0
  68. data/app/models/study_subject_homex_outcome.rb +22 -0
  69. data/app/models/study_subject_identifier.rb +153 -0
  70. data/app/models/study_subject_interviews.rb +25 -0
  71. data/app/models/study_subject_languages.rb +21 -0
  72. data/app/models/study_subject_operational_events.rb +66 -0
  73. data/app/models/study_subject_patient.rb +177 -0
  74. data/app/models/study_subject_pii.rb +74 -0
  75. data/app/models/study_subject_races.rb +25 -0
  76. data/app/models/study_subject_search.rb +260 -0
  77. data/app/models/study_subject_validations.rb +116 -0
  78. data/app/models/subject_language.rb +11 -0
  79. data/app/models/subject_race.rb +11 -0
  80. data/app/models/subject_relationship.rb +21 -0
  81. data/app/models/subject_type.rb +22 -0
  82. data/app/models/tracing_status.rb +20 -0
  83. data/app/models/transfer.rb +40 -0
  84. data/app/models/unit.rb +14 -0
  85. data/app/models/vital_status.rb +19 -0
  86. data/app/models/zip_code.rb +36 -0
  87. data/config/abstract_fields.yml +1038 -0
  88. data/config/abstract_sections.yml +77 -0
  89. data/config/home_exposure_response_fields.yml +583 -0
  90. data/config/icf_master_tracker_update.yml +56 -0
  91. data/config/live_birth_data_update.yml +56 -0
  92. data/config/shared_use_db.yml +4 -0
  93. data/generators/ccls_engine/USAGE +2 -0
  94. data/generators/ccls_engine/ccls_engine_generator.rb +123 -0
  95. data/generators/ccls_engine/templates/autotest_ccls_engine.rb +3 -0
  96. data/generators/ccls_engine/templates/ccls_engine.rake +12 -0
  97. data/generators/ccls_engine/templates/fixtures/address_types.yml +30 -0
  98. data/generators/ccls_engine/templates/fixtures/context_data_sources.yml +54 -0
  99. data/generators/ccls_engine/templates/fixtures/contexts.yml +19 -0
  100. data/generators/ccls_engine/templates/fixtures/data_sources.yml +40 -0
  101. data/generators/ccls_engine/templates/fixtures/diagnoses.yml +40 -0
  102. data/generators/ccls_engine/templates/fixtures/document_types.yml +65 -0
  103. data/generators/ccls_engine/templates/fixtures/document_versions.csv +155 -0
  104. data/generators/ccls_engine/templates/fixtures/follow_up_types.yml +16 -0
  105. data/generators/ccls_engine/templates/fixtures/hospitals.yml +114 -0
  106. data/generators/ccls_engine/templates/fixtures/ineligible_reasons.yml +35 -0
  107. data/generators/ccls_engine/templates/fixtures/instrument_types.yml +26 -0
  108. data/generators/ccls_engine/templates/fixtures/instrument_versions.yml +22 -0
  109. data/generators/ccls_engine/templates/fixtures/instruments.yml +22 -0
  110. data/generators/ccls_engine/templates/fixtures/interview_methods.yml +30 -0
  111. data/generators/ccls_engine/templates/fixtures/interview_outcomes.yml +31 -0
  112. data/generators/ccls_engine/templates/fixtures/languages.yml +34 -0
  113. data/generators/ccls_engine/templates/fixtures/operational_event_types.yml +141 -0
  114. data/generators/ccls_engine/templates/fixtures/organizations.yml +198 -0
  115. data/generators/ccls_engine/templates/fixtures/people.yml +130 -0
  116. data/generators/ccls_engine/templates/fixtures/phone_types.yml +30 -0
  117. data/generators/ccls_engine/templates/fixtures/project_outcomes.yml +25 -0
  118. data/generators/ccls_engine/templates/fixtures/projects.yml +59 -0
  119. data/generators/ccls_engine/templates/fixtures/races.yml +52 -0
  120. data/generators/ccls_engine/templates/fixtures/refusal_reasons.yml +55 -0
  121. data/generators/ccls_engine/templates/fixtures/sample_outcomes.yml +36 -0
  122. data/generators/ccls_engine/templates/fixtures/sample_temperatures.yml +16 -0
  123. data/generators/ccls_engine/templates/fixtures/sample_types.yml +147 -0
  124. data/generators/ccls_engine/templates/fixtures/sections.yml +31 -0
  125. data/generators/ccls_engine/templates/fixtures/states.yml +363 -0
  126. data/generators/ccls_engine/templates/fixtures/subject_relationships.yml +46 -0
  127. data/generators/ccls_engine/templates/fixtures/subject_types.yml +30 -0
  128. data/generators/ccls_engine/templates/fixtures/tracing_statuses.yml +30 -0
  129. data/generators/ccls_engine/templates/fixtures/units.yml +13 -0
  130. data/generators/ccls_engine/templates/fixtures/vital_statuses.yml +28 -0
  131. data/generators/ccls_engine/templates/functional/roles_controller_test.rb +142 -0
  132. data/generators/ccls_engine/templates/functional/sessions_controller_test.rb +19 -0
  133. data/generators/ccls_engine/templates/functional/users_controller_test.rb +94 -0
  134. data/generators/ccls_engine/templates/images/sort_down.png +0 -0
  135. data/generators/ccls_engine/templates/images/sort_up.png +0 -0
  136. data/generators/ccls_engine/templates/initializer.rb +28 -0
  137. data/generators/ccls_engine/templates/javascripts/ccls_engine.js +24 -0
  138. data/generators/ccls_engine/templates/javascripts/jquery-ui.js +763 -0
  139. data/generators/ccls_engine/templates/javascripts/jquery.js +154 -0
  140. data/generators/ccls_engine/templates/javascripts/jrails.js +1 -0
  141. data/generators/ccls_engine/templates/migrations/create_user_invitations.rb +18 -0
  142. data/generators/ccls_engine/templates/migrations/create_users.rb +33 -0
  143. data/generators/ccls_engine/templates/migrations/drop_user_invitations.rb +18 -0
  144. data/generators/ccls_engine/templates/stylesheets/ccls_engine.css +180 -0
  145. data/generators/ccls_engine/templates/stylesheets/user.css +35 -0
  146. data/generators/ccls_engine/templates/stylesheets/users.css +23 -0
  147. data/generators/ccls_engine/templates/unit/core_extension_test.rb +18 -0
  148. data/generators/ccls_engine/templates/unit/role_test.rb +30 -0
  149. data/generators/ccls_engine/templates/unit/user_test.rb +321 -0
  150. data/lib/ccls-ccls_engine.rb +1 -0
  151. data/lib/ccls_engine.rb +135 -0
  152. data/lib/ccls_engine/action_view_extension.rb +3 -0
  153. data/lib/ccls_engine/action_view_extension/base.rb +53 -0
  154. data/lib/ccls_engine/action_view_extension/form_builder.rb +39 -0
  155. data/lib/ccls_engine/active_record_extension.rb +2 -0
  156. data/lib/ccls_engine/active_record_extension/base.rb +70 -0
  157. data/lib/ccls_engine/active_record_shared.rb +8 -0
  158. data/lib/ccls_engine/assertions.rb +69 -0
  159. data/lib/ccls_engine/autotest.rb +54 -0
  160. data/lib/ccls_engine/ccls_user.rb +117 -0
  161. data/lib/ccls_engine/core_extension.rb +14 -0
  162. data/lib/ccls_engine/date_and_time_formats.rb +30 -0
  163. data/lib/ccls_engine/factories.rb +880 -0
  164. data/lib/ccls_engine/factory_test_helper.rb +276 -0
  165. data/lib/ccls_engine/helper.rb +112 -0
  166. data/lib/ccls_engine/icf_master_tracker_update_test_helper.rb +121 -0
  167. data/lib/ccls_engine/live_birth_data_update_test_helper.rb +110 -0
  168. data/lib/ccls_engine/package_test_helper.rb +49 -0
  169. data/lib/ccls_engine/shared_database.rb +20 -0
  170. data/lib/ccls_engine/tasks.rb +1 -0
  171. data/lib/ccls_engine/test_tasks.rb +52 -0
  172. data/lib/ccls_engine/translation_table.rb +86 -0
  173. data/lib/shared_migration.rb +5 -0
  174. data/lib/surveyor/survey_extensions.rb +125 -0
  175. data/lib/tasks/application.rake +286 -0
  176. data/lib/tasks/calnet_authenticated.rake +6 -0
  177. data/lib/tasks/common_lib.rake +7 -0
  178. data/lib/tasks/database.rake +288 -0
  179. data/lib/tasks/documentation.rake +71 -0
  180. data/lib/tasks/homex_import.rake +723 -0
  181. data/lib/tasks/odms_import.rake +1116 -0
  182. data/lib/tasks/simply_authorized.rake +6 -0
  183. data/lib/tasks/ucb_ccls_engine_tasks.rake +4 -0
  184. data/lib/tasks/use_db.rake +4 -0
  185. data/rails/init.rb +4 -0
  186. data/test/unit/ccls/abstract_search_test.rb +150 -0
  187. data/test/unit/ccls/abstract_test.rb +674 -0
  188. data/test/unit/ccls/address_test.rb +155 -0
  189. data/test/unit/ccls/address_type_test.rb +25 -0
  190. data/test/unit/ccls/addressing_test.rb +466 -0
  191. data/test/unit/ccls/aliquot_sample_format_test.rb +20 -0
  192. data/test/unit/ccls/aliquot_test.rb +156 -0
  193. data/test/unit/ccls/analysis_test.rb +31 -0
  194. data/test/unit/ccls/bc_request_test.rb +43 -0
  195. data/test/unit/ccls/candidate_control_test.rb +712 -0
  196. data/test/unit/ccls/context_data_source_test.rb +26 -0
  197. data/test/unit/ccls/context_test.rb +40 -0
  198. data/test/unit/ccls/core_extension_test.rb +17 -0
  199. data/test/unit/ccls/county_test.rb +34 -0
  200. data/test/unit/ccls/data_source_test.rb +41 -0
  201. data/test/unit/ccls/diagnosis_test.rb +51 -0
  202. data/test/unit/ccls/document_type_test.rb +35 -0
  203. data/test/unit/ccls/document_version_test.rb +68 -0
  204. data/test/unit/ccls/enrollment_test.rb +575 -0
  205. data/test/unit/ccls/follow_up_test.rb +23 -0
  206. data/test/unit/ccls/follow_up_type_test.rb +34 -0
  207. data/test/unit/ccls/gift_card_search_test.rb +153 -0
  208. data/test/unit/ccls/gift_card_test.rb +40 -0
  209. data/test/unit/ccls/home_exposure_response_test.rb +83 -0
  210. data/test/unit/ccls/homex_outcome_test.rb +199 -0
  211. data/test/unit/ccls/hospital_test.rb +102 -0
  212. data/test/unit/ccls/icf_master_id_test.rb +30 -0
  213. data/test/unit/ccls/icf_master_tracker_change_test.rb +14 -0
  214. data/test/unit/ccls/icf_master_tracker_test.rb +132 -0
  215. data/test/unit/ccls/icf_master_tracker_update_test.rb +176 -0
  216. data/test/unit/ccls/ineligible_reason_test.rb +48 -0
  217. data/test/unit/ccls/instrument_test.rb +62 -0
  218. data/test/unit/ccls/instrument_type_test.rb +39 -0
  219. data/test/unit/ccls/instrument_version_test.rb +71 -0
  220. data/test/unit/ccls/interview_method_test.rb +44 -0
  221. data/test/unit/ccls/interview_outcome_test.rb +34 -0
  222. data/test/unit/ccls/interview_test.rb +298 -0
  223. data/test/unit/ccls/language_test.rb +47 -0
  224. data/test/unit/ccls/live_birth_data_update_test.rb +358 -0
  225. data/test/unit/ccls/operational_event_test.rb +187 -0
  226. data/test/unit/ccls/operational_event_type_test.rb +51 -0
  227. data/test/unit/ccls/organization_test.rb +64 -0
  228. data/test/unit/ccls/patient_test.rb +538 -0
  229. data/test/unit/ccls/person_test.rb +55 -0
  230. data/test/unit/ccls/phone_number_test.rb +244 -0
  231. data/test/unit/ccls/phone_type_test.rb +32 -0
  232. data/test/unit/ccls/project_outcome_test.rb +34 -0
  233. data/test/unit/ccls/project_test.rb +60 -0
  234. data/test/unit/ccls/race_test.rb +37 -0
  235. data/test/unit/ccls/refusal_reason_test.rb +52 -0
  236. data/test/unit/ccls/role_test.rb +26 -0
  237. data/test/unit/ccls/sample_kit_test.rb +35 -0
  238. data/test/unit/ccls/sample_outcome_test.rb +34 -0
  239. data/test/unit/ccls/sample_temperature_test.rb +25 -0
  240. data/test/unit/ccls/sample_test.rb +363 -0
  241. data/test/unit/ccls/sample_type_test.rb +58 -0
  242. data/test/unit/ccls/section_test.rb +34 -0
  243. data/test/unit/ccls/state_test.rb +31 -0
  244. data/test/unit/ccls/study_subject_abstracts_test.rb +115 -0
  245. data/test/unit/ccls/study_subject_addresses_test.rb +93 -0
  246. data/test/unit/ccls/study_subject_duplicates_test.rb +407 -0
  247. data/test/unit/ccls/study_subject_enrollments_test.rb +65 -0
  248. data/test/unit/ccls/study_subject_homex_outcome_test.rb +64 -0
  249. data/test/unit/ccls/study_subject_identifier_test.rb +439 -0
  250. data/test/unit/ccls/study_subject_interviews_test.rb +26 -0
  251. data/test/unit/ccls/study_subject_languages_test.rb +142 -0
  252. data/test/unit/ccls/study_subject_operational_events_test.rb +53 -0
  253. data/test/unit/ccls/study_subject_patient_test.rb +249 -0
  254. data/test/unit/ccls/study_subject_pii_test.rb +278 -0
  255. data/test/unit/ccls/study_subject_races_test.rb +203 -0
  256. data/test/unit/ccls/study_subject_search_test.rb +704 -0
  257. data/test/unit/ccls/study_subject_test.rb +770 -0
  258. data/test/unit/ccls/subject_language_test.rb +43 -0
  259. data/test/unit/ccls/subject_race_test.rb +35 -0
  260. data/test/unit/ccls/subject_relationship_test.rb +43 -0
  261. data/test/unit/ccls/subject_type_test.rb +40 -0
  262. data/test/unit/ccls/tracing_status_test.rb +32 -0
  263. data/test/unit/ccls/transfer_test.rb +81 -0
  264. data/test/unit/ccls/translation_table_test.rb +40 -0
  265. data/test/unit/ccls/unit_test.rb +21 -0
  266. data/test/unit/ccls/user_test.rb +156 -0
  267. data/test/unit/ccls/vital_status_test.rb +36 -0
  268. data/test/unit/ccls/zip_code_test.rb +55 -0
  269. metadata +633 -0
@@ -0,0 +1,77 @@
1
+ #use the "- " prefix to force an array rather than an unordered hash
2
+
3
+ -
4
+ :label: Identifying Data
5
+ :controller: IdentifyingDatasController
6
+ :edit: :edit_abstract_identifying_data_path
7
+ :show: :abstract_identifying_data_path
8
+ -
9
+ :label: Bone Marrow
10
+ :controller: BoneMarrowsController
11
+ :edit: :edit_abstract_bone_marrow_path
12
+ :show: :abstract_bone_marrow_path
13
+ -
14
+ :label: Flow Cytometry
15
+ :controller: FlowCytometriesController
16
+ :edit: :edit_abstract_flow_cytometry_path
17
+ :show: :abstract_flow_cytometry_path
18
+ -
19
+ :label: TDT
20
+ :controller: TdtsController
21
+ :edit: :edit_abstract_tdt_path
22
+ :show: :abstract_tdt_path
23
+ -
24
+ :label: Histocompatibility
25
+ :controller: HistocompatibilitiesController
26
+ :edit: :edit_abstract_histocompatibility_path
27
+ :show: :abstract_histocompatibility_path
28
+ -
29
+ :label: Cytogenetics
30
+ :controller: CytogeneticsController
31
+ :edit: :edit_abstract_cytogenetic_path
32
+ :show: :abstract_cytogenetic_path
33
+ -
34
+ :label: CBC
35
+ :controller: CbcsController
36
+ :edit: :edit_abstract_cbc_path
37
+ :show: :abstract_cbc_path
38
+ -
39
+ :label: Cerebrospinal Fluid
40
+ :controller: CerebrospinalFluidsController
41
+ :edit: :edit_abstract_cerebrospinal_fluid_path
42
+ :show: :abstract_cerebrospinal_fluid_path
43
+ -
44
+ :label: Chest Imaging
45
+ :controller: ChestImagingsController
46
+ :edit: :edit_abstract_chest_imaging_path
47
+ :show: :abstract_chest_imaging_path
48
+ -
49
+ :label: "H & P / Discharge"
50
+ :controller: DischargesController
51
+ :edit: :edit_abstract_discharge_path
52
+ :show: :abstract_discharge_path
53
+ -
54
+ :label: Clinical Chemo Protocol
55
+ :controller: ClinicalChemoProtocolsController
56
+ :edit: :edit_abstract_clinical_chemo_protocol_path
57
+ :show: :abstract_clinical_chemo_protocol_path
58
+ -
59
+ :label: Response to Therapy
60
+ :controller: TherapyResponsesController
61
+ :edit: :edit_abstract_therapy_response_path
62
+ :show: :abstract_therapy_response_path
63
+ -
64
+ :label: Diagnosis
65
+ :controller: DiagnosesController
66
+ :edit: :edit_abstract_diagnosis_path
67
+ :show: :abstract_diagnosis_path
68
+ -
69
+ :label: Checklist
70
+ :controller: ChecklistsController
71
+ :edit: :edit_abstract_checklist_path
72
+ :show: :abstract_checklist_path
73
+ -
74
+ :label: Name
75
+ :controller: NamesController
76
+ :edit: :edit_abstract_name_path
77
+ :show: :abstract_name_path
@@ -0,0 +1,583 @@
1
+ -
2
+ :db: consent_read_over_phone
3
+ :number: 1a
4
+ :question: READ CONSENT OVER THE PHONE
5
+ -
6
+ :db: respondent_requested_new_consent
7
+ :number: 1b
8
+ :question: RESPONDENT REQUESTED ANOTHER LETTER/CONSENT
9
+ -
10
+ :db: consent_reviewed_with_respondent
11
+ :number: 1c
12
+ :question: CHECK HERE IF THE ELEMENTS OF CONSENT HAVE BEEN REVIEWED WITH THE RESPONDENT AND THE RESPONDENT HAS BEEN GIVEN AN OPPORTUNITY TO ASK QUESTIONS.
13
+ -
14
+ :db: vacuum_has_disposable_bag
15
+ :number: 2
16
+ :question: Does your vacuum cleaner have a disposable bag?
17
+ :answer_type: yndk
18
+ -
19
+ :db: how_often_vacuumed_12mos
20
+ :number: 3
21
+ :question: In the last 12 months, on average, how often were the rugs and floors in your home usually vacuumed? Would you say...
22
+ :answer_type: freq3
23
+ -
24
+ :db: shoes_usually_off_inside_12mos
25
+ :number: 4
26
+ :question: In the last 12 months, did all of the people who lived in your home usually take off their shoes when entering the home?
27
+ :answer_type: yndk
28
+ -
29
+ :db: someone_ate_meat_12mos
30
+ :number: 5
31
+ :question: During the last 12 months, did you or anyone else in your home eat hamburger, steak, pork, chicken or other meat products?
32
+ :answer_type: yndk
33
+ -
34
+ :db: freq_pan_fried_meat_12mos
35
+ :number: 6a
36
+ :question: Pan fry (very hot)
37
+ :answer_type: osrn
38
+ -
39
+ :db: freq_deep_fried_meat_12mos
40
+ :number: 6b
41
+ :question: Deep fry
42
+ :answer_type: osrn
43
+ -
44
+ :db: freq_oven_fried_meat_12mos
45
+ :number: 6c
46
+ :question: Oven broil
47
+ :answer_type: osrn
48
+ -
49
+ :db: freq_grilled_meat_outside_12mos
50
+ :number: 6d
51
+ :question: Grill or barbeque?
52
+ :answer_type: osrn
53
+ -
54
+ :db: freq_other_high_temp_cooking_12mos
55
+ :number: 6e
56
+ :question: Other High Temp Cooking
57
+ :answer_type: osrn
58
+ -
59
+ :db: other_type_high_temp_cooking
60
+ :number: 6f
61
+ :question: Specify Other High Temp Cooking
62
+ -
63
+ :db: doneness_of_meat_exterior_12mos
64
+ :number: 7
65
+ :question: During the last 12 months, when you or other household members ate meat products, how well were they usually cooked on the outside? Would you say...
66
+ :answer_type: doneness
67
+ -
68
+ :db: job_is_plane_mechanic_12mos
69
+ :number: 8
70
+ :question: 1 = Airplane Mechanic
71
+ :answer_type: yndk
72
+ -
73
+ :db: job_is_artist_12mos
74
+ :number: 8
75
+ :question: 2 = Artist / Art Teacher
76
+ :answer_type: yndk
77
+ -
78
+ :db: job_is_janitor_12mos
79
+ :number: 8
80
+ :question: 3 = Cleaner / Janitor
81
+ :answer_type: yndk
82
+ -
83
+ :db: job_is_construction_12mos
84
+ :number: 8
85
+ :question: 4 = Construction Worker / Carpenter
86
+ :answer_type: yndk
87
+ -
88
+ :db: job_is_dentist_12mos
89
+ :number: 8
90
+ :question: 5 = Dentist / Dental Worker
91
+ :answer_type: yndk
92
+ -
93
+ :db: job_is_electrician_12mos
94
+ :number: 8
95
+ :question: 6 = Electrician / Lineman / Cable puller
96
+ :answer_type: yndk
97
+ -
98
+ :db: job_is_engineer_12mos
99
+ :number: 8
100
+ :question: 7 = Engineer/ Environmental Scientist
101
+ :answer_type: yndk
102
+ -
103
+ :db: job_is_farmer_12mos
104
+ :number: 8
105
+ :question: 8 = Farmer / Farm or Ranch Worker
106
+ :answer_type: yndk
107
+ -
108
+ :db: job_is_gardener_12mos
109
+ :number: 8
110
+ :question: 9 = Gardner / Groundskeeper / Landscaper / Nursery worker
111
+ :answer_type: yndk
112
+ -
113
+ :db: job_is_lab_worker_12mos
114
+ :number: 8
115
+ :question: 10 = Laboratory worker / Lab ScienceTeacher
116
+ :answer_type: yndk
117
+ -
118
+ :db: job_is_manufacturer_12mos
119
+ :number: 8
120
+ :question: 11 = Manufacturing / Assembly / Industrial operations/ Product repair
121
+ :answer_type: yndk
122
+ -
123
+ :db: job_auto_mechanic_12mos
124
+ :number: 8
125
+ :question: 12 = Mechanic-auto / truck / bus
126
+ :answer_type: yndk
127
+ -
128
+ :db: job_is_patient_care_12mos
129
+ :number: 8
130
+ :question: 13 = Medical Patient Care Worker
131
+ :answer_type: yndk
132
+ -
133
+ :db: job_is_agr_packer_12mos
134
+ :number: 8
135
+ :question: 14 = Packer - Agricultural
136
+ :answer_type: yndk
137
+ -
138
+ :db: job_is_painter_12mos
139
+ :number: 8
140
+ :question: 15 = Painter / Wallpaperer
141
+ :answer_type: yndk
142
+ -
143
+ :db: job_is_pesticides_12mos
144
+ :number: 8
145
+ :question: 16 = Pesticiding Handling / Production / Formulation or Mixing
146
+ :answer_type: yndk
147
+ -
148
+ :db: job_is_photographer_12mos
149
+ :number: 8
150
+ :question: 17 = Photographer / Framer / Photography Teacher
151
+ :answer_type: yndk
152
+ -
153
+ :db: job_is_teacher_12mos
154
+ :number: 8
155
+ :question: 18 = Teacher-- Preschool to 5th Grade
156
+ :answer_type: yndk
157
+ -
158
+ :db: job_is_welder_12mos
159
+ :number: 8
160
+ :question: 19 = Welder / Joiner
161
+ :answer_type: yndk
162
+ -
163
+ :db: used_flea_control_12mos
164
+ :number: 9
165
+ :question: During the last 12 months, did you have a pet that was treated for fleas or ticks using shampoos, soaps, collars, sprays, dusts, powders, or skin applications?
166
+ :answer_type: yndk
167
+ -
168
+ :db: freq_used_flea_control_12mos
169
+ :number: 9a
170
+ :question: How often during the past 12 months? Would you say...
171
+ :answer_type: five
172
+ -
173
+ :db: used_ant_control_12mos
174
+ :number: 10
175
+ :question: During the last 12 months, have you or anyone else in your home used ant, fly, or cockroach control products in or around the house?
176
+ :answer_type: yndk
177
+ -
178
+ :db: freq_ant_control_12mos
179
+ :number: 10a
180
+ :question: How often during the past 12 months? Would you say...
181
+ :answer_type: five
182
+ -
183
+ :db: used_bee_control_12mos
184
+ :number: 11
185
+ :question: During the last 12 months, have you or anyone else in your home used bee, wasp, or hornet control products in or around the house?
186
+ :answer_type: yndk
187
+ -
188
+ :db: freq_bee_control_12mos
189
+ :number: 11a
190
+ :question: How often during the past 12 months? Would you say...
191
+ :answer_type: five
192
+ -
193
+ :db: used_indoor_plant_prod_12mos
194
+ :number: 12
195
+ :question: During the last 12 months, did you or anyone in your home use any products to control indoor plant insects or diseases?
196
+ :answer_type: yndk
197
+ -
198
+ :db: freq_indoor_plant_product_12mos
199
+ :number: 12a
200
+ :question: How often during the past 12 months? Would you say...
201
+ :answer_type: five
202
+ -
203
+ :db: used_other_indoor_product_12mos
204
+ :number: 13
205
+ :question: During the last 12 months, did you or anyone in your home treat any other indoor insects or other types of pests? Do not include products applied outside on your lawn, garden, or trees.
206
+ :answer_type: yndk
207
+ -
208
+ :db: freq_other_indoor_product_12mos
209
+ :number: 13a
210
+ :question: How often during the past 12 months? Would you say...
211
+ :answer_type: five
212
+ -
213
+ :db: used_indoor_foggers
214
+ :number: 14
215
+ :question: During the last 12 months, have you or anyone else in your home used indoor foggers or bombs?
216
+ :answer_type: yndk
217
+ -
218
+ :db: freq_indoor_foggers_12mos
219
+ :number: 14a
220
+ :question: How often during the past 12 months? Would you say...
221
+ :answer_type: five
222
+ -
223
+ :db: used_pro_pest_inside_12mos
224
+ :number: 15
225
+ :question: During the last 12 months has a professional pest control person or exterminator applied products inside this dwelling?
226
+ :answer_type: yndk
227
+ -
228
+ :db: freq_pro_pest_inside_12mos
229
+ :number: 15a
230
+ :question: How often during the past 12 months? Would you say...
231
+ :answer_type: five
232
+ -
233
+ :db: used_pro_pest_outside_12mos
234
+ :number: 16
235
+ :question: During the last 12 months, has a professional pest control person or exterminator applied products on the exterior or foundation of this dwelling?
236
+ :answer_type: yndk
237
+ -
238
+ :db: freq_used_pro_pest_outside_12mos
239
+ :number: 16a
240
+ :question: How often during the past 12 months? Would you say...
241
+ :answer_type: five
242
+ -
243
+ :db: used_pro_lawn_service_12mos
244
+ :number: 17
245
+ :question: During the last 12 months, has a professional lawn or landscape service treated the lawn, garden, trees or other outdoor plants with products to control weeds, insects, or plant diseases?
246
+ :answer_type: yndk
247
+ -
248
+ :db: freq_pro_lawn_service_12mos
249
+ :number: 17a
250
+ :question: How often during the past 12 months? Would you say...
251
+ :answer_type: five
252
+ -
253
+ :db: used_lawn_products_12mos
254
+ :number: 18
255
+ :question: In the last 12 months, did you or anyone in your home treat the lawn, garden, trees, or other outdoor plants with products to control weeds, insects, or plant diseases?
256
+ :answer_type: yndk
257
+ -
258
+ :db: freq_lawn_products_12mos
259
+ :number: 18a
260
+ :question: How often during the past 12 months? Would you say...
261
+ :answer_type: five
262
+ -
263
+ :db: used_slug_control_12mos
264
+ :number: 19
265
+ :question: In the last 12 months, did you or anyone in your home use products to control slugs or snails?
266
+ :answer_type: yndk
267
+ -
268
+ :db: freq_slug_control_12mos
269
+ :number: 19a
270
+ :question: How often during the past 12 months? Would you say...
271
+ :answer_type: five
272
+ -
273
+ :db: used_rat_control_12mos
274
+ :number: 20
275
+ :question: In the last 12 months, did you or anyone in your home use products, not including traps, to control rats, mice, gophers or moles?
276
+ :answer_type: yndk
277
+ -
278
+ :db: freq_rat_control_12mos
279
+ :number: 20a
280
+ :question: How often during the past 12 months? Would you say...
281
+ :answer_type: five
282
+ -
283
+ :db: used_mothballs_12mos
284
+ :number: 21
285
+ :question: In the last 12 months, have mothballs been used in your home?
286
+ :answer_type: yndk
287
+ -
288
+ :db: cmty_sprayed_gypsy_moths_12mos
289
+ :number: 22a
290
+ :question: Gypsy moths
291
+ :answer_type: yndk
292
+ -
293
+ :db: cmty_sprayed_medflies_12mos
294
+ :number: 22b
295
+ :question: Mediterranean fruit flies
296
+ :answer_type: yndk
297
+ -
298
+ :db: cmty_sprayed_mosquitoes_12mos
299
+ :number: 22c
300
+ :question: Mosquitoes
301
+ :answer_type: yndk
302
+ -
303
+ :db: cmty_sprayed_sharpshooters_12mos
304
+ :number: 22d
305
+ :question: Glassy Winged Sharpshooter
306
+ :answer_type: yndk
307
+ -
308
+ :db: cmty_sprayed_apple_moths_12mos
309
+ :number: 22e
310
+ :question: Light Brown Apple Moth
311
+ :answer_type: yndk
312
+ -
313
+ :db: cmty_sprayed_other_pest_12mos
314
+ :number: 22f
315
+ :question: Some Other insect (specify)
316
+ :answer_type: yndk
317
+ -
318
+ :db: other_pest_community_sprayed
319
+ :number: 22g
320
+ :question: Other pest
321
+ -
322
+ :db: type_of_residence
323
+ :number: 23
324
+ :question: Which of the following best describes your residence?
325
+ :answer_type: residence
326
+ -
327
+ :db: other_type_of_residence
328
+ :number: 23other
329
+ :question: Other
330
+ -
331
+ :db: number_of_floors_in_residence
332
+ :number: 23a
333
+ :question: How many floors are there in your residence?
334
+ -
335
+ :db: number_of_stories_in_building
336
+ :number: 23b
337
+ :question: How many stories are there in your building?
338
+ -
339
+ :db: year_home_built
340
+ :number: 24
341
+ :question: In what year was your home built?
342
+ -
343
+ :db: home_square_footage
344
+ :number: 25
345
+ :question: We are interested in the approximate size of your living space. The living space is defined as all heated areas in the home or apartment that are suitable for year-round use. About how many square feet is your residence?
346
+ -
347
+ :db: number_of_rooms_in_home
348
+ :number: 26
349
+ :question: How many rooms are there in your residence, not including closets, crawl spaces, attics and basements?
350
+ -
351
+ :db: home_constructed_of
352
+ :number: 27
353
+ :question: Is your residence mostly constructed of?
354
+ :answer_type: material
355
+ -
356
+ :db: other_home_material
357
+ :number: 27other
358
+ :question: Other
359
+ -
360
+ :db: home_has_attached_garage
361
+ :number: 28
362
+ :question: Does this home have an attached garage? (An attached garage has a door connecting directly to the house.)
363
+ :answer_type: yndk
364
+ -
365
+ :db: vehicle_in_garage_1mo
366
+ :number: 28a
367
+ :question: Has there been a car or motorcycle parked in the attached garage during the past month?
368
+ :answer_type: yndk
369
+ -
370
+ :db: freq_in_out_garage_1mo
371
+ :number: 28b
372
+ :question: How often was the car or motorcycle moved in and out of garage during the past month? Would you say...
373
+ :answer_type: freq1
374
+ -
375
+ :db: home_has_electric_cooling
376
+ :number: 29
377
+ :question: Does this residence have any type of electric cooling system such as air conditioning?
378
+ :answer_type: yndk
379
+ -
380
+ :db: freq_windows_open_cold_mos_12mos
381
+ :number: 30
382
+ :question: During the last 12 months, how often was at least one window or door open on a regular basis during the colder months? Would you say...
383
+ :answer_type: freq2
384
+ -
385
+ :db: freq_windows_open_warm_mos_12mos
386
+ :number: 31
387
+ :question: During the last 12 months, how often was at least one window or door open on a regular basis during the warmer months? Would you say...
388
+ :answer_type: freq2
389
+ -
390
+ :db: used_electric_heat_12mos
391
+ :number: 32a
392
+ :question: Electric heat
393
+ :answer_type: yndk
394
+ -
395
+ :db: used_kerosene_heat_12mos
396
+ :number: 32b
397
+ :question: Kerosene heat
398
+ :answer_type: yndk
399
+ -
400
+ :db: used_radiator_12mos
401
+ :number: 32c
402
+ :question: Radiator or steam heat
403
+ :answer_type: yndk
404
+ -
405
+ :db: used_gas_heat_12mos
406
+ :number: 32d
407
+ :question: Gas heat (including gas fireplace)
408
+ :answer_type: yndk
409
+ -
410
+ :db: used_wood_burning_stove_12mos
411
+ :number: 32e
412
+ :question: Wood-burning Stove
413
+ :answer_type: yndk
414
+ -
415
+ :db: freq_used_wood_stove_12mos
416
+ :number: 32f
417
+ :question: How often did you use wood-burning stove during the past 12 months?
418
+ :answer_type: osrn
419
+ -
420
+ :db: used_wood_fireplace_12mos
421
+ :number: 32g
422
+ :question: Wood-burning Fireplace?
423
+ :answer_type: yndk
424
+ -
425
+ :db: freq_used_wood_fireplace_12mos
426
+ :number: 32h
427
+ :question: How often did you use during the past 12 months?
428
+ :answer_type: osrn
429
+ -
430
+ :db: used_fireplace_insert_12mos
431
+ :number: 32i
432
+ :question: Was an insert used in the fireplace in the last 12 months? (An insert is a wood stove designed to fit into a conventional open fireplace and allows for clean efficient burning of wood.)
433
+ :answer_type: yndk
434
+ -
435
+ :db: used_gas_stove_12mos
436
+ :number: 33a
437
+ :question: A gas stove/oven
438
+ :answer_type: yndk
439
+ -
440
+ :db: used_gas_dryer_12mos
441
+ :number: 33b
442
+ :question: A gas clothes dryer
443
+ :answer_type: yndk
444
+ -
445
+ :db: used_gas_water_heater_12mos
446
+ :number: 33c
447
+ :question: A gas water heater
448
+ :answer_type: yndk
449
+ -
450
+ :db: used_other_gas_appliance_12mos
451
+ :number: 33d
452
+ :question: How about some other gas appliance
453
+ :answer_type: yndk
454
+ -
455
+ :db: type_of_other_gas_appliance
456
+ :number: 33other
457
+ :question: Other (DO NOT INCLUDE GAS HEAT)
458
+ -
459
+ :db: painted_inside_home
460
+ :number: 34a
461
+ :question: Painting (indoors)
462
+ :answer_type: yndk
463
+ -
464
+ :db: carpeted_in_home
465
+ :number: 34b
466
+ :question: Carpeting
467
+ :answer_type: yndk
468
+ -
469
+ :db: refloored_in_home
470
+ :number: 34c
471
+ :question: Reflooring
472
+ :answer_type: yndk
473
+ -
474
+ :db: weather_proofed_home
475
+ :number: 34d
476
+ :question: Weather Proofing
477
+ :answer_type: yndk
478
+ -
479
+ :db: replaced_home_windows
480
+ :number: 34e
481
+ :question: Window Replacement
482
+ :answer_type: yndk
483
+ -
484
+ :db: roof_work_on_home
485
+ :number: 34f
486
+ :question: Roofing
487
+ :answer_type: yndk
488
+ -
489
+ :db: construction_in_home
490
+ :number: 34g
491
+ :question: Construction
492
+ :answer_type: yndk
493
+ -
494
+ :db: other_home_remodelling
495
+ :number: 34h
496
+ :question: "Other: SPECIFY"
497
+ :answer_type: yndk
498
+ -
499
+ :db: type_other_home_remodelling
500
+ :number: 34other
501
+ :question: Other
502
+ -
503
+ :db: regularly_smoked_indoors
504
+ :number: 35
505
+ :question: During the time you have lived in this home, have you or anyone else regularly - that is once a week or more - smoked cigarettes, pipes or cigars inside this home?
506
+ :answer_type: yndk
507
+ -
508
+ :db: regularly_smoked_indoors_12mos
509
+ :number: 35a
510
+ :question: During the last 12 months, have you or anyone else regularly - that is once a week or more - smoked cigarettes, pipes or cigars inside this home?
511
+ :answer_type: yndk
512
+ -
513
+ :db: regularly_smoked_outdoors
514
+ :number: 36
515
+ :question: During the time you have lived in this home, have you or anyone who lives in this home regularly smoked cigarettes, pipes or cigars outside this home (in the car, at work, yard, deck, etc.)?
516
+ :answer_type: yndk
517
+ -
518
+ :db: regularly_smoked_outdoors_12mos
519
+ :number: 36a
520
+ :question: During the last 12 months, have you or anyone else who lives in this home regularly smoked cigarettes, pipes or cigars outside this home?
521
+ :answer_type: yndk
522
+ -
523
+ :db: used_smokeless_tobacco_12mos
524
+ :number: 37
525
+ :question: During the last 12 months, have you or anyone else regularly - that is once a week or more - used smokeless tobacco products such as dipping or chewing tobacco in this home?
526
+ :answer_type: yndk
527
+ -
528
+ :db: qty_of_upholstered_furniture
529
+ :number: 38
530
+ :question: Not including mattresses, how many pieces of upholstered furniture do you have in your home (like padded or cushioned chairs, couches, or love seats)?
531
+ :answer_type: quantity
532
+ -
533
+ :db: qty_bought_after_2006
534
+ :number: 38a
535
+ :question: How many of the items were purchased after 2006?
536
+ :answer_type: quantity
537
+ -
538
+ :db: furniture_has_exposed_foam
539
+ :number: 38b
540
+ :question: Does any of the upholstered furniture have exposed or crumbling foam?
541
+ :answer_type: yndk
542
+ -
543
+ :db: home_has_carpets
544
+ :number: 39
545
+ :question: Not including area rugs, are there any carpets in your home?
546
+ :answer_type: yndk
547
+ -
548
+ :db: percent_home_with_carpet
549
+ :number: 39a
550
+ :question: Approximately what percentage of your home has carpet?
551
+ :answer_type: percent
552
+ -
553
+ :db: home_has_televisions
554
+ :number: 40
555
+ :question: Do you have any televisions in your home?
556
+ :answer_type: yndk
557
+ -
558
+ :db: number_of_televisions_in_home
559
+ :number: 40a
560
+ :question: How many televisions are in your home?
561
+ -
562
+ :db: avg_number_hours_tvs_used
563
+ :number: 40b
564
+ :question: On average, how many hours per day is the television/are the televisions on in your home? IF MORE THAN ONE TV, please include the total hours each television is on. Would you say...
565
+ :answer_type: hours
566
+ -
567
+ :db: home_has_computers
568
+ :number: 41
569
+ :question: Do you have any computers in your home?
570
+ :answer_type: yndk
571
+ -
572
+ :db: number_of_computers_in_home
573
+ :number: 41a
574
+ :question: How many computers are in your home?
575
+ -
576
+ :db: avg_number_hours_computers_used
577
+ :number: 41b
578
+ :question: On average, how many hours per day is the computer/are the computers in use in your home? IF MORE THAN ONE COMPUTER, please include the total hours each computer is in use. Would you say...
579
+ :answer_type: hours
580
+ -
581
+ :db: additional_comments
582
+ :number: 42
583
+ :question: That’s all the questions I have for today. Do you have any comments or additional information you would like to tell me?