GithubHelp home page GithubHelp logo

medicalrecordmanagement's Introduction

Corda

#Java Medical Records CorDapp

Welcome to the Java Medical Records CorDapp. The CorDapp has 3 nodes, which represent hospitals CharitéHospital (Berlin), StMarysHospital (London) and Bolnitsa (Moscow). Each hospital can save medical data on their vault and distribute to a particular hospital upon its request. But contact rejects request to share medical records for hospitals that locate in certain countries This CorDapp utilises CordaServices to store vaultQueries.

Usage

Pre-requisites:

See https://docs.corda.net/getting-set-up.html.

Running the nodes:

Open a terminal and go to the project root directory and type: (to deploy the nodes using bootstrapper)

./gradlew clean deployNodes

Then type: (to run the nodes)

./build/nodes/runnodes

We will interact with this CorDapp via the nodes' CRaSH shells.

First, go the shell of CharitéHospital, and create a medical record for a Patient X with dataRecord value of 10:

flow start FillMedicalRecords patientName: A, patientData: YYY       

We can now look at the medical record in the CharitéHospital's vault:

run vaultQuery contractStateType: net.corda.core.contracts.ContractState

If StMarysHospital wants to request medical records of the patient's A, he needs to request data from the shell of StMarysHospital by running:

flow start RequestPatientRecords from: "CharitéHospital", patientName: A

medicalrecordmanagement's People

Contributors

iryna-09 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.