Welcome to the our Corda project Care Chain which is a block chain patient record management system. Medical records should be stored on a distributed ledger or blockchain using tools such as Hyperledger Composer. The blockchain is shared with the patient, healthcare provider, insurer, and the government. In this case, the government acts as the regulator.
All the medical information related to the patient such as past and present ailments, treatments, family history of medical problems will be stored in the blockchain. This will make every record permanent, transferable and accessible which will prevent the medical records from being lost or modified.
- Clone or download the project to you local machine.
- Open the project in
IntelliJ
make sure to selectGradle
leaving the defaults. - Open the terminal window in the project directory.
- Build the nodes with our Cordapp using the following command.
- Unix/Mac OSX :
./gradlew deployNodes
- Windows :
gradlew.bat deployNodes
- After the build finishes, you will see the generated nodes in the java-source/build/nodes folder
- Start the nodes by running the following command.
- Unix/Mac OSX :
java-source/build/nodes/runnodes
- Windows :
java-source/build/nodes/runnodes.bat
The nodes’ webservers run locally on the following ports:
- PartyA: localhost:10009
- PartyB: localhost:10012
- PartyC: localhost:10015
These ports are defined in each node’s node.conf file under java-source/build/nodes/NodeX/node.conf.
Each node webserver exposes the following endpoints:
- /api/example/me
- /api/example/peers
- /api/example/ious
- /api/example/create-iou
There is also a web front-end served from /web/example.