Skip to content

badoctopod/fhirplayground

Repository files navigation

Fhirplayground

BuildFhirplayground on Heroku

Fhirplayground is my personal learning curve project which main goal is getting basic understanding what FHIR is.

Subgoal of this project is moving from my old setup to other devtools:

  • emacs/spacemacs (goodbye, mouse! ^_^).
  • Clojure CLI (tools.deps.alpha, tools.build).
  • Kaocha test runner for ClojureScript.
  • figwheel-main + npm + webpack.

Local development

Start postgres:

cd bin
source .env
docker-compose up -d

For the first time, init db with FHIR schema and load FHIR data:

./fhirbase init
./fhirbase load mode=insert bundle.ndjson.gzip

In emacs/spacemacs issue command cider-jack-in-clj&cljs, choose ClojureScript REPL type figwheel-main and build id dev.

Build locally

Build ClojureScript app:

clojure -M:fig:min

Build Clojure app:

clojure -T:build uberjar

Deploy to Heroku

Based on GitHub actions, see .github/workflows.

About

Fhirplayground is my personal learning curve project which main goal is getting basic understanding what FHIR is.

Topics

Resources

Stars

Watchers

Forks

Languages