From 363a535beb5896b256bf60bd907edfa1ab14c6d5 Mon Sep 17 00:00:00 2001 From: Sean Batzel Date: Thu, 4 Nov 2021 21:42:52 -0400 Subject: [PATCH] This should finally fix the patient history issue. --- ...8_alter_patientencounter_patient_history.py | 18 ++++++++++++++++++ main/models.py | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 main/migrations/0008_alter_patientencounter_patient_history.py diff --git a/main/migrations/0008_alter_patientencounter_patient_history.py b/main/migrations/0008_alter_patientencounter_patient_history.py new file mode 100644 index 00000000..c0f86b7f --- /dev/null +++ b/main/migrations/0008_alter_patientencounter_patient_history.py @@ -0,0 +1,18 @@ +# Generated by Django 3.2.9 on 2021-11-05 01:40 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('main', '0007_auto_20211103_0955'), + ] + + operations = [ + migrations.AlterField( + model_name='patientencounter', + name='patient_history', + field=models.CharField(blank=True, max_length=1000, null=True), + ), + ] diff --git a/main/models.py b/main/models.py index 2bab6b4a..f5e0a640 100644 --- a/main/models.py +++ b/main/models.py @@ -411,7 +411,7 @@ class PatientEncounter(models.Model): alcohol = models.BooleanField(default=False) chief_complaint = models.ManyToManyField(ChiefComplaint, blank=True) - patient_history = models.CharField(max_length=500, null=True, blank=True) + patient_history = models.CharField(max_length=1000, null=True, blank=True) community_health_worker_notes = models.CharField( max_length=500, null=True, blank=True