openimis-be-claim-sampling 1.0.0__tar.gz

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.
Files changed (29) hide show
  1. openimis_be_claim_sampling-1.0.0/LICENSE.md +14 -0
  2. openimis_be_claim_sampling-1.0.0/PKG-INFO +52 -0
  3. openimis_be_claim_sampling-1.0.0/README.md +28 -0
  4. openimis_be_claim_sampling-1.0.0/claim_sampling/__init__.py +0 -0
  5. openimis_be_claim_sampling-1.0.0/claim_sampling/admin.py +3 -0
  6. openimis_be_claim_sampling-1.0.0/claim_sampling/apps.py +29 -0
  7. openimis_be_claim_sampling-1.0.0/claim_sampling/gql_mutations.py +171 -0
  8. openimis_be_claim_sampling-1.0.0/claim_sampling/gql_queries.py +79 -0
  9. openimis_be_claim_sampling-1.0.0/claim_sampling/migrations/0001_initial.py +56 -0
  10. openimis_be_claim_sampling-1.0.0/claim_sampling/migrations/0002_remove_claimsamplingbatchassignment_claim_batch_id_and_more.py +27 -0
  11. openimis_be_claim_sampling-1.0.0/claim_sampling/migrations/0003_initial.py +400 -0
  12. openimis_be_claim_sampling-1.0.0/claim_sampling/migrations/0004_rename_claim_id_claimsamplingbatchassignment_claim_and_more.py +33 -0
  13. openimis_be_claim_sampling-1.0.0/claim_sampling/migrations/0005_alter_claimsamplingbatchassignment_status_and_more.py +23 -0
  14. openimis_be_claim_sampling-1.0.0/claim_sampling/migrations/0006_alter_claimsamplingbatchassignment_claim_and_more.py +34 -0
  15. openimis_be_claim_sampling-1.0.0/claim_sampling/migrations/__init__.py +0 -0
  16. openimis_be_claim_sampling-1.0.0/claim_sampling/models.py +30 -0
  17. openimis_be_claim_sampling-1.0.0/claim_sampling/schema.py +117 -0
  18. openimis_be_claim_sampling-1.0.0/claim_sampling/services.py +240 -0
  19. openimis_be_claim_sampling-1.0.0/claim_sampling/signals.py +71 -0
  20. openimis_be_claim_sampling-1.0.0/claim_sampling/tests.py +266 -0
  21. openimis_be_claim_sampling-1.0.0/claim_sampling/urls.py +1 -0
  22. openimis_be_claim_sampling-1.0.0/claim_sampling/views.py +3 -0
  23. openimis_be_claim_sampling-1.0.0/openimis_be_claim_sampling.egg-info/PKG-INFO +52 -0
  24. openimis_be_claim_sampling-1.0.0/openimis_be_claim_sampling.egg-info/SOURCES.txt +27 -0
  25. openimis_be_claim_sampling-1.0.0/openimis_be_claim_sampling.egg-info/dependency_links.txt +1 -0
  26. openimis_be_claim_sampling-1.0.0/openimis_be_claim_sampling.egg-info/requires.txt +5 -0
  27. openimis_be_claim_sampling-1.0.0/openimis_be_claim_sampling.egg-info/top_level.txt +1 -0
  28. openimis_be_claim_sampling-1.0.0/setup.cfg +4 -0
  29. openimis_be_claim_sampling-1.0.0/setup.py +39 -0
@@ -0,0 +1,14 @@
1
+
2
+ The program users must agree to the following terms:
3
+
4
+ License notices
5
+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU AGPL v3 License as published by the Free Software Foundation, version 3 of the License.
6
+ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU AGPL v3 License for more details www.gnu.org.
7
+
8
+ Disclaimer of Warranty
9
+ There is no warranty for the program, to the extent permitted by applicable law; except when otherwise stated in writing the copyright holders and/or other parties provide the program "as is" without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The entire risk as to the quality and performance of the program is with you. Should the program prove defective, you assume the cost of all necessary servicing, repair or correction.
10
+
11
+ Limitation of Liability
12
+ In no event unless required by applicable law or agreed to in writing will any copyright holder, or any other party who modifies and/or conveys the program as permitted above, be liable to you for damages, including any general, special, incidental or consequential damages arising out of the use or inability to use the program (including but not limited to loss of data or data being rendered inaccurate or losses sustained by you or third parties or a failure of the program to operate with any other programs), even if such holder or other party has been advised of the possibility of such damages.
13
+
14
+ In case of dispute arising out or in relation to the use of the program, it is subject to the public law of Switzerland. The place of jurisdiction is Berne.
@@ -0,0 +1,52 @@
1
+ Metadata-Version: 2.1
2
+ Name: openimis-be-claim_sampling
3
+ Version: 1.0.0
4
+ Summary: The openIMIS Backend claim_sampling reference module.
5
+ Home-page: https://openimis.org/
6
+ Author: wzgliniecki
7
+ Author-email: wzgliniecki@soldevelo.com
8
+ License: GNU AGPL v3
9
+ Classifier: Environment :: Web Environment
10
+ Classifier: Framework :: Django
11
+ Classifier: Framework :: Django :: 4.2
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: License :: OSI Approved :: GNU Affero General Public License v3
14
+ Classifier: Operating System :: OS Independent
15
+ Classifier: Programming Language :: Python
16
+ Classifier: Programming Language :: Python :: 3.8
17
+ Description-Content-Type: text/markdown
18
+ License-File: LICENSE.md
19
+ Requires-Dist: django
20
+ Requires-Dist: django-db-signals
21
+ Requires-Dist: djangorestframework
22
+ Requires-Dist: openimis-be-core
23
+ Requires-Dist: openimis-be-claim
24
+
25
+ # openIMIS Backend claim_sampling reference module
26
+ This repository holds the files of the openIMIS Backend Claim Sampling reference module.
27
+
28
+ [![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)
29
+
30
+ ## Code climate (develop branch)
31
+
32
+ ## ORM mapping:
33
+
34
+ ## Listened Django Signals
35
+
36
+ ## Services
37
+
38
+ ## Reports (template can be overloaded via report.ReportDefinition)
39
+
40
+ ## GraphQL Queries
41
+
42
+ ## GraphQL Mutations - each mutation emits default signals and return standard error lists (cfr. openimis-be-core_py)
43
+
44
+ ## Additional Endpoints
45
+
46
+ ## Reports
47
+
48
+ ## Configuration options (can be changed via core.ModuleConfiguration)
49
+
50
+
51
+ ## openIMIS Modules Dependencies
52
+
@@ -0,0 +1,28 @@
1
+ # openIMIS Backend claim_sampling reference module
2
+ This repository holds the files of the openIMIS Backend Claim Sampling reference module.
3
+
4
+ [![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)
5
+
6
+ ## Code climate (develop branch)
7
+
8
+ ## ORM mapping:
9
+
10
+ ## Listened Django Signals
11
+
12
+ ## Services
13
+
14
+ ## Reports (template can be overloaded via report.ReportDefinition)
15
+
16
+ ## GraphQL Queries
17
+
18
+ ## GraphQL Mutations - each mutation emits default signals and return standard error lists (cfr. openimis-be-core_py)
19
+
20
+ ## Additional Endpoints
21
+
22
+ ## Reports
23
+
24
+ ## Configuration options (can be changed via core.ModuleConfiguration)
25
+
26
+
27
+ ## openIMIS Modules Dependencies
28
+
@@ -0,0 +1,3 @@
1
+ from django.contrib import admin
2
+
3
+ # Register your models here.
@@ -0,0 +1,29 @@
1
+ from django.apps import AppConfig
2
+
3
+ MODULE_NAME = 'claim_sampling'
4
+
5
+ DEFAULT_CFG = {
6
+ "gql_query_claim_batch_samplings_perms": ["126001"],
7
+ "gql_mutation_create_claim_batch_samplings_perms": ["126002"],
8
+ "gql_mutation_update_claim_batch_samplings_perms": ["126003"],
9
+ "gql_mutation_approve_claim_batch_samplings_perms": ["126004"],
10
+ }
11
+
12
+
13
+ class ClaimSamplingConfig(AppConfig):
14
+ name = MODULE_NAME
15
+
16
+ gql_query_claim_batch_samplings_perms = None
17
+ gql_mutation_create_claim_batch_samplings_perms = None
18
+ gql_mutation_update_claim_batch_samplings_perms = None
19
+ gql_mutation_approve_claim_batch_samplings_perms = None
20
+
21
+ def __load_config(self, cfg):
22
+ for field in cfg:
23
+ if hasattr(ClaimSamplingConfig, field):
24
+ setattr(ClaimSamplingConfig, field, cfg[field])
25
+
26
+ def ready(self):
27
+ from core.models import ModuleConfiguration
28
+ cfg = ModuleConfiguration.get_or_default(MODULE_NAME, DEFAULT_CFG)
29
+ self.__load_config(cfg)
@@ -0,0 +1,171 @@
1
+ import logging
2
+ import uuid
3
+ import pathlib
4
+ import base64
5
+ from typing import Callable, Dict
6
+ import random
7
+ import graphene
8
+
9
+ from claim.gql_queries import ClaimGQLType
10
+ from core.gql.gql_mutations import mutation_on_uuids_from_filter
11
+ from tasks_management.models import TaskGroup
12
+ from .apps import ClaimSamplingConfig
13
+ from core.schema import TinyInt, OpenIMISMutation
14
+ from django.contrib.auth.models import AnonymousUser
15
+ from django.core.exceptions import ValidationError, PermissionDenied
16
+ from django.utils.translation import gettext as _
17
+
18
+ from claim.gql_mutations import ClaimCodeInputType, ClaimGuaranteeIdInputType, FeedbackInputType
19
+ from claim.models import ClaimAdmin, Claim
20
+
21
+ from django.db import transaction
22
+
23
+ from .models import ClaimSamplingBatch, ClaimSamplingBatchAssignment
24
+ from .services import ClaimSamplingService
25
+
26
+ logger = logging.getLogger(__name__)
27
+
28
+
29
+ class ClaimSamplingBatchInputType(OpenIMISMutation.Input):
30
+ percentage = graphene.Int(required=True)
31
+ t = graphene.Int(required=True)
32
+
33
+ status = TinyInt(required=False)
34
+ id = graphene.Int(required=False, read_only=True)
35
+ uuid = graphene.String(required=False)
36
+ autogenerate = graphene.Boolean(required=False)
37
+ insuree_id = graphene.Int(required=False)
38
+ date_from = graphene.Date(required=False)
39
+ date_to = graphene.Date(required=False)
40
+ icd_id = graphene.Int(required=False)
41
+ icd_1_id = graphene.Int(required=False)
42
+ icd_2_id = graphene.Int(required=False)
43
+ icd_3_id = graphene.Int(required=False)
44
+ icd_4_id = graphene.Int(required=False)
45
+ review_status = TinyInt(required=False)
46
+ date_claimed = graphene.Date(required=False)
47
+ date_processed = graphene.Date(required=False)
48
+ health_facility_id = graphene.Int(required=False)
49
+ refer_from_id = graphene.Int(required=False)
50
+ refer_to_id = graphene.Int(required=False)
51
+ batch_run_id = graphene.Int(required=False)
52
+ category = graphene.String(max_length=1, required=False)
53
+ visit_type = graphene.String(max_length=1, required=False)
54
+ admin_id = graphene.Int(required=False)
55
+ explanation = graphene.String(required=False)
56
+ adjustment = graphene.String(required=False)
57
+ json_ext = graphene.types.json.JSONString(required=False)
58
+ restore = graphene.UUID(required=False)
59
+ feedback_available = graphene.Boolean(default=False)
60
+ feedback_status = TinyInt(required=False)
61
+ care_type = graphene.String(required=False)
62
+
63
+ # code = graphene.Field(ClaimCodeInputType, required=True)
64
+ # feedback = graphene.Field(FeedbackInputType, required=False)
65
+ # guarantee_id = ClaimGuaranteeIdInputType(required=False)
66
+
67
+
68
+ @transaction.atomic
69
+ def update_or_create_claim_sampling_batch(data, user, task_group=None):
70
+
71
+ service = ClaimSamplingService(user)
72
+
73
+ if data.get('uuid', None) is not None:
74
+ return service.update(data)
75
+ else:
76
+ claim_sampling_batch = service.create(data, task_group)
77
+ return claim_sampling_batch
78
+
79
+
80
+ class CreateClaimSamplingBatchMutation(OpenIMISMutation):
81
+ """
82
+ Create a new claim sampling batch.
83
+ """
84
+ __filter_handlers = {
85
+ 'services': 'services__service__code__in',
86
+ 'items': 'items__item__code__in'
87
+ }
88
+
89
+ _mutation_module = "claim_sampling"
90
+ _mutation_class = "CreateClaimSamplingBatchMutation"
91
+
92
+ class Input(OpenIMISMutation.Input):
93
+ filters = graphene.String()
94
+ percentage = graphene.Int(required=True)
95
+ taskGroupUuid = graphene.String(required=False)
96
+
97
+ @classmethod
98
+ @mutation_on_uuids_from_filter(Claim, ClaimGQLType, 'filters', __filter_handlers)
99
+ def async_mutate(cls, user, **data):
100
+ try:
101
+ if type(user) is AnonymousUser or not user.id:
102
+ raise ValidationError(_("mutation.authentication_required"))
103
+ # if not user.has_perms(ClaimSamplingConfig.gql_mutation_create_claim_batch_samplings_perms):
104
+ # raise PermissionDenied(_("unauthorized"))
105
+ if "client_mutation_id" in data:
106
+ data.pop('client_mutation_id')
107
+ if "client_mutation_label" in data:
108
+ data.pop('client_mutation_label')
109
+ # data['audit_user_id'] = user.id_for_audit
110
+ from core.utils import TimeUtils
111
+ # data['validity_from'] = TimeUtils.now()
112
+ group_id = data.get('taskGroupUuid')
113
+
114
+ task_group = TaskGroup.objects.get(id=group_id) if group_id else None
115
+ claim_sampling_batch = update_or_create_claim_sampling_batch(data, user, task_group)
116
+ return None
117
+ except Exception as exc:
118
+ from django.conf import settings
119
+ if settings.DEBUG:
120
+ import traceback
121
+ logging.debug("Error in claim sampling mutation: ", exc)
122
+ traceback.print_exc()
123
+ return [{
124
+ 'message': _("claim.mutation.failed_to_create_claim_sampling_batch") % {'code': data['code']},
125
+ 'detail': str(exc)}]
126
+
127
+
128
+ class UpdateClaimSamplingBatchMutation(OpenIMISMutation):
129
+ """
130
+ Update a claim. The claim items and services can all be updated with this call
131
+ """
132
+ _mutation_module = "claim_sampling"
133
+ _mutation_class = "UpdateClaimSamplingBatchMutation"
134
+
135
+ class Input(ClaimSamplingBatchInputType):
136
+ pass
137
+
138
+ @classmethod
139
+ def async_mutate(cls, user, **data):
140
+ try:
141
+ if type(user) is AnonymousUser or not user.id:
142
+ raise ValidationError(
143
+ _("mutation.authentication_required"))
144
+ if not user.has_perms(ClaimSamplingConfig.gql_mutation_update_claim_batch_samplings_perms):
145
+ raise PermissionDenied(_("unauthorized"))
146
+ data['audit_user_id'] = user.id_for_audit
147
+ update_or_create_claim_sampling_batch(data, user)
148
+ return None
149
+ except Exception as exc:
150
+ return [{
151
+ 'message': _("claim.mutation.failed_to_update_claim_sampling_batch") % {'code': data['code']},
152
+ 'detail': str(exc)}]
153
+
154
+
155
+ class ApproveClaimSamplingBatchMutation(OpenIMISMutation):
156
+ """
157
+ Approve given claim batch and apply deduction rate or other parameters across all claims in given batch.
158
+ """
159
+ _mutation_module = "claim_sampling"
160
+ _mutation_class = "ApproveClaimSamplingBatchMutation"
161
+
162
+ class Input(ClaimSamplingBatchInputType):
163
+ pass
164
+
165
+ @classmethod
166
+ def async_mutate(cls, user, **data):
167
+ if not user.has_perms(ClaimSamplingConfig.gql_mutation_approve_claim_batch_samplings_perms):
168
+ raise PermissionDenied(_("unauthorized"))
169
+ errors = []
170
+
171
+ return errors
@@ -0,0 +1,79 @@
1
+ import graphene
2
+ from core import prefix_filterset, ExtendedConnection
3
+ from graphene_django import DjangoObjectType
4
+ from .apps import ClaimSamplingConfig
5
+ from .models import Claim
6
+ from django.utils.translation import gettext as _
7
+ from django.core.exceptions import PermissionDenied
8
+
9
+
10
+ class ClaimSamplingBatchGQLType(DjangoObjectType):
11
+ attachments_count = graphene.Int()
12
+ client_mutation_id = graphene.String()
13
+
14
+ class Meta:
15
+ model = Claim
16
+ interfaces = (graphene.relay.Node,)
17
+ filter_fields = {
18
+ "uuid": ["exact"],
19
+ "code": ["exact", "istartswith", "icontains", "iexact"],
20
+ "status": ["exact", "gt"],
21
+ "date_claimed": ["exact", "lt", "lte", "gt", "gte"],
22
+ "date_from": ["exact", "lt", "lte", "gt", "gte"],
23
+ "date_to": ["exact", "lt", "lte", "gt", "gte"],
24
+ "date_processed": ["exact", "lt", "lte", "gt", "gte"],
25
+ "feedback_status": ["exact"],
26
+ "review_status": ["exact"],
27
+ "claimed": ["exact", "lt", "lte", "gt", "gte"],
28
+ "approved": ["exact", "lt", "lte", "gt", "gte"],
29
+ "visit_type": ["exact"],
30
+ "attachments_count__value": ["exact", "lt", "lte", "gt", "gte"],
31
+ }
32
+ connection_class = ExtendedConnection
33
+
34
+ def resolve_client_mutation_id(self, info):
35
+ if not info.context.user.has_perms(ClaimSamplingConfig.gql_query_claim_batch_samplings_perms):
36
+ raise PermissionDenied(_("unauthorized"))
37
+ claim_mutation = self.mutations.select_related(
38
+ 'mutation').filter(mutation__status=0).first()
39
+ return claim_mutation.mutation.client_mutation_id if claim_mutation else None
40
+
41
+ @classmethod
42
+ def get_queryset(cls, queryset, info):
43
+ claim_ids = Claim.get_queryset(queryset, info).values('uuid').all()
44
+ return Claim.objects.filter(uuid__in=claim_ids)
45
+
46
+
47
+ class ClaimSamplingBatchAssignmentGQLType(DjangoObjectType):
48
+ """
49
+ Main element for a Claim. It can contain items and/or services.
50
+ The filters are possible on BatchRun, Insuree, HealthFacility, Admin and ICD in addition to the Claim fields
51
+ themselves.
52
+ """
53
+
54
+ class Meta:
55
+ model = Claim
56
+ interfaces = (graphene.relay.Node,)
57
+ filter_fields = {
58
+ "uuid": ["exact"],
59
+ "code": ["exact", "istartswith", "icontains", "iexact"],
60
+ "status": ["exact", "gt"],
61
+ "date_claimed": ["exact", "lt", "lte", "gt", "gte"],
62
+ "date_from": ["exact", "lt", "lte", "gt", "gte"],
63
+ "date_to": ["exact", "lt", "lte", "gt", "gte"],
64
+ "date_processed": ["exact", "lt", "lte", "gt", "gte"],
65
+ "feedback_status": ["exact"],
66
+ "review_status": ["exact"],
67
+ "claimed": ["exact", "lt", "lte", "gt", "gte"],
68
+ "approved": ["exact", "lt", "lte", "gt", "gte"],
69
+ "visit_type": ["exact"],
70
+ "attachments_count__value": ["exact", "lt", "lte", "gt", "gte"],
71
+ }
72
+ connection_class = ExtendedConnection
73
+
74
+
75
+ class ClaimSamplingSummaryGQLType(graphene.ObjectType):
76
+ deductible_percentage = graphene.Float(description="Percentage of claims rejected during review - deductibles.")
77
+ reviewed_percentage = graphene.Float(description="Percentage of reviewed claims in batch.")
78
+ total_claims_in_batch = graphene.Int(description="Total number of claims selected for review in sampling batch")
79
+
@@ -0,0 +1,56 @@
1
+ # Generated by Django 3.2.16 on 2023-10-25 07:50
2
+
3
+ import core.fields
4
+ import datetime
5
+ from django.db import migrations, models
6
+ import django.db.models.deletion
7
+ import uuid
8
+
9
+
10
+ class Migration(migrations.Migration):
11
+
12
+ initial = True
13
+
14
+ dependencies = [
15
+ ('claim', '0024_add_claim_restore_perms'),
16
+ ]
17
+
18
+ operations = [
19
+ migrations.CreateModel(
20
+ name='ClaimSamplingBatch',
21
+ fields=[
22
+ ('validity_from', core.fields.DateTimeField(db_column='ValidityFrom', default=datetime.datetime.now)),
23
+ ('validity_to', core.fields.DateTimeField(blank=True, db_column='ValidityTo', null=True)),
24
+ ('legacy_id', models.IntegerField(blank=True, db_column='LegacyID', null=True)),
25
+ ('id', models.AutoField(db_column='ClaimSamplingBatchID', primary_key=True, serialize=False)),
26
+ ('uuid', models.CharField(db_column='ClaimSamplingBatchUUID', default=uuid.uuid4, max_length=36, unique=True)),
27
+ ('is_completed', models.BooleanField()),
28
+ ('is_applied', models.BooleanField()),
29
+ ('computed_value', models.JSONField(blank=True, db_column='ComputedValue', null=True)),
30
+ ('assigned_value', models.JSONField(blank=True, db_column='AssignedValue', null=True)),
31
+ ('assigned_to', models.ForeignKey(db_column='AssignedTo', on_delete=django.db.models.deletion.DO_NOTHING, related_name='AssignedTo', to='claim.claimadmin')),
32
+ ('created_by', models.ForeignKey(db_column='CreatedBy', on_delete=django.db.models.deletion.DO_NOTHING, related_name='CreatedBy', to='claim.claimadmin')),
33
+ ],
34
+ options={
35
+ 'db_table': 'claim_ClaimSamplingBatch',
36
+ 'managed': True,
37
+ },
38
+ ),
39
+ migrations.CreateModel(
40
+ name='ClaimSamplingBatchAssignment',
41
+ fields=[
42
+ ('validity_from', core.fields.DateTimeField(db_column='ValidityFrom', default=datetime.datetime.now)),
43
+ ('validity_to', core.fields.DateTimeField(blank=True, db_column='ValidityTo', null=True)),
44
+ ('legacy_id', models.IntegerField(blank=True, db_column='LegacyID', null=True)),
45
+ ('id', models.AutoField(db_column='ClaimSamplingBatchAssignmentID', primary_key=True, serialize=False)),
46
+ ('uuid', models.CharField(db_column='ClaimSamplingBatchAssignmentUUID', default=uuid.uuid4, max_length=36, unique=True)),
47
+ ('status', models.CharField(choices=[('R', 'Reviewed'), ('S', 'Skipped'), ('I', 'Idle')], default='I', max_length=2)),
48
+ ('claim_batch_id', models.ForeignKey(db_column='ClaimSamplingBatchID', on_delete=django.db.models.deletion.DO_NOTHING, related_name='ClaimSamplingBatchID', to='claim_sampling.claimsamplingbatch')),
49
+ ('claim_id', models.ForeignKey(db_column='ClaimID', on_delete=django.db.models.deletion.DO_NOTHING, related_name='ClaimID', to='claim.claim')),
50
+ ],
51
+ options={
52
+ 'db_table': 'claim_ClaimBatchAssignment',
53
+ 'managed': True,
54
+ },
55
+ ),
56
+ ]
@@ -0,0 +1,27 @@
1
+ # Generated by Django 4.2.11 on 2024-05-19 14:49
2
+
3
+ from django.db import migrations
4
+
5
+
6
+ class Migration(migrations.Migration):
7
+
8
+ dependencies = [
9
+ ("claim_sampling", "0001_initial"),
10
+ ]
11
+
12
+ operations = [
13
+ migrations.RemoveField(
14
+ model_name="claimsamplingbatchassignment",
15
+ name="claim_batch_id",
16
+ ),
17
+ migrations.RemoveField(
18
+ model_name="claimsamplingbatchassignment",
19
+ name="claim_id",
20
+ ),
21
+ migrations.DeleteModel(
22
+ name="ClaimSamplingBatch",
23
+ ),
24
+ migrations.DeleteModel(
25
+ name="ClaimSamplingBatchAssignment",
26
+ ),
27
+ ]