|
Algorithm 1 Create, Update, and Revoke Medical Records |
-
1:
procedure CreateRecord(patientID, data) save ▹ Save the record in the database
-
2:
end procedure
-
3:
procedure UpdateRecord(recordID, newData)
-
4:
if then save ▹ Update the record in the database
-
5:
end if
-
6:
end procedure
-
7:
procedure RevokeRecord(recordID)
-
8:
if then delete ▹ Delete the record from the database
-
9:
end if
-
10:
end procedure
|