Demo (master
branch): https://cppdmedicalreport-appservice.azurewebsites.net/
ESDC and CDS are working together to make CPPD better. We're focused on finding ways to shrink end-to-end processing time without decreasing the quality of decisions. We're currently building a prototype of the CPPD Medical Report as a way to explore some hypotheses and potentially make more of this process online.
For more information, contact us at cds-snc@tbs-sct.gc.ca.
ESDC et la CDS travaillent ensemble pour améliorer le PPIRPC (programme de prestations d'invalidité du Régime de pensions du Canada). Nous travaillons à trouver des moyens de réduire le temps de traitement de bout en bout sans nuire à la qualité des décisions. Nous mettons actuellement au point un prototype du rapport médical sur le PPPC afin d’explorer certaines hypothèses et d’optimiser davantage ce processus en ligne.
Pour plus d'informations, contactez-nous à l'adresse cds-snc@tbs-sct.gc.ca.
Requires the following things to be installed:
- Node.js v12.x (>= 12.13.0)
- npm 6.x (>= 6.13.0)
- (optional) Docker
- Clone this repo and navigate into it
npm install
npm run dev
The environment variable UseDatabase must be set to true
- Clone this repo and navigate into it
npm install
npm run db:install
npm run db:start
npm run db:migrate
npm run dev
- Clone this repo and navigate into it
- (First time or whenever you change
Dockerfile
):docker build . -t cppd-medical-report
docker run --it --rm cppd-medical-report npm run dev
Protip: If you use Visual Studio Code, you can use the Remote Development Extension for an extra clean setup.
- Clone this repo (preferable a tag or
master
) and move into it npm install
npm start
- Clone this repo (preferably a tag or
master
) and move into it docker build . -t cppd-medical-report
docker run cppd-medical-report
More documentation on working with this codebase can be found in the docs folder.
There are some feature flags that enable/disable features depending on whether they are set. The flags are set as OS environment variables that are detected at runtime. Below, are the list along with the default value in parenthesis ()
and a description of what happens when set to true
.
FLAG_USER_RESEARCH_20191125
(false
): Disables Sections 1-4, and has a shortened name-only entry form to being the workflow.FLAG_COOKIE_STORE_20191126
(true
): Enables cookie sessions for quickly iterating on a specific page, note: cookie session can cause issues if you are storing too much in session