Giter VIP home page Giter VIP logo

t2fastapi's Introduction

T2FastAPI

  • This is a staging repo for the standards-based longitudinal health record project. Check out the Trustee Community wiki for background and a sequence diagram.
  • Code gets pulled to Trustee Community only after it can run on DO App Platform.
  • Implementation notes are on the wiki

Trustee is different from other health records in that it is self-sovereign to the patient. The Trustee is (soon to be) a GNAP Authorization Server. Health record elements are W3C Verifiable Credentials (VC) and/or FHIR standard resources. W3C Decentralized Identifiers (DID) are used when practical.

Here are the key Trustee components and API endpoints to be (eventually) demonstrated:

  • Community Home: http://localhost:8081/ Where new patients subscribe to a Trustee or sign-in to an existing one.
    • The eventual authentication method (currently an unhashed password in CouchDB) is still TBD.
  • Trustee Health Card: https://github.com/HIEofOne/Trustee-Community/blob/master/QFVC-QR.png A paper-compatible self-verifying W3C VC.
    • The Health Card will also be a minimal example of a GNAP-protected resource.
  • HIE of One operates a CouchDB shared across all of the Trustee Communities for Trustee policy storage. Each patient's policies are encrypted with a patient-level key. HIE of One does not have the key.
    • The Trustee can only read policies from the shared CouchDB and decrypt them using a key stored in the Stripe Customer account.
    • Policies are written by the patient's user agent such as a Progressive Web App and/or PouchDB.
  • Health Records are GNAP-protected resources stored anywhere that respects the patient's Trustee-issued access tokens.
    • Health records discovery is not yet in-scope for this project. A link to a health record can be shared by the patient as email, text or a QR code.

Many thanks to Abdulazeez Abdulazeez Adeshina https://testdriven.io/blog/fastapi-jwt-auth/ and Ian Rufus https://www.youtube.com/channel/UCmRJyLjnQ035ng6XP295zXg for their fabulous tutorials that enabled this demonstration, so far.

t2fastapi's People

Contributors

agropper 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.