| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This ASCVD Risk calculator is used to study the risk prediction for cardiovascular disease (CVD).
This calculator uses the Pooled Cohort risk prediction equations to predict 10-year atherosclerotic cardiovascular disease risk. More information about the predictor equation can be found here https://github.com/bcjaeger/PooledCohort/tree/master
python3 --version R --version
Change these parameters in the .env file. Use the port number assigned to you to run the app for FHIR_PORT.
FHIR_SERVER_BASE_URL= http://pwebmedcit.services.brown.edu:????/fhir FHIR_USERNAME = ??? FHIR_PASSWORD = ??? FHIR_PORT=????
Start R and run the R.home() and .libPaths() commands to get the directory names
> R.home() [1] "/Library/Frameworks/R.framework/Resources" > .libPaths() [1] "/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library"
git clone https://github.com/bcbi/ASCVD-Risk-Calculator.git cd ASCVD-Risk-Calculator
os.environ['R_HOME'] = "????" os.environ['R_USER'] = "????"
./setup_environment.sh
source venv/bin/activate
python src/app.py
This will start the app on port "FHIR_PORT". You can open your preferred browser and see the app running on http://localhost:FHIR_PORT replace the FHIR_PORT with the actual port number assigned to you. The exact URL to the app can also be found on the terminal output after running the app.
| Back | FazBrowse Home | New Git URL |