forked from totallylegitco/fighthealthinsurance
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an option for folks to upload plan documents (totallylegitco#80)
* Pass through shell params to runserver_plus so you can specify the ip to listen on * Allow for upload of plan documents & save them to a PVC * Add the forms & fields to allow for file uploading (TODO: how do we handle that on the REST side? idk) * Skip plan_documents for rest for now. * MYPY settings checking can be a bit off and we added custom fields to it (see https://github.com/typeddjango/django-stubs#how-to-use-a-custom-library-to-handle-django-settings) * Fix sorting * Style cleanup * Drop isort conflicts with black * Update setup.cfg to match mypy.ini * Oops wrong location * Try using mypy.ini
- Loading branch information
Showing
27 changed files
with
216 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
fighthealthinsurance/migrations/0009_appealtemplates_diagnosis_regex.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
fighthealthinsurance/migrations/0011_plansource_plansourcerelation_denial_plan_source.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
fighthealthinsurance/migrations/0016_denial_plan_documents.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Generated by Django 5.1.1 on 2024-09-24 02:11 | ||
|
||
import django.core.files.storage | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("fighthealthinsurance", "0015_rename_medical_context_denial_health_history"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="denial", | ||
name="plan_documents", | ||
field=models.FileField( | ||
null=True, | ||
storage=django.core.files.storage.FileSystemStorage( | ||
location="external_data" | ||
), | ||
upload_to="", | ||
), | ||
), | ||
] |
45 changes: 45 additions & 0 deletions
45
fighthealthinsurance/migrations/0017_remove_denial_plan_documents_plandocuments.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Generated by Django 5.1.1 on 2024-09-25 03:54 | ||
|
||
import django.core.files.storage | ||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("fighthealthinsurance", "0016_denial_plan_documents"), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name="denial", | ||
name="plan_documents", | ||
), | ||
migrations.CreateModel( | ||
name="PlanDocuments", | ||
fields=[ | ||
( | ||
"plan_document_id", | ||
models.AutoField(primary_key=True, serialize=False), | ||
), | ||
( | ||
"plan_document", | ||
models.FileField( | ||
null=True, | ||
storage=django.core.files.storage.FileSystemStorage( | ||
location="external_data" | ||
), | ||
upload_to="", | ||
), | ||
), | ||
( | ||
"denial", | ||
models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
to="fighthealthinsurance.denial", | ||
), | ||
), | ||
], | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.