Research Article
[Retracted] SmartMedChain: A Blockchain-Based Privacy-Preserving Smart Healthcare Framework
| Input: certificate, EHR, DataChainTxID, Agreement | | Output: success of Transaction generation | | if Verify(certificate) == True then | | EHREncrypted = Encrypt(EHR); | | EHR@ = Store(EMREncrypted); | | SPID = Resolve (certificate); | | initServiceChainTx (DataChainTxID.PatientID, | | SPID, Agreement.Ref, Agreement.Instance, EHR.DPlevel, timestmp, Signature, DataChainTxID, EHR@); | | return SUCCESS | | else | | return CERTIFICATION ERROR | | end |
|