All Projects → Rishabh42 → HealthCare-Insurance-Ethereum

Rishabh42 / HealthCare-Insurance-Ethereum

Licence: MIT License
Medical insurance claiming DApp which uses a Multi-Sig type approach to grant claim (ConsenSys project)

Programming Languages

javascript
184084 projects - #8 most used programming language
solidity
1140 projects
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to HealthCare-Insurance-Ethereum

cheezyverse
Cheeze Wizards is the world's first battle royale on the blockchain (with cheese!)
Stars: ✭ 38 (-41.54%)
Mutual labels:  dapp, smart-contracts, ethereum-contract, ethereum-dapp
Daox Contracts
Smart contracts for creating Daox-based fundraising organization
Stars: ✭ 31 (-52.31%)
Mutual labels:  smart-contracts, ethereum-contract, ethereum-dapp
Seriality
Seriality is a library for serializing and de-serializing all the Solidity types in a very efficient way which mostly written in solidity-assembly
Stars: ✭ 105 (+61.54%)
Mutual labels:  smart-contracts, ethereum-contract, ethereum-dapp
Augur
Augur - Prediction Market Protocol and Client
Stars: ✭ 294 (+352.31%)
Mutual labels:  dapp, ethereum-contract, ethereum-dapp
React Ethereum Dapp Example
A starter boilerplate for an Ethereum dapp using web3.js v1.0, truffle, react, and parity
Stars: ✭ 384 (+490.77%)
Mutual labels:  smart-contracts, ethereum-contract, ethereum-dapp
Trust Wallet Ios
📱 Trust - Ethereum Wallet and Web3 DApp Browser for iOS
Stars: ✭ 1,228 (+1789.23%)
Mutual labels:  dapp, ethereum-contract, ethereum-dapp
contracts
Contracts for FundRequest (platform, token, crowdsale)
Stars: ✭ 56 (-13.85%)
Mutual labels:  dapp, ethereum-contract, ethereum-dapp
solidity-contracts
📦 Resources for the Ethereum Smart Contract Development tutorial series.
Stars: ✭ 64 (-1.54%)
Mutual labels:  smart-contracts, ethereum-contract, ethereum-dapp
Eth Vue
Featured in Awesome Vue [https://github.com/vuejs/awesome-vue], a curated list maintained by vuejs of awesome things related to the Vue.js framework, and Awesome List [https://awesomelists.net/150-Vue.js/3863-Open+Source/18749-DOkwufulueze-eth-vue], this Truffle Box provides everything you need to quickly build Ethereum dApps that have authentication features with vue, including configuration for easy deployment to the Ropsten Network. It's also Gravatar-enabled. Connecting to a running Ganache blockchain network from Truffle is also possible -- for fast development and testing purposes. Built on Truffle 5 and Vue 3, eth-vue uses vuex for state management, vuex-persist for local storage of app state, and vue-router for routing. Authentication functionalities are handled by Smart Contracts running on the Ethereum blockchain.
Stars: ✭ 171 (+163.08%)
Mutual labels:  dapp, ethereum-contract, ethereum-dapp
Angular Truffle Starter Dapp
Angular CLI + Truffle Starter Dapp; write, compile & deploy smart contracts on Ethereum blockchains
Stars: ✭ 174 (+167.69%)
Mutual labels:  dapp, ethereum-contract, ethereum-dapp
vue-web3
🐙 Web3 blockchain bindings for Vue.js (inspired by Vuefire and Drizzle)
Stars: ✭ 63 (-3.08%)
Mutual labels:  dapp, ethereum-contract, ethereum-dapp
ethereum-dapp-ipfs-node.js-mongodb
以太坊开发DApp实战教程——用区块链、星际文件系统(IPFS)、Node.js和MongoDB来构建电商平台
Stars: ✭ 46 (-29.23%)
Mutual labels:  dapp, ethereum-contract, ethereum-dapp
nifty-game
🃏🎮A NFT(ERC721) card game build on Ethereum, Truffle, Ganache and hosting on IPFS.
Stars: ✭ 222 (+241.54%)
Mutual labels:  dapp, smart-contracts
etherbrite
🗓 Clone eventbrite on Ethereum, built in Solidity, TruffleJS, Web3js and React/Redux.
Stars: ✭ 19 (-70.77%)
Mutual labels:  smart-contracts, ethereum-contract
defiprime
All things #DeFi - trustless and transparent financial products built on top of the blockchain.
Stars: ✭ 117 (+80%)
Mutual labels:  ethereum-contract, ethereum-dapp
eSportsETH
A decentralized eSports betting platform
Stars: ✭ 20 (-69.23%)
Mutual labels:  ethereum-contract, ethereum-dapp
ProveIt
Implements proof of historical data possession on the Ethereum blockchain
Stars: ✭ 37 (-43.08%)
Mutual labels:  ethereum-contract, ethereum-dapp
poa-faucet
POA Network faucet
Stars: ✭ 39 (-40%)
Mutual labels:  dapp, ethereum-dapp
OpenComplaintNetwork
OCN is a public redressal system and open police complaint filing system on Blockchain.
Stars: ✭ 20 (-69.23%)
Mutual labels:  ethereum-contract, ethereum-dapp
lens
The official network explorer for Wavelet.
Stars: ✭ 28 (-56.92%)
Mutual labels:  dapp, smart-contracts

Medical Insurance claiming DApp (for ConsenSys)

Problem statement:

  1. Patient logs in, uploads medical/lab test bills and submits it for insurance. Notifications are sent to hospital and lab admin.
  2. Hospital admin logs in, verifies and approves the bills. This approval is stored on the smart contract
  3. Lab admin approves the lab test bills. This approval is also stored on the smart contract
  4. Once both of them approve, notification are sent to insurance admin.
  5. Insurance admin can check for approvals of hospital and lab after which he will calculate the claim amount and do the claim.

HealthCare.sol contract maintains the logic for this DApp.
The web pages found in the Web-client folder are used to communicate with the deployed smart contract and also allow logging in for each specific user

Steps to deploy and interact with the contract:

  1. Copy and paste the contract code on https://remix.ethereum.org/
  2. Run an instance of ganache-cli on your local machine and connect your metamask wallet to it. Also, add the first 3 accounts from ganache to your metamask by importing their private keys and assign the following names to it:
    account 1: Hospital admin
    account 2: Lab admin
    account 3: Patient
  3. Replace the Lab admin's address inside the constructor on line 27 with the Lab admin's address that we configured in the previous step.
  4. Select Injected Web3 in the Environment field and make sure your Metamask wallet is unlocked. This will connect Remix to the first account(Hospital admin) in your Metamask wallet.
  5. Deploy the contract
  6. Select Account 3(Patient) and created a new medical record by calling the newRecord function with the respective fields.
  7. You can check if the record was created and it's details by calling the _records mapping with index 1.
  8. To sign the record, switch back to account 1(Hospital admin) in Metamask, enter the record's _ID in the signRecord function and click on transact.
  9. Repeat the same steps using account 2(Lab Admin) from metamask.
  10. Now the record is approved and you can verify the same by calling the _records mapping again where you can see that the signatureCount has incremented.

Note that you can not sign the record using the patient's account from metamask and neither can the same account sign a record twice.

Update:
With Remix's new interface, you need to change the account address from the ACCOUNT drop down on the Deploy and Run tab (required in step 8):

Screenshot 2021-05-02 at 2 10 52 PM

Known issues:

  • The table on the React front end doesn't display the records created by the user (Issue #1).

The main focus of this project at the time of making was the smart contract logic, I just made the front end in a jiffy as I had some extra time left after implementing the contracts.

Contributions to fix the open issues are welcome, you'll receive some DOGE as well 😏

Steps to contribute

  1. Fork this repo.
  2. Commit your changes.
  3. Send a PR to this project's master branch and add me as a reviewer
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].