clinicedc 2.0.6__py3-none-any.whl → 2.0.8__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 clinicedc might be problematic. Click here for more details.
- {clinicedc-2.0.6.dist-info → clinicedc-2.0.8.dist-info}/METADATA +2 -2
- {clinicedc-2.0.6.dist-info → clinicedc-2.0.8.dist-info}/RECORD +489 -441
- {clinicedc-2.0.6.dist-info → clinicedc-2.0.8.dist-info}/WHEEL +1 -1
- edc_action_item/action.py +1 -1
- edc_action_item/action_item_notification.py +2 -2
- edc_action_item/auths.py +37 -32
- edc_action_item/create_action_item.py +1 -1
- edc_action_item/decorators.py +1 -1
- edc_action_item/migrations/0001_initial.py +21 -22
- edc_action_item/migrations/0006_auto_20180707_1659.py +4 -4
- edc_action_item/migrations/0008_auto_20180809_0303.py +4 -4
- edc_action_item/migrations/0015_auto_20190114_0250.py +4 -4
- edc_action_item/migrations/0017_auto_20190305_0123.py +11 -30
- edc_action_item/migrations/0030_edcpermissions.py +3 -2
- edc_action_item/migrations/0039_alter_actionitem_auto_created_comment_and_more.py +398 -0
- edc_action_item/migrations/0040_alter_actionitem_report_datetime_and_more.py +34 -0
- edc_action_item/models/action_item.py +9 -4
- edc_action_item/models/action_model_mixin.py +5 -6
- edc_action_item/models/reference.py +2 -2
- edc_action_item/models/signals.py +22 -23
- edc_action_item/post_migrate_signals.py +1 -1
- edc_action_item/send_email.py +0 -85
- edc_action_item/site_action_items.py +5 -9
- edc_action_item/utils.py +3 -3
- edc_adherence/migrations/0005_alter_nonadherencereasons_extra_value_and_more.py +36 -0
- edc_adherence/model_mixins.py +1 -1
- edc_adverse_event/auths.py +55 -51
- edc_adverse_event/migrations/0001_initial.py +5 -4
- edc_adverse_event/migrations/0002_auto_20190802_0059.py +3 -2
- edc_adverse_event/migrations/0008_auto_20220825_0451.py +3 -2
- edc_adverse_event/migrations/0009_auto_20220907_0157.py +3 -2
- edc_adverse_event/migrations/0016_alter_aeactionclassification_device_created_and_more.py +285 -0
- edc_adverse_event/model_mixins/ae_followup/ae_followup_fields_model_mixin.py +2 -2
- edc_adverse_event/model_mixins/ae_initial/ae_initial_fields_model_mixin.py +6 -5
- edc_adverse_event/model_mixins/ae_special_interest/aesi_fields_model_mixin.py +2 -2
- edc_adverse_event/model_mixins/ae_susar/ae_susar_fields_model_mixin.py +2 -2
- edc_adverse_event/model_mixins/ae_tmg/ae_tmg_fields_model_mixin.py +15 -11
- edc_adverse_event/model_mixins/ae_tmg/ae_tmg_methods_model_mixin.py +2 -4
- edc_adverse_event/model_mixins/death_report/death_report_model_mixin.py +5 -4
- edc_adverse_event/model_mixins/death_report/death_report_tmg_model_mixin.py +6 -3
- edc_adverse_event/model_mixins/death_report/simple_death_report_model_mixin.py +2 -2
- edc_adverse_event/model_mixins/hospitaization/hospitalization_model_mixin.py +4 -3
- edc_adverse_event/modeladmin_mixins/death_report_admin_mixin.py +3 -3
- edc_adverse_event/models/signals.py +7 -7
- edc_adverse_event/templatetags/edc_adverse_event_extras.py +5 -4
- edc_adverse_event/view_mixins/ae/ae_listboard_view_mixin.py +3 -5
- edc_adverse_event/view_mixins/ae/death_report_listboard_view_mixin.py +6 -8
- edc_adverse_event/view_mixins/tmg/tmg_ae_listboard_view_mixin.py +2 -2
- edc_adverse_event/views/tmg/summary_listboard_view.py +3 -2
- edc_appointment/admin/appointment_admin.py +2 -2
- edc_appointment/admin/list_filters.py +2 -2
- edc_appointment/auths.py +14 -10
- edc_appointment/creators/appointment_creator.py +1 -1
- edc_appointment/creators/appointments_creator.py +1 -1
- edc_appointment/form_validators/appointment_form_validator.py +108 -82
- edc_appointment/migrations/0003_auto_20161127_2226.py +5 -6
- edc_appointment/migrations/0006_auto_20170106_2118.py +5 -5
- edc_appointment/migrations/0018_auto_20190305_0123.py +5 -12
- edc_appointment/migrations/0050_alter_appointment_appt_type_and_more.py +220 -0
- edc_appointment/model_mixins/appointment_fields_model_mixin.py +1 -2
- edc_appointment/model_mixins/appointment_methods_model_mixin.py +2 -3
- edc_appointment/model_mixins/appointment_model_mixin.py +31 -28
- edc_appointment/model_mixins/window_period_model_mixin.py +6 -7
- edc_appointment/models/appointment.py +1 -1
- edc_appointment/models/signals.py +44 -35
- edc_appointment/utils.py +19 -24
- edc_appointment/view_utils/appointment_button.py +2 -2
- edc_auth/admin/user_admin.py +1 -1
- edc_auth/auth_objects/__init__.py +2 -20
- edc_auth/auth_objects/default_groups.py +13 -11
- edc_auth/auth_objects/default_roles.py +26 -24
- edc_auth/auth_updater/auth_updater.py +13 -2
- edc_auth/auth_updater/group_updater.py +12 -10
- edc_auth/auth_updater/role_updater.py +2 -2
- edc_auth/constants.py +10 -0
- edc_auth/import_users.py +3 -3
- edc_auth/migrations/0001_squashed_0033_alter_userprofile_is_multisite_viewer.py +5 -5
- edc_auth/migrations/0012_auto_20191026_0034.py +3 -2
- edc_auth/migrations/0013_auto_20191026_0055.py +3 -2
- edc_auth/migrations/0025_permissions.py +3 -2
- edc_auth/migrations/0035_alter_edcpermissions_device_created_and_more.py +85 -0
- edc_auth/models/user_profile.py +14 -11
- edc_auth/post_migrate_signals.py +1 -1
- edc_auth/site_auths.py +80 -67
- edc_consent/actions.py +4 -5
- edc_consent/auths.py +18 -12
- edc_consent/migrations/0001_initial.py +3 -2
- edc_consent/migrations/0006_alter_edcpermissions_device_created_and_more.py +49 -0
- edc_consent/model_mixins/consent_extension_model_mixin.py +4 -5
- edc_consent/model_mixins/requires_consent_fields_model_mixin.py +2 -2
- edc_consent/utils.py +1 -1
- edc_constants/constants.py +1 -0
- edc_crf/auths.py +5 -0
- edc_crf/migrations/0001_initial.py +3 -2
- edc_crf/migrations/0009_alter_crfstatus_device_created_and_more.py +54 -0
- edc_dashboard/auths.py +10 -6
- edc_dashboard/migrations/0001_initial.py +3 -2
- edc_dashboard/migrations/0006_alter_edcpermissions_device_created_and_more.py +49 -0
- edc_dashboard/templatetags/edc_dashboard_extras.py +3 -2
- edc_dashboard/url_config.py +92 -83
- edc_dashboard/url_names.py +4 -4
- edc_dashboard/view_mixins/url_request_context_mixin.py +6 -5
- edc_data_manager/action_items.py +4 -6
- edc_data_manager/admin/actions.py +5 -5
- edc_data_manager/admin/data_query_admin.py +12 -11
- edc_data_manager/auths.py +37 -34
- edc_data_manager/handlers/handlers.py +6 -7
- edc_data_manager/migrations/0001_initial.py +19 -19
- edc_data_manager/migrations/0025_edcpermissions.py +3 -2
- edc_data_manager/migrations/0040_alter_datadictionary_device_created_and_more.py +327 -0
- edc_data_manager/migrations/0041_alter_dataquery_dm_user_and_more.py +164 -0
- edc_data_manager/models/data_query.py +5 -5
- edc_data_manager/models/model_mixins.py +8 -8
- edc_data_manager/rule/query_rule_wrapper.py +7 -7
- edc_data_manager/rule/rule_runner.py +4 -3
- edc_document_status/model_mixins.py +1 -1
- edc_egfr/egfr.py +11 -7
- edc_egfr/model_mixins/egfr_model_mixin.py +3 -7
- edc_export/admin/data_request_admin.py +2 -2
- edc_export/archive_exporter.py +7 -5
- edc_export/auths.py +32 -28
- edc_export/files_archiver.py +3 -2
- edc_export/migrations/0001_initial.py +26 -26
- edc_export/migrations/0004_auto_20190305_0123.py +25 -72
- edc_export/migrations/0013_edcpermissions.py +3 -2
- edc_export/migrations/0022_alter_datarequest_description_and_more.py +611 -0
- edc_export/migrations/0023_alter_datarequesthistory_archive_filename_and_more.py +29 -0
- edc_export/model_exporter/file_history_updater.py +10 -10
- edc_export/model_exporter/model_exporter.py +17 -15
- edc_export/model_exporter/object_history_helpers.py +2 -2
- edc_export/models/data_request_history.py +4 -4
- edc_export/utils.py +10 -15
- edc_facility/auths.py +8 -3
- edc_facility/facility.py +16 -22
- edc_facility/import_holidays.py +13 -13
- edc_facility/migrations/0005_healthfacility_healthfacilitytypes_and_more.py +8 -7
- edc_facility/migrations/0016_alter_healthfacility_device_created_and_more.py +139 -0
- edc_facility/migrations/0017_alter_healthfacility_gps_and_more.py +54 -0
- edc_facility/model_mixins.py +5 -5
- edc_form_label/custom_label_condition.py +11 -8
- edc_form_label/form_label.py +1 -1
- edc_form_runners/auths.py +11 -6
- edc_form_runners/form_runner.py +3 -5
- edc_form_runners/migrations/0001_initial.py +3 -2
- edc_form_runners/migrations/0005_alter_issue_device_created_and_more.py +49 -0
- edc_form_validators/applicable_field_validator.py +7 -6
- edc_form_validators/base_form_validator.py +8 -9
- edc_form_validators/other_specify_field_validator.py +2 -8
- edc_form_validators/required_field_validator.py +19 -16
- edc_identifier/migrations/0001_squashed_0018_auto_20180128_1054.py +3 -3
- edc_identifier/migrations/0002_auto_20190305_0123.py +3 -6
- edc_identifier/migrations/0006_auto_20161127_2226.py +15 -15
- edc_identifier/migrations/0007_auto_20161204_2227.py +3 -3
- edc_identifier/migrations/0009_auto_20161221_2323.py +3 -5
- edc_identifier/migrations/0010_auto_20170112_0602.py +17 -17
- edc_identifier/migrations/0011_alter_identifiermodel_device_created_and_more.py +79 -0
- edc_identifier/model_mixins.py +1 -1
- edc_identifier/models.py +9 -9
- edc_identifier/research_identifier.py +11 -10
- edc_identifier/simple_identifier.py +9 -5
- edc_identifier/subject_identifier.py +3 -2
- edc_lab/auths.py +26 -23
- edc_lab/lab/aliquot_creator.py +5 -8
- edc_lab/lab/primary_aliquot.py +14 -5
- edc_lab/migrations/0001_initial.py +29 -29
- edc_lab/migrations/0008_auto_20170921_0719.py +3 -3
- edc_lab/migrations/0010_auto_20171127_1541.py +15 -15
- edc_lab/migrations/0012_auto_20180114_1438.py +3 -3
- edc_lab/migrations/0019_auto_20190305_0123.py +43 -127
- edc_lab/migrations/0036_alter_aliquot_comment_alter_aliquot_device_created_and_more.py +1139 -0
- edc_lab/migrations/0037_alter_historicalorder_order_datetime_and_more.py +31 -0
- edc_lab/model_mixins/aliquot/aliquot_identifier_model_mixin.py +2 -2
- edc_lab/model_mixins/aliquot/aliquot_model_mixin.py +2 -2
- edc_lab/model_mixins/panel_model_mixin.py +18 -7
- edc_lab/model_mixins/requisition/crf_with_requisition_model_mixin.py +2 -4
- edc_lab/model_mixins/requisition/requisition_model_mixin.py +13 -16
- edc_lab/model_mixins/requisition/requisition_verify_model_mixin.py +1 -1
- edc_lab/model_mixins/result/result_item_model_mixin.py +4 -4
- edc_lab/model_mixins/shipping/manifest_model_mixin.py +4 -5
- edc_lab/model_mixins/shipping/verify_model_mixin.py +4 -6
- edc_lab/models/aliquot.py +2 -2
- edc_lab/models/box.py +1 -1
- edc_lab/models/box_item.py +6 -7
- edc_lab/models/manifest/manifest.py +3 -3
- edc_lab/models/manifest/manifest_item.py +7 -7
- edc_lab/models/manifest/shipper.py +3 -4
- edc_lab/models/order.py +6 -4
- edc_lab/models/panel.py +4 -4
- edc_lab/models/result.py +2 -2
- edc_lab/models/result_item.py +2 -2
- edc_lab_dashboard/auths.py +16 -11
- edc_lab_dashboard/migrations/0001_initial.py +3 -2
- edc_lab_dashboard/migrations/0005_alter_edcpermissions_device_created_and_more.py +49 -0
- edc_lab_dashboard/views/action_views/receive_view.py +2 -2
- edc_lab_dashboard/views/action_views/verify_box_item_view.py +2 -2
- edc_lab_results/calculate_missing.py +8 -8
- edc_lab_results/form_validator_mixins/blood_results_form_validator_mixin.py +2 -2
- edc_lab_results/get_summary.py +26 -25
- edc_lab_results/model_mixins/blood_result_model_mixin.py +9 -7
- edc_lab_results/model_mixins/fbg_model_mixin.py +3 -3
- edc_lab_results/model_mixins/glucose_model_mixin.py +3 -3
- edc_lab_results/model_mixins/hba1c_model_mixin.py +3 -3
- edc_label/auths.py +6 -1
- edc_label/label_template.py +8 -8
- edc_label/migrations/0001_initial.py +3 -2
- edc_label/migrations/0007_alter_zpllabeltemplates_device_created_and_more.py +49 -0
- edc_list_data/list_model_maker.py +2 -2
- edc_list_data/load_list_data.py +11 -14
- edc_list_data/load_model_data.py +3 -3
- edc_list_data/model_mixins.py +12 -4
- edc_list_data/post_migrate_signals.py +1 -1
- edc_list_data/preload_data.py +4 -4
- edc_list_data/row.py +1 -1
- edc_list_data/site_list_data.py +6 -5
- edc_listboard/migrations/0001_initial.py +3 -2
- edc_listboard/migrations/0007_alter_listboard_device_created_and_more.py +49 -0
- edc_locator/auths.py +18 -13
- edc_locator/migrations/0001_initial.py +7 -7
- edc_locator/migrations/0018_auto_20190305_0123.py +5 -12
- edc_locator/migrations/0040_alter_historicalsubjectlocator_action_identifier_and_more.py +187 -0
- edc_locator/migrations/0041_alter_historicalsubjectlocator_report_datetime_and_more.py +27 -0
- edc_locator/model_mixins/locator_model_mixin.py +2 -2
- edc_locator/model_mixins/subject_contact_fields_mixin.py +1 -1
- edc_locator/modeladmin_mixins.py +5 -4
- edc_ltfu/model_mixins.py +7 -5
- edc_metadata/auths.py +11 -7
- edc_metadata/metadata/metadata.py +1 -1
- edc_metadata/metadata_rules/crf/crf_rule.py +1 -1
- edc_metadata/metadata_rules/decorators.py +1 -1
- edc_metadata/metadata_rules/metadata_rule_evaluator.py +5 -3
- edc_metadata/metadata_rules/rule.py +2 -3
- edc_metadata/metadata_rules/rule_evaluator.py +1 -1
- edc_metadata/migrations/0002_auto_20161127_2226.py +5 -5
- edc_metadata/migrations/0005_auto_20170112_0602.py +5 -5
- edc_metadata/migrations/0011_auto_20190305_0123.py +5 -12
- edc_metadata/migrations/0031_alter_crfmetadata_device_created_and_more.py +120 -0
- edc_metadata/model_mixins/updates/updates_crf_metadata_model_mixin.py +7 -4
- edc_metadata/model_mixins/updates/updates_requisition_metadata_model_mixin.py +5 -2
- edc_metadata/models/crf_metadata.py +5 -5
- edc_metadata/models/crf_metadata_model_mixin.py +4 -5
- edc_metadata/models/requisition_metadata.py +6 -6
- edc_metadata/models/signals.py +10 -11
- edc_metadata/views/refresh_metadata_actions_view.py +3 -3
- edc_model/models/address_mixin.py +6 -6
- edc_model/models/fields/initials_field.py +2 -1
- edc_model/models/historical_records.py +2 -9
- edc_model/models/url_model_mixin.py +2 -2
- edc_model/validators/date.py +7 -8
- edc_model_admin/list_filters/future_date_list_filter.py +3 -3
- edc_model_admin/list_filters/past_date_list_filter.py +3 -3
- edc_model_admin/mixins/model_admin_protect_pii_mixin.py +4 -5
- edc_model_fields/fields/other_charfield.py +2 -2
- edc_navbar/auths.py +18 -13
- edc_navbar/migrations/0004_auto_20220825_0451.py +3 -2
- edc_navbar/migrations/0009_alter_edcpermissions_device_created_and_more.py +49 -0
- edc_notification/auths.py +9 -4
- edc_notification/migrations/0001_initial.py +3 -3
- edc_notification/migrations/0004_auto_20190305_0123.py +3 -6
- edc_notification/migrations/0011_alter_notification_device_created_and_more.py +59 -0
- edc_notification/models/notification.py +1 -1
- edc_notification/notification/graded_event_notification.py +2 -2
- edc_notification/notification/model_notification.py +3 -30
- edc_notification/notification/new_model_notification.py +1 -1
- edc_notification/notification/notification.py +12 -12
- edc_notification/notification/updated_model_notification.py +2 -2
- edc_offstudy/auths.py +12 -7
- edc_offstudy/migrations/0001_initial.py +4 -4
- edc_offstudy/migrations/0002_auto_20180921_0434.py +4 -4
- edc_offstudy/migrations/0005_auto_20190305_0123.py +5 -12
- edc_offstudy/migrations/0023_alter_historicalsubjectoffstudy_action_identifier_and_more.py +188 -0
- edc_offstudy/migrations/0024_alter_historicalsubjectoffstudy_offstudy_datetime_and_more.py +43 -0
- edc_offstudy/model_mixins/offstudy_model_mixin.py +3 -2
- edc_pdutils/df_exporters/csv_exporter.py +33 -37
- edc_pdutils/df_exporters/csv_model_exporter.py +7 -3
- edc_pdutils/migrations/0001_initial.py +8 -8
- edc_pharmacy/admin/prescription/rx_refill_admin.py +4 -3
- edc_pharmacy/admin/reports/stock_availability_admin.py +5 -6
- edc_pharmacy/auths.py +19 -15
- edc_pharmacy/migrations/0001_initial.py +64 -63
- edc_pharmacy/migrations/0015_auto_20220913_2139.py +26 -26
- edc_pharmacy/migrations/0024_allocation_assignment_containerunits_dispense_and_more.py +81 -86
- edc_pharmacy/migrations/0037_remove_historicalstock_confirmed_at_site_by_and_more.py +5 -5
- edc_pharmacy/migrations/0039_remove_dispense_registered_subject_and_more.py +7 -8
- edc_pharmacy/migrations/0049_remove_stocktransferconfirmation_stock_and_more.py +12 -12
- edc_pharmacy/migrations/0050_remove_stocktransferconfirmation2_location_and_more.py +5 -5
- edc_pharmacy/migrations/0051_alter_historicalstocktransferconfirmationitem_options_and_more.py +3 -4
- edc_pharmacy/migrations/0053_alter_location_managers_alter_historicalstock_lot_and_more.py +3 -3
- edc_pharmacy/migrations/0057_scanduplicates.py +3 -3
- edc_pharmacy/migrations/0060_alter_container_max_per_subject_and_more.py +13 -15
- edc_pharmacy/migrations/0068_stockout.py +2 -3
- edc_pharmacy/migrations/0076_historicalstockadjustment_stockadjustment.py +5 -5
- edc_pharmacy/migrations/0077_historicalstockadjustment_adjustment_datetime_and_more.py +3 -4
- edc_pharmacy/migrations/0081_historicalconfirmation_confirmation.py +8 -8
- edc_pharmacy/migrations/0084_confirmationatsiteitem_and_more.py +0 -2
- edc_pharmacy/migrations/0089_alter_allocation_allocated_by_and_more.py +3284 -0
- edc_pharmacy/migrations/0090_alter_allocation_allocation_datetime_and_more.py +227 -0
- edc_pharmacy/model_mixins/study_medication_refill_model_mixin.py +2 -2
- edc_pharmacy/models/medication/formulation.py +5 -7
- edc_pharmacy/models/medication/medication.py +3 -3
- edc_pharmacy/models/model_mixins.py +10 -11
- edc_pharmacy/models/prescription/rx.py +13 -12
- edc_pharmacy/models/prescription/rx_refill.py +0 -1
- edc_pharmacy/models/stock/allocation.py +3 -3
- edc_pharmacy/models/stock/confirmation.py +3 -3
- edc_pharmacy/models/stock/confirmation_at_site.py +3 -2
- edc_pharmacy/models/stock/confirmation_at_site_item.py +3 -4
- edc_pharmacy/models/stock/dispense.py +5 -6
- edc_pharmacy/models/stock/dispense_item.py +2 -2
- edc_pharmacy/models/stock/location.py +3 -4
- edc_pharmacy/models/stock/lot.py +6 -7
- edc_pharmacy/models/stock/order.py +1 -1
- edc_pharmacy/models/stock/receive.py +3 -3
- edc_pharmacy/models/stock/receive_item.py +4 -4
- edc_pharmacy/models/stock/repack_request.py +2 -2
- edc_pharmacy/models/stock/stock.py +12 -18
- edc_pharmacy/models/stock/stock_adjustment.py +4 -4
- edc_pharmacy/models/stock/stock_request.py +2 -2
- edc_pharmacy/models/stock/stock_request_item.py +2 -2
- edc_pharmacy/models/stock/stock_transfer.py +3 -3
- edc_pharmacy/models/stock/stock_transfer_item.py +2 -2
- edc_pharmacy/models/stock/storage_bin.py +3 -4
- edc_pharmacy/models/stock/storage_bin_item.py +2 -2
- edc_pharmacy/models/stock/supplier.py +3 -4
- edc_pharmacy/models/storage/box.py +2 -2
- edc_pharmacy/models/storage/items/container_model_mixin.py +3 -4
- edc_pharmacy/models/storage/items/pill_bottle_model_mixin.py +2 -2
- edc_pharmacy/models/storage/items/subject_pill_bottle.py +1 -1
- edc_pharmacy/models/storage/room.py +2 -2
- edc_pharmacy/models/storage/shelf.py +2 -2
- edc_pharmacy/models/storage/utils.py +1 -1
- edc_pharmacy/prescribe/create_prescription.py +3 -3
- edc_pharmacy/utils/allocate_stock.py +2 -3
- edc_pharmacy/utils/confirm_stock.py +3 -4
- edc_pharmacy/utils/confirm_stock_at_site.py +4 -5
- edc_pharmacy/utils/dispense.py +3 -4
- edc_pharmacy/utils/process_repack_request.py +4 -5
- edc_pharmacy/utils/stock_request/bulk_create_stock_request_items.py +2 -3
- edc_pharmacy/utils/transfer_stock.py +2 -3
- edc_pharmacy/views/add_to_storage_bin_view.py +2 -2
- edc_pharmacy/views/allocate_to_subject_view.py +2 -2
- edc_pharmacy/views/confirmation_at_site_view.py +6 -9
- edc_pharmacy/views/dispense_view.py +2 -2
- edc_pharmacy/views/move_to_storage_bin_view.py +2 -3
- edc_pharmacy/views/print_labels_view.py +2 -2
- edc_prn/admin_site.py +5 -0
- edc_prn/prn.py +10 -11
- edc_prn/urls.py +11 -0
- edc_protocol/research_protocol_config.py +2 -3
- edc_protocol_incident/action_items.py +4 -4
- edc_protocol_incident/auths.py +27 -20
- edc_protocol_incident/migrations/0001_initial.py +7 -7
- edc_protocol_incident/migrations/0001_squashed_0015_auto_20220927_0401.py +13 -13
- edc_protocol_incident/migrations/0005_protocolincident_historicalprotocolincident_and_more.py +7 -7
- edc_protocol_incident/migrations/0024_alter_actionsrequired_extra_value_and_more.py +625 -0
- edc_protocol_incident/migrations/0025_alter_historicalprotocoldeviationviolation_report_datetime_and_more.py +42 -0
- edc_protocol_incident/model_mixins/protocol_deviation_violation_model_mixin.py +18 -11
- edc_protocol_incident/model_mixins/protocol_incident_model_mixin.py +26 -11
- edc_pylabels/actions.py +3 -5
- edc_pylabels/auths.py +6 -1
- edc_pylabels/migrations/0002_alter_label_options_label_created_and_more.py +3 -7
- edc_pylabels/migrations/0005_labelconfiguration_delete_label_and_more.py +3 -3
- edc_pylabels/migrations/0013_alter_labelconfiguration_device_created_and_more.py +49 -0
- edc_qareports/auths.py +11 -7
- edc_qareports/migrations/0001_initial.py +4 -5
- edc_qareports/migrations/0005_edcpermissions.py +3 -3
- edc_qareports/migrations/0006_qareportlog.py +2 -3
- edc_qareports/migrations/0019_alter_edcpermissions_device_created_and_more.py +102 -0
- edc_qareports/migrations/0020_alter_note_report_datetime_and_more.py +24 -0
- edc_qareports/model_mixins/note_model_mixin.py +7 -4
- edc_qareports/model_mixins/on_study_missing_values_model_mixin.py +4 -4
- edc_qareports/model_mixins/qa_report_model_mixin.py +2 -3
- edc_qareports/models/note.py +4 -4
- edc_qareports/models/qa_reports_log.py +2 -3
- edc_randomization/admin.py +30 -24
- edc_randomization/auths.py +12 -7
- edc_randomization/decorators.py +1 -1
- edc_randomization/migrations/0001_initial.py +3 -2
- edc_randomization/migrations/0002_historicalrandomizationlist.py +3 -2
- edc_randomization/migrations/0009_edcpermissions.py +3 -2
- edc_randomization/migrations/0014_alter_edcpermissions_device_created_and_more.py +141 -0
- edc_randomization/model_mixins.py +9 -9
- edc_randomization/randomizer.py +22 -20
- edc_randomization/utils.py +19 -18
- edc_refusal/auths.py +7 -2
- edc_refusal/migrations/0001_initial.py +4 -4
- edc_refusal/migrations/0002_historicalsubjectrefusal.py +4 -4
- edc_refusal/migrations/0012_alter_historicalsubjectrefusal_comment_and_more.py +122 -0
- edc_refusal/migrations/0013_alter_historicalsubjectrefusal_report_datetime_and_more.py +28 -0
- edc_refusal/model_mixins.py +4 -4
- edc_registration/auths.py +28 -23
- edc_registration/migrations/0002_auto_20161127_2226.py +3 -4
- edc_registration/migrations/0005_auto_20170111_1809.py +4 -2
- edc_registration/migrations/0016_historicalregisteredsubject.py +3 -2
- edc_registration/migrations/0017_auto_20190305_0123.py +5 -12
- edc_registration/migrations/0033_alter_historicalregisteredsubject_additional_key_and_more.py +302 -0
- edc_registration/model_mixins/updates_or_creates_registered_subject_model_mixin.py +15 -7
- edc_registration/models/registered_subject.py +28 -27
- edc_reportable/age_evaluator.py +4 -2
- edc_reportable/formula.py +5 -5
- edc_reportable/migrations/0001_initial.py +7 -7
- edc_reportable/migrations/0003_referencerangecollection_grade1_and_more.py +3 -3
- edc_reportable/migrations/0004_alter_referencerangecollection_grade3_and_more.py +5 -5
- edc_reportable/migrations/0006_alter_gradingdata_revision_and_more.py +5 -6
- edc_reportable/migrations/0007_alter_gradingdata_age_phrase_and_more.py +509 -0
- edc_reportable/models/normal_data.py +4 -5
- edc_reportable/models/reference_model_mixins.py +10 -11
- edc_reportable/models/reference_range_collection.py +12 -13
- edc_reportable/post_migrate_signals.py +1 -1
- edc_reportable/utils/convert_units.py +11 -45
- edc_reportable/utils/get_normal_data_or_raise.py +2 -2
- edc_reportable/utils/get_reference_range_collection.py +2 -3
- edc_reportable/utils/load_data.py +4 -4
- edc_reportable/utils/update_grading_data.py +5 -5
- edc_review_dashboard/auths.py +23 -18
- edc_review_dashboard/migrations/0001_initial.py +3 -2
- edc_review_dashboard/migrations/0006_alter_edcpermissions_device_created_and_more.py +49 -0
- edc_screening/age_evaluator.py +6 -6
- edc_screening/auths.py +35 -30
- edc_screening/eligibility.py +1 -1
- edc_screening/gender_evaluator.py +1 -1
- edc_screening/migrations/0001_initial.py +3 -2
- edc_screening/migrations/0005_alter_edcpermissions_device_created_and_more.py +49 -0
- edc_screening/model_mixins/eligibility_model_mixin.py +3 -6
- edc_screening/model_mixins/screening_fields_model_mixin.py +6 -8
- edc_screening/model_mixins/screening_methods_model_mixin.py +1 -1
- edc_screening/screening_eligibility.py +2 -4
- edc_screening/utils.py +9 -9
- edc_search/generate_slug.py +26 -0
- edc_search/model_mixins.py +10 -22
- edc_sites/auths.py +8 -3
- edc_sites/migrations/0007_edcpermissions.py +3 -2
- edc_sites/migrations/0010_alter_edcpermissions_device_created_and_more.py +69 -0
- edc_sites/model_mixins/site_model_mixin.py +2 -2
- edc_sites/site.py +5 -5
- edc_sites/system_checks.py +1 -1
- edc_subject_dashboard/auths.py +27 -22
- edc_subject_dashboard/migrations/0001_initial.py +3 -2
- edc_subject_dashboard/migrations/0005_alter_edcpermissions_device_created_and_more.py +49 -0
- edc_subject_dashboard/requisition_report.py +6 -4
- edc_subject_dashboard/requisition_verifier.py +6 -6
- edc_subject_dashboard/templatetags/edc_subject_dashboard_extras.py +2 -2
- edc_subject_dashboard/view_mixins/subject_visit_view_mixin.py +7 -8
- edc_subject_dashboard/view_utils/subject_consent_listboard_button.py +3 -2
- edc_subject_dashboard/view_utils/timepoint_status_button.py +2 -2
- edc_timepoint/apps.py +0 -21
- edc_timepoint/model_mixins.py +22 -20
- edc_transfer/model_mixins.py +4 -4
- edc_transfer/modeladmin_mixins.py +1 -1
- edc_unblinding/auths.py +9 -4
- edc_unblinding/migrations/0001_initial.py +13 -13
- edc_unblinding/migrations/0014_alter_historicalunblindingrequest_action_identifier_and_more.py +291 -0
- edc_unblinding/migrations/0015_alter_historicalunblindingrequest_report_datetime_and_more.py +45 -0
- edc_unblinding/models/unblinding_request.py +2 -2
- edc_unblinding/models/unblinding_review.py +3 -3
- edc_utils/__init__.py +3 -1
- edc_utils/age.py +10 -16
- edc_utils/show_urls.py +29 -2
- edc_visit_schedule/auths.py +6 -1
- edc_visit_schedule/migrations/0001_initial.py +3 -3
- edc_visit_schedule/migrations/0002_auto_20190305_0123.py +3 -6
- edc_visit_schedule/migrations/0003_historicalvisitschedule_visitschedule.py +5 -4
- edc_visit_schedule/migrations/0015_historicalonschedule_offschedule_onschedule.py +10 -10
- edc_visit_schedule/migrations/0019_alter_historicalonschedule_device_created_and_more.py +229 -0
- edc_visit_schedule/migrations/0020_alter_historicalonschedule_onschedule_datetime_and_more.py +65 -0
- edc_visit_schedule/model_mixins/off_schedule_model_mixin.py +5 -4
- edc_visit_schedule/model_mixins/on_schedule_model_mixin.py +5 -4
- edc_visit_schedule/model_mixins/visit_schedule/visit_code_fields_model_mixin.py +1 -1
- edc_visit_schedule/models/subject_schedule_history.py +6 -6
- edc_visit_schedule/schedule/visit_collection.py +1 -1
- edc_visit_schedule/site_visit_schedules.py +2 -2
- edc_visit_schedule/subject_schedule.py +5 -4
- edc_visit_schedule/view_mixins.py +2 -3
- edc_visit_schedule/visit/visit.py +3 -2
- edc_visit_tracking/migrations/0004_subjectvisit_subjectvisitmissedreasons_extra_value_and_more.py +13 -13
- edc_visit_tracking/migrations/0009_alter_historicalsubjectvisit_comments_and_more.py +450 -0
- edc_visit_tracking/migrations/0010_alter_historicalsubjectvisit_report_datetime_and_more.py +68 -0
- edc_visit_tracking/model_mixins/base/visit_methods_model_mixin.py +3 -3
- edc_visit_tracking/model_mixins/crfs/visit_tracking_crf_model_mixin.py +2 -2
- edc_visit_tracking/model_mixins/requisitions/visit_tracking_requisition_model_mixin.py +2 -2
- edc_visit_tracking/model_mixins/subject_visit_missed_model_mixin.py +2 -2
- edc_visit_tracking/model_mixins/visit_model_mixin/caretaker_fields_mixin.py +2 -3
- edc_visit_tracking/model_mixins/visit_model_mixin/previous_visit_model_mixin.py +1 -1
- edc_visit_tracking/model_mixins/visit_model_mixin/visit_model_fields_mixin.py +8 -11
- edc_visit_tracking/model_mixins/visit_model_mixin/visit_model_mixin.py +1 -1
- edc_visit_tracking/models/signals.py +3 -3
- edc_visit_tracking/models/subject_visit.py +1 -1
- edc_vitals/calculators/bmi.py +7 -5
- edc_vitals/utils.py +1 -1
- edc_form_label/models.py +0 -0
- edc_search/constants.py +0 -1
- edc_search/models.py +0 -0
- edc_search/search_slug.py +0 -50
- edc_search/updater.py +0 -30
- edc_search/wsgi.py +0 -7
- {clinicedc-2.0.6.dist-info → clinicedc-2.0.8.dist-info}/licenses/LICENSE +0 -0
|
@@ -14,10 +14,10 @@ from django.conf import settings
|
|
|
14
14
|
from django.db import migrations, models
|
|
15
15
|
|
|
16
16
|
import edc_pharmacy.models.stock.confirmation_at_site
|
|
17
|
+
import django.utils.timezone
|
|
17
18
|
|
|
18
19
|
|
|
19
20
|
class Migration(migrations.Migration):
|
|
20
|
-
|
|
21
21
|
dependencies = [
|
|
22
22
|
("edc_pharmacy", "0036_historicalstock_confirmed_at_site_and_more"),
|
|
23
23
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
@@ -58,14 +58,14 @@ class Migration(migrations.Migration):
|
|
|
58
58
|
"created",
|
|
59
59
|
models.DateTimeField(
|
|
60
60
|
blank=True,
|
|
61
|
-
default=
|
|
61
|
+
default=django.utils.timezone.now,
|
|
62
62
|
),
|
|
63
63
|
),
|
|
64
64
|
(
|
|
65
65
|
"modified",
|
|
66
66
|
models.DateTimeField(
|
|
67
67
|
blank=True,
|
|
68
|
-
default=
|
|
68
|
+
default=django.utils.timezone.now,
|
|
69
69
|
),
|
|
70
70
|
),
|
|
71
71
|
(
|
|
@@ -214,14 +214,14 @@ class Migration(migrations.Migration):
|
|
|
214
214
|
"created",
|
|
215
215
|
models.DateTimeField(
|
|
216
216
|
blank=True,
|
|
217
|
-
default=
|
|
217
|
+
default=django.utils.timezone.now,
|
|
218
218
|
),
|
|
219
219
|
),
|
|
220
220
|
(
|
|
221
221
|
"modified",
|
|
222
222
|
models.DateTimeField(
|
|
223
223
|
blank=True,
|
|
224
|
-
default=
|
|
224
|
+
default=django.utils.timezone.now,
|
|
225
225
|
),
|
|
226
226
|
),
|
|
227
227
|
(
|
|
@@ -14,11 +14,10 @@ from django.conf import settings
|
|
|
14
14
|
from django.db import migrations, models
|
|
15
15
|
|
|
16
16
|
import edc_pharmacy.models.stock.dispense_item
|
|
17
|
-
import
|
|
17
|
+
import django.utils.timezone
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
class Migration(migrations.Migration):
|
|
21
|
-
|
|
22
21
|
dependencies = [
|
|
23
22
|
(
|
|
24
23
|
"edc_pharmacy",
|
|
@@ -92,14 +91,14 @@ class Migration(migrations.Migration):
|
|
|
92
91
|
"created",
|
|
93
92
|
models.DateTimeField(
|
|
94
93
|
blank=True,
|
|
95
|
-
default=
|
|
94
|
+
default=django.utils.timezone.now,
|
|
96
95
|
),
|
|
97
96
|
),
|
|
98
97
|
(
|
|
99
98
|
"modified",
|
|
100
99
|
models.DateTimeField(
|
|
101
100
|
blank=True,
|
|
102
|
-
default=
|
|
101
|
+
default=django.utils.timezone.now,
|
|
103
102
|
),
|
|
104
103
|
),
|
|
105
104
|
(
|
|
@@ -204,7 +203,7 @@ class Migration(migrations.Migration):
|
|
|
204
203
|
),
|
|
205
204
|
(
|
|
206
205
|
"dispense_item_datetime",
|
|
207
|
-
models.DateTimeField(default=
|
|
206
|
+
models.DateTimeField(default=django.utils.timezone.now),
|
|
208
207
|
),
|
|
209
208
|
(
|
|
210
209
|
"history_id",
|
|
@@ -283,14 +282,14 @@ class Migration(migrations.Migration):
|
|
|
283
282
|
"created",
|
|
284
283
|
models.DateTimeField(
|
|
285
284
|
blank=True,
|
|
286
|
-
default=
|
|
285
|
+
default=django.utils.timezone.now,
|
|
287
286
|
),
|
|
288
287
|
),
|
|
289
288
|
(
|
|
290
289
|
"modified",
|
|
291
290
|
models.DateTimeField(
|
|
292
291
|
blank=True,
|
|
293
|
-
default=
|
|
292
|
+
default=django.utils.timezone.now,
|
|
294
293
|
),
|
|
295
294
|
),
|
|
296
295
|
(
|
|
@@ -396,7 +395,7 @@ class Migration(migrations.Migration):
|
|
|
396
395
|
),
|
|
397
396
|
(
|
|
398
397
|
"dispense_item_datetime",
|
|
399
|
-
models.DateTimeField(default=
|
|
398
|
+
models.DateTimeField(default=django.utils.timezone.now),
|
|
400
399
|
),
|
|
401
400
|
(
|
|
402
401
|
"dispense",
|
|
@@ -16,11 +16,11 @@ from django.db import migrations, models
|
|
|
16
16
|
|
|
17
17
|
import edc_pharmacy.models.stock.confirmation_at_site
|
|
18
18
|
import edc_pharmacy.models.stock.confirmation_at_site_item
|
|
19
|
-
import
|
|
19
|
+
import django.utils.timezone
|
|
20
|
+
import django.utils.timezone
|
|
20
21
|
|
|
21
22
|
|
|
22
23
|
class Migration(migrations.Migration):
|
|
23
|
-
|
|
24
24
|
dependencies = [
|
|
25
25
|
("edc_pharmacy", "0048_historicalorderitem_unit_qty_ordered_and_more"),
|
|
26
26
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
@@ -49,14 +49,14 @@ class Migration(migrations.Migration):
|
|
|
49
49
|
"created",
|
|
50
50
|
models.DateTimeField(
|
|
51
51
|
blank=True,
|
|
52
|
-
default=
|
|
52
|
+
default=django.utils.timezone.now,
|
|
53
53
|
),
|
|
54
54
|
),
|
|
55
55
|
(
|
|
56
56
|
"modified",
|
|
57
57
|
models.DateTimeField(
|
|
58
58
|
blank=True,
|
|
59
|
-
default=
|
|
59
|
+
default=django.utils.timezone.now,
|
|
60
60
|
),
|
|
61
61
|
),
|
|
62
62
|
(
|
|
@@ -238,14 +238,14 @@ class Migration(migrations.Migration):
|
|
|
238
238
|
"created",
|
|
239
239
|
models.DateTimeField(
|
|
240
240
|
blank=True,
|
|
241
|
-
default=
|
|
241
|
+
default=django.utils.timezone.now,
|
|
242
242
|
),
|
|
243
243
|
),
|
|
244
244
|
(
|
|
245
245
|
"modified",
|
|
246
246
|
models.DateTimeField(
|
|
247
247
|
blank=True,
|
|
248
|
-
default=
|
|
248
|
+
default=django.utils.timezone.now,
|
|
249
249
|
),
|
|
250
250
|
),
|
|
251
251
|
(
|
|
@@ -403,14 +403,14 @@ class Migration(migrations.Migration):
|
|
|
403
403
|
"created",
|
|
404
404
|
models.DateTimeField(
|
|
405
405
|
blank=True,
|
|
406
|
-
default=
|
|
406
|
+
default=django.utils.timezone.now,
|
|
407
407
|
),
|
|
408
408
|
),
|
|
409
409
|
(
|
|
410
410
|
"modified",
|
|
411
411
|
models.DateTimeField(
|
|
412
412
|
blank=True,
|
|
413
|
-
default=
|
|
413
|
+
default=django.utils.timezone.now,
|
|
414
414
|
),
|
|
415
415
|
),
|
|
416
416
|
(
|
|
@@ -501,7 +501,7 @@ class Migration(migrations.Migration):
|
|
|
501
501
|
),
|
|
502
502
|
(
|
|
503
503
|
"confirmation_item_datetime",
|
|
504
|
-
models.DateTimeField(default=
|
|
504
|
+
models.DateTimeField(default=django.utils.timezone.now),
|
|
505
505
|
),
|
|
506
506
|
("confirmed_datetime", models.DateTimeField(blank=True, null=True)),
|
|
507
507
|
(
|
|
@@ -584,14 +584,14 @@ class Migration(migrations.Migration):
|
|
|
584
584
|
"created",
|
|
585
585
|
models.DateTimeField(
|
|
586
586
|
blank=True,
|
|
587
|
-
default=
|
|
587
|
+
default=django.utils.timezone.now,
|
|
588
588
|
),
|
|
589
589
|
),
|
|
590
590
|
(
|
|
591
591
|
"modified",
|
|
592
592
|
models.DateTimeField(
|
|
593
593
|
blank=True,
|
|
594
|
-
default=
|
|
594
|
+
default=django.utils.timezone.now,
|
|
595
595
|
),
|
|
596
596
|
),
|
|
597
597
|
(
|
|
@@ -683,7 +683,7 @@ class Migration(migrations.Migration):
|
|
|
683
683
|
),
|
|
684
684
|
(
|
|
685
685
|
"confirmation_item_datetime",
|
|
686
|
-
models.DateTimeField(default=
|
|
686
|
+
models.DateTimeField(default=django.utils.timezone.now),
|
|
687
687
|
),
|
|
688
688
|
("confirmed_datetime", models.DateTimeField(blank=True, null=True)),
|
|
689
689
|
(
|
|
@@ -15,10 +15,10 @@ from django.conf import settings
|
|
|
15
15
|
from django.db import migrations, models
|
|
16
16
|
|
|
17
17
|
import edc_pharmacy.models.stock.confirmation_at_site
|
|
18
|
+
import django.utils.timezone
|
|
18
19
|
|
|
19
20
|
|
|
20
21
|
class Migration(migrations.Migration):
|
|
21
|
-
|
|
22
22
|
dependencies = [
|
|
23
23
|
("edc_pharmacy", "0049_remove_stocktransferconfirmation_stock_and_more"),
|
|
24
24
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
@@ -51,14 +51,14 @@ class Migration(migrations.Migration):
|
|
|
51
51
|
"created",
|
|
52
52
|
models.DateTimeField(
|
|
53
53
|
blank=True,
|
|
54
|
-
default=
|
|
54
|
+
default=django.utils.timezone.now,
|
|
55
55
|
),
|
|
56
56
|
),
|
|
57
57
|
(
|
|
58
58
|
"modified",
|
|
59
59
|
models.DateTimeField(
|
|
60
60
|
blank=True,
|
|
61
|
-
default=
|
|
61
|
+
default=django.utils.timezone.now,
|
|
62
62
|
),
|
|
63
63
|
),
|
|
64
64
|
(
|
|
@@ -240,14 +240,14 @@ class Migration(migrations.Migration):
|
|
|
240
240
|
"created",
|
|
241
241
|
models.DateTimeField(
|
|
242
242
|
blank=True,
|
|
243
|
-
default=
|
|
243
|
+
default=django.utils.timezone.now,
|
|
244
244
|
),
|
|
245
245
|
),
|
|
246
246
|
(
|
|
247
247
|
"modified",
|
|
248
248
|
models.DateTimeField(
|
|
249
249
|
blank=True,
|
|
250
|
-
default=
|
|
250
|
+
default=django.utils.timezone.now,
|
|
251
251
|
),
|
|
252
252
|
),
|
|
253
253
|
(
|
edc_pharmacy/migrations/0051_alter_historicalstocktransferconfirmationitem_options_and_more.py
CHANGED
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
from django.db import migrations, models
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import django.utils.timezone
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
class Migration(migrations.Migration):
|
|
9
|
-
|
|
10
9
|
dependencies = [
|
|
11
10
|
("edc_pharmacy", "0050_remove_stocktransferconfirmation2_location_and_more"),
|
|
12
11
|
]
|
|
@@ -78,11 +77,11 @@ class Migration(migrations.Migration):
|
|
|
78
77
|
migrations.AddField(
|
|
79
78
|
model_name="historicalstocktransferconfirmation",
|
|
80
79
|
name="transfer_confirmation_datetime",
|
|
81
|
-
field=models.DateTimeField(default=
|
|
80
|
+
field=models.DateTimeField(default=django.utils.timezone.now),
|
|
82
81
|
),
|
|
83
82
|
migrations.AddField(
|
|
84
83
|
model_name="stocktransferconfirmation",
|
|
85
84
|
name="transfer_confirmation_datetime",
|
|
86
|
-
field=models.DateTimeField(default=
|
|
85
|
+
field=models.DateTimeField(default=django.utils.timezone.now),
|
|
87
86
|
),
|
|
88
87
|
]
|
|
@@ -14,10 +14,10 @@ from django.conf import settings
|
|
|
14
14
|
from django.db import migrations, models
|
|
15
15
|
|
|
16
16
|
import edc_pharmacy.models.stock.location
|
|
17
|
+
import django.utils.timezone
|
|
17
18
|
|
|
18
19
|
|
|
19
20
|
class Migration(migrations.Migration):
|
|
20
|
-
|
|
21
21
|
dependencies = [
|
|
22
22
|
("edc_pharmacy", "0052_formulation_imp_formulation_imp_description_and_more"),
|
|
23
23
|
("sites", "0002_alter_domain_unique"),
|
|
@@ -72,14 +72,14 @@ class Migration(migrations.Migration):
|
|
|
72
72
|
"created",
|
|
73
73
|
models.DateTimeField(
|
|
74
74
|
blank=True,
|
|
75
|
-
default=
|
|
75
|
+
default=django.utils.timezone.now,
|
|
76
76
|
),
|
|
77
77
|
),
|
|
78
78
|
(
|
|
79
79
|
"modified",
|
|
80
80
|
models.DateTimeField(
|
|
81
81
|
blank=True,
|
|
82
|
-
default=
|
|
82
|
+
default=django.utils.timezone.now,
|
|
83
83
|
),
|
|
84
84
|
),
|
|
85
85
|
(
|
|
@@ -9,10 +9,10 @@ import django_revision.revision_field
|
|
|
9
9
|
from django.db import migrations, models
|
|
10
10
|
|
|
11
11
|
import edc_pharmacy.models.scan_duplicates
|
|
12
|
+
import django.utils.timezone
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
class Migration(migrations.Migration):
|
|
15
|
-
|
|
16
16
|
dependencies = [
|
|
17
17
|
(
|
|
18
18
|
"edc_pharmacy",
|
|
@@ -39,14 +39,14 @@ class Migration(migrations.Migration):
|
|
|
39
39
|
"created",
|
|
40
40
|
models.DateTimeField(
|
|
41
41
|
blank=True,
|
|
42
|
-
default=
|
|
42
|
+
default=django.utils.timezone.now,
|
|
43
43
|
),
|
|
44
44
|
),
|
|
45
45
|
(
|
|
46
46
|
"modified",
|
|
47
47
|
models.DateTimeField(
|
|
48
48
|
blank=True,
|
|
49
|
-
default=
|
|
49
|
+
default=django.utils.timezone.now,
|
|
50
50
|
),
|
|
51
51
|
),
|
|
52
52
|
(
|
|
@@ -12,12 +12,10 @@ import django_revision.revision_field
|
|
|
12
12
|
import simple_history.models
|
|
13
13
|
from django.conf import settings
|
|
14
14
|
from django.db import migrations, models
|
|
15
|
-
|
|
16
|
-
import edc_utils.date
|
|
15
|
+
import django.utils.timezone
|
|
17
16
|
|
|
18
17
|
|
|
19
18
|
class Migration(migrations.Migration):
|
|
20
|
-
|
|
21
19
|
dependencies = [
|
|
22
20
|
("edc_pharmacy", "0059_delete_stockrequestproxy"),
|
|
23
21
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
@@ -78,14 +76,14 @@ class Migration(migrations.Migration):
|
|
|
78
76
|
"created",
|
|
79
77
|
models.DateTimeField(
|
|
80
78
|
blank=True,
|
|
81
|
-
default=
|
|
79
|
+
default=django.utils.timezone.now,
|
|
82
80
|
),
|
|
83
81
|
),
|
|
84
82
|
(
|
|
85
83
|
"modified",
|
|
86
84
|
models.DateTimeField(
|
|
87
85
|
blank=True,
|
|
88
|
-
default=
|
|
86
|
+
default=django.utils.timezone.now,
|
|
89
87
|
),
|
|
90
88
|
),
|
|
91
89
|
(
|
|
@@ -176,7 +174,7 @@ class Migration(migrations.Migration):
|
|
|
176
174
|
),
|
|
177
175
|
(
|
|
178
176
|
"bin_datetime",
|
|
179
|
-
models.DateTimeField(default=
|
|
177
|
+
models.DateTimeField(default=django.utils.timezone.now),
|
|
180
178
|
),
|
|
181
179
|
("name", models.CharField(blank=True, max_length=10, null=True)),
|
|
182
180
|
("capacity", models.PositiveIntegerField(default=0)),
|
|
@@ -250,14 +248,14 @@ class Migration(migrations.Migration):
|
|
|
250
248
|
"created",
|
|
251
249
|
models.DateTimeField(
|
|
252
250
|
blank=True,
|
|
253
|
-
default=
|
|
251
|
+
default=django.utils.timezone.now,
|
|
254
252
|
),
|
|
255
253
|
),
|
|
256
254
|
(
|
|
257
255
|
"modified",
|
|
258
256
|
models.DateTimeField(
|
|
259
257
|
blank=True,
|
|
260
|
-
default=
|
|
258
|
+
default=django.utils.timezone.now,
|
|
261
259
|
),
|
|
262
260
|
),
|
|
263
261
|
(
|
|
@@ -349,7 +347,7 @@ class Migration(migrations.Migration):
|
|
|
349
347
|
),
|
|
350
348
|
(
|
|
351
349
|
"bin_datetime",
|
|
352
|
-
models.DateTimeField(default=
|
|
350
|
+
models.DateTimeField(default=django.utils.timezone.now),
|
|
353
351
|
),
|
|
354
352
|
("name", models.CharField(blank=True, max_length=10, null=True)),
|
|
355
353
|
("capacity", models.PositiveIntegerField(default=0)),
|
|
@@ -400,14 +398,14 @@ class Migration(migrations.Migration):
|
|
|
400
398
|
"created",
|
|
401
399
|
models.DateTimeField(
|
|
402
400
|
blank=True,
|
|
403
|
-
default=
|
|
401
|
+
default=django.utils.timezone.now,
|
|
404
402
|
),
|
|
405
403
|
),
|
|
406
404
|
(
|
|
407
405
|
"modified",
|
|
408
406
|
models.DateTimeField(
|
|
409
407
|
blank=True,
|
|
410
|
-
default=
|
|
408
|
+
default=django.utils.timezone.now,
|
|
411
409
|
),
|
|
412
410
|
),
|
|
413
411
|
(
|
|
@@ -498,7 +496,7 @@ class Migration(migrations.Migration):
|
|
|
498
496
|
),
|
|
499
497
|
(
|
|
500
498
|
"item_datetime",
|
|
501
|
-
models.DateTimeField(default=
|
|
499
|
+
models.DateTimeField(default=django.utils.timezone.now),
|
|
502
500
|
),
|
|
503
501
|
(
|
|
504
502
|
"history_id",
|
|
@@ -580,14 +578,14 @@ class Migration(migrations.Migration):
|
|
|
580
578
|
"created",
|
|
581
579
|
models.DateTimeField(
|
|
582
580
|
blank=True,
|
|
583
|
-
default=
|
|
581
|
+
default=django.utils.timezone.now,
|
|
584
582
|
),
|
|
585
583
|
),
|
|
586
584
|
(
|
|
587
585
|
"modified",
|
|
588
586
|
models.DateTimeField(
|
|
589
587
|
blank=True,
|
|
590
|
-
default=
|
|
588
|
+
default=django.utils.timezone.now,
|
|
591
589
|
),
|
|
592
590
|
),
|
|
593
591
|
(
|
|
@@ -679,7 +677,7 @@ class Migration(migrations.Migration):
|
|
|
679
677
|
),
|
|
680
678
|
(
|
|
681
679
|
"item_datetime",
|
|
682
|
-
models.DateTimeField(default=
|
|
680
|
+
models.DateTimeField(default=django.utils.timezone.now),
|
|
683
681
|
),
|
|
684
682
|
(
|
|
685
683
|
"stock",
|
|
@@ -3,11 +3,10 @@
|
|
|
3
3
|
import django.db.models.deletion
|
|
4
4
|
from django.db import migrations, models
|
|
5
5
|
|
|
6
|
-
import
|
|
6
|
+
import django.utils.timezone
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class Migration(migrations.Migration):
|
|
10
|
-
|
|
11
10
|
dependencies = [
|
|
12
11
|
("edc_pharmacy", "0067_auto_20250314_1547"),
|
|
13
12
|
("sites", "0002_alter_domain_unique"),
|
|
@@ -27,7 +26,7 @@ class Migration(migrations.Migration):
|
|
|
27
26
|
),
|
|
28
27
|
),
|
|
29
28
|
("report_model", models.CharField(max_length=50)),
|
|
30
|
-
("created", models.DateTimeField(default=
|
|
29
|
+
("created", models.DateTimeField(default=django.utils.timezone.now)),
|
|
31
30
|
("subject_identifier", models.CharField(max_length=50, null=True)),
|
|
32
31
|
(
|
|
33
32
|
"visit_code",
|
|
@@ -14,10 +14,10 @@ import django_revision.revision_field
|
|
|
14
14
|
import simple_history.models
|
|
15
15
|
from django.conf import settings
|
|
16
16
|
from django.db import migrations, models
|
|
17
|
+
import django.utils.timezone
|
|
17
18
|
|
|
18
19
|
|
|
19
20
|
class Migration(migrations.Migration):
|
|
20
|
-
|
|
21
21
|
dependencies = [
|
|
22
22
|
("edc_pharmacy", "0075_remove_historicalstockrequestitem_in_stock_and_more"),
|
|
23
23
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
@@ -42,14 +42,14 @@ class Migration(migrations.Migration):
|
|
|
42
42
|
"created",
|
|
43
43
|
models.DateTimeField(
|
|
44
44
|
blank=True,
|
|
45
|
-
default=
|
|
45
|
+
default=django.utils.timezone.now,
|
|
46
46
|
),
|
|
47
47
|
),
|
|
48
48
|
(
|
|
49
49
|
"modified",
|
|
50
50
|
models.DateTimeField(
|
|
51
51
|
blank=True,
|
|
52
|
-
default=
|
|
52
|
+
default=django.utils.timezone.now,
|
|
53
53
|
),
|
|
54
54
|
),
|
|
55
55
|
(
|
|
@@ -212,14 +212,14 @@ class Migration(migrations.Migration):
|
|
|
212
212
|
"created",
|
|
213
213
|
models.DateTimeField(
|
|
214
214
|
blank=True,
|
|
215
|
-
default=
|
|
215
|
+
default=django.utils.timezone.now,
|
|
216
216
|
),
|
|
217
217
|
),
|
|
218
218
|
(
|
|
219
219
|
"modified",
|
|
220
220
|
models.DateTimeField(
|
|
221
221
|
blank=True,
|
|
222
|
-
default=
|
|
222
|
+
default=django.utils.timezone.now,
|
|
223
223
|
),
|
|
224
224
|
),
|
|
225
225
|
(
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
from django.db import migrations, models
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import django.utils.timezone
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
class Migration(migrations.Migration):
|
|
9
|
-
|
|
10
9
|
dependencies = [
|
|
11
10
|
("edc_pharmacy", "0076_historicalstockadjustment_stockadjustment"),
|
|
12
11
|
]
|
|
@@ -15,11 +14,11 @@ class Migration(migrations.Migration):
|
|
|
15
14
|
migrations.AddField(
|
|
16
15
|
model_name="historicalstockadjustment",
|
|
17
16
|
name="adjustment_datetime",
|
|
18
|
-
field=models.DateTimeField(default=
|
|
17
|
+
field=models.DateTimeField(default=django.utils.timezone.now),
|
|
19
18
|
),
|
|
20
19
|
migrations.AddField(
|
|
21
20
|
model_name="stockadjustment",
|
|
22
21
|
name="adjustment_datetime",
|
|
23
|
-
field=models.DateTimeField(default=
|
|
22
|
+
field=models.DateTimeField(default=django.utils.timezone.now),
|
|
24
23
|
),
|
|
25
24
|
]
|
|
@@ -15,11 +15,11 @@ from django.db import migrations, models
|
|
|
15
15
|
|
|
16
16
|
import edc_pharmacy.models.stock.confirmation
|
|
17
17
|
import edc_sites.managers
|
|
18
|
-
import
|
|
18
|
+
import django.utils.timezone
|
|
19
|
+
import django.utils.timezone
|
|
19
20
|
|
|
20
21
|
|
|
21
22
|
class Migration(migrations.Migration):
|
|
22
|
-
|
|
23
23
|
dependencies = [
|
|
24
24
|
("edc_pharmacy", "0080_remove_historicalstock_allocated_datetime_and_more"),
|
|
25
25
|
("sites", "0002_alter_domain_unique"),
|
|
@@ -45,14 +45,14 @@ class Migration(migrations.Migration):
|
|
|
45
45
|
"created",
|
|
46
46
|
models.DateTimeField(
|
|
47
47
|
blank=True,
|
|
48
|
-
default=
|
|
48
|
+
default=django.utils.timezone.now,
|
|
49
49
|
),
|
|
50
50
|
),
|
|
51
51
|
(
|
|
52
52
|
"modified",
|
|
53
53
|
models.DateTimeField(
|
|
54
54
|
blank=True,
|
|
55
|
-
default=
|
|
55
|
+
default=django.utils.timezone.now,
|
|
56
56
|
),
|
|
57
57
|
),
|
|
58
58
|
(
|
|
@@ -143,7 +143,7 @@ class Migration(migrations.Migration):
|
|
|
143
143
|
),
|
|
144
144
|
(
|
|
145
145
|
"confirmed_datetime",
|
|
146
|
-
models.DateTimeField(default=
|
|
146
|
+
models.DateTimeField(default=django.utils.timezone.now),
|
|
147
147
|
),
|
|
148
148
|
(
|
|
149
149
|
"confirmed_by",
|
|
@@ -225,14 +225,14 @@ class Migration(migrations.Migration):
|
|
|
225
225
|
"created",
|
|
226
226
|
models.DateTimeField(
|
|
227
227
|
blank=True,
|
|
228
|
-
default=
|
|
228
|
+
default=django.utils.timezone.now,
|
|
229
229
|
),
|
|
230
230
|
),
|
|
231
231
|
(
|
|
232
232
|
"modified",
|
|
233
233
|
models.DateTimeField(
|
|
234
234
|
blank=True,
|
|
235
|
-
default=
|
|
235
|
+
default=django.utils.timezone.now,
|
|
236
236
|
),
|
|
237
237
|
),
|
|
238
238
|
(
|
|
@@ -324,7 +324,7 @@ class Migration(migrations.Migration):
|
|
|
324
324
|
),
|
|
325
325
|
(
|
|
326
326
|
"confirmed_datetime",
|
|
327
|
-
models.DateTimeField(default=
|
|
327
|
+
models.DateTimeField(default=django.utils.timezone.now),
|
|
328
328
|
),
|
|
329
329
|
(
|
|
330
330
|
"confirmed_by",
|
|
@@ -15,11 +15,9 @@ from django.db import migrations, models
|
|
|
15
15
|
|
|
16
16
|
import edc_pharmacy.models.stock.confirmation_at_site_item
|
|
17
17
|
import edc_sites.managers
|
|
18
|
-
import edc_utils.date
|
|
19
18
|
|
|
20
19
|
|
|
21
20
|
class Migration(migrations.Migration):
|
|
22
|
-
|
|
23
21
|
dependencies = [
|
|
24
22
|
("edc_pharmacy", "0083_auto_20250707_1820"),
|
|
25
23
|
("sites", "0002_alter_domain_unique"),
|