Skip to content

Commit

Permalink
Add investigation field in patient consultation (#990)
Browse files Browse the repository at this point in the history
  • Loading branch information
shivankacker authored Aug 27, 2022
1 parent 848bc7b commit 01314f6
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions care/facility/migrations/0312_patientconsultation_investigation.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Generated by Django 2.2.11 on 2022-08-27 11:12

import django.contrib.postgres.fields.jsonb
from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('facility', '0311_auto_20220824_1757'),
]

operations = [
migrations.AddField(
model_name='patientconsultation',
name='investigation',
field=django.contrib.postgres.fields.jsonb.JSONField(default=dict),
),
]
1 change: 1 addition & 0 deletions care/facility/models/patient_consultation.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ class PatientConsultation(PatientBaseModel, PatientRelatedPermissionMixin):
course_in_facility = models.TextField(null=True, blank=True)
discharge_advice = JSONField(default=dict)
prn_prescription = JSONField(default=dict)
investigation = JSONField(default=dict)
prescriptions = JSONField(default=dict) # Deprecated
procedure = JSONField(default=dict)
suggestion = models.CharField(max_length=4, choices=SUGGESTION_CHOICES)
Expand Down

0 comments on commit 01314f6

Please sign in to comment.