Care Opportunities: Prevention and ASCVD Risk Calculation. Exporting. - #182
Open
dhes wants to merge 16 commits into
Open
Care Opportunities: Prevention and ASCVD Risk Calculation. Exporting. #182dhes wants to merge 16 commits into
dhes wants to merge 16 commits into
Conversation
…errors, export problems, spelling
…alculation in database_export function
Author
|
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. |
added 3 commits
April 11, 2021 15:13
…, and incorporated the forked version by adding lines to composer.json and Dockerfile. 2) Various comments.
Author
|
Author
|
Sorry please disregard comment 'Changed Postgres driver in database.php to suite the ml database'. I didn't stage that change. Apologies. |
added 3 commits
April 12, 2021 15:02
…racefully disappear again.
…xpected after download
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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