forked from ZU-Hospital/zu-hospital-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from MohamedHamed12/hamed
Hamed
- Loading branch information
Showing
20 changed files
with
101 additions
and
1 deletion.
There are no files selected for viewing
File renamed without changes.
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,15 @@ | ||
@startuml visit | ||
|
||
participant Admin | ||
participant System | ||
participant Visit | ||
|
||
Admin -> System : "set visit" | ||
|
||
|
||
|
||
Admin -> System : "get visit" | ||
System -> Admin : "split visit to missed and current and upcoming" | ||
|
||
Admin -> System : "update visit to finished" | ||
@enduml |
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,15 @@ | ||
@startuml OnlineShoppingSystem | ||
|
||
left to right direction | ||
actor Admin as "Admin" | ||
actor System as "System" | ||
actor Patient as "Patient" | ||
|
||
rectangle "Use Cases" { | ||
Admin --> (Manage patients) | ||
Admin --> (Manage visits) | ||
System --> (Split visits to missed and current and upcoming) | ||
Patient --> (Get his data) | ||
} | ||
|
||
@enduml |
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,12 @@ | ||
```mermaid | ||
graph TD; | ||
A[Visit] -->|1| B[Unfinished Visit] | ||
A -->|2| C[Finished Visit] | ||
B -->|edit| D[Admin set Finished] | ||
B -->|get| E[System] | ||
E -->|date < today| F[Missed Visit] | ||
E -->|date > today| G[ Upcoming Visit] | ||
E -->|date = today| H[Current Visit] | ||
``` |
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
28 changes: 28 additions & 0 deletions
28
project/accounts/migrations/0004_alter_doctor_marital_status_and_more.py
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,28 @@ | ||
# Generated by Django 5.0.3 on 2024-05-02 04:51 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("accounts", "0003_alter_address_user_alter_phone_user_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="doctor", | ||
name="marital_status", | ||
field=models.CharField(blank=True, max_length=255, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name="employee", | ||
name="marital_status", | ||
field=models.CharField(blank=True, max_length=255, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name="patient", | ||
name="marital_status", | ||
field=models.CharField(blank=True, max_length=255, null=True), | ||
), | ||
] |
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
25 changes: 25 additions & 0 deletions
25
project/visit/migrations/0002_remove_visit_enddatetime_alter_visit_doctors.py
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,25 @@ | ||
# Generated by Django 5.0.3 on 2024-05-02 04:51 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("accounts", "0004_alter_doctor_marital_status_and_more"), | ||
("visit", "0001_initial"), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name="visit", | ||
name="enddatetime", | ||
), | ||
migrations.AlterField( | ||
model_name="visit", | ||
name="doctors", | ||
field=models.ManyToManyField( | ||
blank=True, null=True, related_name="visits", to="accounts.doctor" | ||
), | ||
), | ||
] |
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