-
Notifications
You must be signed in to change notification settings - Fork 284
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made doctor role as static attribute (#1507)
* made doctor role as static attribute * renamed create_by_local_user field and added tests * added comments * update migrations Signed-off-by: Aakash Singh <[email protected]> --------- Signed-off-by: Aakash Singh <[email protected]> Co-authored-by: Vignesh Hari <[email protected]> Co-authored-by: Aakash Singh <[email protected]>
- Loading branch information
1 parent
9519d70
commit cd124c7
Showing
6 changed files
with
74 additions
and
33 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Generated by Django 4.2.2 on 2023-08-22 07:32 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
( | ||
"facility", | ||
"0379_rename_prescribed_medication_patientconsultation_treatment_plan", | ||
), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="patientnotes", | ||
name="user_type", | ||
field=models.CharField(default="", max_length=25), | ||
), | ||
] |
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