meta-edc 0.3.15__py3-none-any.whl → 0.3.50__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (333) hide show
  1. meta_ae/action_items.py +2 -2
  2. meta_ae/migrations/0017_auto_20221130_2257.py +12 -7
  3. meta_ae/tests/holidays.csv +1 -1
  4. meta_analytics/README.rst +17 -0
  5. meta_analytics/dataframes/__init__.py +19 -0
  6. meta_analytics/dataframes/constants.py +33 -0
  7. meta_analytics/dataframes/enrolled/__init__.py +1 -0
  8. meta_analytics/dataframes/enrolled/get_glucose_df.py +122 -0
  9. meta_analytics/dataframes/get_eos_df.py +26 -0
  10. meta_analytics/dataframes/get_last_imp_visits_df.py +101 -0
  11. meta_analytics/dataframes/glucose_endpoints/__init__.py +2 -0
  12. meta_analytics/dataframes/glucose_endpoints/endpoint_by_date.py +183 -0
  13. meta_analytics/dataframes/glucose_endpoints/glucose_endpoints_by_date.py +531 -0
  14. meta_analytics/dataframes/screening/__init__.py +2 -0
  15. meta_analytics/dataframes/screening/get_glucose_tested_only_df.py +20 -0
  16. meta_analytics/dataframes/screening/get_screening_df.py +163 -0
  17. meta_analytics/dataframes/utils.py +65 -0
  18. meta_analytics/get_tables.py +81 -0
  19. meta_analytics/tables/__init__.py +2 -0
  20. meta_analytics/tables/eligible.py +106 -0
  21. meta_analytics/tables/enrolled/__init__.py +0 -0
  22. meta_analytics/tables/enrolled/glucose.py +28 -0
  23. meta_analytics/tables/has_dm.py +61 -0
  24. meta_analytics/tests/__init__.py +0 -0
  25. meta_analytics/tests/test_endpoints_by_date.py +94 -0
  26. meta_auth/auth_objects.py +22 -0
  27. meta_auth/auths.py +18 -3
  28. meta_consent/action_items.py +18 -1
  29. meta_consent/admin/__init__.py +1 -0
  30. meta_consent/admin/subject_consent_v1_ext_admin.py +45 -0
  31. meta_consent/baker_recipes.py +1 -0
  32. meta_consent/consents.py +20 -1
  33. meta_consent/constants.py +1 -0
  34. meta_consent/forms/__init__.py +1 -0
  35. meta_consent/forms/subject_consent_v1_ext_form.py +16 -0
  36. meta_consent/locale/lg/LC_MESSAGES/django.po +69 -0
  37. meta_consent/locale/sw/LC_MESSAGES/django.po +12 -12
  38. meta_consent/migrations/0026_historicalsubjectconsentv1ext_subjectconsentv1ext.py +544 -0
  39. meta_consent/migrations/0027_auto_20250111_0344.py +30 -0
  40. meta_consent/models/__init__.py +1 -0
  41. meta_consent/models/signals.py +18 -0
  42. meta_consent/models/subject_consent_v1_ext.py +29 -0
  43. meta_consent/tests/holidays.csv +1 -1
  44. meta_dashboard/locale/lg/LC_MESSAGES/django.po +30 -0
  45. meta_dashboard/locale/sw/LC_MESSAGES/django.po +11 -2
  46. meta_dashboard/navbars.py +3 -1
  47. meta_dashboard/templates/meta_dashboard/bootstrap3/buttons/eligibility_button.html +1 -1
  48. meta_dashboard/templates/meta_dashboard/bootstrap3/buttons/screening_button.html +1 -1
  49. meta_dashboard/templates/meta_dashboard/bootstrap3/subject/dashboard/sidebar.html +24 -0
  50. meta_dashboard/templates/meta_dashboard/bootstrap3/subject/dashboard.html +3 -0
  51. meta_dashboard/templatetags/meta_dashboard_extras.py +1 -1
  52. meta_dashboard/tests/holidays.csv +1 -1
  53. meta_dashboard/tests/urls.py +0 -1
  54. meta_dashboard/view_utils/__init__.py +6 -0
  55. meta_dashboard/view_utils/subject_screening_button.py +2 -2
  56. meta_dashboard/views/subject/dashboard/dashboard_view.py +38 -0
  57. meta_edc/__init__.py +7 -0
  58. meta_edc/celery.py +4 -13
  59. meta_edc/celery_live.py +18 -0
  60. meta_edc/celery_uat.py +24 -0
  61. meta_edc/management/commands/update_forms_reference.py +6 -2
  62. meta_edc/migrations/__init__.py +0 -0
  63. meta_edc/navbars.py +2 -1
  64. meta_edc/settings/debug.py +10 -2
  65. meta_edc/settings/defaults.py +58 -43
  66. meta_edc/templates/meta_edc/bootstrap3/home.html +5 -2
  67. meta_edc/tests/tests/test_endpoints.py +2 -0
  68. meta_edc/urls.py +4 -1
  69. meta_edc/wsgi.py +1 -1
  70. meta_edc/wsgi_live.py +1 -1
  71. meta_edc/wsgi_uat.py +1 -1
  72. meta_edc-0.3.50.dist-info/AUTHORS +0 -0
  73. meta_edc-0.3.50.dist-info/METADATA +766 -0
  74. {meta_edc-0.3.15.dist-info → meta_edc-0.3.50.dist-info}/RECORD +316 -127
  75. {meta_edc-0.3.15.dist-info → meta_edc-0.3.50.dist-info}/WHEEL +1 -1
  76. {meta_edc-0.3.15.dist-info → meta_edc-0.3.50.dist-info}/top_level.txt +1 -0
  77. meta_pharmacy/admin/__init__.py +2 -0
  78. meta_pharmacy/admin/rx_admin.py +75 -0
  79. meta_pharmacy/admin/substitutions_admin.py +67 -0
  80. meta_pharmacy/admin_site.py +9 -0
  81. meta_pharmacy/apps.py +5 -0
  82. meta_pharmacy/constants.py +10 -0
  83. meta_pharmacy/forms/__init__.py +2 -0
  84. meta_pharmacy/forms/rx_form.py +16 -0
  85. meta_pharmacy/forms/substitutions_form.py +54 -0
  86. meta_pharmacy/label_configs.py +30 -0
  87. meta_pharmacy/labels/__init__.py +5 -0
  88. meta_pharmacy/labels/draw_label_for_subject_with_barcode.py +62 -0
  89. meta_pharmacy/labels/draw_label_for_subject_with_code128.py +14 -0
  90. meta_pharmacy/labels/draw_label_with_test_data.py +26 -0
  91. meta_pharmacy/labels/label_data.py +14 -0
  92. meta_pharmacy/labels/print_sheets.py +97 -0
  93. meta_pharmacy/list_data.py +8 -0
  94. meta_pharmacy/management/__init__.py +0 -0
  95. meta_pharmacy/management/commands/__init__.py +0 -0
  96. meta_pharmacy/management/commands/update_initial_pharmacy_data.py +10 -0
  97. meta_pharmacy/migrations/0002_initial.py +695 -0
  98. meta_pharmacy/migrations/0003_auto_20240909_2335.py +64 -0
  99. meta_pharmacy/migrations/0004_alter_historicalsubstitutions_report_datetime_and_more.py +23 -0
  100. meta_pharmacy/migrations/0005_auto_20240911_0352.py +17 -0
  101. meta_pharmacy/migrations/0006_lotnumber_label.py +289 -0
  102. meta_pharmacy/migrations/0007_lotnumber_medication.py +24 -0
  103. meta_pharmacy/migrations/0008_remove_lotnumber_medication_and_more.py +390 -0
  104. meta_pharmacy/migrations/0009_remove_historicalrx_slug.py +17 -0
  105. meta_pharmacy/models/__init__.py +3 -0
  106. meta_pharmacy/models/label_data.py +38 -0
  107. meta_pharmacy/models/rx.py +18 -0
  108. meta_pharmacy/models/rx_label.py +39 -0
  109. meta_pharmacy/models/substitutions.py +88 -0
  110. meta_pharmacy/urls.py +8 -0
  111. meta_pharmacy/utils/__init__.py +1 -0
  112. meta_pharmacy/utils/update_initial_pharmacy_data.py +146 -0
  113. meta_prn/action_items.py +9 -1
  114. meta_prn/admin/pregnancy_notification_admin.py +6 -2
  115. meta_prn/migrations/0034_auto_20220630_1110.py +3 -3
  116. meta_prn/migrations/0035_auto_20220630_1140.py +59 -56
  117. meta_prn/tests/tests/test_dm_referral.py +3 -6
  118. meta_reports/__init__.py +1 -0
  119. meta_reports/admin/__init__.py +15 -0
  120. meta_reports/admin/dbviews/__init__.py +14 -0
  121. meta_reports/admin/dbviews/glucose_summary_admin.py +116 -0
  122. meta_reports/admin/dbviews/imp_substitutions_admin.py +101 -0
  123. meta_reports/admin/dbviews/missing_screening_ogtt_admin/__init__.py +2 -0
  124. meta_reports/admin/dbviews/missing_screening_ogtt_admin/note_model_admin.py +53 -0
  125. meta_reports/admin/dbviews/missing_screening_ogtt_admin/unmanaged_model_admin.py +84 -0
  126. meta_reports/admin/dbviews/on_study_missing_lab_values_admin/__init__.py +1 -0
  127. meta_reports/admin/dbviews/on_study_missing_lab_values_admin/unmanaged_model_admin.py +13 -0
  128. meta_reports/admin/dbviews/on_study_missing_values_admin/__init__.py +1 -0
  129. meta_reports/admin/dbviews/on_study_missing_values_admin/unmanaged_model_admin.py +13 -0
  130. meta_reports/admin/dbviews/patient_history_missing_baseline_cd4_admin.py +58 -0
  131. meta_reports/admin/dbviews/unattended_three_in_row2_admin.py +47 -0
  132. meta_reports/admin/dbviews/unattended_three_in_row_admin.py +35 -0
  133. meta_reports/admin/dbviews/unattended_two_in_row_admin.py +34 -0
  134. meta_reports/admin/endpoints_admin.py +14 -0
  135. meta_reports/admin/endpoints_all_admin.py +13 -0
  136. meta_reports/admin/last_imp_refill_admin.py +181 -0
  137. meta_reports/admin/list_filters.py +30 -0
  138. meta_reports/admin/modeladmin_mixins.py +112 -0
  139. meta_reports/admin_site.py +5 -0
  140. meta_reports/apps.py +1 -16
  141. meta_reports/forms/__init__.py +1 -0
  142. meta_reports/forms/missing_ogtt_note_form.py +33 -0
  143. meta_reports/management/__init__.py +0 -0
  144. meta_reports/management/commands/__init__.py +0 -0
  145. meta_reports/management/commands/generate_endpoints.py +13 -0
  146. meta_reports/migrations/0001_initial.py +87 -0
  147. meta_reports/migrations/0002_patienthistorymissingbaselinecd4_and_more.py +64 -0
  148. meta_reports/migrations/0003_auto_20240618_0505.py +12 -0
  149. meta_reports/migrations/0004_alter_patienthistorymissingbaselinecd4_table.py +17 -0
  150. meta_reports/migrations/0005_endpoints.py +47 -0
  151. meta_reports/migrations/0006_endpoints_baseline_datetime.py +18 -0
  152. meta_reports/migrations/0007_alter_endpoints_endpoint_label_and_more.py +43 -0
  153. meta_reports/migrations/0008_alter_endpoints_endpoint_label.py +18 -0
  154. meta_reports/migrations/0009_alter_endpoints_options.py +21 -0
  155. meta_reports/migrations/0010_alter_patienthistorymissingbaselinecd4_options_and_more.py +49 -0
  156. meta_reports/migrations/0011_auto_20240813_0156.py +54 -0
  157. meta_reports/migrations/0012_auto_20240813_1516.py +48 -0
  158. meta_reports/migrations/0013_auto_20240813_1516.py +48 -0
  159. meta_reports/migrations/0014_auto_20240813_1517.py +48 -0
  160. meta_reports/migrations/0015_alter_endpoints_site.py +22 -0
  161. meta_reports/migrations/0016_missingscreeningogtt.py +47 -0
  162. meta_reports/migrations/0017_auto_20240819_1711.py +166 -0
  163. meta_reports/migrations/0018_auto_20240819_1713.py +54 -0
  164. meta_reports/migrations/0019_auto_20240819_1721.py +54 -0
  165. meta_reports/migrations/0020_auto_20240819_1811.py +54 -0
  166. meta_reports/migrations/0021_auto_20240819_1817.py +54 -0
  167. meta_reports/migrations/0022_auto_20240819_1832.py +54 -0
  168. meta_reports/migrations/0023_endpoints_meta_report_subject_a56b22_idx.py +20 -0
  169. meta_reports/migrations/0024_glucosesummary.py +38 -0
  170. meta_reports/migrations/0025_auto_20240822_0115.py +87 -0
  171. meta_reports/migrations/0026_auto_20240822_0120.py +54 -0
  172. meta_reports/migrations/0027_auto_20240822_0140.py +54 -0
  173. meta_reports/migrations/0028_alter_glucosesummary_options.py +22 -0
  174. meta_reports/migrations/0029_auto_20240822_0149.py +54 -0
  175. meta_reports/migrations/0030_auto_20240822_1637.py +54 -0
  176. meta_reports/migrations/0031_endpointsproxy.py +25 -0
  177. meta_reports/migrations/0032_alter_endpointsproxy_options.py +21 -0
  178. meta_reports/migrations/0033_auto_20240823_0012.py +54 -0
  179. meta_reports/migrations/0034_auto_20240823_1642.py +54 -0
  180. meta_reports/migrations/0035_historicalmissingogttnote_missingogttnote.py +457 -0
  181. meta_reports/migrations/0036_historicalmissingogttnote_fasting_and_more.py +86 -0
  182. meta_reports/migrations/0037_historicalmissingogttnote_result_status_and_more.py +51 -0
  183. meta_reports/migrations/0038_alter_historicalmissingogttnote_fasting_and_more.py +33 -0
  184. meta_reports/migrations/0039_onstudymissingvalues.py +44 -0
  185. meta_reports/migrations/0040_auto_20240824_0412.py +282 -0
  186. meta_reports/migrations/0041_auto_20240828_2229.py +14 -0
  187. meta_reports/migrations/0042_onstudymissinglabvalues.py +43 -0
  188. meta_reports/migrations/0043_auto_20240828_2309.py +88 -0
  189. meta_reports/migrations/0044_auto_20240828_2323.py +93 -0
  190. meta_reports/migrations/0045_auto_20240829_0248.py +54 -0
  191. meta_reports/migrations/0046_auto_20240829_0250.py +54 -0
  192. meta_reports/migrations/0047_impsubstitutions.py +56 -0
  193. meta_reports/migrations/0048_auto_20240909_2338.py +48 -0
  194. meta_reports/migrations/0049_auto_20240911_0327.py +54 -0
  195. meta_reports/migrations/0050_alter_endpoints_created.py +19 -0
  196. meta_reports/migrations/0051_remove_endpoints_baseline_datetime_and_more.py +40 -0
  197. meta_reports/migrations/0052_lastimpvisit.py +57 -0
  198. meta_reports/migrations/0053_rename_lastimpvisit_lastimprefill_and_more.py +31 -0
  199. meta_reports/models/__init__.py +16 -0
  200. meta_reports/models/dbviews/README +14 -0
  201. meta_reports/models/dbviews/__init__.py +9 -0
  202. meta_reports/models/dbviews/glucose_summary/__init__.py +2 -0
  203. meta_reports/models/dbviews/glucose_summary/unmanaged_model.py +35 -0
  204. meta_reports/models/dbviews/glucose_summary/view_definition.py +28 -0
  205. meta_reports/models/dbviews/imp_substitutions/__init__.py +1 -0
  206. meta_reports/models/dbviews/imp_substitutions/unmanaged_model.py +41 -0
  207. meta_reports/models/dbviews/imp_substitutions/view_definition.py +21 -0
  208. meta_reports/models/dbviews/missing_screening_ogtt/__init__.py +2 -0
  209. meta_reports/models/dbviews/missing_screening_ogtt/note_model.py +57 -0
  210. meta_reports/models/dbviews/missing_screening_ogtt/unmanaged_model.py +41 -0
  211. meta_reports/models/dbviews/missing_screening_ogtt/view_definition.py +20 -0
  212. meta_reports/models/dbviews/on_study_missing_lab_values/__init__.py +1 -0
  213. meta_reports/models/dbviews/on_study_missing_lab_values/qa_cases.py +53 -0
  214. meta_reports/models/dbviews/on_study_missing_lab_values/unmanged_model.py +20 -0
  215. meta_reports/models/dbviews/on_study_missing_lab_values/view_definition.py +17 -0
  216. meta_reports/models/dbviews/on_study_missing_values/__init__.py +1 -0
  217. meta_reports/models/dbviews/on_study_missing_values/qa_cases.py +54 -0
  218. meta_reports/models/dbviews/on_study_missing_values/unmanged_model.py +20 -0
  219. meta_reports/models/dbviews/on_study_missing_values/view_definition.py +17 -0
  220. meta_reports/models/dbviews/patient_history_missing_baseline_cd4/__init__.py +1 -0
  221. meta_reports/models/dbviews/patient_history_missing_baseline_cd4/unmanaged_model.py +31 -0
  222. meta_reports/models/dbviews/patient_history_missing_baseline_cd4/view_definition.py +21 -0
  223. meta_reports/models/dbviews/unattended_three_in_row/__init__.py +1 -0
  224. meta_reports/models/dbviews/unattended_three_in_row/unmanaged_model.py +29 -0
  225. meta_reports/models/dbviews/unattended_three_in_row/view_definition.py +31 -0
  226. meta_reports/models/dbviews/unattended_three_in_row2/__init__.py +1 -0
  227. meta_reports/models/dbviews/unattended_three_in_row2/unmanaged_model.py +29 -0
  228. meta_reports/models/dbviews/unattended_three_in_row2/view_definition.py +50 -0
  229. meta_reports/models/dbviews/unattended_two_in_row/__init__.py +1 -0
  230. meta_reports/models/dbviews/unattended_two_in_row/unmanaged_model.py +27 -0
  231. meta_reports/models/dbviews/unattended_two_in_row/view_definition.py +30 -0
  232. meta_reports/models/endpoints.py +31 -0
  233. meta_reports/models/endpoints_proxy.py +11 -0
  234. meta_reports/models/last_imp_refill.py +34 -0
  235. meta_reports/tasks.py +12 -0
  236. meta_reports/templates/meta_reports/columns/subject_identifier_column.html +1 -0
  237. meta_reports/templates/meta_reports/endpoints_all_change_list_note.html +12 -0
  238. meta_reports/templates/meta_reports/endpoints_change_list_note.html +12 -0
  239. meta_reports/tests/test_sql_gen.py +5 -0
  240. meta_reports/urls.py +8 -0
  241. meta_reports/utils.py +0 -0
  242. meta_screening/admin/subject_screening_admin.py +1 -0
  243. meta_screening/migrations/0067_alter_historicalscreeningpartone_report_datetime_and_more.py +84 -0
  244. meta_screening/tests/holidays.csv +1 -1
  245. meta_screening/tests/meta_test_case_mixin.py +15 -0
  246. meta_sites/tests/test_sites.py +1 -1
  247. meta_subject/action_items.py +2 -2
  248. meta_subject/admin/__init__.py +2 -1
  249. meta_subject/admin/birth_outcome_admin.py +2 -0
  250. meta_subject/admin/blood_results/__init__.py +1 -1
  251. meta_subject/admin/blood_results/{blood_results_lipid_admin.py → blood_results_lipids_admin.py} +7 -7
  252. meta_subject/admin/diabetes/__init__.py +1 -1
  253. meta_subject/admin/diabetes/dm_endpoint_admin.py +35 -0
  254. meta_subject/admin/glucose_fbg_admin.py +4 -0
  255. meta_subject/admin/other_arv_regimens_admin.py +2 -0
  256. meta_subject/admin/study_medication_admin.py +10 -0
  257. meta_subject/form_validators/__init__.py +1 -1
  258. meta_subject/form_validators/dm_endpoint_form_validator.py +35 -0
  259. meta_subject/forms/__init__.py +2 -2
  260. meta_subject/forms/blood_results/__init__.py +1 -1
  261. meta_subject/forms/blood_results/{blood_results_lipid_form.py → blood_results_lipids_form.py} +5 -5
  262. meta_subject/forms/diabetes/__init__.py +1 -2
  263. meta_subject/forms/diabetes/dm_endpoint_form.py +13 -0
  264. meta_subject/forms/study_medication_form.py +35 -0
  265. meta_subject/locale/lg/LC_MESSAGES/django.po +470 -0
  266. meta_subject/locale/sw/LC_MESSAGES/django.po +191 -89
  267. meta_subject/metadata_rules/metadata_rules.py +7 -0
  268. meta_subject/metadata_rules/predicates.py +45 -8
  269. meta_subject/migrations/0107_auto_20220415_0043.py +28 -22
  270. meta_subject/migrations/0126_auto_20220719_2142.py +4 -4
  271. meta_subject/migrations/0131_auto_20220722_0411.py +28 -23
  272. meta_subject/migrations/0132_auto_20220722_1825.py +10 -6
  273. meta_subject/migrations/0135_auto_20220722_2212.py +39 -35
  274. meta_subject/migrations/0150_auto_20220914_0039.py +15 -11
  275. meta_subject/migrations/0207_alter_historicalphysicalexam_waist_circumference_and_more.py +46 -0
  276. meta_subject/migrations/0208_birthoutcomes_crf_status_and_more.py +62 -0
  277. meta_subject/migrations/0209_remove_historicaldmdxresult_dm_diagnosis_and_more.py +37 -0
  278. meta_subject/migrations/0210_remove_dmdxresult_dm_diagnosis_and_more.py +123 -0
  279. meta_subject/migrations/0211_dmendpoint_endpoint_reached_and_more.py +45 -0
  280. meta_subject/migrations/0212_auto_20240827_2222.py +23 -0
  281. meta_subject/migrations/0213_rename_bloodresultslipid_bloodresultslipids_and_more.py +35 -0
  282. meta_subject/migrations/0214_historicalstudymedication_stock_codes_and_more.py +44 -0
  283. meta_subject/migrations/0215_alter_historicalstudymedication_stock_codes_and_more.py +46 -0
  284. meta_subject/model_mixins/arv_history_model_mixin.py +3 -3
  285. meta_subject/models/__init__.py +3 -2
  286. meta_subject/models/birth_outcomes.py +6 -1
  287. meta_subject/models/blood_results/__init__.py +1 -1
  288. meta_subject/models/blood_results/{blood_results_lipid.py → blood_results_lipids.py} +3 -3
  289. meta_subject/models/diabetes/__init__.py +1 -2
  290. meta_subject/models/diabetes/dm_endpoint.py +61 -0
  291. meta_subject/models/glucose.py +4 -1
  292. meta_subject/models/physical_exam.py +1 -0
  293. meta_subject/models/signals.py +19 -0
  294. meta_subject/models/todo.txt +1 -1
  295. meta_subject/static/meta_subject/slider.css +1 -1
  296. meta_subject/templates/meta_subject/endpoint_review_instructions.html +1 -1
  297. meta_subject/templates/meta_subject/widgets/slider.html +0 -1
  298. meta_subject/tests/holidays.csv +1 -1
  299. meta_subject/tests/tests/test_medication_adherence.py +5 -1
  300. meta_subject/tests/tests/test_metadata_rules.py +2 -2
  301. meta_subject/tests/tests/test_mnsi.py +212 -121
  302. meta_subject/tests/tests/test_sf12.py +0 -12
  303. meta_visit_schedule/constants.py +4 -0
  304. meta_visit_schedule/tests/tests/test_schedule.py +4 -0
  305. meta_visit_schedule/visit_schedules/phase_three/crfs.py +75 -13
  306. meta_visit_schedule/visit_schedules/phase_three/requisitions.py +12 -0
  307. meta_visit_schedule/visit_schedules/phase_three/schedule.py +65 -2
  308. meta_visit_schedule/visit_schedules/phase_three/schedule_dm_referral.py +1 -1
  309. tests/etc/randomization_list.csv +1 -1
  310. {meta_edc/tests → tests}/etc/randomization_list_phase_three.csv +4 -4
  311. tests/holidays.csv +1 -1
  312. {meta_edc/tests → tests}/test_settings.py +16 -6
  313. meta_edc/tests/etc/user-aes-local.key +0 -1
  314. meta_edc/tests/etc/user-aes-restricted.key +0 -0
  315. meta_edc/tests/etc/user-rsa-local-private.pem +0 -27
  316. meta_edc/tests/etc/user-rsa-local-public.pem +0 -9
  317. meta_edc/tests/etc/user-rsa-restricted-private.pem +0 -27
  318. meta_edc/tests/etc/user-rsa-restricted-public.pem +0 -9
  319. meta_edc/tests/etc/user-salt-local.key +0 -0
  320. meta_edc/tests/etc/user-salt-restricted.key +0 -0
  321. meta_edc-0.3.15.dist-info/METADATA +0 -88
  322. meta_reports/tests/holidays.csv +0 -15
  323. meta_subject/admin/diabetes/dm_diagnosis_admin.py +0 -89
  324. meta_subject/form_validators/dm_diagnosis_form_validator.py +0 -38
  325. meta_subject/form_validators/dm_dx_result_form_validator.py +0 -7
  326. meta_subject/forms/diabetes/dm_diagnosis_form.py +0 -13
  327. meta_subject/forms/diabetes/dm_dx_result_form.py +0 -11
  328. meta_subject/models/diabetes/dm_diagnosis.py +0 -50
  329. meta_subject/models/diabetes/dm_dx_result.py +0 -70
  330. /meta_edc-0.3.15.dist-info/AUTHORS → /meta_analytics/__init__.py +0 -0
  331. /meta_pharmacy/models.py → /meta_analytics/constants.py +0 -0
  332. /meta_reports/models.py → /meta_analytics/notebooks/cleaning/__init__.py +0 -0
  333. {meta_edc-0.3.15.dist-info → meta_edc-0.3.50.dist-info}/LICENSE +0 -0
@@ -7,7 +7,11 @@ crfs_prn = CrfCollection(
7
7
  Crf(show_order=235, model="meta_subject.bloodresultshba1c"),
8
8
  Crf(show_order=245, model="meta_subject.bloodresultsrft"),
9
9
  Crf(show_order=255, model="meta_subject.bloodresultslft"),
10
- Crf(show_order=265, model="meta_subject.bloodresultslipid"),
10
+ Crf(show_order=265, model="meta_subject.bloodresultslipids"),
11
+ Crf(show_order=268, model="meta_subject.bloodresultsins"),
12
+ Crf(show_order=461, model="meta_subject.eq5d3l"),
13
+ Crf(show_order=466, model="meta_subject.sf12"),
14
+ Crf(show_order=471, model="meta_subject.mnsi"),
11
15
  Crf(show_order=275, model="meta_subject.hepatitistest"),
12
16
  Crf(show_order=285, model="meta_subject.malariatest"),
13
17
  Crf(show_order=295, model="meta_subject.urinedipsticktest"),
@@ -40,7 +44,7 @@ crfs_d1 = CrfCollection(
40
44
  Crf(show_order=230, model="meta_subject.bloodresultsrft"),
41
45
  Crf(show_order=240, model="meta_subject.bloodresultslft"),
42
46
  Crf(show_order=250, model="meta_subject.bloodresultsfbc"),
43
- Crf(show_order=260, model="meta_subject.bloodresultslipid"),
47
+ Crf(show_order=260, model="meta_subject.bloodresultslipids"),
44
48
  Crf(show_order=360, model="meta_subject.malariatest"),
45
49
  Crf(show_order=370, model="meta_subject.urinedipsticktest"),
46
50
  Crf(show_order=400, model="meta_subject.studymedication"),
@@ -56,7 +60,7 @@ crfs_w2 = CrfCollection(
56
60
  Crf(show_order=310, model="meta_subject.medicationadherence"),
57
61
  Crf(show_order=460, model="meta_subject.eq5d3l"),
58
62
  Crf(show_order=465, model="meta_subject.sf12"),
59
- Crf(show_order=470, model="meta_subject.healtheconomicssimple"),
63
+ Crf(show_order=480, model="meta_subject.healtheconomicssimple"),
60
64
  name="week2",
61
65
  )
62
66
 
@@ -67,10 +71,10 @@ crfs_1m = CrfCollection(
67
71
  Crf(show_order=200, model="meta_subject.glucosefbg"),
68
72
  Crf(show_order=300, model="meta_subject.studymedication"),
69
73
  Crf(show_order=310, model="meta_subject.medicationadherence"),
70
- Crf(show_order=450, model="meta_subject.healtheconomicssimple", required=False),
71
74
  Crf(show_order=460, model="meta_subject.eq5d3l", required=False),
72
75
  Crf(show_order=465, model="meta_subject.sf12", required=False),
73
76
  Crf(show_order=470, model="meta_subject.mnsi"),
77
+ Crf(show_order=480, model="meta_subject.healtheconomicssimple", required=False),
74
78
  name="1m",
75
79
  )
76
80
 
@@ -128,7 +132,7 @@ crfs_12m = CrfCollection(
128
132
  Crf(show_order=220, model="meta_subject.bloodresultsrft"),
129
133
  Crf(show_order=230, model="meta_subject.bloodresultslft"),
130
134
  Crf(show_order=240, model="meta_subject.bloodresultsfbc"),
131
- Crf(show_order=250, model="meta_subject.bloodresultslipid"),
135
+ Crf(show_order=250, model="meta_subject.bloodresultslipids"),
132
136
  Crf(show_order=300, model="meta_subject.studymedication"),
133
137
  Crf(show_order=310, model="meta_subject.medicationadherence"),
134
138
  Crf(show_order=460, model="meta_subject.eq5d3l", required=False),
@@ -185,11 +189,12 @@ crfs_24m = CrfCollection(
185
189
  Crf(show_order=220, model="meta_subject.bloodresultsrft"),
186
190
  Crf(show_order=230, model="meta_subject.bloodresultslft"),
187
191
  Crf(show_order=240, model="meta_subject.bloodresultsfbc"),
188
- Crf(show_order=250, model="meta_subject.bloodresultslipid"),
192
+ Crf(show_order=250, model="meta_subject.bloodresultslipids"),
189
193
  Crf(show_order=300, model="meta_subject.studymedication"),
190
194
  Crf(show_order=310, model="meta_subject.medicationadherence"),
191
195
  Crf(show_order=460, model="meta_subject.eq5d3l", required=False),
192
196
  Crf(show_order=465, model="meta_subject.sf12", required=False),
197
+ Crf(show_order=470, model="meta_subject.mnsi"),
193
198
  Crf(show_order=500, model="meta_subject.healtheconomicsupdate", required=False),
194
199
  name="24m",
195
200
  )
@@ -198,11 +203,11 @@ crfs_27m = CrfCollection(
198
203
  Crf(show_order=100, model="meta_subject.followupvitals"),
199
204
  Crf(show_order=150, model="meta_subject.followupexamination"),
200
205
  Crf(show_order=155, model="meta_subject.glucose", required=False),
201
- Crf(show_order=200, model="meta_subject.glucosefbg"),
202
206
  Crf(show_order=300, model="meta_subject.studymedication"),
203
207
  Crf(show_order=310, model="meta_subject.medicationadherence"),
204
208
  Crf(show_order=460, model="meta_subject.eq5d3l", required=False),
205
209
  Crf(show_order=465, model="meta_subject.sf12", required=False),
210
+ Crf(show_order=470, model="meta_subject.mnsi", required=False),
206
211
  Crf(show_order=500, model="meta_subject.healtheconomicsupdate", required=False),
207
212
  name="27m",
208
213
  )
@@ -212,13 +217,11 @@ crfs_30m = CrfCollection(
212
217
  Crf(show_order=150, model="meta_subject.followupexamination"),
213
218
  Crf(show_order=155, model="meta_subject.glucose", required=False),
214
219
  Crf(show_order=205, model="meta_subject.glucosefbg"),
215
- Crf(show_order=210, model="meta_subject.bloodresultsrft"),
216
- Crf(show_order=220, model="meta_subject.bloodresultslft"),
217
- Crf(show_order=230, model="meta_subject.bloodresultsfbc"),
218
220
  Crf(show_order=300, model="meta_subject.studymedication"),
219
221
  Crf(show_order=310, model="meta_subject.medicationadherence"),
220
222
  Crf(show_order=460, model="meta_subject.eq5d3l", required=False),
221
223
  Crf(show_order=465, model="meta_subject.sf12", required=False),
224
+ Crf(show_order=470, model="meta_subject.mnsi", required=False),
222
225
  Crf(show_order=500, model="meta_subject.healtheconomicsupdate", required=False),
223
226
  name="30m",
224
227
  )
@@ -227,11 +230,11 @@ crfs_33m = CrfCollection(
227
230
  Crf(show_order=100, model="meta_subject.followupvitals"),
228
231
  Crf(show_order=150, model="meta_subject.followupexamination"),
229
232
  Crf(show_order=155, model="meta_subject.glucose", required=False),
230
- Crf(show_order=200, model="meta_subject.glucosefbg"),
231
233
  Crf(show_order=300, model="meta_subject.studymedication"),
232
234
  Crf(show_order=310, model="meta_subject.medicationadherence"),
233
235
  Crf(show_order=460, model="meta_subject.eq5d3l", required=False),
234
236
  Crf(show_order=465, model="meta_subject.sf12", required=False),
237
+ Crf(show_order=470, model="meta_subject.mnsi", required=False),
235
238
  Crf(show_order=500, model="meta_subject.healtheconomicsupdate", required=False),
236
239
  name="33m",
237
240
  )
@@ -244,11 +247,70 @@ crfs_36m = CrfCollection(
244
247
  Crf(show_order=220, model="meta_subject.bloodresultsrft"),
245
248
  Crf(show_order=230, model="meta_subject.bloodresultslft"),
246
249
  Crf(show_order=240, model="meta_subject.bloodresultsfbc"),
247
- Crf(show_order=250, model="meta_subject.bloodresultslipid"),
250
+ Crf(show_order=250, model="meta_subject.bloodresultslipids"),
251
+ Crf(show_order=300, model="meta_subject.studymedication"),
252
+ Crf(show_order=310, model="meta_subject.medicationadherence"),
253
+ Crf(show_order=460, model="meta_subject.eq5d3l"),
254
+ Crf(show_order=465, model="meta_subject.sf12"),
255
+ Crf(show_order=470, model="meta_subject.mnsi"),
256
+ Crf(show_order=500, model="meta_subject.healtheconomicsupdate", required=False),
257
+ name="36m",
258
+ )
259
+
260
+ crfs_39m = CrfCollection(
261
+ Crf(show_order=100, model="meta_subject.followupvitals"),
262
+ Crf(show_order=150, model="meta_subject.followupexamination"),
263
+ Crf(show_order=155, model="meta_subject.glucose", required=False),
248
264
  Crf(show_order=300, model="meta_subject.studymedication"),
249
265
  Crf(show_order=310, model="meta_subject.medicationadherence"),
250
266
  Crf(show_order=460, model="meta_subject.eq5d3l", required=False),
251
267
  Crf(show_order=465, model="meta_subject.sf12", required=False),
268
+ Crf(show_order=470, model="meta_subject.mnsi", required=False),
252
269
  Crf(show_order=500, model="meta_subject.healtheconomicsupdate", required=False),
253
- name="36m",
270
+ name="39m",
271
+ )
272
+
273
+ crfs_42m = CrfCollection(
274
+ Crf(show_order=100, model="meta_subject.followupvitals"),
275
+ Crf(show_order=150, model="meta_subject.followupexamination"),
276
+ Crf(show_order=155, model="meta_subject.glucose", required=False),
277
+ Crf(show_order=200, model="meta_subject.glucosefbg"),
278
+ Crf(show_order=300, model="meta_subject.studymedication"),
279
+ Crf(show_order=310, model="meta_subject.medicationadherence"),
280
+ Crf(show_order=460, model="meta_subject.eq5d3l", required=False),
281
+ Crf(show_order=465, model="meta_subject.sf12", required=False),
282
+ Crf(show_order=470, model="meta_subject.mnsi", required=False),
283
+ Crf(show_order=500, model="meta_subject.healtheconomicsupdate", required=False),
284
+ name="42m",
285
+ )
286
+
287
+ crfs_45m = CrfCollection(
288
+ Crf(show_order=100, model="meta_subject.followupvitals"),
289
+ Crf(show_order=150, model="meta_subject.followupexamination"),
290
+ Crf(show_order=155, model="meta_subject.glucose", required=False),
291
+ Crf(show_order=300, model="meta_subject.studymedication"),
292
+ Crf(show_order=310, model="meta_subject.medicationadherence"),
293
+ Crf(show_order=460, model="meta_subject.eq5d3l", required=False),
294
+ Crf(show_order=465, model="meta_subject.sf12", required=False),
295
+ Crf(show_order=470, model="meta_subject.mnsi", required=False),
296
+ Crf(show_order=500, model="meta_subject.healtheconomicsupdate", required=False),
297
+ name="45m",
298
+ )
299
+
300
+ crfs_48m = CrfCollection(
301
+ Crf(show_order=100, model="meta_subject.followupvitals"),
302
+ Crf(show_order=150, model="meta_subject.followupexamination"),
303
+ Crf(show_order=200, model="meta_subject.glucose"),
304
+ Crf(show_order=210, model="meta_subject.bloodresultshba1c"),
305
+ Crf(show_order=220, model="meta_subject.bloodresultsrft"),
306
+ Crf(show_order=230, model="meta_subject.bloodresultslft"),
307
+ Crf(show_order=240, model="meta_subject.bloodresultsfbc"),
308
+ Crf(show_order=250, model="meta_subject.bloodresultslipids"),
309
+ Crf(show_order=300, model="meta_subject.studymedication"),
310
+ Crf(show_order=310, model="meta_subject.medicationadherence"),
311
+ Crf(show_order=460, model="meta_subject.eq5d3l"),
312
+ Crf(show_order=465, model="meta_subject.sf12"),
313
+ Crf(show_order=470, model="meta_subject.mnsi"),
314
+ Crf(show_order=500, model="meta_subject.healtheconomicsupdate", required=False),
315
+ name="48m",
254
316
  )
@@ -89,3 +89,15 @@ requisitions_36m = RequisitionCollection(
89
89
  Requisition(show_order=60, panel=fbc_panel, required=True, additional=False),
90
90
  name="requisitions_month36",
91
91
  )
92
+
93
+ requisitions_39m = RequisitionCollection(name="requisitions_month39")
94
+ requisitions_42m = RequisitionCollection(name="requisitions_month42")
95
+ requisitions_45m = RequisitionCollection(name="requisitions_month45")
96
+
97
+ requisitions_48m = RequisitionCollection(
98
+ Requisition(show_order=30, panel=rft_panel, required=True, additional=False),
99
+ Requisition(show_order=40, panel=lft_panel, required=True, additional=False),
100
+ Requisition(show_order=50, panel=lipids_panel, required=True, additional=False),
101
+ Requisition(show_order=60, panel=fbc_panel, required=True, additional=False),
102
+ name="requisitions_month48",
103
+ )
@@ -20,6 +20,10 @@ from ...constants import (
20
20
  MONTH30,
21
21
  MONTH33,
22
22
  MONTH36,
23
+ MONTH39,
24
+ MONTH42,
25
+ MONTH45,
26
+ MONTH48,
23
27
  SCHEDULE,
24
28
  WEEK2,
25
29
  )
@@ -37,6 +41,10 @@ from .crfs import (
37
41
  crfs_30m,
38
42
  crfs_33m,
39
43
  crfs_36m,
44
+ crfs_39m,
45
+ crfs_42m,
46
+ crfs_45m,
47
+ crfs_48m,
40
48
  crfs_d1,
41
49
  crfs_missed,
42
50
  )
@@ -57,6 +65,10 @@ from .requisitions import (
57
65
  requisitions_30m,
58
66
  requisitions_33m,
59
67
  requisitions_36m,
68
+ requisitions_39m,
69
+ requisitions_42m,
70
+ requisitions_45m,
71
+ requisitions_48m,
60
72
  requisitions_d1,
61
73
  )
62
74
  from .requisitions import requisitions_prn as default_requisitions_prn
@@ -89,7 +101,7 @@ class Visit(BaseVisit):
89
101
  # schedule for new participants
90
102
  schedule = Schedule(
91
103
  name=SCHEDULE,
92
- verbose_name="Day 1 to Month 12 Follow-up",
104
+ verbose_name="Day 1 to Month 36/48 Follow-up",
93
105
  onschedule_model="meta_prn.onschedule",
94
106
  offschedule_model="meta_prn.offschedule",
95
107
  consent_definitions=[consent_v1],
@@ -274,12 +286,59 @@ visit36 = Visit(
274
286
  timepoint=14,
275
287
  rbase=relativedelta(months=36),
276
288
  rlower=relativedelta(months=1),
277
- rupper=relativedelta(months=1),
289
+ rupper=relativedelta(months=2),
278
290
  requisitions=requisitions_36m,
279
291
  crfs=crfs_36m,
280
292
  facility_name=FIVE_DAY_CLINIC,
281
293
  )
282
294
 
295
+ visit39 = Visit(
296
+ code=MONTH39,
297
+ title="Month 39",
298
+ timepoint=15,
299
+ rbase=relativedelta(months=39),
300
+ rlower=relativedelta(months=1),
301
+ rupper=relativedelta(months=2),
302
+ requisitions=requisitions_39m,
303
+ crfs=crfs_39m,
304
+ facility_name=FIVE_DAY_CLINIC,
305
+ )
306
+
307
+ visit42 = Visit(
308
+ code=MONTH42,
309
+ title="Month 42",
310
+ timepoint=16,
311
+ rbase=relativedelta(months=42),
312
+ rlower=relativedelta(months=1),
313
+ rupper=relativedelta(months=2),
314
+ requisitions=requisitions_42m,
315
+ crfs=crfs_42m,
316
+ facility_name=FIVE_DAY_CLINIC,
317
+ )
318
+
319
+ visit45 = Visit(
320
+ code=MONTH45,
321
+ title="Month 45",
322
+ timepoint=17,
323
+ rbase=relativedelta(months=45),
324
+ rlower=relativedelta(months=1),
325
+ rupper=relativedelta(months=2),
326
+ requisitions=requisitions_45m,
327
+ crfs=crfs_45m,
328
+ facility_name=FIVE_DAY_CLINIC,
329
+ )
330
+
331
+ visit48 = Visit(
332
+ code=MONTH48,
333
+ title="Month 48",
334
+ timepoint=18,
335
+ rbase=relativedelta(months=48),
336
+ rlower=relativedelta(months=1),
337
+ rupper=relativedelta(months=3),
338
+ requisitions=requisitions_48m,
339
+ crfs=crfs_48m,
340
+ facility_name=FIVE_DAY_CLINIC,
341
+ )
283
342
 
284
343
  visits = [
285
344
  visit000,
@@ -297,6 +356,10 @@ visits = [
297
356
  visit30,
298
357
  visit33,
299
358
  visit36,
359
+ visit39,
360
+ visit42,
361
+ visit45,
362
+ visit48,
300
363
  ]
301
364
  for visit in visits:
302
365
  schedule.add_visit(visit=visit)
@@ -11,7 +11,7 @@ from .crfs import crfs_prn
11
11
  from .crfs import crfs_prn as default_crfs_prn
12
12
 
13
13
  crfs_baseline = CrfCollection(
14
- Crf(show_order=100, model="meta_subject.dmdiagnosis"),
14
+ Crf(show_order=100, model="meta_subject.dmendpoint"),
15
15
  name="dmbaseline",
16
16
  )
17
17
  crfs_6m = CrfCollection(
@@ -238,4 +238,4 @@ sid,assignment,site_name
238
238
  1237,placebo,amana
239
239
  1238,active,amana
240
240
  1239,active,amana
241
- 1240,placebo,amana
241
+ 1240,placebo,amana
@@ -7,7 +7,7 @@ sid,assignment,site_name,gender
7
7
  1006,active,hindu_mandal,M
8
8
  1007,placebo,hindu_mandal,M
9
9
  1008,active,hindu_mandal,F
10
- 1009,placebo,hindu_mandal ,F
10
+ 1009,placebo,hindu_mandal,F
11
11
  1010,active,hindu_mandal,M
12
12
  1011,placebo, hindu_mandal,F
13
13
  1012,active,hindu_mandal,M
@@ -87,9 +87,9 @@ sid,assignment,site_name,gender
87
87
  1086,active,hindu_mandal,M
88
88
  1087,placebo,hindu_mandal,M
89
89
  1088,active,hindu_mandal,F
90
- 1089,placebo,hindu_mandal ,F
90
+ 1089,placebo,hindu_mandal,F
91
91
  1090,active,hindu_mandal,F
92
- 1091,placebo, hindu_mandal,M
92
+ 1091,placebo,hindu_mandal,M
93
93
  1092,active,hindu_mandal,M
94
94
  1093,active,hindu_mandal,M
95
95
  1094,placebo,hindu_mandal,M
@@ -238,4 +238,4 @@ sid,assignment,site_name,gender
238
238
  1237,placebo,amana,F
239
239
  1238,active,amana,M
240
240
  1239,active,amana,F
241
- 1240,placebo,amana,M
241
+ 1240,placebo,amana,M
tests/holidays.csv CHANGED
@@ -12,4 +12,4 @@
12
12
  2019-12-01,Mawlid Day,tanzania
13
13
  2019-12-09,Independence Day,tanzania
14
14
  2019-12-25,Christmas Day,tanzania
15
- 2019-12-26,Boxing Day,tanzania
15
+ 2019-12-26,Boxing Day,tanzania
@@ -14,19 +14,22 @@ from meta_edc.meta_version import PHASE_THREE
14
14
 
15
15
  LANG_INFO = dict(locale.LANG_INFO, **EXTRA_LANG_INFO)
16
16
  locale.LANG_INFO = LANG_INFO
17
- LANGUAGE_LIST = ["sw", "en-gb", "en", "mas"]
17
+
18
+
19
+ def get_languages():
20
+ return [(code, LANG_INFO[code]["name"]) for code in ["sw", "en-gb", "en", "mas"]]
21
+
18
22
 
19
23
  app_name = "meta_edc"
20
24
  base_dir = Path(__file__).parent.parent
21
-
22
25
  project_settings = DefaultTestSettings(
23
26
  calling_file=__file__,
24
27
  META_PHASE=PHASE_THREE,
25
28
  BASE_DIR=base_dir,
26
29
  APP_NAME=app_name,
27
- ETC_DIR=base_dir / "etc",
30
+ ETC_DIR=base_dir / "tests" / "etc",
28
31
  DJANGO_CRYPTO_FIELDS_KEY_PATH=base_dir / "tests" / "etc",
29
- GIT_DIR=base_dir.parent,
32
+ GIT_DIR=base_dir,
30
33
  HOLIDAY_FILE=base_dir / "tests" / "holidays.csv",
31
34
  EDC_RANDOMIZATION_LIST_PATH=base_dir / "tests" / "etc",
32
35
  SITE_ID=SiteID(default=10),
@@ -61,7 +64,7 @@ project_settings = DefaultTestSettings(
61
64
  2025, 12, 31, 23, 59, 59, tzinfo=ZoneInfo("UTC")
62
65
  ),
63
66
  LANGUAGE_CODE="en",
64
- LANGUAGES=[(code, LANG_INFO[code]["name"]) for code in LANGUAGE_LIST],
67
+ LANGUAGES=get_languages(),
65
68
  DASHBOARD_BASE_TEMPLATES=dict(
66
69
  edc_base_template="edc_dashboard/base.html",
67
70
  listboard_base_template="meta_edc/base.html",
@@ -93,13 +96,16 @@ project_settings = DefaultTestSettings(
93
96
  "django.contrib.messages",
94
97
  "django.contrib.staticfiles",
95
98
  "django.contrib.sites",
99
+ "django_pylabels.apps.AppConfig",
96
100
  "django_crypto_fields.apps.AppConfig",
97
101
  "django_revision.apps.AppConfig",
98
102
  # "debug_toolbar",
99
103
  "django_extensions",
104
+ "django_db_views",
100
105
  "logentry_admin",
101
106
  "simple_history",
102
107
  "storages",
108
+ "edc_pylabels.apps.AppConfig",
103
109
  "edc_sites.apps.AppConfig",
104
110
  "edc_action_item.apps.AppConfig",
105
111
  "edc_adherence.apps.AppConfig",
@@ -134,7 +140,6 @@ project_settings = DefaultTestSettings(
134
140
  "edc_visit_tracking.apps.AppConfig",
135
141
  "edc_visit_schedule.apps.AppConfig",
136
142
  "edc_pdutils.apps.AppConfig",
137
- "edc_pharmacy.apps.AppConfig",
138
143
  "edc_protocol.apps.AppConfig",
139
144
  "edc_protocol_incident.apps.AppConfig",
140
145
  "edc_prn.apps.AppConfig",
@@ -148,9 +153,11 @@ project_settings = DefaultTestSettings(
148
153
  "edc_refusal.apps.AppConfig",
149
154
  "edc_mnsi.apps.AppConfig",
150
155
  "edc_unblinding.apps.AppConfig",
156
+ "edc_qareports.apps.AppConfig",
151
157
  "edc_qol.apps.AppConfig",
152
158
  "edc_dx_review.apps.AppConfig",
153
159
  "edc_dx.apps.AppConfig",
160
+ "edc_pharmacy.apps.AppConfig",
154
161
  "meta_auth.apps.AppConfig",
155
162
  "meta_consent.apps.AppConfig",
156
163
  "meta_lists.apps.AppConfig",
@@ -164,9 +171,12 @@ project_settings = DefaultTestSettings(
164
171
  "meta_export.apps.AppConfig",
165
172
  "meta_sites.apps.AppConfig",
166
173
  "meta_screening.apps.AppConfig",
174
+ "meta_reports.apps.AppConfig",
175
+ "meta_pharmacy.apps.AppConfig",
167
176
  "meta_edc.apps.AppConfig",
168
177
  "edc_appconfig.apps.AppConfig",
169
178
  ],
179
+ EDC_SITES_CREATE_DEFAULT=False,
170
180
  add_dashboard_middleware=True,
171
181
  add_lab_dashboard_middleware=True,
172
182
  add_adverse_event_dashboard_middleware=True,
@@ -1 +0,0 @@
1
- v�m���/%����@���d�����ޝ����P���낮@Y4=]��\ � ���$>�a:&
Binary file
@@ -1,27 +0,0 @@
1
- -----BEGIN RSA PRIVATE KEY-----
2
- MIIEowIBAAKCAQEAu0DmVMu6fi/trZYm0RVWon3lhjibmfjjPwqVuYhKfkgCAv5K
3
- 8Bm7i7iDoTlnqMkV1fYmsp36JYOe5KEv9dhGxOmMT73C1AJVkuwYojv4or1/ca0P
4
- PyJVAb2AZ0VHtKoStLS0jFFYE9+G7xRix2ZhqvEnpCsc5u73ahuRMWa5hfY5jQvC
5
- ZvNRC+8Pc35lRuAyGidzEunFdF620C1ZjGIMeWLMNoN1Y1pXDxRwvVyax2Pm52nb
6
- WF4Usxs71/R8WvsfxqZl0WlSuoNV0xc/LLODIL9SkV4lfKea2kgs0vKXNn75X2jd
7
- kjAlRneEEGhjbmeURXStMBzsR+kEK6lXa3jpnwIDAQABAoIBABuXeGPAnKDGaC50
8
- BGaPpIiPUNhNFA8v6jBFBi3kpBwPzo1pXK/HYugMzrHdgbrlsnF+HVKkI5K5M8W6
9
- 7em7A3vgHAbjTnIrS+Jj0Uy/1dGzvDPgYnGU71Nb0dqluJH+84BWwOSM1z51E+67
10
- oW3XVgc4afUZ+IlwvIU76FI6sZXy+AtZem7i1Z1GdKzoJ6RrIAHVD9lLQSoEj26H
11
- 0eU+x/uB5Mq7+ZTS6/4SRx017dO6vJ8/lydXa+C2hwKRtOVxcLqq0YMA97yR5ybV
12
- PdMQ/6oV2fMDIwUnPXN8P4hVZiWGcubaQWX0ODqTHP+SHi/RBC9mZArXTZ97WSE9
13
- 4x8lCMUCgYEAw5/yfb1LeKWtkDtkrNuaf+qQ68NlmTFPeje8BTdXidw7kEL2aXoX
14
- ikkaJ+U9IJsrId3pHn27o5RieE6jJbyaNrQ56t0zTsOsGpID+td6uRU3GiK9mXAA
15
- eUfqRyxW3f8RR1Jmcc1gcRTvBHjXjrnKBjEohu08QqYpl845BD5J3w0CgYEA9QuM
16
- h4hdl3BZiuZ7RTybqQPAmV85mQUMHUNTmKelJOzfDJIYGW6a0kvgJBtB+EVYzB/b
17
- sxiJhFTiNLMOU70HM413pj6f1N5i4PpYgZNRFEvrXastb8KhfHjXasxUO1HFsAlz
18
- 9t07hd5oRPzH/aSIK6Ia1GN+OWCvT676UgtpIFsCgYEAmy9GOVMyDKo5jmJfUfT/
19
- khvtDOo7rZP9fXG7ONQXIGjR43YLbc8J34xwMFfc7wHI7JvSc3rAoFp05wVSzPvZ
20
- xi2giF0jd4cn/wf4GkRXuX1H8fa/O3orFgrjocRdwMu31EFcvUh0CiDWH1ERhsqB
21
- pfnXMXn+xMx10FQqzN/wz/0CgYANyDaBMPRCnjkLDOeF/2Cp4uIkPizZJGWIB89d
22
- 2J/7Ma9h352nYIcoqMfUgAv30L6rzGbo7cpePP/0AtYdc5ZCGgTOvtryeAeLq8jq
23
- kMSQpax5OjV2AbZfb9R91zwtke3SdtWk3tCIOPgYWTdOVsCp45Yqt+XTiFKT4r2F
24
- e8rP3QKBgCWJQl/CMzE7KE5wx+U0nnJeNNOwR3gkm0PGD2Y7kfN/UsON+xakD8rt
25
- t3mj7jfsedJLXytnU7L5wUAL71QaZU09P6x1532nUwHvkIc1CUIFHwUpV7MvUzdQ
26
- lMHwUslMerVDbFZRXC0bn+gk4NjLYyrf4H+sAv+Sb41luIrb6sVN
27
- -----END RSA PRIVATE KEY-----
@@ -1,9 +0,0 @@
1
- -----BEGIN PUBLIC KEY-----
2
- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAu0DmVMu6fi/trZYm0RVW
3
- on3lhjibmfjjPwqVuYhKfkgCAv5K8Bm7i7iDoTlnqMkV1fYmsp36JYOe5KEv9dhG
4
- xOmMT73C1AJVkuwYojv4or1/ca0PPyJVAb2AZ0VHtKoStLS0jFFYE9+G7xRix2Zh
5
- qvEnpCsc5u73ahuRMWa5hfY5jQvCZvNRC+8Pc35lRuAyGidzEunFdF620C1ZjGIM
6
- eWLMNoN1Y1pXDxRwvVyax2Pm52nbWF4Usxs71/R8WvsfxqZl0WlSuoNV0xc/LLOD
7
- IL9SkV4lfKea2kgs0vKXNn75X2jdkjAlRneEEGhjbmeURXStMBzsR+kEK6lXa3jp
8
- nwIDAQAB
9
- -----END PUBLIC KEY-----
@@ -1,27 +0,0 @@
1
- -----BEGIN RSA PRIVATE KEY-----
2
- MIIEogIBAAKCAQEAiZ/qXkTs3KyUNQq+fI/luSQmUiOXudjzNafOpheHhAErIdhv
3
- yeKx1MSNnlXkW10CC0Lfqjz79BLmK/LoZKgawSxIPpbb3faXlmepGCENrdy9THIF
4
- pefolzaiouCmfwTsBp/OprV3E3xmfVHAxRjzxMA4SFp4VI07KNbpS7pCoI15uFgm
5
- xAekB93pmUAW+3d4I4OoOMslHWL+PRYSsjr3pjzNRdWqyoIgf4gpqLYyXnIV/6OV
6
- Bhbe3IQMpJlnJuJmBlhdqZ9nfYNiZrg0QufL6p3dgzIZA68gz/n7qimuPFiGAVy5
7
- WbdjKPFiyD/5nknl99+MxQ+XaJ1S88gr+2w8jQIDAQABAoIBAAl1+BVXbSYFaiHU
8
- VYB4Hu1xjf3XCwrgXmXJnaPe2bbKIsYunA63mgx7n5WrJ2nddLLD+9621wYyF2cd
9
- iXrD8KTnb6b31XEGjuiswxvQx+E0G8JJ01gSn3Nnstn6EhAIzVXuPfVJY8Bv7JbA
10
- XD1gZ/+WTDgzGfMMC21VCtAlI4foYAt6tHaQXY2RAQ2fjocw1JH1S8bVrquKI8W+
11
- l4Vxw7n4NoNeC4AXO9taAcQ2B5wsf+rd8PmYWprW8PtzGH+wUFiiPvjGVKiG+uXL
12
- eN6tTNHi28QfDA3t4r7FbZSJMogmEOrB531neB0b9PTlaX874wCQT3D+O7bZ67b+
13
- VNVu94ECgYEAtVkgcMbGX+4v6yRneuCDVspvmhlF0XryCrHwnRLyi2dokGl8ukSG
14
- ap4JR+dPdJpgAYOlCDWcJScGJ8ixyh3bdVNQHaVQZw/2pOa9mw05S5B2AobUv3vx
15
- 2aY4C23IHlO45c86+MdcPAbdeqxMjokQHcZzQhnqUTXvz7eNpZfHVg0CgYEAwkcc
16
- U19iEw1U6vHgxPme+yHwirpHi8qDD11iKMgi5WC9yzYCmumUd3+9dxntpfW6Mt0V
17
- ccAjbz8Dl+1qdu8KmnIUKaCnKm2KujBHRW414aLV+sd5MnAIlh+XN12Xo6KG/Uuk
18
- Ib/NYSUAB3vNx4Zk/xKCCky5lWdjJG5/8Y5JYIECgYBY5W3PmsEXuWzn+Zp4U6JO
19
- Y0G96nGdNIV91Kg8d1NKHtDVKcColnrFvN6TzsHWSO6TD3NQyObYF38e9XShvW0c
20
- 4FA/mBAH1X10bF+5qAvUDOasamfTzfBKXv7OK2yT4Tqb/K/Nz/xYuIzNW7TTkkDC
21
- N8u8NXP1h1kdG79l0zc16QKBgC9rI+LFmS6FRoDB4NazBrbNJeT2apgYKb0KUfca
22
- QkoyPqDm4ePltzMjnp7/WR30yCm6BI3rE7sHal0euaml1rSzu3Adoi+c5Qtk1UCB
23
- Ee2szQWUwmQpLC9YLpR455YtCT2xxLHoGrznRwaMlUFp8CTB47OX3oQ04+H0ho3y
24
- 6L4BAoGAaLa03Lk8BJtSGySovvAovVG8VTiRj/xoeRuBFqIZWyZ113azcNfnnF7h
25
- t0cyY9vAXDPy80Bs0en3Gip8pwYS04sXUN+7qH9rEFMR42jVY4pfKwQyaSndv923
26
- /UZuxWYtoi+dubqKhlKqj2+p5kwkU0nMN30xs0V5w1g2x0O2zMo=
27
- -----END RSA PRIVATE KEY-----
@@ -1,9 +0,0 @@
1
- -----BEGIN PUBLIC KEY-----
2
- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAiZ/qXkTs3KyUNQq+fI/l
3
- uSQmUiOXudjzNafOpheHhAErIdhvyeKx1MSNnlXkW10CC0Lfqjz79BLmK/LoZKga
4
- wSxIPpbb3faXlmepGCENrdy9THIFpefolzaiouCmfwTsBp/OprV3E3xmfVHAxRjz
5
- xMA4SFp4VI07KNbpS7pCoI15uFgmxAekB93pmUAW+3d4I4OoOMslHWL+PRYSsjr3
6
- pjzNRdWqyoIgf4gpqLYyXnIV/6OVBhbe3IQMpJlnJuJmBlhdqZ9nfYNiZrg0QufL
7
- 6p3dgzIZA68gz/n7qimuPFiGAVy5WbdjKPFiyD/5nknl99+MxQ+XaJ1S88gr+2w8
8
- jQIDAQAB
9
- -----END PUBLIC KEY-----
Binary file
Binary file
@@ -1,88 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: meta-edc
3
- Version: 0.3.15
4
- Summary: META Trial EDC (http://www.isrctn.com/ISRCTN76157257)
5
- Home-page: https://github.com/meta-trial/meta-edc
6
- Author: Erik van Widenfelt
7
- Author-email: ew2789@gmail.com
8
- License: GPL license, see LICENSE
9
- Keywords: django edc META EDC,clinicedc,clinical trials
10
- Classifier: Environment :: Web Environment
11
- Classifier: Framework :: Django
12
- Classifier: Framework :: Django :: 4.2
13
- Classifier: Intended Audience :: Developers
14
- Classifier: Intended Audience :: Science/Research
15
- Classifier: Operating System :: OS Independent
16
- Classifier: Programming Language :: Python :: 3.12
17
- Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
18
- Requires-Python: >=3.12
19
- Description-Content-Type: text/x-rst
20
- License-File: LICENSE
21
- License-File: AUTHORS
22
- Requires-Dist: edc ==0.5.90
23
- Requires-Dist: edc-microscopy
24
- Requires-Dist: beautifulsoup4
25
- Requires-Dist: Django ==4.2.11
26
-
27
- |pypi| |actions| |codecov| |downloads|
28
-
29
-
30
- META Edc
31
- --------
32
-
33
- Metformin treatment in Africa- META
34
-
35
- https://www.lstmed.ac.uk/research/departments/international-public-health/respond-africa/meta
36
-
37
- py 3.11 / DJ 4.2.7 / edc 0.5.37 (META3)
38
-
39
- This codebase is used for two randomized clinical trials:
40
-
41
- ____
42
-
43
- META PHASE II:
44
-
45
- (final version `0.1.77 <https://github.com/meta-trial/meta-edc/tree/0.1.77>`_)
46
-
47
- Metformin Treatment for Diabetes Prevention in Africa: META Trial
48
- TASO, MRC/UVRI/LSHTM, NIMR – TZ and Liverpool School of Tropical Medicine (ISRCTN76157257)
49
- http://www.isrctn.com/ISRCTN76157257
50
-
51
- ____
52
-
53
- META PHASE III:
54
-
55
- A randomised placebo-controlled double-blind phase III trial to determine the effects of metformin versus placebo on the incidence of diabetes in HIV-infected persons with pre-diabetes in Tanzania.
56
-
57
- Liverpool School of Tropical Medicine
58
-
59
- EDCTP grant number: RIA2018CO-2513
60
-
61
- Trial registration: ISCRTN 77382043
62
-
63
- https://ico.org.uk/ESDWebPages/Entry/Z4763134
64
-
65
- ____
66
-
67
- See also https://github.com/clinicedc/edc
68
-
69
- |django|
70
-
71
- To setup a demo system, see https://github.com/meta-trial/meta3-sample
72
-
73
-
74
- .. |pypi| image:: https://img.shields.io/pypi/v/meta-edc.svg
75
- :target: https://pypi.python.org/pypi/meta-edc
76
-
77
- .. |actions| image:: https://github.com/meta-trial/meta-edc/actions/workflows/build.yml/badge.svg
78
- :target: https://github.com/meta-trial/meta-edc/actions/workflows/build.yml
79
-
80
- .. |codecov| image:: https://codecov.io/gh/meta-trial/meta-edc/branch/develop/graph/badge.svg
81
- :target: https://codecov.io/gh/meta-trial/meta-edc
82
-
83
- .. |downloads| image:: https://pepy.tech/badge/meta-edc
84
- :target: https://pepy.tech/project/meta-edc
85
-
86
- .. |django| image:: https://www.djangoproject.com/m/img/badges/djangomade124x25.gif
87
- :target: http://www.djangoproject.com/
88
- :alt: Made with Django
@@ -1,15 +0,0 @@
1
- 2019-01-01,New Year's Day,tanzania
2
- 2019-01-12,Zanzibar Revolution Day,tanzania
3
- 2019-04-07,The Sheikh Abeid Amani Karume Day,tanzania
4
- 2019-04-17,Easter Monday,tanzania
5
- 2019-04-26,Union Day,tanzania
6
- 2019-05-01,Labour Day,tanzania
7
- 2019-06-26,Eid al-Fitr,tanzania
8
- 2019-07-07,Saba Saba Day,tanzania
9
- 2019-07-14,Good Friday,tanzania
10
- 2019-08-08,Nane Nane Day,tanzania
11
- 2019-10-14,Nyerere Day,tanzania
12
- 2019-12-01,Mawlid Day,tanzania
13
- 2019-12-09,Independence Day,tanzania
14
- 2019-12-25,Christmas Day,tanzania
15
- 2019-12-26,Boxing Day,tanzania