Skip to main content
. 2024 Mar 15;14(6):624. doi: 10.3390/diagnostics14060624
Algorithm 5: Process of the cloud layer
Step 1: If (Patient_Id == Exist) for storing the data into cloud repository
Step 2: Update the patient information and store it.
Step 3: Else
Generate the patient id.
Create a new data record in the dengue dataset.
Store the information of new patient in repository.
End if
Step 4: To access the data from cloud repository, do following
Step 5: If (User == Doctor)
-check the doctor id in database.
if (doctor_id == mapped)
Access the data on cloud layer
Else
Unauthorized user
End if
Step 6: Else if (User == Patient)
Check the patient id in database.
if (Patient_id == mapped)
Access the data on cloud layer
Else
Unauthorized user
End if
Step 7: Else
User is unauthorized, access is not granted.
End if