Skip to content

Commit

Permalink
Added new routes in prescription (#1808)
Browse files Browse the repository at this point in the history
add new routes in prescription
  • Loading branch information
sriharsh05 authored Jan 16, 2024
1 parent e5ba880 commit 64485eb
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
32 changes: 32 additions & 0 deletions care/facility/migrations/0405_alter_prescription_route.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Generated by Django 4.2.5 on 2024-01-05 10:41

from django.db import migrations, models


class Migration(migrations.Migration):
dependencies = [
("facility", "0404_merge_20231220_2227"),
]

operations = [
migrations.AlterField(
model_name="prescription",
name="route",
field=models.CharField(
blank=True,
choices=[
("ORAL", "Oral"),
("IV", "IV"),
("IM", "IM"),
("SC", "S/C"),
("INHALATION", "Inhalation"),
("NASOGASTRIC", "Nasogastric/Gastrostomy tube"),
("INTRATHECAL", "intrathecal injection"),
("TRANSDERMAL", "Transdermal"),
("RECTAL", "Rectal"),
],
max_length=100,
null=True,
),
),
]
5 changes: 5 additions & 0 deletions care/facility/models/prescription.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ class Routes(enum.Enum):
IV = "IV"
IM = "IM"
SC = "S/C"
INHALATION = "Inhalation"
NASOGASTRIC = "Nasogastric/Gastrostomy tube"
INTRATHECAL = "intrathecal injection"
TRANSDERMAL = "Transdermal"
RECTAL = "Rectal"


class PrescriptionType(enum.Enum):
Expand Down

0 comments on commit 64485eb

Please sign in to comment.