Sie sind auf Seite 1von 5

4/13/2019 Z-Editor

[User]
[Patient]
[Doctor]

[Receptionist]

[Appointment]
Response :: = Success
|Record Add

|Record Update
|Record Search
|Record Delete
Admin
PatientAdd, PatientUpdate, OutdoorPatientAdd, OutdoorPatientUpdate IndoorPatientAdd,
IndoorPatientUpdate : ℙ Patient
DoctorAdd : ℙ Doctor
ReceptionistAdd : ℙ Receptionist
PatientUpdate ⊆ PatientAdd
OutdoorPatientUpdate ⊆ OutdoorPatientAdd
IndoorPatientUpdate ⊆ IndoorPatientAdd

Patient Record Add


ΔAdmin
patient? : Patient
response! : Response
patient? ∉ PatientAdd
PatientAdd' = PatientAdd ⋃ {patient?}
response! = Success
response! = Record Add

Patient Record Delete


ΔAdmin
patient? : Patient
response! : Response
patient? ∈ PatientAdd
PatientAdd' = PatientAdd ∖ {patient?}
response! = Success
response! = Record Delete

https://z-editor.github.io 1/5
4/13/2019 Z-Editor

Patient Record Update


ΔAdmin
patient? : Patient
update? : Patient
response! : Response
patient? ∈ PatientAdd
patient?' = patient? ⋃ {update?}
PatientUpdate' = PatientUpdate ⋃ {patient?}
response! = Success
response! = Record Update

Patient Record Search


ΞAdmin
patient? : Patient
response! : Response
patient? ∈ PatientAdd
response! = Success
response! = Record Search

Outdoor Patient Record Add


ΔAdmin
patient? : Patient
response! : Response
patient? ∉ OutdoorPatientAdd
OutdoorPatientAdd' = OutdoorPatientAdd ⋃ {patient?}
response! = Success
response! = Record Add

Outdoor Patient Record Delete


ΔAdmin
patient? : Patient
response! : Response
patient? ∈ OutdoorPatientAdd
OutdoorPatientAdd' = OutdoorPatientAdd ∖ {patient?}
response! = Success
response! = Record Delete

https://z-editor.github.io 2/5
4/13/2019 Z-Editor

Outdoor Patient Record Update


ΔAdmin
patient? : Patient
update? : Patient
response! : Response
patient? ∈ OutdoorPatientAdd
patient?' = patient? ⋃ {update?}
OutdoorPatientUpdate' = OutdoorPatientUpdate ⋃ {patient?}
response! = Success
response! = Record Update

Outdoor Patient Record Search


ΞAdmin
patient? : Patient
response! : Response
patient? ∈ OutdoorPatientAdd
response! = Success
response! = Record Search

Indoor Patient Record Add


ΔAdmin
patient? : Patient
response! : Response
patient? ∉ IndoorPatientAdd
IndoorPatientAdd' = IndoorPatientAdd ⋃ {patient?}
response! = Success
response! = Record Add

Indoor Patient Record Delete


ΔAdmin
patient? : Patient
response! : Response
patient? ∈ IndoorPatientAdd
IndoorPatientAdd' = IndoorPatientAdd ∖ {patient?}
response! = Success
response! = Record Delete

https://z-editor.github.io 3/5
4/13/2019 Z-Editor
IndoorPatient Record Update
ΔAdmin
patient? : Patient
update? : Patient
response! : Response
patient? ∈ IndoorPatientAdd
patient?' = patient? ⋃ {update?}
IndoorPatientUpdate' = IndoorPatientUpdate ⋃ {patient?}
response! = Success
response! = Record Update

IndoorPatient Record Search


ΞAdmin
patient? : Patient
response! : Response
patient? ∈ IndoorPatientAdd
response! = Success
response! = Record Search

Doctor Add
ΔAdmin
doctor? : Doctor
response! : Response
doctor? ∉ DoctorAdd
DoctorAdd' = DoctorAdd ⋃ {doctor?}
response! = Success
response! = Record Add

Doctor Record Search


ΞAdmin
doctor? : Doctor
response! : Response
doctor? ∉ DoctorAdd
response! = Success
response! = Record Search

Receptionist Add
ΔAdmin
receptionist? : Receptionist
response! : Response
receptionist? ∉ ReceptionistAdd
ReceptionistAdd' = ReceptionistAdd ⋃ {receptionist?}
response! = Success

response! = Record Add


https://z-editor.github.io 4/5
Receptionist
4/13/2019 Record Search Z-Editor
ΞAdmin
receptionist? : Receptionist
response! : Response
receptionist? ∉ ReceptionistAdd
response! = Success
response! = Record Search

https://z-editor.github.io 5/5

Das könnte Ihnen auch gefallen