Skip to main content
. 2023 Jul 28;23(15):6762. doi: 10.3390/s23156762
Algorithm 2 Health record search.
Input: SearchQuery, Blockchain
Output: MatchingRecords
Initialization:;
MatchingRecords←Empty list;
Procedure:;
 block in Blockchain
 record in block
 record matches SearchQuery
MatchingRecords.append(record)
Return MatchingRecords