This project is used to manage clinical decision support (CDS) rule definitions used by ASU SHARES decision systems. The hosted copy is available here.
The project is written in TypeScript using Angular, Bootstrap, and SCSS for custom CSS. npm
is the package manager.
To build a reusable image with Docker and nginx, use the included Dockerfile. For example:
docker build -t asushares/rules:latest . # though you probably want your own repo and tag strings :)
# or cross-platform
docker buildx build --platform linux/arm64/v8,linux/amd64 -t asushares/rules:latest . --push
On your local machine or container hosting environment:
docker run -d -p 4200:80 --restart unless-stopped -e "CONSENT_BUILDER_DEFAULT_FHIR_URL=http://localhost:3000" asushares/rules:latest # or any official tag
To auto-load a specific document, set the following environment variable:
export DEFAULT_RULES_FILE_URL=http://localhost:3000/data/sensitivity-rules.json
Preston Lee
Apache 2.0