The patient furnishes his identifier k0 to the HAP and requests an EMR containing a 1 , , a n and linked to DID and kb

D.1 Patient HAP : k0, DID, kb, a 1 , , a n

HAP challenges the patient to prove that he is the owner of k0 and kb

D.2 HAP Patient : k0, Np

D.3 Patient HAP : { H ( k 0 , N p ) } k 0 1 , { H ( k b , N p ) } k b 1

HAP links DID to kb and stores the result in Indy

D.4 HAP Indy : DID, kb, { H ( D I D , k b ) } k p 1

HAP provides the requested EMR, protected by k, to the patient

D.5 HAP Patient : D I D , { E M R } k M , { H ( M ) } k p 1 , { k } k 0

Patient stores the requested EMR, protected by k, in his wallet

D.6 Patient Wallet : D I D , { E M R } k M , { H ( M ) } k p 1 , { k } k 0