meta-edc 1.1.8__py3-none-any.whl → 1.1.12__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of meta-edc might be problematic. Click here for more details.

Files changed (475) hide show
  1. meta_ae/action_items.py +2 -1
  2. meta_ae/admin/__init__.py +11 -0
  3. meta_ae/admin/ae_susar_admin.py +1 -1
  4. meta_ae/admin/death_report_admin.py +1 -1
  5. meta_ae/admin/modeladmin_mixins.py +10 -12
  6. meta_ae/baker_recipes.py +3 -3
  7. meta_ae/forms/__init__.py +13 -0
  8. meta_ae/forms/modelform_mixins.py +2 -2
  9. meta_ae/migrations/0001_initial.py +27 -27
  10. meta_ae/migrations/0006_aelocalreview_aesponsorreview.py +5 -5
  11. meta_ae/migrations/0022_historicalhospitalization_hospitalization.py +5 -13
  12. meta_ae/migrations/0023_alter_aefollowup_action_identifier_and_more.py +2017 -0
  13. meta_ae/model_mixins/__init__.py +2 -0
  14. meta_ae/model_mixins/ae_review_model_mixin.py +6 -6
  15. meta_ae/model_mixins/death_report_model_mixin.py +3 -3
  16. meta_ae/models/__init__.py +13 -0
  17. meta_ae/models/hospitalization.py +3 -3
  18. meta_ae/pdf_reports/__init__.py +2 -0
  19. meta_analytics/.DS_Store +0 -0
  20. meta_analytics/dataframes/__init__.py +24 -0
  21. meta_analytics/dataframes/get_eos_df.py +1 -2
  22. meta_analytics/dataframes/get_glucose_df.py +6 -7
  23. meta_analytics/dataframes/get_glucose_fbg_df.py +2 -3
  24. meta_analytics/dataframes/get_glucose_fbg_ogtt_df.py +1 -2
  25. meta_analytics/dataframes/get_last_imp_visits_df.py +5 -6
  26. meta_analytics/dataframes/glucose_endpoints/__init__.py +2 -0
  27. meta_analytics/dataframes/glucose_endpoints/endpoint_by_date.py +13 -20
  28. meta_analytics/dataframes/glucose_endpoints/glucose_endpoints_by_date.py +9 -10
  29. meta_analytics/dataframes/screening/__init__.py +2 -0
  30. meta_analytics/dataframes/screening/get_glucose_tested_only_df.py +1 -2
  31. meta_analytics/dataframes/screening/get_screening_df.py +6 -10
  32. meta_analytics/dataframes/utils.py +3 -8
  33. meta_analytics/get_tables.py +1 -2
  34. meta_analytics/tables/__init__.py +2 -0
  35. meta_consent/action_items.py +2 -1
  36. meta_consent/admin/__init__.py +6 -0
  37. meta_consent/admin/actions/__init__.py +2 -0
  38. meta_consent/admin/actions/create_missing_prescriptions.py +1 -1
  39. meta_consent/admin/list_filters.py +2 -2
  40. meta_consent/admin/modeladmin_mixins.py +3 -4
  41. meta_consent/admin/subject_consent_v1_ext_admin.py +2 -2
  42. meta_consent/baker_recipes.py +7 -8
  43. meta_consent/form_validators/__init__.py +2 -0
  44. meta_consent/forms/__init__.py +7 -0
  45. meta_consent/forms/subject_consent_v1_ext_form.py +2 -3
  46. meta_consent/forms/subject_reconsent_form.py +4 -4
  47. meta_consent/management/commands/create_missing_prescriptions.py +4 -2
  48. meta_consent/migrations/0001_initial.py +9 -9
  49. meta_consent/migrations/0024_historicalsubjectconsentv1.py +3 -8
  50. meta_consent/migrations/0026_historicalsubjectconsentv1ext_subjectconsentv1ext.py +5 -14
  51. meta_consent/migrations/0032_alter_historicalsubjectconsent_device_created_and_more.py +678 -0
  52. meta_consent/models/__init__.py +9 -0
  53. meta_consent/models/model_mixins.py +1 -2
  54. meta_consent/models/signals.py +9 -10
  55. meta_consent/models/subject_consent.py +1 -1
  56. meta_consent/models/subject_reconsent.py +3 -3
  57. meta_dashboard/patterns.py +1 -1
  58. meta_dashboard/templatetags/meta_dashboard_extras.py +1 -1
  59. meta_dashboard/view_utils/__init__.py +7 -0
  60. meta_dashboard/view_utils/subject_screening_button.py +9 -16
  61. meta_dashboard/views/__init__.py +8 -0
  62. meta_dashboard/views/ae/__init__.py +2 -0
  63. meta_dashboard/views/ae/ae_listboard_view.py +1 -1
  64. meta_dashboard/views/ae/death_report_listboard_view.py +1 -1
  65. meta_dashboard/views/screening/__init__.py +2 -0
  66. meta_dashboard/views/subject/__init__.py +2 -0
  67. meta_dashboard/views/subject/dashboard/__init__.py +2 -0
  68. meta_dashboard/views/subject/dashboard/dashboard_view.py +1 -1
  69. meta_dashboard/views/subject/listboard/__init__.py +2 -0
  70. meta_edc/__init__.py +5 -9
  71. meta_edc/celery.py +1 -1
  72. meta_edc/celery_live.py +1 -1
  73. meta_edc/celery_uat.py +1 -1
  74. meta_edc/management/commands/update_forms_reference.py +10 -12
  75. meta_edc/settings/debug.py +5 -4
  76. meta_edc/settings/defaults.py +18 -3
  77. meta_edc/settings/live.py +3 -1
  78. meta_edc/settings/logging.py +9 -4
  79. meta_edc/settings/minimal.py +4 -5
  80. meta_edc/settings/uat.py +3 -1
  81. meta_edc/views/__init__.py +2 -0
  82. meta_edc-1.1.12.dist-info/METADATA +174 -0
  83. {meta_edc-1.1.8.dist-info → meta_edc-1.1.12.dist-info}/RECORD +413 -526
  84. meta_edc-1.1.12.dist-info/WHEEL +4 -0
  85. meta_lists/migrations/0020_alter_abnormalfootappearanceobservations_extra_value_and_more.py +404 -0
  86. meta_pharmacy/admin/__init__.py +5 -0
  87. meta_pharmacy/admin/substitutions_admin.py +2 -2
  88. meta_pharmacy/forms/__init__.py +2 -0
  89. meta_pharmacy/forms/substitutions_form.py +6 -4
  90. meta_pharmacy/labels/__init__.py +4 -2
  91. meta_pharmacy/labels/draw_label_for_subject_with_barcode.py +1 -2
  92. meta_pharmacy/labels/draw_label_with_test_data.py +2 -2
  93. meta_pharmacy/labels/label_data.py +1 -2
  94. meta_pharmacy/labels/print_sheets.py +4 -6
  95. meta_pharmacy/migrations/0002_initial.py +7 -20
  96. meta_pharmacy/migrations/0003_auto_20240909_2335.py +3 -2
  97. meta_pharmacy/migrations/0006_lotnumber_label.py +5 -14
  98. meta_pharmacy/migrations/0008_remove_lotnumber_medication_and_more.py +5 -6
  99. meta_pharmacy/migrations/0010_alter_historicallabeldata_device_created_and_more.py +382 -0
  100. meta_pharmacy/models/__init__.py +7 -0
  101. meta_pharmacy/models/label_data.py +4 -5
  102. meta_pharmacy/models/substitutions.py +3 -3
  103. meta_pharmacy/prepare_meta_pharmacy.py +1 -1
  104. meta_pharmacy/utils/__init__.py +2 -0
  105. meta_pharmacy/utils/update_initial_pharmacy_data.py +1 -1
  106. meta_prn/admin/__init__.py +16 -0
  107. meta_prn/admin/dm_referral_admin.py +2 -1
  108. meta_prn/admin/end_of_study_admin.py +6 -7
  109. meta_prn/admin/loss_to_followup_admin.py +3 -2
  110. meta_prn/admin/off_study_medication_admin.py +5 -6
  111. meta_prn/admin/offschedule_admin.py +5 -6
  112. meta_prn/admin/offschedule_dm_referral_admin.py +6 -6
  113. meta_prn/admin/offschedule_postnatal_admin.py +7 -7
  114. meta_prn/admin/offschedule_pregnancy_admin.py +8 -7
  115. meta_prn/admin/onschedule_admin.py +7 -8
  116. meta_prn/admin/onschedule_dm_referral_admin.py +6 -7
  117. meta_prn/admin/pregnancy_notification_admin.py +5 -6
  118. meta_prn/admin/protocol_incident_admin.py +1 -1
  119. meta_prn/admin/subject_transfer_admin.py +1 -1
  120. meta_prn/baker_recipes.py +4 -4
  121. meta_prn/form_validators/__init__.py +5 -0
  122. meta_prn/form_validators/end_of_study.py +2 -2
  123. meta_prn/forms/__init__.py +13 -0
  124. meta_prn/migrations/0001_initial.py +25 -25
  125. meta_prn/migrations/0017_auto_20220307_1929.py +5 -5
  126. meta_prn/migrations/0018_auto_20220309_2106.py +9 -9
  127. meta_prn/migrations/0021_auto_20220316_2147.py +13 -13
  128. meta_prn/migrations/0022_auto_20220318_0133.py +9 -9
  129. meta_prn/migrations/0032_historicalegfrnotification_egfrnotification.py +5 -13
  130. meta_prn/migrations/0038_alter_endofstudy_delivery_date_and_more.py +5 -13
  131. meta_prn/migrations/0041_endofstudy_transfer_date_and_more.py +5 -13
  132. meta_prn/migrations/0057_historicalonscheduledmreferral_and_more.py +13 -38
  133. meta_prn/migrations/0067_alter_offschedule_managers_and_more.py +2557 -0
  134. meta_prn/models/__init__.py +20 -0
  135. meta_prn/models/offschedule.py +4 -4
  136. meta_prn/models/protocol_incident.py +1 -1
  137. meta_prn/models/subject_transfer.py +8 -0
  138. meta_rando/migrations/0001_initial.py +5 -5
  139. meta_rando/migrations/0006_alter_historicalrandomizationlist_allocated_user_and_more.py +130 -0
  140. meta_reports/__init__.py +2 -0
  141. meta_reports/admin/__init__.py +16 -0
  142. meta_reports/admin/dbviews/__init__.py +13 -0
  143. meta_reports/admin/dbviews/glucose_summary_admin.py +6 -6
  144. meta_reports/admin/dbviews/imp_substitutions_admin.py +12 -11
  145. meta_reports/admin/dbviews/missing_screening_ogtt_admin/__init__.py +5 -0
  146. meta_reports/admin/dbviews/missing_screening_ogtt_admin/note_model_admin.py +27 -3
  147. meta_reports/admin/dbviews/missing_screening_ogtt_admin/unmanaged_model_admin.py +6 -6
  148. meta_reports/admin/dbviews/on_study_missing_lab_values_admin/__init__.py +2 -0
  149. meta_reports/admin/dbviews/on_study_missing_lab_values_admin/unmanaged_model_admin.py +0 -3
  150. meta_reports/admin/dbviews/on_study_missing_values_admin/__init__.py +2 -0
  151. meta_reports/admin/dbviews/patient_history_missing_baseline_cd4_admin.py +8 -8
  152. meta_reports/admin/dbviews/unattended_three_in_row2_admin.py +6 -6
  153. meta_reports/admin/dbviews/unattended_three_in_row_admin.py +5 -5
  154. meta_reports/admin/dbviews/unattended_two_in_row_admin.py +5 -5
  155. meta_reports/admin/endpoints_admin.py +1 -1
  156. meta_reports/admin/last_imp_refill_admin.py +9 -9
  157. meta_reports/admin/list_filters.py +2 -2
  158. meta_reports/admin/modeladmin_mixins.py +9 -16
  159. meta_reports/death_report.py +1 -1
  160. meta_reports/forms/__init__.py +2 -0
  161. meta_reports/forms/missing_ogtt_note_form.py +2 -3
  162. meta_reports/management/commands/generate_endpoints.py +5 -4
  163. meta_reports/migrations/0035_historicalmissingogttnote_missingogttnote.py +5 -14
  164. meta_reports/migrations/0059_alter_endpoints_created_and_more.py +161 -0
  165. meta_reports/models/__init__.py +17 -0
  166. meta_reports/models/dbviews/__init__.py +14 -0
  167. meta_reports/models/dbviews/glucose_summary/__init__.py +2 -0
  168. meta_reports/models/dbviews/glucose_summary/unmanaged_model.py +4 -5
  169. meta_reports/models/dbviews/imp_substitutions/__init__.py +2 -0
  170. meta_reports/models/dbviews/imp_substitutions/view_definition.py +1 -1
  171. meta_reports/models/dbviews/missing_screening_ogtt/__init__.py +2 -0
  172. meta_reports/models/dbviews/missing_screening_ogtt/note_model.py +1 -1
  173. meta_reports/models/dbviews/missing_screening_ogtt/unmanaged_model.py +4 -3
  174. meta_reports/models/dbviews/on_study_missing_lab_values/__init__.py +2 -0
  175. meta_reports/models/dbviews/on_study_missing_lab_values/qa_cases.py +13 -11
  176. meta_reports/models/dbviews/on_study_missing_values/__init__.py +2 -0
  177. meta_reports/models/dbviews/on_study_missing_values/qa_cases.py +18 -0
  178. meta_reports/models/dbviews/patient_history_missing_baseline_cd4/__init__.py +2 -0
  179. meta_reports/models/dbviews/unattended_three_in_row/__init__.py +2 -0
  180. meta_reports/models/dbviews/unattended_three_in_row2/__init__.py +2 -0
  181. meta_reports/models/dbviews/unattended_two_in_row/__init__.py +2 -0
  182. meta_reports/models/endpoints.py +4 -4
  183. meta_reports/models/last_imp_refill.py +2 -3
  184. meta_reports/pdf_report.py +2 -2
  185. meta_reports/tasks.py +1 -1
  186. meta_screening/admin/__init__.py +8 -0
  187. meta_screening/admin/fieldsets.py +13 -14
  188. meta_screening/admin/list_filters.py +6 -4
  189. meta_screening/admin/screening_part_one_admin.py +1 -2
  190. meta_screening/admin/screening_part_three_admin.py +2 -3
  191. meta_screening/admin/screening_part_two_admin.py +7 -10
  192. meta_screening/admin/subject_refusal_admin.py +5 -3
  193. meta_screening/admin/subject_screening_admin.py +4 -4
  194. meta_screening/baker_recipes.py +9 -9
  195. meta_screening/eligibility/__init__.py +9 -0
  196. meta_screening/eligibility/eligibility.py +7 -7
  197. meta_screening/eligibility/eligibility_part_three/__init__.py +2 -0
  198. meta_screening/eligibility/eligibility_part_three/base_eligibility_part_three.py +8 -8
  199. meta_screening/eligibility/eligibility_part_three/eligibility_part_three_phase_three.py +13 -14
  200. meta_screening/form_validators/__init__.py +8 -0
  201. meta_screening/forms/__init__.py +20 -0
  202. meta_screening/forms/field_lists.py +16 -17
  203. meta_screening/forms/screening_part_one_form.py +2 -2
  204. meta_screening/forms/screening_part_three_form.py +5 -3
  205. meta_screening/forms/screening_part_two_form.py +1 -5
  206. meta_screening/forms/subject_refusal_form.py +0 -4
  207. meta_screening/forms/subject_screening_form.py +0 -4
  208. meta_screening/migrations/0001_initial.py +15 -15
  209. meta_screening/migrations/0010_auto_20191106_0828.py +5 -5
  210. meta_screening/migrations/0068_alter_historicalscreeningpartone_acute_condition_and_more.py +1579 -0
  211. meta_screening/model_mixins/__init__.py +8 -0
  212. meta_screening/model_mixins/eligibility_model_mixin.py +5 -3
  213. meta_screening/model_mixins/part_one_fields_model_mixin.py +5 -9
  214. meta_screening/model_mixins/part_three_fields_model_mixin.py +5 -6
  215. meta_screening/model_mixins/part_two_fields_model_mixin.py +18 -16
  216. meta_screening/models/__init__.py +9 -0
  217. meta_screening/models/icp_referral.py +5 -5
  218. meta_screening/models/signals.py +10 -11
  219. meta_screening/models/subject_refusal.py +1 -1
  220. meta_screening/models/subject_screening.py +1 -3
  221. meta_subject/action_items.py +13 -15
  222. meta_subject/admin/__init__.py +39 -0
  223. meta_subject/admin/birth_outcome_admin.py +4 -8
  224. meta_subject/admin/blood_results/__init__.py +9 -0
  225. meta_subject/admin/blood_results/blood_results_fbc_admin.py +1 -1
  226. meta_subject/admin/blood_results/blood_results_hba1c_admin.py +1 -1
  227. meta_subject/admin/blood_results/blood_results_ins_admin.py +1 -1
  228. meta_subject/admin/blood_results/blood_results_lft_admin.py +1 -1
  229. meta_subject/admin/blood_results/blood_results_lipids_admin.py +1 -1
  230. meta_subject/admin/blood_results/blood_results_rft_admin.py +3 -5
  231. meta_subject/admin/complications_glycemia_admin.py +1 -1
  232. meta_subject/admin/delivery_admin.py +7 -10
  233. meta_subject/admin/diabetes/__init__.py +2 -0
  234. meta_subject/admin/diabetes/dm_endpoint_admin.py +2 -2
  235. meta_subject/admin/diabetes/dm_followup_admin.py +3 -2
  236. meta_subject/admin/egfr_drop_notification_admin.py +1 -1
  237. meta_subject/admin/followup_examination_admin.py +10 -9
  238. meta_subject/admin/followup_vitals_admin.py +4 -5
  239. meta_subject/admin/glucose_admin.py +2 -4
  240. meta_subject/admin/glucose_fbg_admin.py +1 -3
  241. meta_subject/admin/health_economics/__init__.py +2 -0
  242. meta_subject/admin/health_economics/health_economics_simple_admin.py +1 -1
  243. meta_subject/admin/health_economics/health_economics_update_admin.py +1 -1
  244. meta_subject/admin/hepatitis_test_admin.py +1 -1
  245. meta_subject/admin/list_filters.py +1 -1
  246. meta_subject/admin/mnsi_admin.py +7 -5
  247. meta_subject/admin/other_arv_regimens_admin.py +3 -3
  248. meta_subject/admin/patient_history_admin.py +4 -4
  249. meta_subject/admin/physical_exam_admin.py +1 -1
  250. meta_subject/admin/pregnancy_update_admin.py +1 -1
  251. meta_subject/admin/study_medication_admin.py +8 -15
  252. meta_subject/admin/subject_requisition_admin.py +1 -1
  253. meta_subject/admin/subject_visit_admin.py +1 -1
  254. meta_subject/admin/subject_visit_missed_admin.py +1 -1
  255. meta_subject/admin/urine_dipstick_test_admin.py +1 -1
  256. meta_subject/admin/urine_pregnancy_admin.py +1 -1
  257. meta_subject/baker_recipes.py +15 -15
  258. meta_subject/form_validators/__init__.py +11 -0
  259. meta_subject/form_validators/delivery_form_validator.py +2 -3
  260. meta_subject/form_validators/dm_endpoint_form_validator.py +1 -1
  261. meta_subject/form_validators/dm_followup_form_validator.py +7 -6
  262. meta_subject/form_validators/glucose_form_validator.py +3 -5
  263. meta_subject/forms/__init__.py +41 -0
  264. meta_subject/forms/blood_results/__init__.py +9 -0
  265. meta_subject/forms/blood_results/blood_results_rft_form.py +1 -2
  266. meta_subject/forms/diabetes/__init__.py +2 -0
  267. meta_subject/forms/diabetes/dm_followup_form.py +2 -2
  268. meta_subject/forms/followup_vitals_form.py +3 -8
  269. meta_subject/forms/health_economics/__init__.py +2 -0
  270. meta_subject/forms/next_appointment_form.py +2 -3
  271. meta_subject/forms/slider_widget.py +1 -1
  272. meta_subject/forms/study_medication_form.py +11 -8
  273. meta_subject/management/commands/create_missing_refills.py +3 -3
  274. meta_subject/management/commands/create_missing_rx.py +1 -1
  275. meta_subject/management/commands/missed.py +20 -23
  276. meta_subject/metadata_rules/__init__.py +2 -0
  277. meta_subject/metadata_rules/predicates.py +25 -32
  278. meta_subject/migrations/0001_initial.py +61 -61
  279. meta_subject/migrations/0002_auto_20191021_0353.py +5 -5
  280. meta_subject/migrations/0012_auto_20200118_2334.py +5 -5
  281. meta_subject/migrations/0014_auto_20200120_1622.py +5 -5
  282. meta_subject/migrations/0018_coronakap_historicalcoronakap.py +5 -5
  283. meta_subject/migrations/0033_auto_20200516_2356.py +5 -5
  284. meta_subject/migrations/0038_auto_20200520_0020.py +5 -5
  285. meta_subject/migrations/0040_auto_20200527_2155.py +1 -1
  286. meta_subject/migrations/0045_auto_20200530_1801.py +1 -1
  287. meta_subject/migrations/0051_auto_20200617_2117.py +5 -5
  288. meta_subject/migrations/0063_auto_20210715_0337.py +5 -5
  289. meta_subject/migrations/0066_auto_20210721_0335.py +9 -9
  290. meta_subject/migrations/0067_auto_20210726_0340.py +5 -5
  291. meta_subject/migrations/0068_auto_20210728_1809.py +5 -5
  292. meta_subject/migrations/0072_auto_20210805_1545.py +7 -7
  293. meta_subject/migrations/0073_auto_20210809_0055.py +5 -5
  294. meta_subject/migrations/0077_auto_20210809_2323.py +3 -3
  295. meta_subject/migrations/0082_auto_20210823_1612.py +3 -3
  296. meta_subject/migrations/0083_auto_20210823_1620.py +3 -3
  297. meta_subject/migrations/0088_auto_20210924_0027.py +5 -5
  298. meta_subject/migrations/0090_auto_20210924_0424.py +5 -5
  299. meta_subject/migrations/0093_auto_20211117_0352.py +5 -5
  300. meta_subject/migrations/0095_auto_20220128_1719.py +5 -5
  301. meta_subject/migrations/0098_auto_20220309_2106.py +5 -5
  302. meta_subject/migrations/0101_auto_20220316_2147.py +13 -13
  303. meta_subject/migrations/0115_historicalegfrnotification_egfrnotification.py +5 -13
  304. meta_subject/migrations/0164_dmreferralfollowup_historicaldmreferralfollowup.py +5 -5
  305. meta_subject/migrations/0172_remove_historicalbloodresultsglu_action_item_and_more.py +1 -2
  306. meta_subject/migrations/0177_alter_bloodresultslft_alp_value_and_more.py +1 -2
  307. meta_subject/migrations/0178_historicalhealtheconomicsupdate_and_more.py +5 -14
  308. meta_subject/migrations/0186_healtheconomicsupdate_singleton_field_and_more.py +1 -2
  309. meta_subject/migrations/0187_dmdiagnosis_historicaldmdiagnosis_dmdxresult_and_more.py +5 -14
  310. meta_subject/migrations/0188_historicaldmdxresult_dmdxresult.py +5 -14
  311. meta_subject/migrations/0209_remove_historicaldmdxresult_dm_diagnosis_and_more.py +1 -2
  312. meta_subject/migrations/0216_historicalnextappointment_nextappointment.py +5 -6
  313. meta_subject/migrations/0220_historicalbloodresultsgludummy_bloodresultsgludummy.py +5 -14
  314. meta_subject/migrations/0227_alter_followupvitals_waist_circumference_comment_and_more.py +97 -0
  315. meta_subject/migrations/0228_bloodresultshba1c_hba1c_datetime_and_more.py +9297 -0
  316. meta_subject/model_mixins/__init__.py +8 -0
  317. meta_subject/model_mixins/search_slug_model_mixin.py +1 -2
  318. meta_subject/model_mixins/vitals_fields_model_mixin.py +1 -1
  319. meta_subject/models/__init__.py +48 -0
  320. meta_subject/models/birth_outcomes.py +3 -3
  321. meta_subject/models/blood_results/__init__.py +11 -0
  322. meta_subject/models/delivery.py +3 -3
  323. meta_subject/models/diabetes/__init__.py +2 -0
  324. meta_subject/models/diabetes/dm_endpoint.py +4 -4
  325. meta_subject/models/diabetes/dm_followup.py +3 -4
  326. meta_subject/models/diet_and_lifestyle.py +2 -2
  327. meta_subject/models/followup_examination.py +11 -11
  328. meta_subject/models/glucose.py +4 -4
  329. meta_subject/models/glucose_fbg.py +2 -3
  330. meta_subject/models/health_economics/__init__.py +2 -0
  331. meta_subject/models/health_economics/health_economics.py +7 -7
  332. meta_subject/models/health_economics/health_economics_update.py +2 -1
  333. meta_subject/models/hepatitis_test.py +2 -2
  334. meta_subject/models/other_arv_regimens_detail.py +1 -1
  335. meta_subject/models/patient_history.py +5 -6
  336. meta_subject/models/physical_exam.py +2 -2
  337. meta_subject/models/pregnancy_update.py +1 -1
  338. meta_subject/models/signals.py +14 -12
  339. meta_subject/models/subject_visit.py +1 -1
  340. meta_subject/models/urine_dipstick_test.py +1 -1
  341. meta_subject/models/urine_pregnancy.py +1 -1
  342. meta_visit_schedule/visit_schedules/__init__.py +2 -0
  343. meta_visit_schedule/visit_schedules/phase_three/__init__.py +2 -0
  344. meta_visit_schedule/visit_schedules/phase_three/schedule.py +2 -2
  345. meta_visit_schedule/visit_schedules/phase_three/schedule_dm_referral.py +1 -2
  346. meta_visit_schedule/visit_schedules/phase_three/schedule_pregnancy.py +1 -2
  347. meta_ae/tests/holidays.csv +0 -15
  348. meta_ae/tests/tests/test_actions.py +0 -126
  349. meta_ae/tests/urls.py +0 -10
  350. meta_analytics/dataframes/glucose_endpoints/utils.py +0 -0
  351. meta_analytics/notebooks/anu.ipynb +0 -95
  352. meta_analytics/notebooks/appointment_planning.ipynb +0 -329
  353. meta_analytics/notebooks/arvs.ipynb +0 -103
  354. meta_analytics/notebooks/cleaning/__init__.py +0 -0
  355. meta_analytics/notebooks/cleaning/consent_v1_ext.ipynb +0 -227
  356. meta_analytics/notebooks/cleaning/offschedule_eos.ipynb +0 -353
  357. meta_analytics/notebooks/dsmc/renal_dysfunction.ipynb +0 -435
  358. meta_analytics/notebooks/endpoints/meta_endpoints_by_date.ipynb +0 -656
  359. meta_analytics/notebooks/followup_examination.ipynb +0 -141
  360. meta_analytics/notebooks/hba1c.ipynb +0 -136
  361. meta_analytics/notebooks/hiv_regimens.ipynb +0 -429
  362. meta_analytics/notebooks/incidence.ipynb +0 -232
  363. meta_analytics/notebooks/liver.ipynb +0 -389
  364. meta_analytics/notebooks/magreth.ipynb +0 -645
  365. meta_analytics/notebooks/monitoring_report.ipynb +0 -1834
  366. meta_analytics/notebooks/pharmacy.ipynb +0 -1061
  367. meta_analytics/notebooks/pharmacy_stock_202410.ipynb +0 -306
  368. meta_analytics/notebooks/qa.ipynb +0 -273
  369. meta_analytics/notebooks/steering.ipynb +0 -61
  370. meta_analytics/notebooks/undiagnosed/meta3_screening_consort_chart.ipynb +0 -1176
  371. meta_analytics/notebooks/undiagnosed/meta3_screening_undiagnosed.ipynb +0 -519
  372. meta_analytics/notebooks/undiagnosed/meta_screening_table2.ipynb +0 -964
  373. meta_analytics/notebooks/undiagnosed/screen_undiagnosed_or.ipynb +0 -296
  374. meta_analytics/notebooks/undiagnosed/screening.ipynb +0 -273
  375. meta_analytics/notebooks/undiagnosed/screening2.ipynb +0 -958
  376. meta_analytics/notebooks/undiagnosed/screening_undiagnosed_20241002.ipynb +0 -958
  377. meta_analytics/notebooks/ven.ipynb +0 -191
  378. meta_analytics/notebooks/vitals.ipynb +0 -263
  379. meta_analytics/tests/__init__.py +0 -0
  380. meta_analytics/tests/test_endpoints_by_date.py +0 -94
  381. meta_consent/tests/__init__.py +0 -0
  382. meta_consent/tests/holidays.csv +0 -15
  383. meta_consent/tests/tests/__init__.py +0 -0
  384. meta_consent/tests/tests/test_form_validators.py +0 -110
  385. meta_consent/tests/tests/test_subject_consent.py +0 -10
  386. meta_consent/tests/urls.py +0 -17
  387. meta_dashboard/tests/__init__.py +0 -0
  388. meta_dashboard/tests/admin.py +0 -22
  389. meta_dashboard/tests/holidays.csv +0 -15
  390. meta_dashboard/tests/tests/__init__.py +0 -0
  391. meta_dashboard/tests/urls.py +0 -55
  392. meta_edc/tests/__init__.py +0 -0
  393. meta_edc/tests/tests/__init__.py +0 -0
  394. meta_edc/tests/tests/test_endpoints.py +0 -555
  395. meta_edc-1.1.8.dist-info/METADATA +0 -767
  396. meta_edc-1.1.8.dist-info/WHEEL +0 -5
  397. meta_edc-1.1.8.dist-info/licenses/AUTHORS.rst +0 -8
  398. meta_edc-1.1.8.dist-info/top_level.txt +0 -20
  399. meta_labs/tests/__init__.py +0 -0
  400. meta_labs/tests/test_labs.py +0 -27
  401. meta_labs/tests/test_reportables.py +0 -70
  402. meta_labs/tests/urls.py +0 -4
  403. meta_lists/tests/__init__.py +0 -0
  404. meta_lists/tests/test_lists.py +0 -8
  405. meta_pharmacy/notebooks/pharmacy.ipynb +0 -41
  406. meta_prn/tests/__init__.py +0 -0
  407. meta_prn/tests/tests/__init__.py +0 -0
  408. meta_prn/tests/tests/test_actions.py +0 -97
  409. meta_prn/tests/tests/test_dm_referral.py +0 -203
  410. meta_prn/tests/tests/test_eos_events.py +0 -134
  411. meta_prn/tests/tests/test_manager_order.py +0 -14
  412. meta_prn/tests/tests/test_pregnancy_notification.py +0 -93
  413. meta_prn/tests/urls.py +0 -10
  414. meta_rando/tests/__init__.py +0 -0
  415. meta_rando/tests/tests/__init__.py +0 -0
  416. meta_rando/tests/tests/test_randomizers.py +0 -57
  417. meta_reports/tests/__init__.py +0 -0
  418. meta_reports/tests/test_reports.py +0 -35
  419. meta_reports/tests/test_sql_gen.py +0 -5
  420. meta_reports/tests/urls.py +0 -4
  421. meta_screening/offline_models.py +0 -3
  422. meta_screening/tests/__init__.py +0 -0
  423. meta_screening/tests/holidays.csv +0 -15
  424. meta_screening/tests/meta_test_case_mixin.py +0 -234
  425. meta_screening/tests/options.py +0 -127
  426. meta_screening/tests/tests/__init__.py +0 -0
  427. meta_screening/tests/tests/test_forms.py +0 -404
  428. meta_screening/tests/tests/test_screening_part_one.py +0 -108
  429. meta_screening/tests/tests/test_screening_part_three.py +0 -433
  430. meta_screening/tests/tests/test_screening_part_two.py +0 -84
  431. meta_sites/tests/__init__.py +0 -0
  432. meta_sites/tests/test_sites.py +0 -12
  433. meta_sites/tests/urls.py +0 -4
  434. meta_stats/__init__.py +0 -0
  435. meta_stats/incidence.py +0 -16
  436. meta_stats/models.py +0 -0
  437. meta_stats/tests/__init__.py +0 -0
  438. meta_stats/tests/tests/__init__.py +0 -0
  439. meta_stats/tests/tests/test_incidence.py +0 -10
  440. meta_subject/tests/__init__.py +0 -0
  441. meta_subject/tests/holidays.csv +0 -15
  442. meta_subject/tests/tests/__init__.py +0 -0
  443. meta_subject/tests/tests/test_egfr.py +0 -234
  444. meta_subject/tests/tests/test_fixes.py +0 -64
  445. meta_subject/tests/tests/test_followup.py +0 -52
  446. meta_subject/tests/tests/test_manager_order.py +0 -11
  447. meta_subject/tests/tests/test_medication_adherence.py +0 -79
  448. meta_subject/tests/tests/test_metadata_rules.py +0 -135
  449. meta_subject/tests/tests/test_mnsi.py +0 -341
  450. meta_subject/tests/tests/test_next_appointment.py +0 -231
  451. meta_subject/tests/tests/test_patient_history_form.py +0 -74
  452. meta_subject/tests/tests/test_physical_exam.py +0 -84
  453. meta_subject/tests/tests/test_sf12.py +0 -161
  454. meta_subject/tests/tests/test_study_medication.py +0 -229
  455. meta_subject/tests/urls.py +0 -24
  456. meta_visit_schedule/tests/__init__.py +0 -0
  457. meta_visit_schedule/tests/tests/__init__.py +0 -0
  458. meta_visit_schedule/tests/tests/test_schedule.py +0 -181
  459. meta_visit_schedule/tests/urls.py +0 -4
  460. tests/__init__.py +0 -0
  461. tests/etc/randomization_list.csv +0 -241
  462. tests/etc/randomization_list_phase_three.csv +0 -241
  463. tests/etc/user-aes-local.key +0 -0
  464. tests/etc/user-aes-restricted.key +0 -1
  465. tests/etc/user-rsa-local-private.pem +0 -27
  466. tests/etc/user-rsa-local-public.pem +0 -9
  467. tests/etc/user-rsa-restricted-private.pem +0 -27
  468. tests/etc/user-rsa-restricted-public.pem +0 -9
  469. tests/etc/user-salt-local.key +0 -0
  470. tests/etc/user-salt-restricted.key +0 -0
  471. tests/holidays.csv +0 -15
  472. tests/test_settings.py +0 -185
  473. {meta_edc-1.1.8.dist-info → meta_edc-1.1.12.dist-info}/licenses/LICENSE +0 -0
  474. /meta_ae/tests/__init__.py → /meta_subject/management/__init__py.py +0 -0
  475. /meta_ae/tests/tests/__init__.py → /meta_subject/management/commands/__init__py.py +0 -0
@@ -0,0 +1,1579 @@
1
+ # Generated by Django 5.2.6 on 2025-09-24 05:45
2
+
3
+ import django.utils.timezone
4
+ import django_revision.revision_field
5
+ import edc_model.validators.date
6
+ import edc_model_fields.fields.other_charfield
7
+ import edc_protocol.validators
8
+ from django.db import migrations, models
9
+
10
+
11
+ class Migration(migrations.Migration):
12
+
13
+ dependencies = [
14
+ (
15
+ "meta_screening",
16
+ "0067_alter_historicalscreeningpartone_report_datetime_and_more",
17
+ ),
18
+ ]
19
+
20
+ operations = [
21
+ migrations.AlterField(
22
+ model_name="historicalscreeningpartone",
23
+ name="acute_condition",
24
+ field=models.CharField(
25
+ choices=[("Yes", "Yes"), ("No", "No")],
26
+ default="",
27
+ max_length=15,
28
+ verbose_name="Does the patient have any acute condition requiring immediate hospital care/admission",
29
+ ),
30
+ ),
31
+ migrations.AlterField(
32
+ model_name="historicalscreeningpartone",
33
+ name="acute_metabolic_acidosis",
34
+ field=models.CharField(
35
+ choices=[("Yes", "Yes"), ("No", "No")],
36
+ default="",
37
+ help_text="lactic acidosis and/or diabetic ketoacidosis",
38
+ max_length=15,
39
+ verbose_name="Does the patient have any signs or symptoms of acute metabolic acidosis",
40
+ ),
41
+ ),
42
+ migrations.AlterField(
43
+ model_name="historicalscreeningpartone",
44
+ name="alcoholism",
45
+ field=models.CharField(
46
+ choices=[("Yes", "Yes"), ("No", "No")],
47
+ default="",
48
+ help_text="Evidence of alcoholism or acute alcohol intoxication: flushing, amnesia, mental confusion, nausea or vomiting, slurred speech, dehydration, dry skin and brittle hair.",
49
+ max_length=15,
50
+ verbose_name="Does the patient have any evidence of alcoholism or acute alcohol intoxication",
51
+ ),
52
+ ),
53
+ migrations.AlterField(
54
+ model_name="historicalscreeningpartone",
55
+ name="congestive_heart_failure",
56
+ field=models.CharField(
57
+ choices=[("Yes", "Yes"), ("No", "No")],
58
+ default="",
59
+ max_length=15,
60
+ verbose_name="Does the patient have congestive heart failure requiring pharmacologic therapy",
61
+ ),
62
+ ),
63
+ migrations.AlterField(
64
+ model_name="historicalscreeningpartone",
65
+ name="creatinine_units",
66
+ field=models.CharField(
67
+ blank=True,
68
+ choices=[("mg/dL", "mg/dL"), ("umol/L", "μmol/L (micromoles/L)")],
69
+ default="",
70
+ max_length=15,
71
+ verbose_name="Units (creatinine)",
72
+ ),
73
+ ),
74
+ migrations.AlterField(
75
+ model_name="historicalscreeningpartone",
76
+ name="device_created",
77
+ field=models.CharField(
78
+ blank=True, default="", max_length=10, verbose_name="Device created"
79
+ ),
80
+ ),
81
+ migrations.AlterField(
82
+ model_name="historicalscreeningpartone",
83
+ name="device_modified",
84
+ field=models.CharField(
85
+ blank=True, default="", max_length=10, verbose_name="Device modified"
86
+ ),
87
+ ),
88
+ migrations.AlterField(
89
+ model_name="historicalscreeningpartone",
90
+ name="has_dm",
91
+ field=models.CharField(
92
+ choices=[("Yes", "Yes"), ("No", "No")],
93
+ default="",
94
+ max_length=15,
95
+ verbose_name="Is the patient known to have diabetes?",
96
+ ),
97
+ ),
98
+ migrations.AlterField(
99
+ model_name="historicalscreeningpartone",
100
+ name="liver_disease",
101
+ field=models.CharField(
102
+ choices=[("Yes", "Yes"), ("No", "No")],
103
+ default="",
104
+ help_text="Evidence of chronic liver disease: Jaundice, pruritus, hepatomegaly, ascites, spider naevi and flapping tremors.",
105
+ max_length=15,
106
+ verbose_name="Is there clinical evidence of liver disease",
107
+ ),
108
+ ),
109
+ migrations.AlterField(
110
+ model_name="historicalscreeningpartone",
111
+ name="locale_created",
112
+ field=models.CharField(
113
+ blank=True,
114
+ default="",
115
+ help_text="Auto-updated by Modeladmin",
116
+ max_length=10,
117
+ verbose_name="Locale created",
118
+ ),
119
+ ),
120
+ migrations.AlterField(
121
+ model_name="historicalscreeningpartone",
122
+ name="locale_modified",
123
+ field=models.CharField(
124
+ blank=True,
125
+ default="",
126
+ help_text="Auto-updated by Modeladmin",
127
+ max_length=10,
128
+ verbose_name="Locale modified",
129
+ ),
130
+ ),
131
+ migrations.AlterField(
132
+ model_name="historicalscreeningpartone",
133
+ name="meta_phase_two",
134
+ field=models.CharField(
135
+ choices=[("Yes", "Yes"), ("No", "No")],
136
+ default="",
137
+ max_length=15,
138
+ verbose_name="Was the subject enrolled in the <u>META Phase 2</u> trial?",
139
+ ),
140
+ ),
141
+ migrations.AlterField(
142
+ model_name="historicalscreeningpartone",
143
+ name="metformin_sensitivity",
144
+ field=models.CharField(
145
+ choices=[("Yes", "Yes"), ("No", "No")],
146
+ default="",
147
+ help_text="For example: Magnesium stearate, sodium carboxymethylcellulose, hypromellose",
148
+ max_length=15,
149
+ verbose_name="Does the patient have any known hypersensitivity to metformin or any excipients associated with its preparation",
150
+ ),
151
+ ),
152
+ migrations.AlterField(
153
+ model_name="historicalscreeningpartone",
154
+ name="on_dm_medication",
155
+ field=models.CharField(
156
+ choices=[("Yes", "Yes"), ("No", "No")],
157
+ default="",
158
+ max_length=15,
159
+ verbose_name="Is the patient known to be taking anti-diabetic medications?",
160
+ ),
161
+ ),
162
+ migrations.AlterField(
163
+ model_name="historicalscreeningpartone",
164
+ name="p3_ltfu_comment",
165
+ field=models.TextField(
166
+ blank=True,
167
+ default="",
168
+ verbose_name="Provide any additional comments on this decision (or leave blank)",
169
+ ),
170
+ ),
171
+ migrations.AlterField(
172
+ model_name="historicalscreeningpartone",
173
+ name="reasons_ineligible",
174
+ field=models.TextField(
175
+ default="", max_length=150, verbose_name="Reason not eligible"
176
+ ),
177
+ ),
178
+ migrations.AlterField(
179
+ model_name="historicalscreeningpartone",
180
+ name="reasons_ineligible_part_one",
181
+ field=models.TextField(default="", editable=False, max_length=150),
182
+ ),
183
+ migrations.AlterField(
184
+ model_name="historicalscreeningpartone",
185
+ name="reasons_ineligible_part_three",
186
+ field=models.TextField(default="", editable=False, max_length=150),
187
+ ),
188
+ migrations.AlterField(
189
+ model_name="historicalscreeningpartone",
190
+ name="reasons_ineligible_part_two",
191
+ field=models.TextField(default="", editable=False, max_length=150),
192
+ ),
193
+ migrations.AlterField(
194
+ model_name="historicalscreeningpartone",
195
+ name="reasons_unsuitable",
196
+ field=models.TextField(
197
+ blank=True,
198
+ default="",
199
+ max_length=150,
200
+ verbose_name="Reason not suitable for the study",
201
+ ),
202
+ ),
203
+ migrations.AlterField(
204
+ model_name="historicalscreeningpartone",
205
+ name="renal_function_condition",
206
+ field=models.CharField(
207
+ choices=[("Yes", "Yes"), ("No", "No")],
208
+ default="",
209
+ max_length=15,
210
+ verbose_name="Does the patient have any acute condition which can alter renal function including: dehydration, severe infection or shock",
211
+ ),
212
+ ),
213
+ migrations.AlterField(
214
+ model_name="historicalscreeningpartone",
215
+ name="report_datetime",
216
+ field=models.DateTimeField(
217
+ default=django.utils.timezone.now,
218
+ help_text="Date and time of report.",
219
+ validators=[
220
+ edc_protocol.validators.datetime_not_before_study_start,
221
+ edc_model.validators.date.datetime_not_future,
222
+ ],
223
+ verbose_name="Report Date and Time",
224
+ ),
225
+ ),
226
+ migrations.AlterField(
227
+ model_name="historicalscreeningpartone",
228
+ name="revision",
229
+ field=django_revision.revision_field.RevisionField(
230
+ blank=True,
231
+ default="",
232
+ editable=False,
233
+ help_text="System field. From git repository (tag:branch:commit), project metadata, project toml, project VERSION, or settings.",
234
+ max_length=75,
235
+ verbose_name="Revision",
236
+ ),
237
+ ),
238
+ migrations.AlterField(
239
+ model_name="historicalscreeningpartone",
240
+ name="severe_htn",
241
+ field=models.CharField(
242
+ blank=True,
243
+ choices=[("Yes", "Yes"), ("No", "No")],
244
+ default="",
245
+ help_text="Based on the above readings. Severe HTN is any BP reading > 180/110mmHg",
246
+ max_length=15,
247
+ verbose_name="Does the patient have severe hypertension?",
248
+ ),
249
+ ),
250
+ migrations.AlterField(
251
+ model_name="historicalscreeningpartone",
252
+ name="slug",
253
+ field=models.CharField(
254
+ db_index=True,
255
+ default="",
256
+ editable=False,
257
+ help_text="Hold slug field values for quick search. Excludes encrypted fields",
258
+ max_length=250,
259
+ ),
260
+ ),
261
+ migrations.AlterField(
262
+ model_name="historicalscreeningpartone",
263
+ name="staying_nearby_12",
264
+ field=models.CharField(
265
+ choices=[("Yes", "Yes"), ("No", "No")],
266
+ default="",
267
+ max_length=15,
268
+ verbose_name="Is the patient planning to remain in the catchment area for <u>at least 12 months</u>",
269
+ ),
270
+ ),
271
+ migrations.AlterField(
272
+ model_name="historicalscreeningpartone",
273
+ name="staying_nearby_6",
274
+ field=models.CharField(
275
+ choices=[("Yes", "Yes"), ("No", "No")],
276
+ default="",
277
+ editable=False,
278
+ help_text="META PHASE_TWO ONLY",
279
+ max_length=15,
280
+ verbose_name="Is the patient planning to remain in the catchment area for at least 6 months",
281
+ ),
282
+ ),
283
+ migrations.AlterField(
284
+ model_name="historicalscreeningpartone",
285
+ name="subject_identifier_aka",
286
+ field=models.CharField(
287
+ default="",
288
+ editable=False,
289
+ help_text="track a previously allocated identifier.",
290
+ max_length=50,
291
+ verbose_name="Subject Identifier a.k.a",
292
+ ),
293
+ ),
294
+ migrations.AlterField(
295
+ model_name="historicalscreeningpartone",
296
+ name="tissue_hypoxia_condition",
297
+ field=models.CharField(
298
+ choices=[("Yes", "Yes"), ("No", "No")],
299
+ default="",
300
+ help_text="Including: decompensated heart failure, respiratory failure, recent myocardial infarction or shock",
301
+ max_length=15,
302
+ verbose_name="Does the patient have any acute condition which can cause tissue hypoxia",
303
+ ),
304
+ ),
305
+ migrations.AlterField(
306
+ model_name="historicalscreeningpartthree",
307
+ name="acute_condition",
308
+ field=models.CharField(
309
+ choices=[("Yes", "Yes"), ("No", "No")],
310
+ default="",
311
+ max_length=15,
312
+ verbose_name="Does the patient have any acute condition requiring immediate hospital care/admission",
313
+ ),
314
+ ),
315
+ migrations.AlterField(
316
+ model_name="historicalscreeningpartthree",
317
+ name="acute_metabolic_acidosis",
318
+ field=models.CharField(
319
+ choices=[("Yes", "Yes"), ("No", "No")],
320
+ default="",
321
+ help_text="lactic acidosis and/or diabetic ketoacidosis",
322
+ max_length=15,
323
+ verbose_name="Does the patient have any signs or symptoms of acute metabolic acidosis",
324
+ ),
325
+ ),
326
+ migrations.AlterField(
327
+ model_name="historicalscreeningpartthree",
328
+ name="alcoholism",
329
+ field=models.CharField(
330
+ choices=[("Yes", "Yes"), ("No", "No")],
331
+ default="",
332
+ help_text="Evidence of alcoholism or acute alcohol intoxication: flushing, amnesia, mental confusion, nausea or vomiting, slurred speech, dehydration, dry skin and brittle hair.",
333
+ max_length=15,
334
+ verbose_name="Does the patient have any evidence of alcoholism or acute alcohol intoxication",
335
+ ),
336
+ ),
337
+ migrations.AlterField(
338
+ model_name="historicalscreeningpartthree",
339
+ name="congestive_heart_failure",
340
+ field=models.CharField(
341
+ choices=[("Yes", "Yes"), ("No", "No")],
342
+ default="",
343
+ max_length=15,
344
+ verbose_name="Does the patient have congestive heart failure requiring pharmacologic therapy",
345
+ ),
346
+ ),
347
+ migrations.AlterField(
348
+ model_name="historicalscreeningpartthree",
349
+ name="creatinine_units",
350
+ field=models.CharField(
351
+ blank=True,
352
+ choices=[("mg/dL", "mg/dL"), ("umol/L", "μmol/L (micromoles/L)")],
353
+ default="",
354
+ max_length=15,
355
+ verbose_name="Units (creatinine)",
356
+ ),
357
+ ),
358
+ migrations.AlterField(
359
+ model_name="historicalscreeningpartthree",
360
+ name="device_created",
361
+ field=models.CharField(
362
+ blank=True, default="", max_length=10, verbose_name="Device created"
363
+ ),
364
+ ),
365
+ migrations.AlterField(
366
+ model_name="historicalscreeningpartthree",
367
+ name="device_modified",
368
+ field=models.CharField(
369
+ blank=True, default="", max_length=10, verbose_name="Device modified"
370
+ ),
371
+ ),
372
+ migrations.AlterField(
373
+ model_name="historicalscreeningpartthree",
374
+ name="has_dm",
375
+ field=models.CharField(
376
+ choices=[("Yes", "Yes"), ("No", "No")],
377
+ default="",
378
+ max_length=15,
379
+ verbose_name="Is the patient known to have diabetes?",
380
+ ),
381
+ ),
382
+ migrations.AlterField(
383
+ model_name="historicalscreeningpartthree",
384
+ name="liver_disease",
385
+ field=models.CharField(
386
+ choices=[("Yes", "Yes"), ("No", "No")],
387
+ default="",
388
+ help_text="Evidence of chronic liver disease: Jaundice, pruritus, hepatomegaly, ascites, spider naevi and flapping tremors.",
389
+ max_length=15,
390
+ verbose_name="Is there clinical evidence of liver disease",
391
+ ),
392
+ ),
393
+ migrations.AlterField(
394
+ model_name="historicalscreeningpartthree",
395
+ name="locale_created",
396
+ field=models.CharField(
397
+ blank=True,
398
+ default="",
399
+ help_text="Auto-updated by Modeladmin",
400
+ max_length=10,
401
+ verbose_name="Locale created",
402
+ ),
403
+ ),
404
+ migrations.AlterField(
405
+ model_name="historicalscreeningpartthree",
406
+ name="locale_modified",
407
+ field=models.CharField(
408
+ blank=True,
409
+ default="",
410
+ help_text="Auto-updated by Modeladmin",
411
+ max_length=10,
412
+ verbose_name="Locale modified",
413
+ ),
414
+ ),
415
+ migrations.AlterField(
416
+ model_name="historicalscreeningpartthree",
417
+ name="meta_phase_two",
418
+ field=models.CharField(
419
+ choices=[("Yes", "Yes"), ("No", "No")],
420
+ default="",
421
+ max_length=15,
422
+ verbose_name="Was the subject enrolled in the <u>META Phase 2</u> trial?",
423
+ ),
424
+ ),
425
+ migrations.AlterField(
426
+ model_name="historicalscreeningpartthree",
427
+ name="metformin_sensitivity",
428
+ field=models.CharField(
429
+ choices=[("Yes", "Yes"), ("No", "No")],
430
+ default="",
431
+ help_text="For example: Magnesium stearate, sodium carboxymethylcellulose, hypromellose",
432
+ max_length=15,
433
+ verbose_name="Does the patient have any known hypersensitivity to metformin or any excipients associated with its preparation",
434
+ ),
435
+ ),
436
+ migrations.AlterField(
437
+ model_name="historicalscreeningpartthree",
438
+ name="on_dm_medication",
439
+ field=models.CharField(
440
+ choices=[("Yes", "Yes"), ("No", "No")],
441
+ default="",
442
+ max_length=15,
443
+ verbose_name="Is the patient known to be taking anti-diabetic medications?",
444
+ ),
445
+ ),
446
+ migrations.AlterField(
447
+ model_name="historicalscreeningpartthree",
448
+ name="p3_ltfu_comment",
449
+ field=models.TextField(
450
+ blank=True,
451
+ default="",
452
+ verbose_name="Provide any additional comments on this decision (or leave blank)",
453
+ ),
454
+ ),
455
+ migrations.AlterField(
456
+ model_name="historicalscreeningpartthree",
457
+ name="reasons_ineligible",
458
+ field=models.TextField(
459
+ default="", max_length=150, verbose_name="Reason not eligible"
460
+ ),
461
+ ),
462
+ migrations.AlterField(
463
+ model_name="historicalscreeningpartthree",
464
+ name="reasons_ineligible_part_one",
465
+ field=models.TextField(default="", editable=False, max_length=150),
466
+ ),
467
+ migrations.AlterField(
468
+ model_name="historicalscreeningpartthree",
469
+ name="reasons_ineligible_part_three",
470
+ field=models.TextField(default="", editable=False, max_length=150),
471
+ ),
472
+ migrations.AlterField(
473
+ model_name="historicalscreeningpartthree",
474
+ name="reasons_ineligible_part_two",
475
+ field=models.TextField(default="", editable=False, max_length=150),
476
+ ),
477
+ migrations.AlterField(
478
+ model_name="historicalscreeningpartthree",
479
+ name="reasons_unsuitable",
480
+ field=models.TextField(
481
+ blank=True,
482
+ default="",
483
+ max_length=150,
484
+ verbose_name="Reason not suitable for the study",
485
+ ),
486
+ ),
487
+ migrations.AlterField(
488
+ model_name="historicalscreeningpartthree",
489
+ name="renal_function_condition",
490
+ field=models.CharField(
491
+ choices=[("Yes", "Yes"), ("No", "No")],
492
+ default="",
493
+ max_length=15,
494
+ verbose_name="Does the patient have any acute condition which can alter renal function including: dehydration, severe infection or shock",
495
+ ),
496
+ ),
497
+ migrations.AlterField(
498
+ model_name="historicalscreeningpartthree",
499
+ name="report_datetime",
500
+ field=models.DateTimeField(
501
+ default=django.utils.timezone.now,
502
+ help_text="Date and time of report.",
503
+ validators=[
504
+ edc_protocol.validators.datetime_not_before_study_start,
505
+ edc_model.validators.date.datetime_not_future,
506
+ ],
507
+ verbose_name="Report Date and Time",
508
+ ),
509
+ ),
510
+ migrations.AlterField(
511
+ model_name="historicalscreeningpartthree",
512
+ name="revision",
513
+ field=django_revision.revision_field.RevisionField(
514
+ blank=True,
515
+ default="",
516
+ editable=False,
517
+ help_text="System field. From git repository (tag:branch:commit), project metadata, project toml, project VERSION, or settings.",
518
+ max_length=75,
519
+ verbose_name="Revision",
520
+ ),
521
+ ),
522
+ migrations.AlterField(
523
+ model_name="historicalscreeningpartthree",
524
+ name="severe_htn",
525
+ field=models.CharField(
526
+ blank=True,
527
+ choices=[("Yes", "Yes"), ("No", "No")],
528
+ default="",
529
+ help_text="Based on the above readings. Severe HTN is any BP reading > 180/110mmHg",
530
+ max_length=15,
531
+ verbose_name="Does the patient have severe hypertension?",
532
+ ),
533
+ ),
534
+ migrations.AlterField(
535
+ model_name="historicalscreeningpartthree",
536
+ name="slug",
537
+ field=models.CharField(
538
+ db_index=True,
539
+ default="",
540
+ editable=False,
541
+ help_text="Hold slug field values for quick search. Excludes encrypted fields",
542
+ max_length=250,
543
+ ),
544
+ ),
545
+ migrations.AlterField(
546
+ model_name="historicalscreeningpartthree",
547
+ name="staying_nearby_12",
548
+ field=models.CharField(
549
+ choices=[("Yes", "Yes"), ("No", "No")],
550
+ default="",
551
+ max_length=15,
552
+ verbose_name="Is the patient planning to remain in the catchment area for <u>at least 12 months</u>",
553
+ ),
554
+ ),
555
+ migrations.AlterField(
556
+ model_name="historicalscreeningpartthree",
557
+ name="staying_nearby_6",
558
+ field=models.CharField(
559
+ choices=[("Yes", "Yes"), ("No", "No")],
560
+ default="",
561
+ editable=False,
562
+ help_text="META PHASE_TWO ONLY",
563
+ max_length=15,
564
+ verbose_name="Is the patient planning to remain in the catchment area for at least 6 months",
565
+ ),
566
+ ),
567
+ migrations.AlterField(
568
+ model_name="historicalscreeningpartthree",
569
+ name="subject_identifier_aka",
570
+ field=models.CharField(
571
+ default="",
572
+ editable=False,
573
+ help_text="track a previously allocated identifier.",
574
+ max_length=50,
575
+ verbose_name="Subject Identifier a.k.a",
576
+ ),
577
+ ),
578
+ migrations.AlterField(
579
+ model_name="historicalscreeningpartthree",
580
+ name="tissue_hypoxia_condition",
581
+ field=models.CharField(
582
+ choices=[("Yes", "Yes"), ("No", "No")],
583
+ default="",
584
+ help_text="Including: decompensated heart failure, respiratory failure, recent myocardial infarction or shock",
585
+ max_length=15,
586
+ verbose_name="Does the patient have any acute condition which can cause tissue hypoxia",
587
+ ),
588
+ ),
589
+ migrations.AlterField(
590
+ model_name="historicalscreeningparttwo",
591
+ name="acute_condition",
592
+ field=models.CharField(
593
+ choices=[("Yes", "Yes"), ("No", "No")],
594
+ default="",
595
+ max_length=15,
596
+ verbose_name="Does the patient have any acute condition requiring immediate hospital care/admission",
597
+ ),
598
+ ),
599
+ migrations.AlterField(
600
+ model_name="historicalscreeningparttwo",
601
+ name="acute_metabolic_acidosis",
602
+ field=models.CharField(
603
+ choices=[("Yes", "Yes"), ("No", "No")],
604
+ default="",
605
+ help_text="lactic acidosis and/or diabetic ketoacidosis",
606
+ max_length=15,
607
+ verbose_name="Does the patient have any signs or symptoms of acute metabolic acidosis",
608
+ ),
609
+ ),
610
+ migrations.AlterField(
611
+ model_name="historicalscreeningparttwo",
612
+ name="alcoholism",
613
+ field=models.CharField(
614
+ choices=[("Yes", "Yes"), ("No", "No")],
615
+ default="",
616
+ help_text="Evidence of alcoholism or acute alcohol intoxication: flushing, amnesia, mental confusion, nausea or vomiting, slurred speech, dehydration, dry skin and brittle hair.",
617
+ max_length=15,
618
+ verbose_name="Does the patient have any evidence of alcoholism or acute alcohol intoxication",
619
+ ),
620
+ ),
621
+ migrations.AlterField(
622
+ model_name="historicalscreeningparttwo",
623
+ name="congestive_heart_failure",
624
+ field=models.CharField(
625
+ choices=[("Yes", "Yes"), ("No", "No")],
626
+ default="",
627
+ max_length=15,
628
+ verbose_name="Does the patient have congestive heart failure requiring pharmacologic therapy",
629
+ ),
630
+ ),
631
+ migrations.AlterField(
632
+ model_name="historicalscreeningparttwo",
633
+ name="creatinine_units",
634
+ field=models.CharField(
635
+ blank=True,
636
+ choices=[("mg/dL", "mg/dL"), ("umol/L", "μmol/L (micromoles/L)")],
637
+ default="",
638
+ max_length=15,
639
+ verbose_name="Units (creatinine)",
640
+ ),
641
+ ),
642
+ migrations.AlterField(
643
+ model_name="historicalscreeningparttwo",
644
+ name="device_created",
645
+ field=models.CharField(
646
+ blank=True, default="", max_length=10, verbose_name="Device created"
647
+ ),
648
+ ),
649
+ migrations.AlterField(
650
+ model_name="historicalscreeningparttwo",
651
+ name="device_modified",
652
+ field=models.CharField(
653
+ blank=True, default="", max_length=10, verbose_name="Device modified"
654
+ ),
655
+ ),
656
+ migrations.AlterField(
657
+ model_name="historicalscreeningparttwo",
658
+ name="has_dm",
659
+ field=models.CharField(
660
+ choices=[("Yes", "Yes"), ("No", "No")],
661
+ default="",
662
+ max_length=15,
663
+ verbose_name="Is the patient known to have diabetes?",
664
+ ),
665
+ ),
666
+ migrations.AlterField(
667
+ model_name="historicalscreeningparttwo",
668
+ name="liver_disease",
669
+ field=models.CharField(
670
+ choices=[("Yes", "Yes"), ("No", "No")],
671
+ default="",
672
+ help_text="Evidence of chronic liver disease: Jaundice, pruritus, hepatomegaly, ascites, spider naevi and flapping tremors.",
673
+ max_length=15,
674
+ verbose_name="Is there clinical evidence of liver disease",
675
+ ),
676
+ ),
677
+ migrations.AlterField(
678
+ model_name="historicalscreeningparttwo",
679
+ name="locale_created",
680
+ field=models.CharField(
681
+ blank=True,
682
+ default="",
683
+ help_text="Auto-updated by Modeladmin",
684
+ max_length=10,
685
+ verbose_name="Locale created",
686
+ ),
687
+ ),
688
+ migrations.AlterField(
689
+ model_name="historicalscreeningparttwo",
690
+ name="locale_modified",
691
+ field=models.CharField(
692
+ blank=True,
693
+ default="",
694
+ help_text="Auto-updated by Modeladmin",
695
+ max_length=10,
696
+ verbose_name="Locale modified",
697
+ ),
698
+ ),
699
+ migrations.AlterField(
700
+ model_name="historicalscreeningparttwo",
701
+ name="meta_phase_two",
702
+ field=models.CharField(
703
+ choices=[("Yes", "Yes"), ("No", "No")],
704
+ default="",
705
+ max_length=15,
706
+ verbose_name="Was the subject enrolled in the <u>META Phase 2</u> trial?",
707
+ ),
708
+ ),
709
+ migrations.AlterField(
710
+ model_name="historicalscreeningparttwo",
711
+ name="metformin_sensitivity",
712
+ field=models.CharField(
713
+ choices=[("Yes", "Yes"), ("No", "No")],
714
+ default="",
715
+ help_text="For example: Magnesium stearate, sodium carboxymethylcellulose, hypromellose",
716
+ max_length=15,
717
+ verbose_name="Does the patient have any known hypersensitivity to metformin or any excipients associated with its preparation",
718
+ ),
719
+ ),
720
+ migrations.AlterField(
721
+ model_name="historicalscreeningparttwo",
722
+ name="on_dm_medication",
723
+ field=models.CharField(
724
+ choices=[("Yes", "Yes"), ("No", "No")],
725
+ default="",
726
+ max_length=15,
727
+ verbose_name="Is the patient known to be taking anti-diabetic medications?",
728
+ ),
729
+ ),
730
+ migrations.AlterField(
731
+ model_name="historicalscreeningparttwo",
732
+ name="p3_ltfu_comment",
733
+ field=models.TextField(
734
+ blank=True,
735
+ default="",
736
+ verbose_name="Provide any additional comments on this decision (or leave blank)",
737
+ ),
738
+ ),
739
+ migrations.AlterField(
740
+ model_name="historicalscreeningparttwo",
741
+ name="reasons_ineligible",
742
+ field=models.TextField(
743
+ default="", max_length=150, verbose_name="Reason not eligible"
744
+ ),
745
+ ),
746
+ migrations.AlterField(
747
+ model_name="historicalscreeningparttwo",
748
+ name="reasons_ineligible_part_one",
749
+ field=models.TextField(default="", editable=False, max_length=150),
750
+ ),
751
+ migrations.AlterField(
752
+ model_name="historicalscreeningparttwo",
753
+ name="reasons_ineligible_part_three",
754
+ field=models.TextField(default="", editable=False, max_length=150),
755
+ ),
756
+ migrations.AlterField(
757
+ model_name="historicalscreeningparttwo",
758
+ name="reasons_ineligible_part_two",
759
+ field=models.TextField(default="", editable=False, max_length=150),
760
+ ),
761
+ migrations.AlterField(
762
+ model_name="historicalscreeningparttwo",
763
+ name="reasons_unsuitable",
764
+ field=models.TextField(
765
+ blank=True,
766
+ default="",
767
+ max_length=150,
768
+ verbose_name="Reason not suitable for the study",
769
+ ),
770
+ ),
771
+ migrations.AlterField(
772
+ model_name="historicalscreeningparttwo",
773
+ name="renal_function_condition",
774
+ field=models.CharField(
775
+ choices=[("Yes", "Yes"), ("No", "No")],
776
+ default="",
777
+ max_length=15,
778
+ verbose_name="Does the patient have any acute condition which can alter renal function including: dehydration, severe infection or shock",
779
+ ),
780
+ ),
781
+ migrations.AlterField(
782
+ model_name="historicalscreeningparttwo",
783
+ name="report_datetime",
784
+ field=models.DateTimeField(
785
+ default=django.utils.timezone.now,
786
+ help_text="Date and time of report.",
787
+ validators=[
788
+ edc_protocol.validators.datetime_not_before_study_start,
789
+ edc_model.validators.date.datetime_not_future,
790
+ ],
791
+ verbose_name="Report Date and Time",
792
+ ),
793
+ ),
794
+ migrations.AlterField(
795
+ model_name="historicalscreeningparttwo",
796
+ name="revision",
797
+ field=django_revision.revision_field.RevisionField(
798
+ blank=True,
799
+ default="",
800
+ editable=False,
801
+ help_text="System field. From git repository (tag:branch:commit), project metadata, project toml, project VERSION, or settings.",
802
+ max_length=75,
803
+ verbose_name="Revision",
804
+ ),
805
+ ),
806
+ migrations.AlterField(
807
+ model_name="historicalscreeningparttwo",
808
+ name="severe_htn",
809
+ field=models.CharField(
810
+ blank=True,
811
+ choices=[("Yes", "Yes"), ("No", "No")],
812
+ default="",
813
+ help_text="Based on the above readings. Severe HTN is any BP reading > 180/110mmHg",
814
+ max_length=15,
815
+ verbose_name="Does the patient have severe hypertension?",
816
+ ),
817
+ ),
818
+ migrations.AlterField(
819
+ model_name="historicalscreeningparttwo",
820
+ name="slug",
821
+ field=models.CharField(
822
+ db_index=True,
823
+ default="",
824
+ editable=False,
825
+ help_text="Hold slug field values for quick search. Excludes encrypted fields",
826
+ max_length=250,
827
+ ),
828
+ ),
829
+ migrations.AlterField(
830
+ model_name="historicalscreeningparttwo",
831
+ name="staying_nearby_12",
832
+ field=models.CharField(
833
+ choices=[("Yes", "Yes"), ("No", "No")],
834
+ default="",
835
+ max_length=15,
836
+ verbose_name="Is the patient planning to remain in the catchment area for <u>at least 12 months</u>",
837
+ ),
838
+ ),
839
+ migrations.AlterField(
840
+ model_name="historicalscreeningparttwo",
841
+ name="staying_nearby_6",
842
+ field=models.CharField(
843
+ choices=[("Yes", "Yes"), ("No", "No")],
844
+ default="",
845
+ editable=False,
846
+ help_text="META PHASE_TWO ONLY",
847
+ max_length=15,
848
+ verbose_name="Is the patient planning to remain in the catchment area for at least 6 months",
849
+ ),
850
+ ),
851
+ migrations.AlterField(
852
+ model_name="historicalscreeningparttwo",
853
+ name="subject_identifier_aka",
854
+ field=models.CharField(
855
+ default="",
856
+ editable=False,
857
+ help_text="track a previously allocated identifier.",
858
+ max_length=50,
859
+ verbose_name="Subject Identifier a.k.a",
860
+ ),
861
+ ),
862
+ migrations.AlterField(
863
+ model_name="historicalscreeningparttwo",
864
+ name="tissue_hypoxia_condition",
865
+ field=models.CharField(
866
+ choices=[("Yes", "Yes"), ("No", "No")],
867
+ default="",
868
+ help_text="Including: decompensated heart failure, respiratory failure, recent myocardial infarction or shock",
869
+ max_length=15,
870
+ verbose_name="Does the patient have any acute condition which can cause tissue hypoxia",
871
+ ),
872
+ ),
873
+ migrations.AlterField(
874
+ model_name="historicalsubjectrefusal",
875
+ name="device_created",
876
+ field=models.CharField(
877
+ blank=True, default="", max_length=10, verbose_name="Device created"
878
+ ),
879
+ ),
880
+ migrations.AlterField(
881
+ model_name="historicalsubjectrefusal",
882
+ name="device_modified",
883
+ field=models.CharField(
884
+ blank=True, default="", max_length=10, verbose_name="Device modified"
885
+ ),
886
+ ),
887
+ migrations.AlterField(
888
+ model_name="historicalsubjectrefusal",
889
+ name="locale_created",
890
+ field=models.CharField(
891
+ blank=True,
892
+ default="",
893
+ help_text="Auto-updated by Modeladmin",
894
+ max_length=10,
895
+ verbose_name="Locale created",
896
+ ),
897
+ ),
898
+ migrations.AlterField(
899
+ model_name="historicalsubjectrefusal",
900
+ name="locale_modified",
901
+ field=models.CharField(
902
+ blank=True,
903
+ default="",
904
+ help_text="Auto-updated by Modeladmin",
905
+ max_length=10,
906
+ verbose_name="Locale modified",
907
+ ),
908
+ ),
909
+ migrations.AlterField(
910
+ model_name="historicalsubjectrefusal",
911
+ name="other_reason",
912
+ field=edc_model_fields.fields.other_charfield.OtherCharField(
913
+ blank=True,
914
+ default="",
915
+ max_length=35,
916
+ verbose_name="If other, please specify ...",
917
+ ),
918
+ ),
919
+ migrations.AlterField(
920
+ model_name="historicalsubjectrefusal",
921
+ name="revision",
922
+ field=django_revision.revision_field.RevisionField(
923
+ blank=True,
924
+ default="",
925
+ editable=False,
926
+ help_text="System field. From git repository (tag:branch:commit), project metadata, project toml, project VERSION, or settings.",
927
+ max_length=75,
928
+ verbose_name="Revision",
929
+ ),
930
+ ),
931
+ migrations.AlterField(
932
+ model_name="historicalsubjectrefusal",
933
+ name="subject_identifier_aka",
934
+ field=models.CharField(
935
+ default="",
936
+ editable=False,
937
+ help_text="track a previously allocated identifier.",
938
+ max_length=50,
939
+ verbose_name="Subject Identifier a.k.a",
940
+ ),
941
+ ),
942
+ migrations.AlterField(
943
+ model_name="historicalsubjectscreening",
944
+ name="acute_condition",
945
+ field=models.CharField(
946
+ choices=[("Yes", "Yes"), ("No", "No")],
947
+ default="",
948
+ max_length=15,
949
+ verbose_name="Does the patient have any acute condition requiring immediate hospital care/admission",
950
+ ),
951
+ ),
952
+ migrations.AlterField(
953
+ model_name="historicalsubjectscreening",
954
+ name="acute_metabolic_acidosis",
955
+ field=models.CharField(
956
+ choices=[("Yes", "Yes"), ("No", "No")],
957
+ default="",
958
+ help_text="lactic acidosis and/or diabetic ketoacidosis",
959
+ max_length=15,
960
+ verbose_name="Does the patient have any signs or symptoms of acute metabolic acidosis",
961
+ ),
962
+ ),
963
+ migrations.AlterField(
964
+ model_name="historicalsubjectscreening",
965
+ name="alcoholism",
966
+ field=models.CharField(
967
+ choices=[("Yes", "Yes"), ("No", "No")],
968
+ default="",
969
+ help_text="Evidence of alcoholism or acute alcohol intoxication: flushing, amnesia, mental confusion, nausea or vomiting, slurred speech, dehydration, dry skin and brittle hair.",
970
+ max_length=15,
971
+ verbose_name="Does the patient have any evidence of alcoholism or acute alcohol intoxication",
972
+ ),
973
+ ),
974
+ migrations.AlterField(
975
+ model_name="historicalsubjectscreening",
976
+ name="congestive_heart_failure",
977
+ field=models.CharField(
978
+ choices=[("Yes", "Yes"), ("No", "No")],
979
+ default="",
980
+ max_length=15,
981
+ verbose_name="Does the patient have congestive heart failure requiring pharmacologic therapy",
982
+ ),
983
+ ),
984
+ migrations.AlterField(
985
+ model_name="historicalsubjectscreening",
986
+ name="creatinine_units",
987
+ field=models.CharField(
988
+ blank=True,
989
+ choices=[("mg/dL", "mg/dL"), ("umol/L", "μmol/L (micromoles/L)")],
990
+ default="",
991
+ max_length=15,
992
+ verbose_name="Units (creatinine)",
993
+ ),
994
+ ),
995
+ migrations.AlterField(
996
+ model_name="historicalsubjectscreening",
997
+ name="device_created",
998
+ field=models.CharField(
999
+ blank=True, default="", max_length=10, verbose_name="Device created"
1000
+ ),
1001
+ ),
1002
+ migrations.AlterField(
1003
+ model_name="historicalsubjectscreening",
1004
+ name="device_modified",
1005
+ field=models.CharField(
1006
+ blank=True, default="", max_length=10, verbose_name="Device modified"
1007
+ ),
1008
+ ),
1009
+ migrations.AlterField(
1010
+ model_name="historicalsubjectscreening",
1011
+ name="has_dm",
1012
+ field=models.CharField(
1013
+ choices=[("Yes", "Yes"), ("No", "No")],
1014
+ default="",
1015
+ max_length=15,
1016
+ verbose_name="Is the patient known to have diabetes?",
1017
+ ),
1018
+ ),
1019
+ migrations.AlterField(
1020
+ model_name="historicalsubjectscreening",
1021
+ name="liver_disease",
1022
+ field=models.CharField(
1023
+ choices=[("Yes", "Yes"), ("No", "No")],
1024
+ default="",
1025
+ help_text="Evidence of chronic liver disease: Jaundice, pruritus, hepatomegaly, ascites, spider naevi and flapping tremors.",
1026
+ max_length=15,
1027
+ verbose_name="Is there clinical evidence of liver disease",
1028
+ ),
1029
+ ),
1030
+ migrations.AlterField(
1031
+ model_name="historicalsubjectscreening",
1032
+ name="locale_created",
1033
+ field=models.CharField(
1034
+ blank=True,
1035
+ default="",
1036
+ help_text="Auto-updated by Modeladmin",
1037
+ max_length=10,
1038
+ verbose_name="Locale created",
1039
+ ),
1040
+ ),
1041
+ migrations.AlterField(
1042
+ model_name="historicalsubjectscreening",
1043
+ name="locale_modified",
1044
+ field=models.CharField(
1045
+ blank=True,
1046
+ default="",
1047
+ help_text="Auto-updated by Modeladmin",
1048
+ max_length=10,
1049
+ verbose_name="Locale modified",
1050
+ ),
1051
+ ),
1052
+ migrations.AlterField(
1053
+ model_name="historicalsubjectscreening",
1054
+ name="meta_phase_two",
1055
+ field=models.CharField(
1056
+ choices=[("Yes", "Yes"), ("No", "No")],
1057
+ default="",
1058
+ max_length=15,
1059
+ verbose_name="Was the subject enrolled in the <u>META Phase 2</u> trial?",
1060
+ ),
1061
+ ),
1062
+ migrations.AlterField(
1063
+ model_name="historicalsubjectscreening",
1064
+ name="metformin_sensitivity",
1065
+ field=models.CharField(
1066
+ choices=[("Yes", "Yes"), ("No", "No")],
1067
+ default="",
1068
+ help_text="For example: Magnesium stearate, sodium carboxymethylcellulose, hypromellose",
1069
+ max_length=15,
1070
+ verbose_name="Does the patient have any known hypersensitivity to metformin or any excipients associated with its preparation",
1071
+ ),
1072
+ ),
1073
+ migrations.AlterField(
1074
+ model_name="historicalsubjectscreening",
1075
+ name="on_dm_medication",
1076
+ field=models.CharField(
1077
+ choices=[("Yes", "Yes"), ("No", "No")],
1078
+ default="",
1079
+ max_length=15,
1080
+ verbose_name="Is the patient known to be taking anti-diabetic medications?",
1081
+ ),
1082
+ ),
1083
+ migrations.AlterField(
1084
+ model_name="historicalsubjectscreening",
1085
+ name="p3_ltfu_comment",
1086
+ field=models.TextField(
1087
+ blank=True,
1088
+ default="",
1089
+ verbose_name="Provide any additional comments on this decision (or leave blank)",
1090
+ ),
1091
+ ),
1092
+ migrations.AlterField(
1093
+ model_name="historicalsubjectscreening",
1094
+ name="reasons_ineligible",
1095
+ field=models.TextField(
1096
+ default="", max_length=150, verbose_name="Reason not eligible"
1097
+ ),
1098
+ ),
1099
+ migrations.AlterField(
1100
+ model_name="historicalsubjectscreening",
1101
+ name="reasons_ineligible_part_one",
1102
+ field=models.TextField(default="", editable=False, max_length=150),
1103
+ ),
1104
+ migrations.AlterField(
1105
+ model_name="historicalsubjectscreening",
1106
+ name="reasons_ineligible_part_three",
1107
+ field=models.TextField(default="", editable=False, max_length=150),
1108
+ ),
1109
+ migrations.AlterField(
1110
+ model_name="historicalsubjectscreening",
1111
+ name="reasons_ineligible_part_two",
1112
+ field=models.TextField(default="", editable=False, max_length=150),
1113
+ ),
1114
+ migrations.AlterField(
1115
+ model_name="historicalsubjectscreening",
1116
+ name="reasons_unsuitable",
1117
+ field=models.TextField(
1118
+ blank=True,
1119
+ default="",
1120
+ max_length=150,
1121
+ verbose_name="Reason not suitable for the study",
1122
+ ),
1123
+ ),
1124
+ migrations.AlterField(
1125
+ model_name="historicalsubjectscreening",
1126
+ name="renal_function_condition",
1127
+ field=models.CharField(
1128
+ choices=[("Yes", "Yes"), ("No", "No")],
1129
+ default="",
1130
+ max_length=15,
1131
+ verbose_name="Does the patient have any acute condition which can alter renal function including: dehydration, severe infection or shock",
1132
+ ),
1133
+ ),
1134
+ migrations.AlterField(
1135
+ model_name="historicalsubjectscreening",
1136
+ name="report_datetime",
1137
+ field=models.DateTimeField(
1138
+ default=django.utils.timezone.now,
1139
+ help_text="Date and time of report.",
1140
+ validators=[
1141
+ edc_protocol.validators.datetime_not_before_study_start,
1142
+ edc_model.validators.date.datetime_not_future,
1143
+ ],
1144
+ verbose_name="Report Date and Time",
1145
+ ),
1146
+ ),
1147
+ migrations.AlterField(
1148
+ model_name="historicalsubjectscreening",
1149
+ name="revision",
1150
+ field=django_revision.revision_field.RevisionField(
1151
+ blank=True,
1152
+ default="",
1153
+ editable=False,
1154
+ help_text="System field. From git repository (tag:branch:commit), project metadata, project toml, project VERSION, or settings.",
1155
+ max_length=75,
1156
+ verbose_name="Revision",
1157
+ ),
1158
+ ),
1159
+ migrations.AlterField(
1160
+ model_name="historicalsubjectscreening",
1161
+ name="severe_htn",
1162
+ field=models.CharField(
1163
+ blank=True,
1164
+ choices=[("Yes", "Yes"), ("No", "No")],
1165
+ default="",
1166
+ help_text="Based on the above readings. Severe HTN is any BP reading > 180/110mmHg",
1167
+ max_length=15,
1168
+ verbose_name="Does the patient have severe hypertension?",
1169
+ ),
1170
+ ),
1171
+ migrations.AlterField(
1172
+ model_name="historicalsubjectscreening",
1173
+ name="slug",
1174
+ field=models.CharField(
1175
+ db_index=True,
1176
+ default="",
1177
+ editable=False,
1178
+ help_text="Hold slug field values for quick search. Excludes encrypted fields",
1179
+ max_length=250,
1180
+ ),
1181
+ ),
1182
+ migrations.AlterField(
1183
+ model_name="historicalsubjectscreening",
1184
+ name="staying_nearby_12",
1185
+ field=models.CharField(
1186
+ choices=[("Yes", "Yes"), ("No", "No")],
1187
+ default="",
1188
+ max_length=15,
1189
+ verbose_name="Is the patient planning to remain in the catchment area for <u>at least 12 months</u>",
1190
+ ),
1191
+ ),
1192
+ migrations.AlterField(
1193
+ model_name="historicalsubjectscreening",
1194
+ name="staying_nearby_6",
1195
+ field=models.CharField(
1196
+ choices=[("Yes", "Yes"), ("No", "No")],
1197
+ default="",
1198
+ editable=False,
1199
+ help_text="META PHASE_TWO ONLY",
1200
+ max_length=15,
1201
+ verbose_name="Is the patient planning to remain in the catchment area for at least 6 months",
1202
+ ),
1203
+ ),
1204
+ migrations.AlterField(
1205
+ model_name="historicalsubjectscreening",
1206
+ name="subject_identifier_aka",
1207
+ field=models.CharField(
1208
+ default="",
1209
+ editable=False,
1210
+ help_text="track a previously allocated identifier.",
1211
+ max_length=50,
1212
+ verbose_name="Subject Identifier a.k.a",
1213
+ ),
1214
+ ),
1215
+ migrations.AlterField(
1216
+ model_name="historicalsubjectscreening",
1217
+ name="tissue_hypoxia_condition",
1218
+ field=models.CharField(
1219
+ choices=[("Yes", "Yes"), ("No", "No")],
1220
+ default="",
1221
+ help_text="Including: decompensated heart failure, respiratory failure, recent myocardial infarction or shock",
1222
+ max_length=15,
1223
+ verbose_name="Does the patient have any acute condition which can cause tissue hypoxia",
1224
+ ),
1225
+ ),
1226
+ migrations.AlterField(
1227
+ model_name="subjectrefusal",
1228
+ name="device_created",
1229
+ field=models.CharField(
1230
+ blank=True, default="", max_length=10, verbose_name="Device created"
1231
+ ),
1232
+ ),
1233
+ migrations.AlterField(
1234
+ model_name="subjectrefusal",
1235
+ name="device_modified",
1236
+ field=models.CharField(
1237
+ blank=True, default="", max_length=10, verbose_name="Device modified"
1238
+ ),
1239
+ ),
1240
+ migrations.AlterField(
1241
+ model_name="subjectrefusal",
1242
+ name="locale_created",
1243
+ field=models.CharField(
1244
+ blank=True,
1245
+ default="",
1246
+ help_text="Auto-updated by Modeladmin",
1247
+ max_length=10,
1248
+ verbose_name="Locale created",
1249
+ ),
1250
+ ),
1251
+ migrations.AlterField(
1252
+ model_name="subjectrefusal",
1253
+ name="locale_modified",
1254
+ field=models.CharField(
1255
+ blank=True,
1256
+ default="",
1257
+ help_text="Auto-updated by Modeladmin",
1258
+ max_length=10,
1259
+ verbose_name="Locale modified",
1260
+ ),
1261
+ ),
1262
+ migrations.AlterField(
1263
+ model_name="subjectrefusal",
1264
+ name="other_reason",
1265
+ field=edc_model_fields.fields.other_charfield.OtherCharField(
1266
+ blank=True,
1267
+ default="",
1268
+ max_length=35,
1269
+ verbose_name="If other, please specify ...",
1270
+ ),
1271
+ ),
1272
+ migrations.AlterField(
1273
+ model_name="subjectrefusal",
1274
+ name="revision",
1275
+ field=django_revision.revision_field.RevisionField(
1276
+ blank=True,
1277
+ default="",
1278
+ editable=False,
1279
+ help_text="System field. From git repository (tag:branch:commit), project metadata, project toml, project VERSION, or settings.",
1280
+ max_length=75,
1281
+ verbose_name="Revision",
1282
+ ),
1283
+ ),
1284
+ migrations.AlterField(
1285
+ model_name="subjectrefusal",
1286
+ name="subject_identifier_aka",
1287
+ field=models.CharField(
1288
+ default="",
1289
+ editable=False,
1290
+ help_text="track a previously allocated identifier.",
1291
+ max_length=50,
1292
+ verbose_name="Subject Identifier a.k.a",
1293
+ ),
1294
+ ),
1295
+ migrations.AlterField(
1296
+ model_name="subjectscreening",
1297
+ name="acute_condition",
1298
+ field=models.CharField(
1299
+ choices=[("Yes", "Yes"), ("No", "No")],
1300
+ default="",
1301
+ max_length=15,
1302
+ verbose_name="Does the patient have any acute condition requiring immediate hospital care/admission",
1303
+ ),
1304
+ ),
1305
+ migrations.AlterField(
1306
+ model_name="subjectscreening",
1307
+ name="acute_metabolic_acidosis",
1308
+ field=models.CharField(
1309
+ choices=[("Yes", "Yes"), ("No", "No")],
1310
+ default="",
1311
+ help_text="lactic acidosis and/or diabetic ketoacidosis",
1312
+ max_length=15,
1313
+ verbose_name="Does the patient have any signs or symptoms of acute metabolic acidosis",
1314
+ ),
1315
+ ),
1316
+ migrations.AlterField(
1317
+ model_name="subjectscreening",
1318
+ name="alcoholism",
1319
+ field=models.CharField(
1320
+ choices=[("Yes", "Yes"), ("No", "No")],
1321
+ default="",
1322
+ help_text="Evidence of alcoholism or acute alcohol intoxication: flushing, amnesia, mental confusion, nausea or vomiting, slurred speech, dehydration, dry skin and brittle hair.",
1323
+ max_length=15,
1324
+ verbose_name="Does the patient have any evidence of alcoholism or acute alcohol intoxication",
1325
+ ),
1326
+ ),
1327
+ migrations.AlterField(
1328
+ model_name="subjectscreening",
1329
+ name="congestive_heart_failure",
1330
+ field=models.CharField(
1331
+ choices=[("Yes", "Yes"), ("No", "No")],
1332
+ default="",
1333
+ max_length=15,
1334
+ verbose_name="Does the patient have congestive heart failure requiring pharmacologic therapy",
1335
+ ),
1336
+ ),
1337
+ migrations.AlterField(
1338
+ model_name="subjectscreening",
1339
+ name="creatinine_units",
1340
+ field=models.CharField(
1341
+ blank=True,
1342
+ choices=[("mg/dL", "mg/dL"), ("umol/L", "μmol/L (micromoles/L)")],
1343
+ default="",
1344
+ max_length=15,
1345
+ verbose_name="Units (creatinine)",
1346
+ ),
1347
+ ),
1348
+ migrations.AlterField(
1349
+ model_name="subjectscreening",
1350
+ name="device_created",
1351
+ field=models.CharField(
1352
+ blank=True, default="", max_length=10, verbose_name="Device created"
1353
+ ),
1354
+ ),
1355
+ migrations.AlterField(
1356
+ model_name="subjectscreening",
1357
+ name="device_modified",
1358
+ field=models.CharField(
1359
+ blank=True, default="", max_length=10, verbose_name="Device modified"
1360
+ ),
1361
+ ),
1362
+ migrations.AlterField(
1363
+ model_name="subjectscreening",
1364
+ name="has_dm",
1365
+ field=models.CharField(
1366
+ choices=[("Yes", "Yes"), ("No", "No")],
1367
+ default="",
1368
+ max_length=15,
1369
+ verbose_name="Is the patient known to have diabetes?",
1370
+ ),
1371
+ ),
1372
+ migrations.AlterField(
1373
+ model_name="subjectscreening",
1374
+ name="liver_disease",
1375
+ field=models.CharField(
1376
+ choices=[("Yes", "Yes"), ("No", "No")],
1377
+ default="",
1378
+ help_text="Evidence of chronic liver disease: Jaundice, pruritus, hepatomegaly, ascites, spider naevi and flapping tremors.",
1379
+ max_length=15,
1380
+ verbose_name="Is there clinical evidence of liver disease",
1381
+ ),
1382
+ ),
1383
+ migrations.AlterField(
1384
+ model_name="subjectscreening",
1385
+ name="locale_created",
1386
+ field=models.CharField(
1387
+ blank=True,
1388
+ default="",
1389
+ help_text="Auto-updated by Modeladmin",
1390
+ max_length=10,
1391
+ verbose_name="Locale created",
1392
+ ),
1393
+ ),
1394
+ migrations.AlterField(
1395
+ model_name="subjectscreening",
1396
+ name="locale_modified",
1397
+ field=models.CharField(
1398
+ blank=True,
1399
+ default="",
1400
+ help_text="Auto-updated by Modeladmin",
1401
+ max_length=10,
1402
+ verbose_name="Locale modified",
1403
+ ),
1404
+ ),
1405
+ migrations.AlterField(
1406
+ model_name="subjectscreening",
1407
+ name="meta_phase_two",
1408
+ field=models.CharField(
1409
+ choices=[("Yes", "Yes"), ("No", "No")],
1410
+ default="",
1411
+ max_length=15,
1412
+ verbose_name="Was the subject enrolled in the <u>META Phase 2</u> trial?",
1413
+ ),
1414
+ ),
1415
+ migrations.AlterField(
1416
+ model_name="subjectscreening",
1417
+ name="metformin_sensitivity",
1418
+ field=models.CharField(
1419
+ choices=[("Yes", "Yes"), ("No", "No")],
1420
+ default="",
1421
+ help_text="For example: Magnesium stearate, sodium carboxymethylcellulose, hypromellose",
1422
+ max_length=15,
1423
+ verbose_name="Does the patient have any known hypersensitivity to metformin or any excipients associated with its preparation",
1424
+ ),
1425
+ ),
1426
+ migrations.AlterField(
1427
+ model_name="subjectscreening",
1428
+ name="on_dm_medication",
1429
+ field=models.CharField(
1430
+ choices=[("Yes", "Yes"), ("No", "No")],
1431
+ default="",
1432
+ max_length=15,
1433
+ verbose_name="Is the patient known to be taking anti-diabetic medications?",
1434
+ ),
1435
+ ),
1436
+ migrations.AlterField(
1437
+ model_name="subjectscreening",
1438
+ name="p3_ltfu_comment",
1439
+ field=models.TextField(
1440
+ blank=True,
1441
+ default="",
1442
+ verbose_name="Provide any additional comments on this decision (or leave blank)",
1443
+ ),
1444
+ ),
1445
+ migrations.AlterField(
1446
+ model_name="subjectscreening",
1447
+ name="reasons_ineligible",
1448
+ field=models.TextField(
1449
+ default="", max_length=150, verbose_name="Reason not eligible"
1450
+ ),
1451
+ ),
1452
+ migrations.AlterField(
1453
+ model_name="subjectscreening",
1454
+ name="reasons_ineligible_part_one",
1455
+ field=models.TextField(default="", editable=False, max_length=150),
1456
+ ),
1457
+ migrations.AlterField(
1458
+ model_name="subjectscreening",
1459
+ name="reasons_ineligible_part_three",
1460
+ field=models.TextField(default="", editable=False, max_length=150),
1461
+ ),
1462
+ migrations.AlterField(
1463
+ model_name="subjectscreening",
1464
+ name="reasons_ineligible_part_two",
1465
+ field=models.TextField(default="", editable=False, max_length=150),
1466
+ ),
1467
+ migrations.AlterField(
1468
+ model_name="subjectscreening",
1469
+ name="reasons_unsuitable",
1470
+ field=models.TextField(
1471
+ blank=True,
1472
+ default="",
1473
+ max_length=150,
1474
+ verbose_name="Reason not suitable for the study",
1475
+ ),
1476
+ ),
1477
+ migrations.AlterField(
1478
+ model_name="subjectscreening",
1479
+ name="renal_function_condition",
1480
+ field=models.CharField(
1481
+ choices=[("Yes", "Yes"), ("No", "No")],
1482
+ default="",
1483
+ max_length=15,
1484
+ verbose_name="Does the patient have any acute condition which can alter renal function including: dehydration, severe infection or shock",
1485
+ ),
1486
+ ),
1487
+ migrations.AlterField(
1488
+ model_name="subjectscreening",
1489
+ name="report_datetime",
1490
+ field=models.DateTimeField(
1491
+ default=django.utils.timezone.now,
1492
+ help_text="Date and time of report.",
1493
+ validators=[
1494
+ edc_protocol.validators.datetime_not_before_study_start,
1495
+ edc_model.validators.date.datetime_not_future,
1496
+ ],
1497
+ verbose_name="Report Date and Time",
1498
+ ),
1499
+ ),
1500
+ migrations.AlterField(
1501
+ model_name="subjectscreening",
1502
+ name="revision",
1503
+ field=django_revision.revision_field.RevisionField(
1504
+ blank=True,
1505
+ default="",
1506
+ editable=False,
1507
+ help_text="System field. From git repository (tag:branch:commit), project metadata, project toml, project VERSION, or settings.",
1508
+ max_length=75,
1509
+ verbose_name="Revision",
1510
+ ),
1511
+ ),
1512
+ migrations.AlterField(
1513
+ model_name="subjectscreening",
1514
+ name="severe_htn",
1515
+ field=models.CharField(
1516
+ blank=True,
1517
+ choices=[("Yes", "Yes"), ("No", "No")],
1518
+ default="",
1519
+ help_text="Based on the above readings. Severe HTN is any BP reading > 180/110mmHg",
1520
+ max_length=15,
1521
+ verbose_name="Does the patient have severe hypertension?",
1522
+ ),
1523
+ ),
1524
+ migrations.AlterField(
1525
+ model_name="subjectscreening",
1526
+ name="slug",
1527
+ field=models.CharField(
1528
+ db_index=True,
1529
+ default="",
1530
+ editable=False,
1531
+ help_text="Hold slug field values for quick search. Excludes encrypted fields",
1532
+ max_length=250,
1533
+ ),
1534
+ ),
1535
+ migrations.AlterField(
1536
+ model_name="subjectscreening",
1537
+ name="staying_nearby_12",
1538
+ field=models.CharField(
1539
+ choices=[("Yes", "Yes"), ("No", "No")],
1540
+ default="",
1541
+ max_length=15,
1542
+ verbose_name="Is the patient planning to remain in the catchment area for <u>at least 12 months</u>",
1543
+ ),
1544
+ ),
1545
+ migrations.AlterField(
1546
+ model_name="subjectscreening",
1547
+ name="staying_nearby_6",
1548
+ field=models.CharField(
1549
+ choices=[("Yes", "Yes"), ("No", "No")],
1550
+ default="",
1551
+ editable=False,
1552
+ help_text="META PHASE_TWO ONLY",
1553
+ max_length=15,
1554
+ verbose_name="Is the patient planning to remain in the catchment area for at least 6 months",
1555
+ ),
1556
+ ),
1557
+ migrations.AlterField(
1558
+ model_name="subjectscreening",
1559
+ name="subject_identifier_aka",
1560
+ field=models.CharField(
1561
+ default="",
1562
+ editable=False,
1563
+ help_text="track a previously allocated identifier.",
1564
+ max_length=50,
1565
+ verbose_name="Subject Identifier a.k.a",
1566
+ ),
1567
+ ),
1568
+ migrations.AlterField(
1569
+ model_name="subjectscreening",
1570
+ name="tissue_hypoxia_condition",
1571
+ field=models.CharField(
1572
+ choices=[("Yes", "Yes"), ("No", "No")],
1573
+ default="",
1574
+ help_text="Including: decompensated heart failure, respiratory failure, recent myocardial infarction or shock",
1575
+ max_length=15,
1576
+ verbose_name="Does the patient have any acute condition which can cause tissue hypoxia",
1577
+ ),
1578
+ ),
1579
+ ]