-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Care Opportunities: Prevention and ASCVD Risk Calculation. Exporting. #182
base: master
Are you sure you want to change the base?
Conversation
…errors, export problems, spelling
…alculation in database_export function
Add fix to Export>Entire Database (SQL Format). Fix mismatched indices in database_export function in CoreController. Fix progress bar so it adds up to 100% when task is completed. Correct area-valuenow to aria-valuenow. Status: Progress bar now reaches 100%, but progressModal still doesn't close. |
…, and incorporated the forked version by adding lines to composer.json and Dockerfile. 2) Various comments.
|
Sorry please disregard comment 'Changed Postgres driver in database.php to suite the ml database'. I didn't stage that change. Apologies. |
…racefully disappear again.
…xpected after download
Care Opportunities > USPSTF > Prevention returns: “US Preventative Services Task Force Recommendations Not Available At This Time”
Problem: USPSTF API is not accepting POST requests
Edits: Change to GET request
Care Opportunities > ASCVD Risk returns error
Problem: The RxNav API has deprecated the NDFRT relaSource in favor of MEDRT
MEDRT doesn't offer a simple way to select statins. (It does fine with lipid-lowering medicines.)
Edit: Change to NDFRT for anti-hypertensives.
Use a hard-coded list for statins in place of RxNav API search.
Export > Export Entire Database hangs
Problem: the script expects the MySQL server to be localhost
asuser does not have privileges to create the database nosh_copy
Edits: Specify env('DB_HOST') in place of 'localhost'
add -h env('DB_HOST) parameter to mysql and mysqldump commands
Before running script, manually run in MariaDB-Nosh mysql session: GRANT ALL PRIVILEGES ON . TO 'asuser'@'%';
Notes: Works on Docker implementation. Not tested on non-Docker setup.
Problem: Deprecated is misspelled ('depreciated')
Edits: Correct spelling.
Problem: In ascvd_calc() in Controller.php there is $SPB where $SBP was intended, causing incorrect risk calculation.
Edits: Corrected