gdadlaney / dhde Goto Github PK
View Code? Open in Web Editor NEWA Decentralized Healthcare Data Exchange that enables exchange of CCDAs over EHRs using blockchain.
A Decentralized Healthcare Data Exchange that enables exchange of CCDAs over EHRs using blockchain.
Complete the app.get(:mrn) function in hie.js -
Qs about CCDAs -
Others -
Development -
Refer the MOM in the notes doc for more info
Need to generate an object which will contain the final block data. preprocess()
is called after a POST request for file upload has been completed. The data from preprocess()
will be sent to the blockchain communicator.
block_data = {pat_id: '12', mrn:'23', ehr_id: '45', doc_id: '56'}
Functions to be implemented -
function fileHash(file_name, dir_path)
returns hash.function preprocess(metadata, dir_path)
returns block_data object.
preprocess()
calls fileHash()
internally.file_name
is mrn+".xml"
block_data = {pat_id: '4512', mrn:'23', hash:34, ehr_id: '45', doc_id: '56', timestamp: 78}
Use better variable names, if you can think of any
The demo will go like this:
step 4. on the deployed system may look like(for context) - The next time when the doctor accesses our system, he will be sent a notification that the ccda has been modified, take a look at the diff, and report it as malicious/safe.
The task is to make the changes and try this workflow out.
Implement the business network in Composer.
Connecting Composer to the node backend
The current implementation of app.post() in hie.js, only handles the file upload. In addition to this, the EHR also needs to send some metadata, in JSON. The receiving and storing of metadata is to be handled.
Data to be collected for creation of block -
The received data can be stored in an object, for now.
e.g - metadata_part = {pat_id: 123, ehr_id: 456, doc_id: 789, mrn: 123}
The current audit.js code just displays the AddAsset transactions(not actually an audit)
We need to list all accesses to the CCDA of a particular patient.
Procedure:
The .env file must be used to store hardcoded values, like ehr_id, wherever possible. Rename the file after it is received at HIE, as files will be searched based on their MRN.
Tasks -
Here are some of the tasks which would be good to be done with, as we're concluding the project:
In the current implementation, a record is requested given its MRN, but in the real process, the EHR doesn't have this information. It just has the patient's identification information like name, ssn. The EMPI will give us the patient's global_id, with which we can lookup the latest record in the record chain.
Tasks -
When the Requester request the Provider, the Provider must -
The API Key may be from the model file for a clinic. Also, look at current systems using API Key.
One possibility could be -
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.