Skip to content

Latest commit

 

History

History
142 lines (97 loc) · 3.69 KB

SmartConsent.md

File metadata and controls

142 lines (97 loc) · 3.69 KB

The Smart Consent Project

Table of contents

SmartConsent Project

eHealth startup focused exclusively on the digitization of medical processes, has technologically advanced the medical informed consent in security and communication. It helps the understanding of the patient and offers security using blockchain technology in each step of the informed consent.

  • For the patient: Facilitates understanding and acceptance of the indicated procedure; reduces doubts, uncertainties and fears derived from ignorance.

  • For the professional: It standardizes the information presented to the patient, fully and absolutely ensures the integrity of the Signed Consent, reduces document costs and process times.

Built with

The Technology

Web frontend have been built in Angular JS and mobile in Flutter 2.0. The business and access layers to BDD are implemented in NodeJS. APIs are implemented for encryption and file sharing with IPFS. NodeJS is used with Web3.js to communicate the FrontEnd with the Alastria blockchain.

Software used

Directory structure

  • In "frontend" contains the implemented components of the web application
  • In "mobile" contains the implemented components of the mobile application
  • In "middleware" contains the business rule APIs
  • In "backend" contains the database access components.
  • In "api_blockchain" It contains an api that gives access to the frontend to interact with the Alastria blockchain.
  • In "api_ipfs" It contains an api that gives access to the frontend to interact with the IPFS blockchain.

Starting a development environment

Prerequisites

npm install
flutter pub get

Available scripts

To run each project:

To run backend:

/backend/src$ node app.js

To run middleware:

 /middleware/src$ node app.js

To run the rest api to access the blockchain IPFS:

npm run test

To run the rest api to access the blockchain Alastria:

source env/bin/activate
python manage.py runserver 0.0.0.0:3009

To run frontend:

ng serve

To run Mobile: Additionally you can also execute the f5 key to execute the project

flutter pub get
flutter packages get
flutter clean
flutter run 

To run WhatsApp API:

npm run test

To run Ncrypt/Decrypt API:

npm run test

Links

Application link: E-processmed

BlockChain Description

  • API REST in Python access to the Alastria blockchain
  • IPFS REST API in Nodejs