Giter VIP home page Giter VIP logo

data_model's Introduction

coherent dataset

  • Read the paper

This is a synthetic data set that includes FHIR resources, DICOM images, genomic data, physiological data (i.e., ECGs), and simple clinical notes. FHIR links all the data types together.

Walonoski J, Hall D, Bates KM, Farris MH, Dagher J, Downs ME, Sivek RT, Wellner B, Gregorowicz A, Hadley M, Campion FX, Levine L, Wacome K, Emmer G, Kemmer A, Malik M, Hughes J, Granger E, Russell S. The “Coherent Data Set”: Combining Patient Data and Imaging in a Comprehensive, Synthetic Health Record. Electronics. 2022; 11(8):1199. https://doi.org/10.3390/electronics11081199

see https://doi.org/10.3390/electronics11081199

  • Get the coherent dataset
wget http://hdx.mitre.org/downloads/coherent-08-10-2021.zip
unzip coherent-08-10-2021.zip

  • Setup this repo
python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install numpy cython
pip install -r requirements.txt
pip install -r requirements-dev.txt
cp -r output coherent
mkdir output
cp -r coherent/dna output
  • Transform the data
# transform the coherent data (fix references, add missing Task resources, calculate file sizes and md5 hash)
python3 scripts/transform.py
# create the pfb
python3 scripts/pfb.py | sh
# create figures
./scripts/visualize.sh 

  • Expected output

    60473 - __mp_main__ - INFO - Parsed coherent/output/fhir/Janean397_Bradtke547_c4b8f200-66af-4de6-47ae-c98df28998b1.json in 0.6010 seconds, wrote output/Janean397_Bradtke547_c4b8f200-66af-4de6-47ae-c98df28998b1.json
    ....    
    60467 - __main__ - INFO - Parsed all files in coherent/output/fhir in 109.9279 seconds
    ...
    copied png files to docs/
    
  • Test the data

    pytest tests/integration/
    
  • See data model

data_model's People

Contributors

bwalsh avatar jordan2lee avatar briankarlberg 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.