I am looking to Design Smart Contract using Ethereum Blockchain for storing and retrieving Medical Recoreds in Blockchain.
As I am new to Ethereum I am little issue with below thing. anyone have any idea or some solidity code how to get it.
Key Functions/Module: There will be two users o Doctor o Patient
Add Doctor Information o Doctor ID o Name o Email o Contact Number o Address
Add Patient Information o Patient ID o Patient Name o Email o Contact Number o Address
1 Patient can view his/her information 2 Doctor can view/her information 3 Patient can share his/her information with Doctors 4 Doctors can view all/limited information of Patients who shared their information with doctors.
Thanks in advance.