Created
June 14, 2020 07:44
-
-
Save zaryab2000/055caac1115386a3f0f7f58ab40bf314 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct Patient{ | |
uint256 time; | |
uint256 insuranceAmount; | |
uint256 donatedAmount; | |
string name; | |
string disease; | |
string doctorName; | |
string ipfsHash; | |
address doctorAddress; | |
address patientID; | |
bool pidAvailable; | |
bool doctorSignature; | |
} | |
struct Doctor{ | |
address docAdress; | |
string docName; | |
string docSpecialization; | |
} | |
struct withdrawHistory{ | |
address pid; | |
string doctorName; | |
uint256 time; | |
uint256 amount; | |
string patientName; | |
} | |
struct donationHistory{ | |
address pid; | |
address donorAddress; | |
uint256 time; | |
uint256 amount; | |
string patientName; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment