Giter VIP home page Giter VIP logo
HealDAO photo

healdao Goto Github PK

repos: 3.0 gists: 0.0

Name: HealDAO

Type: Organization

Bio: HealDAO is a decentralized autonomous organization (DAO) designed to revolutionize the way health records are stored, accessed, and verified on the blockchain.

Twitter: h3aldao

Blog: https://healdao.xyz

HealDAO

Table of Contents

Introduction

HealDAO is a decentralized autonomous organization (DAO) designed to revolutionize the way health records are stored, accessed, and verified on the blockchain. Our primary goal is to ensure that medical data remains private, secure, and easily accessible, all while maintaining the highest standards of data integrity.

Privacy with Oasis Sapphire ParaTime

HealDAO prioritizes user privacy. We leverage the Oasis Sapphire ParaTime, a cutting-edge privacy-preserving layer, to ensure that all health records stored within the system remain confidential. This layer provides end-to-end encryption, ensuring that only authorized parties can access the data, while still benefiting from the transparency and security of the blockchain.

HealDAO Smart Contract

Structs

The core of HealDAO's smart contract is organized around various structs that represent different aspects of medical data:

    struct Allergy {
        string allergyAbbreviation;
    }

    struct Bloodwork {
        string bloodworkAbbreviation;
        uint16 measure;
        uint8 multiplier;
        string unitAbbreviation;
        Date timestamp;
    }

    struct Diagnosis {
        string diagnosisAbbreviation;
        uint16 numTimes;
        string locationList; // Comma-separated locations
    }

    struct Global {
        string globalAbbreviation;
        uint16 measure;
        uint8 multiplier;
        string unitAbbreviation;
        Date timestamp;
    }

    struct Medication {
        string drugAbbreviation;
        uint16 dose;
        uint8 multiplier;
        string unitAbbreviation;
        uint16 frequency;
        uint16 duration;
        Date lastDate;
    }

    struct Procedure {
        string procedureAbbreviation;
        uint16 numTimes;
        string locationList;
    }

    struct Vital {
        string vitalAbbreviation;
        uint16 measure;
        uint8 multiplier;
        string unitAbbreviation;
        Date timestamp;
    }

Setters

Setters are functions that allow users to input or update their health records. Setters correspond to a list size limit, set by the owner, by reducing the limit size previous records may be deleted:

  • addAllergy
  • addBloodwork
  • addDiagnosis
  • addGlobal
  • addMedication
  • addProcedure
  • addVital

Getters

Getters are functions that retrieve stored data, they may be combined to form combinatorial data (i.e., as in the test file):

  • getAllergies
  • getBloodworks
  • getDiagnoses
  • getGlobals
  • getMedications
  • getProcedures
  • getVitals

Access Control

To ensure data integrity and security, HealDAO implements access control mechanisms. Only authorized users can update or modify records. The current implementation revolves around the need to temporarily grant access, hence the accessor mapping-- in this way, entities will have revokable access that can span varying amounts of time.

MSPS System

The Minified Standardized Patient Summary (MSPS) system is a groundbreaking approach to representing medical data in a compact yet comprehensive format. Designed with the principles of Ethereum Improvement Proposals (EIP), the MSPS system allows for the minification and expansion of medical data, ensuring that it remains both storage-efficient and human-readable. The system is designed to maximally be flexible in accomodating a very wide variety of medical and clinical conditions, use cases, and scenarios.

Contribution & Governance

HealDAO operates as a DAO, meaning that its community members can propose changes or modifications to the MSPS standard. Through a governance mechanism, proposals undergo a review and voting process, ensuring that any updates to the system are in the best interest of all stakeholders.

License

HealDAO is open-source and licensed under the MIT License. We encourage contributions from the community to continually improve and expand the system.

HealDAO's Projects

healdao icon healdao

Incredibly effective medical data management designed for the blockchain.

msps icon msps

A standardized format to minimize storage space required for medical and dental records.

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.