Code Monkey home page Code Monkey logo

curedao / health-reference-data Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 6.0 21.42 MB

Standard health reference databases including units of measurement, biomarkers, medical codes, medications, side-effects, supplements, foods, ingredients, and more.

Home Page: https://curedao.org

License: GNU General Public License v3.0

JavaScript 9.83% HTML 90.17%
health healthcare clinical-trials clinical-data-warehouse clinical-research clinical-data sql database

health-reference-data's People

Contributors

mikepsinn avatar vincenzodomina avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

health-reference-data's Issues

What is the shared ID for a variable across the ecosystem?

Requirements to the variables schema and the reference database

  • I as OpenCures I need a variables table with entries i made manually (public CureDAO ecosystem can read, only I can write)
  • I need to query one specific entry directly through an id (e.g. to render a detail page of this variable)
  • I want to change the content like the name later, but already shared data should still map to it (e.g if slug is changed after name change)
  • Measurements created with this attached variable id should be useable for any stakeholder in this ecosystem

The API response should contain this:

.../api/variables/blood_testosterone ->

// Testosterone
{
    id: 'blood_testosterone',   // used also as api property if needed, snake case
    slug: 'blood-testosterone', // used for urls
    category: 'laboratory',
    ref_loinc_id: '2986-8',
    // With the loinc id there is an assay/measurement method definition attached, would be evtl. needed with other biomarkers e.g. heartrate with ppg sensor or manually including the mean error
    abbreviated_name: 'T',
    name: 'Testosterone',
    description: "This is a custom OpenCures description tailored to the specific feature i use this for",
    unit: 'ng/dL',
    synonyms: ['Testosterone, Total', 'Testosterone, Serum', 'Testosteron ges.', 'Testosteron gesamt'],
    references: ['https://www.labcorp.com/tests/004226/testosterone-total', 'https://www.netdoktor.de/Diagnostik+Behandlungen/Laborwerte/Testosteron-1522.html'],
    ranges: {
        male: {
            norm: {
                0: [0, 0, 5, 5, 495, 495, 2000, 2000],
                1: [0, 0, 3, 3, 32, 32, 2000, 2000],
                7: [0, 0, 3, 3, 32, 32, 2000, 2000],
                8: [0, 0, 2, 2, 882, 882, 2000, 2000],
                18: [0, 0, 2, 2, 882, 882, 2000, 2000],
                19: [0, 0, 280, 280, 800, 800, 2000, 2000],
                20: [0, 0, 132, 132, 906, 906, 2000, 20000],
                60: [0, 0, 132, 132, 906, 906, 2000, 2000],
            }
        },
        female: {
            norm: {
                0: [0, 0, 3, 3, 161, 161, 2000, 2000],
                1: [0, 0, 3, 3, 32, 32, 2000, 2000],
                7: [0, 0, 3, 3, 32, 32, 2000, 2000],
                8: [0, 0, 4, 4, 38, 38, 2000, 2000],
                18: [0, 0, 4, 4, 38, 38, 2000, 2000],
                19: [0, 0, 6, 6, 82, 82, 2000, 2000],
                20: [0, 0, 2, 2, 52, 52, 2000, 2000],
            }
        },
    },

    // And the other already agreed stuff of course, not subject of this discussion
    created_at: "timestamp",
    updated_at: "timestamp",
    version_first_released: "",
    version_last_changed: "",
    // ...
};

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.