Skip to content

LedgerProject/eprocessmed-smc-app

Repository files navigation


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 "frontend_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.
  • In "api_ncrypt" contains functions to encrypt sensitive data.
  • In "api_whatsapp" contains functions to send notifications via WhatsApp.

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

If the ipfs-core or npm install fails, run the following:

aptitude install build-essential

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published