Skip to main content
. Author manuscript; available in PMC: 2024 Dec 7.
Published in final edited form as: Nat Electron. 2021 Aug 2;4(8):615–624. doi: 10.1038/s41928-021-00612-x
Algorism 1. Produce the device Algorism 2. Perform the test
Input: device ID, test name, manufacturer, date of manufacture, expire date, bench number, production place, status Input: device ID, status, operator, test date, patient ID, gender, weight, URL (link to image of device after test), result, geo-location
Result: Add new device record to the chaincode Result: Add test information to existing device
If device exists then If device does not exist then
    return     return
else else
    set test name, participant (manufacturer), date of manufacture, expire date, bench number, production place, status to device attribute     update status set operator, test date, patient ID, gender, weight, URL, result, test place to device attribute
    get asset registry emit ‘produce device’ event emit ‘do the test’ eve