meta-edc 0.3.23__py3-none-any.whl → 0.3.25__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.
- meta_analytics/dataframes/glucose_endpoints/constants.py +8 -6
- meta_analytics/dataframes/glucose_endpoints/glucose_endpoints_by_date.py +315 -258
- meta_analytics/dataframes/glucose_endpoints/utils.py +12 -13
- meta_edc/__init__.py +3 -0
- meta_edc/celery/__init__.py +2 -0
- {meta_edc-0.3.23.dist-info → meta_edc-0.3.25.dist-info}/METADATA +2 -2
- {meta_edc-0.3.23.dist-info → meta_edc-0.3.25.dist-info}/RECORD +57 -37
- meta_prn/tests/tests/test_dm_referral.py +2 -2
- meta_reports/__init__.py +1 -1
- meta_reports/admin/__init__.py +3 -1
- meta_reports/admin/endpoints_admin.py +5 -102
- meta_reports/admin/endpoints_all_admin.py +13 -0
- meta_reports/admin/list_filters.py +30 -0
- meta_reports/admin/modeladmin_mixins.py +116 -0
- meta_reports/admin/unmanaged/__init__.py +1 -0
- meta_reports/admin/unmanaged/glucose_summary_admin.py +116 -0
- meta_reports/migrations/0024_glucosesummary.py +38 -0
- meta_reports/migrations/0025_auto_20240822_0115.py +87 -0
- meta_reports/migrations/0026_auto_20240822_0120.py +54 -0
- meta_reports/migrations/0027_auto_20240822_0140.py +54 -0
- meta_reports/migrations/0028_alter_glucosesummary_options.py +22 -0
- meta_reports/migrations/0029_auto_20240822_0149.py +54 -0
- meta_reports/migrations/0030_auto_20240822_1637.py +54 -0
- meta_reports/migrations/0031_endpointsproxy.py +25 -0
- meta_reports/migrations/0032_alter_endpointsproxy_options.py +21 -0
- meta_reports/migrations/0033_auto_20240823_0012.py +54 -0
- meta_reports/models/__init__.py +2 -0
- meta_reports/models/dbviews/__init__.py +1 -0
- meta_reports/models/dbviews/glucose_summary/__init__.py +2 -0
- meta_reports/models/dbviews/glucose_summary/unmanaged_model.py +35 -0
- meta_reports/models/dbviews/glucose_summary/view_definition.py +73 -0
- meta_reports/models/endpoints.py +3 -0
- meta_reports/models/endpoints_proxy.py +11 -0
- meta_reports/tasks.py +3 -1
- meta_reports/templates/meta_reports/columns/subject_identifier_column.html +1 -0
- meta_reports/templates/meta_reports/endpoints_all_change_list_note.html +12 -0
- meta_reports/templates/meta_reports/{endpoints_changelist_note.html → endpoints_change_list_note.html} +3 -1
- meta_subject/admin/__init__.py +1 -1
- meta_subject/admin/diabetes/__init__.py +1 -1
- meta_subject/admin/diabetes/dm_endpoint_admin.py +35 -0
- meta_subject/form_validators/__init__.py +1 -1
- meta_subject/form_validators/dm_endpoint_form_validator.py +35 -0
- meta_subject/forms/__init__.py +1 -1
- meta_subject/forms/diabetes/__init__.py +1 -2
- meta_subject/forms/diabetes/dm_endpoint_form.py +13 -0
- meta_subject/migrations/0209_remove_historicaldmdxresult_dm_diagnosis_and_more.py +37 -0
- meta_subject/migrations/0210_remove_dmdxresult_dm_diagnosis_and_more.py +123 -0
- meta_subject/migrations/0211_dmendpoint_endpoint_reached_and_more.py +45 -0
- meta_subject/models/__init__.py +1 -1
- meta_subject/models/diabetes/__init__.py +1 -2
- meta_subject/models/diabetes/dm_endpoint.py +61 -0
- meta_subject/models/glucose.py +4 -1
- meta_visit_schedule/visit_schedules/phase_three/schedule_dm_referral.py +1 -1
- meta_subject/admin/diabetes/dm_diagnosis_admin.py +0 -89
- meta_subject/form_validators/dm_diagnosis_form_validator.py +0 -38
- meta_subject/form_validators/dm_dx_result_form_validator.py +0 -7
- meta_subject/forms/diabetes/dm_diagnosis_form.py +0 -13
- meta_subject/forms/diabetes/dm_dx_result_form.py +0 -11
- meta_subject/models/diabetes/dm_diagnosis.py +0 -50
- meta_subject/models/diabetes/dm_dx_result.py +0 -70
- {meta_edc-0.3.23.dist-info → meta_edc-0.3.25.dist-info}/AUTHORS +0 -0
- {meta_edc-0.3.23.dist-info → meta_edc-0.3.25.dist-info}/LICENSE +0 -0
- {meta_edc-0.3.23.dist-info → meta_edc-0.3.25.dist-info}/WHEEL +0 -0
- {meta_edc-0.3.23.dist-info → meta_edc-0.3.25.dist-info}/top_level.txt +0 -0
@@ -1,8 +1,10 @@
|
|
1
|
-
OGTT_THRESHOLD_MET = "OGTT >= 11.1"
|
2
|
-
EOS_DM_MET = "EOS - Patient developed diabetes"
|
3
|
-
CASE_OGTT = 1
|
4
1
|
CASE_EOS = 7
|
2
|
+
CASE_FBGS_WITH_FIRST_OGTT = 2
|
3
|
+
CASE_FBGS_WITH_SECOND_OGTT = 3
|
5
4
|
CASE_FBG_ONLY = 4
|
5
|
+
CASE_OGTT = 1
|
6
|
+
EOS_DM_MET = "EOS - Patient developed diabetes"
|
7
|
+
OGTT_THRESHOLD_MET = "OGTT >= 11.1"
|
6
8
|
|
7
9
|
endpoint_columns = [
|
8
10
|
"subject_identifier",
|
@@ -24,8 +26,8 @@ endpoint_columns = [
|
|
24
26
|
|
25
27
|
endpoint_cases = {
|
26
28
|
CASE_OGTT: OGTT_THRESHOLD_MET,
|
27
|
-
|
28
|
-
|
29
|
-
|
29
|
+
CASE_FBGS_WITH_FIRST_OGTT: "FBG >= 7 x 2, first OGTT<=11.1",
|
30
|
+
CASE_FBGS_WITH_SECOND_OGTT: "FBG >= 7 x 2, second OGTT<=11.1",
|
31
|
+
CASE_FBG_ONLY: "FBG >= 7 x 2, OGTT not considered",
|
30
32
|
CASE_EOS: EOS_DM_MET,
|
31
33
|
}
|