Skip to content

Commit

Permalink
chore: add fhir organisation id
Browse files Browse the repository at this point in the history
Signed-off-by: Kathurima <kathurimakimathi415@gmail.com>
  • Loading branch information
KathurimaKimathi committed Mar 29, 2022
1 parent 728975f commit abe113e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions mycarehub/common/migrations/0017_facility_fhir_organization_id.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 3.2.12 on 2022-03-29 08:01

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('common', '0016_auto_20220215_1721'),
]

operations = [
migrations.AddField(
model_name='facility',
name='fhir_organization_id',
field=models.CharField(blank=True, max_length=64, null=True, unique=True),
),
]
1 change: 1 addition & 0 deletions mycarehub/common/models/common_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ class Facility(AbstractBase):
mfl_code = models.IntegerField(unique=True, help_text="MFL Code")
county = models.CharField(max_length=64, choices=get_counties())
phone = models.CharField(max_length=15, null=True, blank=True)
fhir_organization_id = models.CharField(unique=True, max_length=64, blank=True, null=True)

objects = FacilityManager()

Expand Down

0 comments on commit abe113e

Please sign in to comment.