Skip to main content
. 2022 Oct 6;10(10):1950. doi: 10.3390/healthcare10101950
Algorithm 2 Passport_Issue
Input: DVP_ID, P_num, I_ID, C_ID, IR_ID1, IR_ID2, Issued_time
1 if Inject_Record_query (IR_ID1) <> null && Inject_Record_query (IR_ID1) <> null then
2 if Check_Issuer(I_ID) = Issuer ID then
3    Print query result from Inject_Record_query(IR_ID1);
4    Print query result from Inject_Record_query(IR_ID2);
5    if info of inject record 1 is pass && info of inject record 2 is pass then
6     Add Digital Vaccine Passport Info to DVPArrayList;
7     str = “Create Success.”;
8    else
9     str = “Create Fail.”;
10    end if
11 else
12    str = “You are not Issuer!!”;
13 end if
14 end if