NodeJS: Manages most dependences (see package.json). The two most important dependencies are:
- Build tasks are in
.vscode/tasks.json - A development server can be started using the
devscript inpackage.json.
- Build with the
buildscript inpackage.json - Push the contents of the resulting
builddirectory to a server.
The repository is prepped for development using the nix package manager. The following files allow this
.direnv
.envrc
default.nix`
To enable this, direnv VSCode extension should installed on the system, and the command direnv allow must be run in the root of the repository.
- DEXA trend erroneously considered nonexistant if values are 0
- FRAX upper age limit
- Trend should just input prior BMD and calculate changes
- This may be more complication than it's worth. If a change is supplied, then the comparison needs to be aware of the current value to calculate the prior value and the % change. This results in some tricky state dependencies especially if the user does things like change with spine levels are used, change BMD values, or change the absolute BMD value for the prior in this trend.
- It may be more reasonable to have alternative inputs. Prepopulated fields can just show the populated values. When the user wants to enter an empty field, the alternative input could just be BMDs. Would probably need a toggle.
- Quick technique modifiers (i.e. spine osteophyte)
- Graph heights for quick sanity check
- Graph T-scores for quick diagnostic overview
- Graph trends for quick diagnostic overview